Skip to main content
Logo image

Coordinated Multivariable Calculus

Section 4.2 The Idea of a Line Integral

As we discussed in Section 4.1, vector fields are often useful as representations of forces such as gravity, wind, and flowing water. We learned in Section 1.3 that the dot product of a force vector and a displacement vector tells us how much work the force did on the object as it moved from the tail of its displacement vector to the tip. However, things get more complicated when an objectโ€™s movement is not in a straight line and when the force is not uniform throughout the area in which the object moves. For example, how much work is done by a wind of 30 miโ„h toward the northwest on an airplane thatโ€™s flying 500 mi due north? What if the wind gets weaker the farther north the plane gets? In this section, we begin investigating how integration can be used to calculate the work a force field does in such circumstances.

Preview Activity 4.2.1.

Recall from Section 1.3 that the work done by a force F on an object that moves with displacement vector v is Fโ‹…v. In this Preview Activity, we consider the work done by a wind blowing due east at 45 miโ„h on an airplane at various stages of its journey.

(a)

A pilot flies for an hour and finds that he is 300 mi from where he started at a heading of 20 ยฐ degrees east of due north. Find the work the wind has done on the airplane during the flight.
Answer.
3078.18
Solution.
Here F=45i. The displacement vector of the airplane is v1=โŸจ200cosโก(70โˆ˜),200sinโก(70โˆ˜)โŸฉโ‰ˆโŸจ68.404,187.94โŸฉ. Thus, the work done by the wind is Fโ‹…v1=45โ‹…68.404=3078.18.

(b)

An hour later, the pilot determines that he is 275 mi due north of where he previously checked his position. Find the work done by the wind on the airplane during the second hour of the flight.
Answer.
0
Solution.
The displacement vector is v2=275j. Thus, the work done by the wind is v2โ‹…F=0.

(c)

Find the pilotโ€™s displacement from his original position after two hours of flying and use that to find the work done by the wind on the airplane during the first two hours of flight.
Answer.
โŸจ68.40,462.94โŸฉ; 3078.18
Solution.
The displacement is v=v1+v2=โŸจ68.40,462.94โŸฉ. The work done by the wind is thus vโ‹…F=3078.18.

(d)

How does your answer to the previous part connect to the answers to the first two parts?
Answer.
Sum.
Solution.
It is the sum of the answers to the first two parts.

(e)

Suppose that the pilot then flies 45 ยฐ west of due north for 200 mi. Find the work done by the wind on the airplane during this part of the journey.
Answer.
โˆ’6363.96
Solution.
The displacement vector is v3=โŸจ200cosโก(135โˆ˜),200sinโก(135โˆ˜)โŸฉ=โŸจโˆ’141.42,141.42โŸฉ. The work is therefore v3โ‹…F=โˆ’6363.96.

Subsection 4.2.1 Orientations of Curves

Given our motivation for calculating the work that a force field does on an object as it moves through the field, it is natural to concern ourselves with how the object moves. In particular, in many circumstances it will be different if an object moves from the point (0,1) to the point (4,3) by first going up the y-axis to (0,3) and then moving horizontally to (4,3) than if the object moves along the line segment from (0,1) directly to (4,3). Similarly, given a fixed force field, we would expect the work done to be different (in fact, opposite) if the object moves from (4,3) to (0,1) directly along a line segment. We say that a curve in R2 or R3 is oriented if we have specified the direction of travel along the curve. When a curve is given parametrically (including as a vector-valued function), our convention will be that the orientation follows from the smallest allowable value of the parameter to the largest.

Activity 4.2.2.

For each curve below, find a parametrization of the curve. Ensure that each curveโ€™s orientation matches the one specified.
(a)
The line segment in R3 from (0,1,โˆ’2) to (3,โˆ’1,2).
Answer.
r(t)=3ti+(1โˆ’2t)j+(โˆ’2+4t)k for 0โ‰คtโ‰ค1
Solution.
The direction vector for the line segment is v=โŸจ3โˆ’0,โˆ’1โˆ’1,2โˆ’(โˆ’2)โŸฉ=โŸจ3,โˆ’2,4โŸฉ. The line segment starts at r0=โŸจ0,1,โˆ’2โŸฉ. Thus, the line segment given as the vector-valued function
r(t)=3ti+(1โˆ’2t)j+(โˆ’2+4t)kfor 0โ‰คtโ‰ค1.
(b)
The line segment in R3 from (3,โˆ’1,2) to (0,1,โˆ’2).
Answer.
r(t)=(3โˆ’3t)i+(โˆ’1+2t)j+(2โˆ’4t)k for 0โ‰คtโ‰ค1
Solution.
The direction vector for the line segment is v=โŸจ0โˆ’3,1โˆ’(โˆ’1),โˆ’2โˆ’2โŸฉ=โŸจโˆ’3,2,โˆ’4โŸฉ. The line segment starts at r0=โŸจ3,โˆ’1,2โŸฉ. Thus, the line segment given as the vector-valued function
r(t)=(3โˆ’3t)i+(โˆ’1+2t)j+(2โˆ’4t)kfor 0โ‰คtโ‰ค1.
(c)
The circle of radius 3 (in R2) centered at the origin, beginning at the point (0,โˆ’3) and proceeding clockwise around the circle.
Answer.
r(t)=โŸจ3cosโก(t),โˆ’3sinโก(t)โŸฉ for ฯ€/2โ‰คtโ‰ค5ฯ€/2
Solution.
We can parametrize the circle in question in a clockwise direction as r(t)=โŸจ3cosโก(t),โˆ’3sinโก(t)โŸฉ. To get the correct starting point, we require ฯ€/2โ‰คtโ‰ค5ฯ€/2.
(d)
In R2, the portion of the parabola y2=x from the point (4,2) to the point (1,โˆ’1).
Answer.
โŸจt2,โˆ’tโŸฉ for โˆ’2โ‰คtโ‰ค1
Solution.
Here we can let y(t)=โˆ’t and x(t)=t2 for โˆ’2โ‰คtโ‰ค1.
Notice that there are, in general, many ways to parametrize an oriented curve. With line segments, it is common to have the parameter range from 0 to 1, although there are sometimes good reasons to choose another method. For circles and ellipses, you may find it useful to interchange the placement of cosโก(t) and sinโก(t) to change the orientation, but then careful attention may need to be paid to the start and end points.
The applet below is an example of a parametric curve plotted in GeoGebra. Right click in the box and move your mouse to view the curve from different angles. The vector valued function r(t)=โŸจcosโก(5t),2sinโก(3t),3โˆ’0.5tโŸฉ is graphed, as well as a point P that traverses r(t) from t=0 to t=8. Click here to view in GeoGebra
โ€‰1โ€‰
www.geogebra.org/calculator/vt3ywd8t
. From GeoGebra, you can click on the calculator labeled "Algebra" on the left hand bar to open the input. Try changing the input and seeing how the graph changes!

Instructions.

You can view a larger version of this here
โ€‰3โ€‰
www.geogebra.org/calculator/vt3ywd8t
.
Figure 4.2.1. A GeoGebra applet to explore oriented curves. View in GeoGebra
โ€‰2โ€‰
geogebra.org/calculator/vt3ywd8t
.

Subsection 4.2.2 Line Integrals

Just as when we differentiated a vector-valued function r(t) to find a tangent vector, we begin by dividing a curve C oriented from a point P to a point Q into n small, straight pieces. Each of these pieces is in an area where the vector field F is nearly constant, provided we use enough pieces. In Figure 4.2.2, we show this situation. Each ri is the tip of a vector that traces out the curve, which makes the vectors ฮ”ri=ri+1โˆ’ri (shown in blue) approximate the curve C. The green vectors are the vectors in the vector field F at each of the designated points along the curve.
described in detail following the image
An oriented curve from a point P to a point Q. The curve is broken up by points r0,โ€ฆ,rn that are the tips of position vectors as points along the curve. Blue vectors from ri to ri+1 are drawn to approximate the curve. At each ri, there is also a green vector depicting the element of the vector field F with tail at that point.
Figure 4.2.2. A curve C oriented from the point P to the point Q. The tips of the vectors ri that trace out the curve are shown as points. The blue vectors are the ฮ”ri, while the green vectors are the vectors associated to each of the points by a vector field F.
If we are trying to determine how much a wind current helps or hinders an aircraft flying along a path determined by the curve, then calculating the dot product F(ri)โ‹…ฮ”ri makes sense for the local amount of help or hindrance. This is because if the vector ri along the curve and the force field vector F(ri) point in similar directions, the dot product will be positive.
โ€‰4โ€‰
We are abusing notation here a tiny bit, since technically the domain of F is points in R2 or R3, and ri is a vector. By F(r), we mean F(r1,r2), where r=โŸจr1,r2โŸฉ.
On the other hand, if the angle between them is obtuse, the dot product will be negative and we also would note that the force field is hindering the aircraftโ€™s progress. Taking the sum over i=0,โ€ฆ,nโˆ’1, we have a Riemann sum that approximates the work done by the vector field on the aircraft as it flies along C:
โˆ‘i=0nโˆ’1F(ri)โ‹…ฮ”ri.
This suggests the following definition.

Definition 4.2.3.

Let C be an oriented curve and F a vector field defined in a region containing C. The line integral of F along C is
โˆซCFโ‹…dr=lim|ฮ”ri|โ†’0โˆ‘i=0nโˆ’1F(ri)โ‹…ฮ”ri,
provided the limit exists.
The limit in Definition 4.2.3 exists provided that F is a continuous vector field, by which we mean that each component function of F is continuous as a function of 2 or 3 variables, and that C is a piecewise smooth curved traced out from its initial point to its terminal point without retracing any portion of the curve.
Because the dot products in the definition of the line integral โˆซCFโ‹…dr can each be viewed as the work done by F as an object moves along the (very small) vector ฮ”ri, the line integral gives the total work done by the vector field on an object that moves along C (in the direction of its orientation).

Activity 4.2.3.

Shown in Figure 4.2.4 are two vector fields, F and G and four oriented curves, as labeled in the plots. For each of the line integrals below, determine if its value should be positive, negative, or zero. Do this by thinking about if the vector field is helping or hindering a particle moving along the oriented curve, rather than by doing calculations.
described in detail following the image
A vector field radiating from the origin with vectors getting longer as distance from the origin increases. There is an oriented line segment labeled C1 from (โˆ’2,โˆ’2) to (2,2) and an oriented line segment labeled C2 from (2,โˆ’2) to (0,โˆ’2).
(a) F
described in detail following the image
A vector field with all vectors parallel to the y-axis. Vectors get longer as distance from the y-axis increases. Vectors with x>0 point in the positive y-direction, while vectors with x<0 point in the negative y-direction. The top half of the circle of radius 2.5 centered at the origin and oriented clockwise is labeled C3. There is an oriented line segment labeled C4 from (2,โˆ’2) to (0,โˆ’2).
(b) G
Figure 4.2.4. Vector fields and oriented curves
(a)
โˆซC1Fโ‹…dr
Answer.
0
Solution.
The portion of C1 that lies in the third quadrant is oriented in the opposite direction of the vector field. On the other hand, the portion of C1 in the first quadrant is oriented in the same direction as F. By symmetry, this forces โˆซC1Fโ‹…dr=0.
(b)
โˆซC2Fโ‹…dr
Answer.
Negative
Solution.
The angle between the vectors of F and C2 are all obtuse. Thus, the line integral is negative.
(c)
โˆซC3Gโ‹…dr
Answer.
Negative
Solution.
The angle between the vectors of G and C3 are all obtuse (except for x=0, where there is no angle), and thus the line integral is negative.
(d)
โˆซC4Gโ‹…dr
Answer.
0
Solution.
The vector field G is always orthogonal to C4. Thus, the line integral is 0.
The next several sections will be devoted to determining ways to calculate line integrals. Although we do not yet have techniques for calculating the exact value of line integrals, we will see methods to determine if a line integral is positive, negative, or zero. We will also be able to order line integrals from greatest to least.

Subsection 4.2.3 Properties of Line Integrals

In the Preview Activity, we implicitly made use of the idea that if C can be broken up into two curves C1 and C2 such that the terminal point of C1 is the initial point of C2, then the line integral of F along C is the sum of the line integrals of F along C1 and along C2. Recalling the property for definite integrals that tells us
โˆซabf(x)dx=โˆซacf(x)dx+โˆซcbf(x)dx,
the ability to work with line integrals in this way is probably not surprising.
Before stating some useful properties of line integrals, we will establish some convenient notation. If C1 and C2 are oriented curves, with C1 from a point P to a point Q and C2 from Q to a point R, we denote by C1+C2 the oriented curve from P to R that follows C1 to Q and then continues along C2 to R. Also, if C is an oriented curve, โˆ’C denotes the same curve but with the opposite orientation. The list below summarizes some other properties of line integrals, each of which has a familiar analogue amongst the properties of definite integrals.

Properties of Line Integrals.

For a constant scalar k, vector fields F and G, and oriented curves C, C1, and C2, the following properties hold:
  1. โˆซC(kF)โ‹…dr=kโˆซCFโ‹…dr
  2. โˆซC(F+G)โ‹…dr=โˆซCFโ‹…dr+โˆซCGโ‹…dr
  3. โˆซโˆ’CFโ‹…dr=โˆ’โˆซCFโ‹…dr
  4. โˆซC1+C2Fโ‹…dr=โˆซC1Fโ‹…dr+โˆซC2Fโ‹…dr.

Activity 4.2.4.

Figure 4.2.5 shows a vector field F as well as six oriented curves, as labeled in the plot.
described in detail following the image
A vector field in the first quadrant with x,yโ‰ค5. Vectors are parallel to the y-axis and point in the negative y-direction. Vectors get longer as distance from the y-axis increases. There are six labeled oriented curves. The curve C1 is the line segment from (3,3) to (4,3). The curve C2 is the line segment from (4,3) to (4,5). The curve C3 is the line segment from (4,5) to (3,5). The curve C4 is the line segment from (3,5) to (3,3). The curve C5 is the lower half of the circle of radius 1 centered at (3,2) oriented counterclockwise. The curve C6 is the line segment from (1,1) to (1,5).
Figure 4.2.5. A vector field F and six oriented curves.
(a)
Is โˆซC5Fโ‹…dr positive, negative, or zero? Explain.
Answer.
Negative
Solution.
The portion of the vector field that produces acute angles with C5 has small magnitude than the portion that produces obtuse angles. Thus, the line integral must be negative.
(b)
Let C=C1+C2+C3+C4. Determine if โˆซCFโ‹…dr is positive, negative, or zero.
Answer.
Negative
Solution.
Notice that F is orthogonal to C1 and C3. Thus, โˆซC1Fโ‹…dr=โˆซC3Fโ‹…dr=0. Where the magnitude of the vectors in F is larger, F points in the opposite direction as the orientation of C. Thus, โˆซCFโ‹…dr is negative.
(c)
Order the line integrals below from smallest to largest.
โˆซC1Fโ‹…drโˆซC2Fโ‹…drโˆซC3Fโ‹…drโˆซC4Fโ‹…drโˆซC5Fโ‹…drโˆซC6Fโ‹…dr
Answer.
Solution.
Notice that โˆซC4Fโ‹…dr is the only one of the six line integrals that is positive, so it is the largest. Since F is orthogonal to C1 and C3, โˆซC1Fโ‹…dr=โˆซC3Fโ‹…dr=0. Note that while C6 is twice as long as C2, the vectors in the vector field that are hindering C2 are more than twice as long as those hindering C6 Thus, โˆซC2Fโ‹…dr<โˆซC6Fโ‹…dr. We do not yet have all the tools necessary to calculate the exact value of โˆซC5Fโ‹…dr. However, it is greater than โˆซC6Fโ‹…dr. Thus, the ordering is
โˆซC4Fโ‹…dr>โˆซC1Fโ‹…dr=โˆซC3Fโ‹…dr>โˆซC5Fโ‹…dr>โˆซC6Fโ‹…dr>โˆซC2Fโ‹…dr.

Subsection 4.2.4 The Circulation of a Vector Field

If an oriented curve C ends at the same point where it started, we say that C is closed. The line integral of a vector field F along a closed curve C is called the circulation of F around C. To emphasize the fact that C is closed, we sometimes write โˆฎCFโ‹…dr for โˆซCFโ‹…dr. Circulation serves as a measure of a vector fieldโ€™s tendency to rotate in a manner consistent with the orientation of the curve.

Activity 4.2.5.

Determine if the circulation of the vector field around each of the closed curves shown in Figure 4.2.6 is positive, negative, or zero.
described in detail following the image
A vector field with vectors pointing along circles centered at the origin and in a clockwise direction. Vectors get longer as distance from the origin increases. Also shown is the circle of radius 1.5 centered at the origin. The circle is oriented clockwise.
described in detail following the image
A vector field with all vectors parallel to the y-axis. Vectors get longer as distance from the y-axis increases. Vectors with x>0 point in the positive y-direction, while vectors with x<0 point in the negative y-direction. Also shown are two rectangles with sides parallel to the axes. One rectangle is oriented counterclockwise; its lower-left corner is at (โˆ’2.25,โˆ’1.5) and its upper-right corner is at (1,2.5). The other rectangle is oriented clockwise; its lower-left corner is at (โˆ’1.75,โˆ’3.2) and its upper-right corner is at (1.5,โˆ’2.1).
Figure 4.2.6. Vector fields and closed curves
Answer.
Circular curve has positive circulation. Larger rectangular curve has positive circulation. Smaller rectangular curve has negative circulation.
Solution.
The circular curve is oriented consistently with the vector field. Thus, the circulation is positive. The larger rectangular curve is either orthogonal to the vector field or oriented consistently with the vector field. Thus, the circulation is positive. The smaller rectangular curve is orthogonal to the vector field or has the opposite orientation. Thus, its circulation is negative.

Subsection 4.2.5 Summary

  • An oriented curve is a vector-valued function of one variable r(t) where we interpret the initial and terminal values of the domain of r as giving an orientation to the curve. A curve that ends at the same point where it started is said to be closed.
  • A line integral measures of a vector field along an oriented curve measures the extent to which the vector field points in a direction consistent with the orientation of the curve.
  • Line integrals have many properties that are analogous to those of definite integrals of functions of a single variable. The line integral of a vector field along a closed curve is called the circulation of the vector field along the curve.