Path Independency of Line Integrals

Consider a given vector field for which there exists a scalar function s.t.

Then

where are the start and end points along the curve

Note that it is path independent, isn’t affected by the curve