Section 3.5 Applications of line integrals
We mentioned in Subsection 3.3.2 that line integrals are sometimes called “work integrals”. In this section we explain why, and work through an example where line integrals can be used to calculate the work done. In this section we use vector field notation instead of one-forms, as this is what is most commonly encountered in such applications.
Objectives
You should be able to:
Determine and evaluate appropriate line integrals in the context of applications in science, in particular for evaluating the work done while moving an object in a force field.
Subsection 3.5.1 Work
If you pick something off the ground, you expend energy. In physics, this is called “work”, because you move an object that is under the influence of a force field. If you move an object along a given path in a force field, how can you find the work done?
The idea is to use the well known “slicing” principle that turns a problem into an integration question. Suppose that there is a force field \(\mathbf{F}(x,y,z)\) in \(\mathbb{R}^3\text{,}\) and that we move an object along a path specified by a position vector \(\mathbf{r}(t)\) with \(a \leq t \leq b\text{.}\) If the force field was constant and did not depend on the position \((x,y,z)\) of the object, from general physics principles the work done on the object moving along the path would be \(\mathbf{F} \cdot (\mathbf{r}(b) - \mathbf{r}(a) )\text{,}\) i.e. the dot product of the force and the displacement (in other words, it is the magnitude of the force times the displacement in the direction of the force). However, as the force field depends on the position of the object, we cannot easily calculate the work directly. But we can slice the problem and sum over slices to rewrite the calculation as an integral.
We slice our time interval \([a,b]\) into small slices of width \(\Delta t\text{.}\) Over a small time interval \(\Delta t\text{,}\) the object moves from position \(\mathbf{r}(t)\) to position \(\mathbf{r}(t) + \Delta \mathbf{r}\text{,}\) where \(\Delta \mathbf{r} = ( \Delta x, \Delta y, \Delta z)\text{.}\) If the time interval is small, we can assume that the force is constant, and the work done during this time interval can be calculated, to first order, by \(\mathbf{F}(\mathbf{r}(t)) \cdot \Delta \mathbf{r}\text{.}\) Now we sum over slices, and take the limit where we have an infinite number of infinitesimal time intervals; this turns the calculation into a definite integral:
We of course recognize the line integral of a vector field as defined in Lemma 3.3.7. This is why line integrals are called work integrals: if the vector field is a force field, the line integral over a parametrized curve calculates the work done when the objects moves along this curve.
Example 3.5.1. Work done by a (non-conservative) force field.
Consider the force field in \(\mathbb{R}^2\) given by \(\mathbf{F}(x,y) = (y, 5 x)\text{.}\) We will calculate the work done when moving an object along two closed curves:
going once around the unit circle counterclockwise, starting and ending at \((1,0)\text{;}\)
going once around a square counterclockwise, with vertices \((1,1), (1,-1), (-1,-1), (-1,1)\text{,}\) and starting and ending at \((1,1)\text{.}\)
Let us start with the circle (call it \(C\)). We parametrize the circle by \(\mathbf{r}(t) = (\cos t, \sin t)\text{,}\) with \(0 \leq t \leq 2 \pi\text{.}\) The velocity vector is then \(\frac{d \mathbf{r}}{d t} = (- \sin t, \cos t)\text{.}\) To calculate the work done, we evaluate the line integral along the circle:
We see that even if the curve is closed (i.e. it starts and ends at the same point), the work done is non-zero: this is because the force field is not conservative. If it was conservative, by Corollary 3.4.3 the work would have been zero.
Now consider the square (call it \(S\)). It is a piecewise parametric curve, so we need to parametrize the four line segments separately. We use the following parametrizations:
(\(L_1\)) From \((1,1)\) to \((-1,1)\) : \(\qquad \mathbf{r}_1(t) = (1-t, 1)\text{,}\) \(0 \leq t \leq 2\text{;}\)
(\(L_2\)) From \((-1,1)\) to \((-1,-1)\text{:}\) \(\qquad \mathbf{r}_2(t) = (-1, 1-t)\text{,}\) \(0 \leq t \leq 2\text{;}\)
(\(L_3\)) From \((-1,-1)\) to \((1,-1)\text{:}\) \(\qquad \mathbf{r}_3(t) = (-1+t, -1)\text{,}\) \(0 \leq t \leq 2\text{;}\)
(\(L_4\)) From \((1,-1)\) to \((1,1)\text{:}\) \(\qquad \mathbf{r}_4(t) = (1, -1+t)\text{,}\) \(0 \leq t \leq 2\text{.}\)
The work done is then calculated by summing the four line integrals:
We see that the work is again non-zero, and in fact it is not the same as the work done when going around the unit circle. This is as expected: as the force is non-conservative, the work done should depend on the path chosen.
Subsection 3.5.2 Conservation of energy
A force field that can be written as the gradient of a potential is called “conservative” for a reason. The name comes from physics, as it is related to conservation of energy, as we now see.
Let \(\mathbf{F}\) be a force field in \(\mathbb{R}^3\text{,}\) and suppose that an object moves along a parametrized path \(\mathbf{r}(t)\) from \(t=a\) to \(t=b\) (let's call this parametric curve \(\alpha\)). By Newton's law, we know that
where \(m\) is the mass of the object. From the discussion above, we see that the work done by the force on the object is:
We notice that the second integral on the last line is the same as the integral on the previous line, so we end up with the statement that
Since \(\mathbf{r}'(t) = \mathbf{v}(t)\) is the velocity of the object, we recognize the expression \(\frac{m}{2} |\mathbf{r}'(t)|^2\) as being the kinetic energy of the object at the point parametrized by \(t\) on its path \(C\text{,}\) which we will denote by \(T(t)\text{.}\) Thus we conclude that the work is the difference in kinetic energy
between the kinetic energy \(T(b)\) of the object at the ending point of the path and its kinetic energy \(T(a)\) at the starting point.
Now assume that \(\mathbf{F}\) is a conservative force field. It can then be written as the gradient of a potential. We now change our conventions (only for this section), to be consistent with the physics literature, and introduce a minus sign. We write: \(\mathbf{F} = -\boldsymbol{\nabla} V\) for some potential function \(V\text{.}\) By the Fundamental Theorem of line integrals, the work can then be evaluated as follows:
Comparing with our previous calculation of the work, we conclude that
or, rearranging,
This statement is the well known law of energy conservation in physics! Indeed, the potential \(V\) is interpreted as the potential energy, and the equality says that the total sum of the object's kinetic and potential energies remains constant as the object moves along the path. This is why such forces are called “conservative”!
Exercises 3.5.3 Exercises
1.
The force exerted by an electric charge at the origin on a charged particle at a point \((x,y,z) \in \mathbb{R}^3\) is
where \(K\) is a constant. Find the work done as the particle moves along a straight line from \((1,0,0)\) to \((2,2,3)\text{.}\)
We parametrize the line as \(\alpha:[0,1] \to \mathbb{R}^3\) with \(\alpha(t) = (1+t, 2t, 3t)\text{.}\) The tangent vector is \(\mathbf{T}(t) = (1,2,3)\text{.}\) The line integral thus becomes
We do the substitution \(u = (1+t)^2 + (2t)^2 + (3t)^2\text{,}\) with \(du = 2 \left((1+t) + 2(2t) + 3(3t) \right)\ dt\text{,}\) and \(u(0) = 1,~u(1)= 4+4+9 = 17\text{.}\) The integral becomes
2.
True or False. A force field \(\mathbf{F}(x,y,z) = k (x,y,z)\text{,}\) with \(k\) any constant, does no work on a particle that moves once around the unit circle in the \(xy\)-plane.
This is true, since the force field is conservative, and the integral of a conservative vector field around a closed curve is always zero. To show that the force field is conservative, consider the potential \(f(x,y,z) = \frac{k}{2}(x^2+y^2+z^2).\) Then
While the above is a sufficient solution, let us compute the line integral for fun, to see that we get zero indeed. We parametrize the circle as \(\alpha:[0,2\pi] \to \mathbb{R}^3\text{,}\) \(\alpha(t) = (\cos t, \sin t, 0)\text{,}\) with tangent vector \(\mathbf{T}(t) = (-\sin t, \cos t, 0)\text{.}\) The line integral becomes
as expected.
3.
Find the work done by the force field \(\mathbf{F}(x,y,z) = ( x^2+y, x + y, 0)\) when moving an object from \((1,1,1)\) to \((0,0,0)\text{.}\)
The question does not specify the path taken between \((1,1,1)\) and \((0,0,0)\text{;}\) so we can only calculate the work if the force is conservative, in which case its line integral does not depend on the path chosen.
Fortunately, the force is conservative. Pick the potential \(f(x,y,z) = \frac{x^3}{3} + x y + \frac{y^2}{2}\text{.}\) Then
Then, using the Fundamental Theorem for line integrals, we calculate the work: