Skip to main content
Logo image

Coordinated Multivariable Calculus

Section 4.3 Using Parametrizations to Calculate Line Integrals

We begin this section by taking a look at how we can calculate a line integral of a vector field along some line segments and use this calculation as inspiration to see how treating oriented curves as vector-valued functions will allow us to quickly turn a line integral of a vector field into a single variable integral.

Preview Activity 4.3.1.

Let F=xy,y2, let C1 be the line segment from (1,1) to (4,1), let C2 be the line segment from (4,1) to (4,3), and let C3 be the line segment from (1,1) to (4,3). Also let C=C1+C2. This vector field and the curves are shown in Figure 4.3.1.
described in detail following the image
The vector field F=xy,y2 plotted for 0x5 and 0y4. This vector field radiates from the origin with vector length increasing as distance from the origin increases. The graph includes the line segment C1 from (1,1) to (4,1), the line segment C2 from (4,1) to (4,3), and the line segment C3 from (1,1) to (4,3).
Figure 4.3.1. A vector field F and three oriented curves

(a)

Every point along C1 has y=1. Therefore, along C1, the vector field F can be viewed purely as a function of x. In particular, along C1, we have F(x,1)=x,1. Since every point along C2 has the same x-value, what (in terms of y only) is F along C2?
Answer.
F=4y,y2 along C2.
Solution.
F=4y,y2 along C2.

(b)

Recall that drΔr, and along C1, we have that Δr=Δxidxi. Thus, dr=dx,0. We know that along C1, F=x,1.
(i)
Write Fdr along C1 without using a dot product.
Answer.
xdx
Solution.
Along the path C1, Fdr=x,1dx,0=xdx.
(ii)
What interval of x-values describes C1?
Answer.
1x4
Solution.
Since C1 is the line segment from (1,1) to (4,1), we have that 1x4.
(iii)
Write C1Fdr as an integral of the form abf(x)dx and evaluate the integral.
Answer.
152
Solution.
From the previous parts,
C1Fdr=14xdx=812=152.

(c)

Use an analogous approach to write C2Fdr as an integral of the form cdg(y)dy and evaluate the integral.
Answer.
263
Solution.
Along C2, dr=0,dy and 1y3. Thus, we have
C2Fdr=13y2dy=913=263.

(d)

Use the previous parts and a property of line integrals to calculate CFdr without having to evaluate any additional integrals.
Answer.
976
Solution.
CFdr=C1Fdr+C2Fdr=152+263=976

(e)

Evaluating C3Fdr takes more work at this stage, so let’s break the process into smaller pieces.
(i)
Find the slope-intercept (y=mx+b) form of the equation of the line containing the line segment C3.
Answer.
y=23x+13
Solution.
The slope is (31)/(41)=2/3. Using this with either point gives b=1/3, so the slope-intercept form of the line’s equation is y=23x+13.
(ii)
Just as we noticed that along C1 we always had y=1, we now know how to express y in terms of x for all points along C3. Use this to to express F as a vector purely in terms of x for the points along C3.
Answer.
F=23x2+13x,(23x+13)2 along C3.
Solution.
We know that along C3, y=23x+13. Thus,
F(x,y)=F(x,23x+13)=23x2+13x,(23x+13)2
along C3.
(iii)
We often think of the slope of a line as being Δy/Δx. Use this fact and the slope of the line containing C3 to express Δy as a multiple of Δx.
Answer.
Δy=23Δx
Solution.
Since the line’s slope is 2/3, we have Δy/Δx=2/3, which implies that Δy=23Δx
(iv)
We may view Δr as Δx,Δy. Since Δxdx and Δydy, write dr as a vector in terms of dx. You should be able to factor out dx from your result and write your answer in the form a1,a2dx.
Answer.
dr=1,23dx
Solution.
dr=dx,23dx=1,23dx
(v)
Use the range of x-values covered by the line segment C3 to write C3Fdr as a single-variable integral of the form abf(x)dx and evaluate the integral.
Answer.
1516
Solution.
From the coordinates of its endpoints, we know that C3 has 1x4. Combining the previous parts, we obtain
C3Fdr=1423x2+13x+23(23x+13)2dx=1516.

(f)

Notice that C and C3 both start at (1,1) and end at (4,3). How do the values of CFdr and C3Fdr compare?
Answer.
Different values.
Solution.
The results of the calculations for CFdr and C3Fdr are different.

(g)

Is F a gradient vector field? Why or why not?
Hint.
What would Clairaut’s Theorem tell you about a potential function f such that F=f?
Answer.
No.
Solution.
The vector field F is not a gradient vector field because there is no scalar-valued function f of two variables such that fx=xy and fy=y2. According to Clairaut’s Theorem, if such a function f existed, then y(fx)=x(fy), but y(xy)=yx(y2)=2y.

Subsection 4.3.1 Parametrizations in the Definition of CFdr

Preview Activity 4.3.1 has shown us that it is possible to evaluate line integrals without needing to resort to working with Riemann sums directly. However, the approaches taken there seem rather cumbersome to use for oriented curves that are not line segments. It was not critical that the paths in Preview Activity 4.3.1 were straight lines, but rather that the paths had a description where both x and y could be expressed in terms of one variable. Fortunately, parametrizing the oriented curve along which a line integral is calculated provides a powerful tool for evaluating line integrals.
Suppose that C is an oriented curve traced out by the vector-valued function r(t) for atb, and let F be a continuous vector field defined on a region containing C. We can divide the interval [a,b] into n sub-intervals, each of length Δt=(ba)/n, by letting ti=a+iΔt for i=0,1,,n. This subdivision of [a,b] then can be used to break C up into n pieces by letting Δri=r(ti+1)r(ti) for i=0,1,,n1 as we did in Figure 4.2.2. Now notice that
Δri=r(ti+1)r(ti)=r(ti+Δt)r(ti)=(r(ti+Δt)r(ti)Δt)Δt.
Looking at the definition of the line integral and substituting this new expression for Δri gives
CFdr=lim|Δri|0i=0n1F(ri)Δri=lim|Δri|0i=0n1F(ri)(r(ti+Δt)r(ti)Δt)Δt.
When evaluating the limit as Δt0, the expression in the parentheses will is r(ti). We then have a Riemann sum that reduces the evaluation of a line integral of a vector-valued function along an oriented curve to a definite integral of a function of one variable. Note that after evaluating the dot product, F(r(t))r(t) is (scalar) function of t. We restate this result below for easy reference.

Example 4.3.3.

Let F(x,y)=xi+y2j and let C be the quarter of the circle of radius 3 from (0,3) to (3,0). This vector field and curve are shown in Figure 4.3.4. By properties of line integrals, we know that CFdr=CFdr, and we will use this property since C is the usual clockwise orientation of a circle, meaning we can parametrize C by r(t)=3cos(t),3sin(t) for 0tπ/2.
described in detail following the image
The region in the xy-plane with 0x4 and 0y4. The quarter circle of radius 3 centered at the origin and oriented clockwise is shown along with the vector field xi+y2j, which contains vectors whose magnitudes increase more as y increases than as x increases. Also vectors farther from the x-axis have steeper positive slope than those close to the x-axis, which are close to horiznotal.
Figure 4.3.4. The vector field F=xi+y2j and an oriented curve C
To evaluate CFdr using this parametrization, we need to note that
F(r(t))=3cos(t),9sin2(t) and r(t)=3sin(t),3cos(t).
Thus, we have
CFdr=CFdr=0π/23cos(t),9sin2(t)3sin(t),3cos(t)dt=0π/2(9sin(t)cos(t)+27sin2(t)cos(t))dtwhere u=sin(t)=01(9u+27u2)du=[92u2+9u3]01=(92+9)=92.
As the example above shows, Theorem 4.3.2 allows us to reduce the problem of calculating a line integral of a vector-valued function along an oriented curve to one of finding a suitable parametrization for the curve. Once we have such a parametrization, evaluating the line integral becomes evaluating a single-variable integral, which is something you have done many times before. The example also illustrates that using the properties of line integrals can allow us to use a more “natural” parametrization. You may find it interesting to use the parametrization 3sin(t),3cos(t) for 0tπ/2 to evaluate the line integral. Do you get the same result?

Activity 4.3.2.

(a)
Find the work done by the vector field F(x,y,z)=6x2zi+3y2j+xk on a particle that moves from the point (3,0,0) to the point (3,0,6π) along the helix given by r(t)=3cos(t),3sin(t),t.
Answer.
324π
Solution.
r(t)=3cos(t),3sin(t),t for 0t6π, so r(t)=3sin(t),3cos(t),1, so F(t)=54t(cos(t))2,27(ssin(t))2,3cos(t) and
CFdr=06π162t(cos(t))2sin(t)+81(sin(t))2cos(t)+3cos(t)dt=324π
(b)
Let F(x,y)=0,x. Let C be the closed curve consisting of the top half of the circle of radius 2 centered at the origin and the portion of the x-axis from (2,0) to (2,0), oriented clockwise. Find the circulation of F around C.
Answer.
2π
Solution.
Let C1 be given by r(t)=2cos(t),2sin(t) where πt0. This means that F(t)=0,2cos(t) and
C1Fdr=4π0(cos(t))2dt=2π.
Let C2 be given by r(t)=t,0 where 2t2. This means that F(t)=0,t and
C2Fdr=220dt=0.
Thus the line integral over C1 then C2 will give a result of 2π.
The next activity has you investigate the line integrals of a fixed vector field along different curves. This will be an important, recurring theme as we study a variety of different integrals and vector fields in this chapter.

Activity 4.3.3.

Let F(x,y)=y2,2xy+3.
(a)
Let C1 be the portion of the graph of y=2x3+3x212x15 from (2,5) to (3,30). Calculate C1Fdr.
Answer.
2825
Solution.
If F=y2,2xy+3 and the curve C1 is traced out by r(t)=t,2t3+3t212t15 for 2t3, then
C1Fdr=2328t6+72t5195t4528t3+180t2+738t+189dt=2825
(b)
Let C2 be the line segment from (2,5) to (3,30). Calculate C2Fdr.
Answer.
2825
Solution.
In this part, the curve C2 is traced out by r(t)=2+5t,5+25t for 0t1. So
C2Fdr=01(5+25t)2,2(2+5t)(5+25t)+35,25dt=2825
(c)
Let C3 be the circle of radius 3 centered at the origin, oriented counterclockwise. Calculate C3Fdr.
Answer.
0
Solution.
In this part, the curve C3 is traced out by r(t)=3cos(t),3sin(t) as 0t2π. So
C3Fdr=02π9(sin(t))2,2cos(t)sin(t)+33sin(t),3cos(t)dt=0
(d)
To connect the previous parts of this activity, use a graphing utility to plot the curves C1 and C2 on the same axes.
(i)
What type of curve is C1C2?
Answer.
Closed
Solution.
Since the curves have the same endpoints but C2 is oriented oppositely, C1C2 forms a closed curve.
(ii)
What is the value of C1C2Fdr?
Answer.
0
Solution.
Since C1Fdr=C2Fdr, we have that
C1C2Fdr=C1FdrC2Fdr=0.
(iii)
What does your answer to part c allow you to say about the value of the line integral of F along the top half of C3 compared to the line integral of F from (3,0) to (3,0) along the bottom half of the circle of radius 3 centered at the origin?
Answer.
They are equal.
Solution.
If we reverse the orientation of the bottom half, these curves combine to form C3. Thus, the sum of the two line integrals is 0, and so when changing the orientation of the bottom portion of the circle, we get that the line integrals are equal.

Subsection 4.3.2 Alternative Notation for Line Integrals

In contexts where the fact that the quantity we are measuring via a line integral is best measured via a dot product (such as calculating work), the notation we have used thus far for line integrals is fairly common. However, sometimes the vector field is such that the units on x, y, and z are not distances. In this case, a dot product may not have a physical meaning, and an alternative notation using differentials can be common. Specifically, if F(x,y,z)=F1(x,y,z)i+F2(x,y,z)j+F3(x,y,z)k, then
CFdr=CF1,F2,F3dx,dy,dz=CF1dx+F2dy+F3dz.
A line integral in the form of CF1dx+F2dy+F3dz is called the differential form of a line integral.
(If F is a vector field in R2, the F3dz term is omitted.) As a concrete example, if F(x,y,z)=x2y,z3,xcos(z) and C is some oriented curve in R3, then
CFdr=Cx2ydx+z3dy+xcos(z)dz.
It is important to recognize that the integral on the right-hand side is still a line integral and must be evaluated using techniques for evaluating line integrals. We cannot simply try to treat it as if it were a definite integral of a function of one variable. Because the notation CFdr provides a reminder that this is a line integral and not a definite integral of the types calculated earlier in your study of calculus, we will only use the vector notation for line integrals in the body of the text. However, some exercises may require use of the differential form.

Subsection 4.3.3 Independence of Parametrization for a Fixed Curve

Up to this point, we have chosen whatever parametrization of an oriented curve C came to mind, and our argument for how we can use parametrizations to calculate line integrals did not depend on the specific choice of parametrization. However, it is not immediately obvious that different parametrizations don’t result in different values of the line integral. Our next example explores this question.

Example 4.3.5.

Let F=xi. We consider two different oriented curves from (0,1) to (3,3). The first oriented curve C travels horiznotally to (3,1) and then proceeds vertically to (3,3). The second oriented curve C3 is the line segment from (0,1) to (3,3). Notice that, as depicted in Figure 4.3.6, we can break C up into two oriented curves C1 (the horiznotal portion) and C2 (the vertical portion) so that C=C1+C2.
described in detail following the image
The vector field xi, which consists of horiznotal vectors that increase in length as distance from the y-axis increases. Three oriented line segments are also depicted. The line segment C1 is from (0,1) to (3,1). The line segment C2 is from (3,1) to (3,3). The line segment C3 is from (0,1) to (3,3).
Figure 4.3.6. The vector field F=xi and some oriented curves.
We first note that since F is orthogonal to C2, C2Fdr=0; therefore CFdr=C1Fdr. We can parametrize C1 as ti+j for 0t3 (t is treated like the coordinate x), which leads to
C1Fdr=03t,01,0dt=03tdt=92.
Thus, CFdr=9/2.
Now we look at C3Fdr, but we parametrize C3 in a nonstandard way by letting r(t)=3sin(t),1+2sin(t) for 0tπ2. (You should use a graphing utility to plot this parametrization to help convince yourself that it really does give C3.) This gives r(t)=3cos(t),2cos(t), and
C3Fdr=0π/23sin(t),03cos(t),2cos(t)dt=0π/29sin(t)cos(t)dt=92
In the next activity, you are asked to consider the more typical parametrization of C3 and verify that using it gives the same value for the line integral.
It’s also worth observing here that CFdr=C3Fdr, so at least two (very different) paths from (0,1) to (3,3) give the same value of the line integral here. The next section will further investigate when line integrals over different paths (with the same initial point and final point) will evaluate to the same value.
As promised, the final activity of this section asks you to look at another parametrization of the curve C3 from the previous example. It also asks you to look at two different oriented curves between a pair of points, similarly to what you did in Activity 4.3.3.

Activity 4.3.4.

(a)
The typical parametrization of the line segment from (0,1) to (3,3) (the oriented curve C3 in Example 4.3.5) is r(t)=3t,1+2t where 0t1. Use this parametrization to calculate C3Fdr for the vector field F=xi and compare your answer to the result of Example 4.3.5.
Answer.
92
Solution.
Using the parametrization given the line integral becomes
013t,03,2dt=019tdt=92
This is the same result as in Example 4.3.5.
(b)
Calculate C(3xy+ez),x2,(4z+xez)dr where C is the oriented curve consisting of the line segment from the origin to (1,1,1) followed by the line segment from (1,1,1) to (0,0,2).
Answer.
2e22e+8
Solution.
Let r1(t)=t,t,t where0t1 and r2(t)=1t,1t,1+t where0t1. Our line integral can be computed with
C1Fdr=013t2+et,t2,4t+tet1,1,1dt=e+103
C2Fdr=013(1t)2+e1t,(1t)2,4(1+t)+(1t)e1+t1,1,1dt=2e23e+143
Thus the line integral over C1 then C2 is 2e22e+8
(c)
Calculate C3xy+ez,x2,4z+xezdr where C is the line segment from (0,0,0) to (0,0,2).
Answer.
16
Solution.
The line segment from (0,0,0) to (0,0,2) can be given by r(t)=0,0,t with 0t2. Note that dr(t)=0,0,1dt, so
CFdr=024tdt=16
(d)
Is the vector field you considered in the previous two parts a gradient vector field? Why or why not? How does this compare to the vector field F of Activity 4.3.3?
Answer.
No
Solution.
No. One way to observe this would be to check the partial derivative with respect to y of the i component and compare it to the partial derivative with respect to x of the j component. Since they are not equal, Clairaut’s Theorem tells us that this vector field is not a gradient vector field.
Although we have not given a proof or even an intuitive argument, the phenomenon you observed in part a of Activity 4.3.4 is not particular to this curve or this vector field. The value of CFdr does not depend on the parametrization of C used to calculate the line integral when using Theorem 4.3.2. We will take this for granted in the remainder of the chapter. The next section will engage in a serious exploration of when a vector field has the property that the line integral from a point P to a point Q does not depend not he choice of oriented path between them.

Subsection 4.3.4 Summary

  • Line integrals of vector fields along oriented curves can be evaluated by parametrizing the curve in terms of t and then calculating the integral of F(r(t))r(t) on the interval [a,b].
  • The parametrization chosen for an oriented curve C when calculating the line integral CFdr using the formula abF(r(t))r(t)dt does not impact the value of the line integral.
  • If C1 and C2 are different paths from P to Q, it is possible for C1Fdr to have a different value to C2Fdr.

Exercises 4.3.5 Exercises

1.

(a)
Compute C1Fdr when F=x2,xy and C1 is the line segment from (0,0) to (2,2).
(b)
Compute C2Fdr when F=x2,xy and C2 is the line segment from (2,2) to (0,0).

2.

If the wind in a region of space is given by F=y+z,zx,z and a helicopter flies along the path given by r(t)=10sin(t),10cos(t),(10t)2 as 0t4π. Calculate the work done by the wind on the helicopter.
Hint.
Set up your integral carefully and then use either integration by parts or an algebraic solver to compute the definite integral.

3.

Let C3 be the circle of radius 7 centered at the origin traveled counterclockwise. Compute C3M,Ndr when:

4.

Let C4 be the curve given by traveling along the path given by y=x3x on the surface given by z=xy as x goes from 1 to 2. What is the work done by x,z,x+y?
Hint.
Parametrize y in terms of x first, then use that relationship to give z as a function x.