A very important example is gravity and potential energy. Here is the field describing the force (per unit mass) generated by a mass
\(M\) at the origin.
\begin{equation*}
F = \frac{GM}{\sqrt{(x^2+y^2+z^2)^3}} (-x, -y, -z)
\end{equation*}
Now consider an outward path
\(\gamma(t) = (t,t,t)\) for
\(t \in [a,b]\) and
\(b>a>0\text{.}\) I’ll calculate the line integral.
\begin{align*}
\gamma^\prime \amp = (1,1,1)\\
F(\gamma(t)) \amp = \frac{GM}{\sqrt{(3t^2)^3}} (-t,-t,-t)
= \frac{-GM}{t^3 3\sqrt{3}} (1,1,1)\\
F(\gamma(t)) \cdot \gamma^\prime(t) \amp = \frac{-3t
GM}{t^3 3\sqrt{3}} = -\frac{GM}{t^2\sqrt{3}}\\
\int_{\gamma} F \cdot ds \amp = \int_b^a
-\frac{GM}{t^2\sqrt{3}} dt = -\frac{GM}{\sqrt{3}}
\int_a^b \frac{1}{t^2} dt\\
\amp = -\frac{GM}{\sqrt{3}} \left. \frac{-1}{t}
\right|_a^b = - \frac{GM}{\sqrt{3}} \left( \frac{1}{a} -
\frac{1}{b} \right)\\
\amp = \frac{GM(a-b)}{ab\sqrt{3}}
\end{align*}
If the distances
\(a\) and
\(b\) are large, but
\(a\) and
\(b\) are close to each other, then the change
\(a-b\) is much more significant than the change in the term
\(ab\) in the denominator. If I set
\(g =
\frac{GM}{\sqrt{3}ab}\) and pretend this is locally constant (which is reasonable given the assumptions about the relative sizes of the distances), the line integral (approximately) evaluates to
\(g(a-b)\text{.}\)
Now recall that the field is defined as force per unit mass, so if it acts on a mass
\(m\text{,}\) the output of the line integral will be potential of
\(mg(a-b)\text{.}\) Finally, let me call the difference
\(b-a\) by the letter
\(h\text{,}\) indicating the ‘height’ gained in movement along this curve. The result then is
\(-mgh\text{,}\) which is almost the high-school physics result of
\(-mgh\text{,}\) the increase in potential energy, where
\(h\) is the change in height and
\(g\) the local acceleration due to gravity.
The only remaining difference is the negative sign. This relates to my previous discussion about directions of gradients. The force of gravity is the
negative gradient of the potential energy, which introduces a sign adjustment to all the interpretations for potential energy. Mutliplying by
\((-1)\) to adjust for this sign discrepancy gives the desired result: the line integral represent the change in potential energey as the object moves along the curve. This example is archetypical for conservative force and will be expanded upon in the next section.