Module 1 : A Crash Course in Vectors
Lecture 4 : Gradient of a Scalar Function
  The line integral of $\vec F$ can then be written as follows :
\begin{eqnarray*} \int_i^f\vec F\cdot\vec dl &=& \int_i^f \nabla V\cdot d\vec l\\ &=& \int_i^f dV = V_f-V_i \end{eqnarray*}
  where the symbols $i$ and $f$ represent the initial and thec final positions and in the last step we have used an expression for $dV$ similar to that derived for $dT$ above. Thus the line integral of the force field is independent of the path connecting the initial and final points. If the initial and final points are the same, i.e., if the particle is taken through a closed loop under the force field, we have
 
\begin{displaymath}\oint \vec F\cdot\vec{dl} =0\end{displaymath}
  Since the scalar product of force with displacement is equal to the work done by a force, the above is a statement of conservation of mechanical energy. Because of this reason, forces for which one can define a potential function are called conservative forces.
   
5