maths.free › Multivariable Calculus › 5. Vector Calculus › Using Parameterizations to Calculate Line Integrals
Using Parameterizations to Calculate Line Integrals
This section relies heavily on the idea of line integrals developed in , understanding curves in space (from ), and the work interpretation of the dot product from .
Using Parameterizations to Calculate Line Integrals
This section relies heavily on the idea of line integrals developed in , understanding curves in space (from ), and the work interpretation of the dot product from .
compares its result with the first two parts of , so prioritize getting those done in class.
Introduction
We begin this section by taking a look at how to calculate a line integral of a vector field along different line segments. We will 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.
Exploration
Let \(\vF=\langle xy,y^2\rangle\), let \(C_1\) be the line segment from \((1,1)\) to \((4,1)\), let \(C_2\) be the line segment from \((4,1)\) to \((4,3)\), and let \(C_3\) be the line segment from \((1,1)\) to \((4,3)\). Also let \(C = C_1 + C_2\). This vector field and the curves are shown in .
Every point along \(C_1\) has \(y=1\). Therefore, along \(C_1\), the vector field \(\vF\) can be viewed purely as a function of \(x\). In particular, along \(C_1\), we have \(\vF(x,1) = \langle x,1\rangle\). Since every point along \(C_2\) has the same \(x\)-value, write \(\vF\) as a function of \(y\) only (for the points on \(C_2\)).
Recall that \(d\vr \approx \Delta \vr\), and along \(C_1\), we have that \(\Delta\vr = \Delta x\vi \approx dx\vi\). Thus, \(d\vr = \langle dx,0\rangle\). We know that along \(C_1\), \(\vF = \langle x,1\rangle\).
Write \(\vF\cdot d\vr\) along \(C_1\) without using a dot product.
What interval of \(x\)-values describes \(C_1\)?
Write \(\int_{C_1} \vF\cdot d\vr\) as an integral of the form \(\int_a^b f(x)\, dx\) and evaluate the integral.
Use an analogous approach to write \(\int_{C_2} \vF\cdot d\vr\) as an integral of the form \(\int_c^d g(y)\, dy\) and evaluate the integral.
Use the previous parts and a property of line integrals to calculate \(\int_C\vF\cdot d\vr\) without having to evaluate any additional integrals.
Parameterizations in the Definition of \int_C\vF\cdot d\vr
In , you saw how line integrals along vertical and horizontal line segments can be done as integrals of a single variable. Before moving on to the general case, let us consider in the next example how we might tackle \(\int_{C_3}\vF\cdot d\vr\) in .
Example
Since \(C_3\) is from \((1,1)\) to \((4,3)\), we can determine that the line segment has slope \(2/3\), so we can write an equation for the line as \(y-1 = (2/3)(x-1)\) or \(y=\frac{2}{3}x+\frac{1}{3}\). Thus, along the curve \(C_3\), we can write \[\begin{aligned}\end{aligned}\]. Thinking of the slope of \(C_3\) as \(\Delta y/\Delta x\), we can write \(\Delta y/\Delta x = 2/3\), which can be rearranged to \(\Delta y = \frac{2}{3}\Delta x\). We may view \(\Delta\vr\) as \(\langle \Delta x,\Delta y\rangle\). Since \(\Delta x\approx dx\) and \(\Delta y\approx dy\), we use the fact that \(\Delta y = \frac{2}{3}\Delta x\) to write \(d\vr = \langle dx,\frac{2}{3}\, dx\rangle = \left\langle 1,\frac{2}{3}\right\rangle\, dx\). Along \(C_3\), we have \(1\leq x\leq 4\), so having rewritten \(\vF\) in terms of \(x\) and \(\vr\) in terms of \(dx\), we can now write \[\begin{aligned}\int_{C_3}\vF\cdot d\vr \amp = \int_1^4 \left\langle \frac{2}{3}x^2+\frac{1}{3}x,(\frac{2}{3}x+\frac{1}{3})^2\right\rangle \cdot \left\langle 1,\frac{2}{3}\right\rangle\, dx \\ \amp = \int_1^4 \frac{2}{3}x^2 + \frac{1}{3}x + \frac{2}{3}\left(\frac{2}{3}x + \frac{1}{3}\right)^2\, dx = \frac{151}{6}\end{aligned}\]. Notice that this result is different than what you obtained for \(\int_{C}\vF\cdot d\vr\) in , even though \(C\) and \(C_3\) both start at \((1,1)\) and end at \((4,3)\).
A recurring theme in this chapter will be the consideration of whether or not a vector field is a gradient vector field. Before moving on to generalize to curves that are not line segments, it is worth examining this question for the vector field we have been investigating.
Activity
Is \(\vF=\langle xy,y^2\rangle\) a gradient vector field? Why or why not?
Solution
The vector field \(\vF\) is not a gradient vector field because there is no scalar-valued function \(f\) of two variables such that \(\frac{\partial f}{\partial x} = xy\) and \(\frac{\partial f}{\partial y} = y^2\). According to Clairaut's Theorem, if such a function \(f\) existed, then \(\frac{\partial}{\partial y}(\frac{\partial f}{\partial x}) = \frac{\partial}{\partial x}(\frac{\partial f}{\partial y})\), but \(\frac{\partial}{\partial y}(xy) = y \neq \frac{\partial}{\partial x}(y^2)=2y\).
We now state the general form of the preceding example as a theorem that will allow us to evaluate line integrals of vector fields in many contexts.
To illustrate how useful is for evaluating line integrals, consider the following example.
Condensed — the full section is in Boelkins et al., Active Calculus Multivariable.
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 quite the same physical meaning, and an alternative notation using differentials can be common. Specifically, if \(\vF(x,y,z) = F_1(x,y,z)\vi + F_2(x,y,z)\vj + F_3(x,y,z)\vk\), then \[\begin{aligned}\end{aligned}\]. A line integral in the form of \(\int_C F_1\, dx + F_2\, dy + F_3\, dz\) is called the differential form of a line integral. (If \(\vF\) is a vector field in \(\R^2\), the \(F_3\, dz\) term is omitted.) For example, if \(\vF(x,y,z) = \langle x^2y,z^3,x\cos(z)\rangle\) and \(C\) is some oriented curve in \(\R^3\), then \[\begin{aligned}\end{aligned}\]
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 the line integral of the form \(\int_C F_1\, dx + F_2\, dy + F_3\, dz\) as if it were a definite integral of a function of one variable. Because the notation \(\int_C\vF\cdot d\vr\) 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 the use of the differential form, and you may see the differential form used frequently in fields such as physics and engineering.
Independence of Parametrization for a Fixed Curve
Up to this point, we have chosen whatever parametrization of an oriented curve \(C\) was most convenient, and our argument for how we can use parameterizations to calculate line integrals did not depend on the specific choice of parametrization. However, it is not immediately obvious that different parameterizations don't result in different values of the line integral. Our next example explores this question.
Example
Let \(\vF = x\vi\). We consider two different oriented curves from \((0,1)\) to \((3,3)\). The first oriented curve \(C\) travels horizontally to \((3,1)\) and then proceeds vertically to \((3,3)\). The second oriented curve \(C_3\) is the line segment from \((0,1)\) to \((3,3)\). Notice that, as depicted in , we can break \(C\) up into two oriented curves \(C_1\) (the horizontal portion) and \(C_2\) (the vertical portion) so that \(C = C_1 + C_2\).
We first note that since \(\vF\) is orthogonal to \(C_2\), \(\int_{C_2}\vF\cdot d\vr=0\); therefore \(\int_C\vF\cdot d\vr =\int_{C_1}\vF\cdot d\vr\). We can parametrize \(C_1\) as \(t\vi+\vj\) for \(0\leq t\leq 3\) (\(t\) is treated like the coordinate \(x\)), which leads to \[\begin{aligned}\end{aligned}\].
Thus, \(\int_C\vF\cdot d\vr = 9/2\).
Now we look at \(\int_{C_3}\vF\cdot d\vr\), but we parametrize \(C_3\) in a nonstandard way by letting \(\vr(t) = \langle 3\sin(t),1+2\sin(t)\rangle\) for \(0\leq t\leq \frac{\pi}{2}\). (You should use a graphing utility to plot this parametrization to help convince yourself that it really does give \(C_3\).) This gives \(\vr'(t) = \langle 3\cos(t),2\cos(t)\rangle\), and \[\begin{aligned}\int_{C_3}\vF\cdot d\vr \amp = \int_0^{\pi/2}\langle 3\sin(t),0\rangle\cdot\langle 3\cos(t),2\cos(t)\rangle\, dt \\ \amp = \int_0^{\pi/2} 9\sin(t)\cos(t)\, dt = \frac{9}{2}\end{aligned}\].
In the next activity, you are asked to consider the more typical parametrization of \(C_3\) and verify that using it gives the same value for the line integral.
It's also worth observing here that \(\int_C\vF\cdot d\vr = \int_{C_3}\vF\cdot d\vr\), 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 \(C_3\) 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 .
Condensed — the full section is in Boelkins et al., Active Calculus Multivariable.
Practice (2)
Try each one on paper first. Reveal the answer to check; verified ones can be opened in the solver for every step.
-
If the wind in a region of space is given by \(\vF=\langle y+z,z-x,-z \rangle\) and a helicopter flies along the path given by \(\vr(t) = \langle 10 \sin(t),10\cos(t),(10-t)^2 \rangle\) as \(0\leq t\leq4\pi\). 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.
The vector field \(\vF(t)\) is \(\langle 10\cos(t)+(10-t)^2,(10-t)^2-10\sin(t),-(10-t)^2 \rangle\) along the path given (which we will call \(C\)) and \(d\vr=\langle 10\cos(t),-10\sin(t),-(10-t) \rangle dt\). So, \[\begin{aligned}\int_{C} \vF \cdot d\vr=\int_0^{4\pi} \langle 10\cos(t)+(10-t)^2,(10-t)^2-10\sin(t),-(10-t)^2 \rangle \\ \qquad \cdot \langle 10\cos(t),-10\sin(t),-(10-t) \rangle \enspace dt \\ = 3680\pi-64\pi^2+640\pi^3-2240\pi^4\end{aligned}\]
-
Let \(C_4\) be the curve given by traveling along the path given by \(y=x^3-x\) on the surface given by \(z=xy\) as \(x\) goes from \(-1\) to \(2\). What is the work done by \(\langle x,z,x+y\rangle\)?
បង្ហាញចម្លើយ
Hint:
Parametrize y in terms of x first, then use that relationship to give z as a function x.
We can parametrize the curve \(C_4\) by \(\langle t, t^3-t,t(t^3-t)\rangle\) as \(-1\leq t \leq 2\). Note that the components of this parametrization satisfy both \(y=x^3-x\) and \(z=xy\). So \[\begin{aligned}\int_{C_4} \vF \cdot d\vr = \int_{-1}^2 \langle t, t(t^3-t),t^3-t+t\rangle \cdot \langle 1,3t^2-1,4t^3-2t\rangle \enspace dt \\ \int_{-1}^2 t+t(t^3-t)(3t^2-1)+t^3(4t^3-2t)\enspace dt = \frac{939}{10}\end{aligned}\]
Symbols used here
Antiderivative (indefinite) or signed area from a to b (definite).
Derivative with respect to x, holding the other variables fixed.
Ratio of a circle's circumference to its diameter, 3.14159…
Ratios of sides in a right triangle; coordinates on the unit circle.
Equal to the precision shown, not exactly.
Inequalities that allow equality; < and > exclude it.
The two sides are different.
Vector of partial derivatives; points uphill.
Integral over a region of the plane; integral around a closed curve.
A quantity with magnitude and direction; a column of numbers.
Σ u_i v_i; the length of v, √(v·v).
How to: Using Parameterizations to Calculate Line Integrals
- How can we use a parametrization of an oriented curve C to calculate \int_C\vF\cdot d\vr?
- How does the parametrization chosen for an oriented curve C affect the value of the line integral \int_C\vF\cdot d\vr?
- Under what conditions will changing the path taken from P to Q change the the value of the line integral?
Questions people ask
What is a partial derivative?
The ordinary derivative with respect to one variable while every other variable is frozen — the slope of the surface in one coordinate direction.
What does the gradient point at?
Uphill: the direction of steepest increase, with length equal to that steepest slope. It is perpendicular to the level curves.
ព្យាយាមរបស់អ្នកផ្ទាល់
Parts of this page are adapted from Boelkins et al., Active Calculus Multivariable (CC BY-SA 4.0). Condensed and re-explained here; errors are ours.
បន្ថែមទៀតក្នុង Multivariable Calculus
Functions of several variablesPartial derivatives and the gradientOptimisation in several variablesDouble and triple integralsVector fields, line integrals and the big theorems