Calculate a vector line integral along an oriented curve in space.
Use a line integral to compute the work done in moving an object along a curve in a vector field.
Describe the flux and circulation of a vector field.
We are familiar with single-variable integrals of the form , where the domain of integration is an interval . Such an interval can be thought of as a curve in the -plane, since the interval defines a line segment with endpoints and —in other words, a line segment located on the -axis. Suppose we want to integrate over any curve in the plane, not just over a line segment on the -axis. Such a task requires a new kind of integral, called a line integral.
Line integrals have many applications to engineering and physics. They also allow us to make several useful generalizations of the Fundamental Theorem of Calculus. And, they are closely connected to the properties of vector fields, as we shall see.
Scalar Line Integrals
A line integral gives us the ability to integrate multivariable functions and vector fields over arbitrary curves in a plane or in space. There are two types of line integrals: scalar line integrals and vector line integrals. Scalar line integrals are integrals of a scalar function over a curve in a plane or in space. Vector line integrals are integrals of a vector field over a curve in a plane or in space. Let’s look at scalar line integrals first.
A scalar line integral is defined just as a single-variable integral is defined, except that for a scalar line integral, the integrand is a function of more than one variable and the domain of integration is a curve in a plane or in space, as opposed to a curve on the -axis.
For a scalar line integral, we let be a smooth curve in a plane or in space and let be a function with a domain that includes . We chop the curve into small pieces. For each piece, we choose point in that piece and evaluate at . (We can do this because all the points in the curve are in the domain of .) We multiply by the arc length of the piece , add the product over all the pieces, and then let the arc length of the pieces shrink to zero by taking a limit. The result is the scalar line integral of the function over the curve.
For a formal description of a scalar line integral, let be a smooth curve in space given by the parameterization , . Let be a function with a domain that includes curve . To define the line integral of the function over , we begin as most definitions of an integral begin: we chop the curve into small pieces. Partition the parameter interval into subintervals of equal width for , where and (Figure ). Let be a value in the interval . Denote the endpoints of , ,…, by ,…, . Points Pi divide curve into pieces , ,…, ,with lengths , ,…, , respectively. Let denote the endpoint of for . Now, we evaluate the function at point for . Note that is in piece , and therefore is in the domain of . Multiply by the length of , which gives the area of the “sheet” with base , and height . This is analogous to using rectangles to approximate area in a single-variable integral. Now, we form the sum .
Figure : Curve has been divided into n pieces, and a point inside each piece has been chosen.
Note the similarity of this sum versus a Riemann sum; in fact, this definition is a generalization of a Riemann sum to arbitrary curves in space. Just as with Riemann sums and integrals of form , we define an integral by letting the width of the pieces of the curve shrink to zero by taking a limit. The result is the scalar line integral of along .
You may have noticed a difference between this definition of a scalar line integral and a single-variable integral. In this definition, the arc lengths , ,…, aren’t necessarily the same; in the definition of a single-variable integral, the curve in the -axis is partitioned into pieces of equal length. This difference does not have any effect in the limit. As we shrink the arc lengths to zero, their values become close enough that any small difference becomes irrelevant.
DEFINITION: Scalar Line Integral
Let be a function with a domain that includes the smooth curve that is parameterized by , . The scalar line integral of along is
if this limit exists ( and are defined as in the previous paragraphs). If is a planar curve, then can be represented by the parametric equations , , and . If is smooth and is a function of two variables, then the scalar line integral of along is defined similarly as
if this limit exists.
If is a continuous function on a smooth curve , then always exists. Since is defined as a limit of Riemann sums, the continuity of is enough to guarantee the existence of the limit, just as the integral exists if is continuous over .
Before looking at how to compute a line integral, we need to examine the geometry captured by these integrals. Suppose that for all points on a smooth planar curve . Imagine taking curve and projecting it “up” to the surface defined by , thereby creating a new curve that lies in the graph of (Figure ). Now we drop a “sheet” from down to the -plane. The area of this sheet is . If for some points in , then the value of is the area above the -plane less the area below the -plane. (Note the similarity with integrals of the form .)
Figure : The area of the blue sheet is .
From this geometry, we can see that line integral does not depend on the parameterization of . As long as the curve is traversed exactly once by the parameterization, the area of the sheet formed by the function and the curve is the same. This same kind of geometric argument can be extended to show that the line integral of a three-variable function over a curve in space does not depend on the parameterization of the curve.
Example : Finding the Value of a Line Integral
Find the value of integral , where is the upper half of the unit circle.
Solution
The integrand is . Figure shows the graph of , curve C, and the sheet formed by them. Notice that this sheet has the same area as a rectangle with width and length . Therefore, .
Figure : The sheet that is formed by the upper half of the unit circle in a plane and the graph of .
To see that using the definition of line integral, we let be a parameterization of . Then, for any number in the domain of . Therefore,
Exercise
Find the value of , where is the curve parameterized by , , .
Hint
Find the shape formed by and the graph of function .
Answer
Note that in a scalar line integral, the integration is done with respect to arc length , which can make a scalar line integral difficult to calculate. To make the calculations easier, we can translate to an integral with a variable of integration that is .
Let for be a parameterization of . Since we are assuming that is smooth, is continuous for all in . In particular, , , and exist for all in . According to the arc length formula, we have
If width is small, then function , is almost constant over the interval .Therefore,
and we have
See Figure .
Figure : If we zoom in on the curve enough by making very small, then the corresponding piece of the curve is approximately linear.
Note that
In other words, as the widths of intervals shrink to zero, the sum converges to the integral . Therefore, we have the following theorem.
Theorem: Evaluating a Scalar Line Integral
Let be a continuous function with a domain that includes the smooth curve with parameterization , . Then
Although we have labeled Equation as an equation, it is more accurately considered an approximation because we can show that the left-hand side of Equation approaches the right-hand side as . In other words, letting the widths of the pieces shrink to zero makes the right-hand sum arbitrarily close to the left-hand sum. Since
we obtain the following theorem, which we use to compute scalar line integrals.
Theorem: Scalar Line Integral Calculation
Let be a continuous function with a domain that includes the smooth curve with parameterization , . Then
Similarly,
if is a planar curve and is a function of two variables.
Note that a consequence of this theorem is the equation . In other words, the change in arc length can be viewed as a change in the -domain, scaled by the magnitude of vector .
Example : Evaluating a Line Integral
Find the value of integral , where is part of the helix parameterized by , .
Solution
To compute a scalar line integral, we start by converting the variable of integration from arc length to . Then, we can use Equation to compute the integral with respect to . Note that
and
Therefore,
Notice that Equation translated the original difficult line integral into a manageable single-variable integral. Since
we have
Exercise
Evaluate , where C is the curve with parameterization , .
Hint
Use the two-variable version of scalar line integral definition (Equation ).
Answer
Example : Independence of Parameterization
Find the value of integral , where is part of the helix parameterized by , . Notice that this function and curve are the same as in the previous example; the only difference is that the curve has been reparameterized so that time runs twice as fast.
Solution
As with the previous example, we use Equation to compute the integral with respect to . Note that and
so we have
Notice that this agrees with the answer in the previous example. Changing the parameterization did not change the value of the line integral. Scalar line integrals are independent of parameterization, as long as the curve is traversed exactly once by the parameterization.
Exercise
Evaluate line integral , where is the line with parameterization , . Reparameterize C with parameterization , , recalculate line integral , and notice that the change of parameterization had no effect on the value of the integral.
Hint
Use Equation .
Answer
Both line integrals equal .
Now that we can evaluate line integrals, we can use them to calculate arc length. If , then
Therefore, is the arc length of .
Example : Calculating Arc Length
A wire has a shape that can be modeled with the parameterization , . Find the length of the wire.
Solution
The length of the wire is given by , where is the curve with parameterization . Therefore,
Exercise
Find the length of a wire with parameterization , .
Hint
Find the line integral of one over the corresponding curve.
Answer
Vector Line Integrals
The second type of line integrals are vector line integrals, in which we integrate along a curve through a vector field. For example, let
be a continuous vector field in that represents a force on a particle, and let be a smooth curve in contained in the domain of . How would we compute the work done by in moving a particle along ?
To answer this question, first note that a particle could travel in two directions along a curve: a forward direction and a backward direction. The work done by the vector field depends on the direction in which the particle is moving. Therefore, we must specify a direction along curve ; such a specified direction is called an orientation of a curve. The specified direction is the positive direction along ; the opposite direction is the negative direction along . When has been given an orientation, is called an oriented curve (Figure ). The work done on the particle depends on the direction along the curve in which the particle is moving.
A closed curve is one for which there exists a parameterization , , such that , and the curve is traversed exactly once. In other words, the parameterization is one-to-one on the domain .
Figure : (a) An oriented curve between two points. (b) A closed oriented curve.
Let be a parameterization of for such that the curve is traversed exactly once by the particle and the particle moves in the positive direction along . Divide the parameter interval into n subintervals , , of equal width. Denote the endpoints of , ,…, by ,…,. Points divide into n pieces. Denote the length of the piece from to by . For each , choose a value in the subinterval . Then, the endpoint of is a point in the piece of between and (Figure ). If is small, then as the particle moves from to along , it moves approximately in the direction of , the unit tangent vector at the endpoint of . Let denote the endpoint of . Then, the work done by the force vector field in moving the particle from to is , so the total work done along is
Figure : Curve is divided into n pieces, and a point inside each piece is chosen. The dot product of any tangent vector in the ith piece with the corresponding vector is approximated by .
Letting the arc length of the pieces of get arbitrarily small by taking a limit as gives us the work done by the field in moving the particle along . Therefore, the work done by in moving the particle in the positive direction along is defined as
which gives us the concept of a vector line integral.
DEFINITION: Line Integral of a Vector Field
The vector line integral of vector field along oriented smooth curve is
if that limit exists.
With scalar line integrals, neither the orientation nor the parameterization of the curve matters. As long as the curve is traversed exactly once by the parameterization, the value of the line integral is unchanged. With vector line integrals, the orientation of the curve does matter. If we think of the line integral as computing work, then this makes sense: if you hike up a mountain, then the gravitational force of Earth does negative work on you. If you walk down the mountain by the exact same path, then Earth’s gravitational force does positive work on you. In other words, reversing the path changes the work value from negative to positive in this case. Note that if is an oriented curve, then we let represent the same curve but with opposite orientation.
As with scalar line integrals, it is easier to compute a vector line integral if we express it in terms of the parameterization function and the variable . To translate the integral in terms of , note that unit tangent vector along is given by (assuming ). Since , as we saw when discussing scalar line integrals, we have
Thus, we have the following formula for computing vector line integrals:
Because of Equation , we often use the notation for the line integral .
If , then denotes vector , and .
Example : Evaluating a Vector Line Integral
Find the value of integral , where is the semicircle parameterized by , and .
Solution
We can use Equation to convert the variable of integration from to . We then have
Therefore,
See Figure .
Figure : This figure shows curve , in vector field .
Example : Reversing Orientation
Find the value of integral , where is the semicircle parameterized by , and .
Solution
Notice that this is the same problem as Example , except the orientation of the curve has been traversed. In this example, the parameterization starts at and ends at . By Equation ,
Notice that this is the negative of the answer in Example . It makes sense that this answer is negative because the orientation of the curve goes against the “flow” of the vector field.
Let be an oriented curve and let denote the same curve but with the orientation reversed. Then, the previous two examples illustrate the following fact:
That is, reversing the orientation of a curve changes the sign of a line integral.
Exercise
Let be a vector field and let be the curve with parameterization for . Which is greater: or ?
Hint
Imagine moving along the path and computing the dot product as you go.
Answer
Another standard notation for integral is . In this notation, , and are functions, and we think of as vector . To justify this convention, recall that . Therefore,
If , then , which implies that . Therefore
Example : Finding the Value of an Integral of the Form
Find the value of integral , where is the curve parameterized by , .
Solution
As with our previous examples, to compute this line integral we should perform a change of variables to write everything in terms of . In this case, Equation allows us to make this change:
Exercise
Find the value of , where is the curve parameterized by , .
Hint
Write the integral in terms of using Equation .
Answer
We have learned how to integrate smooth oriented curves. Now, suppose that is an oriented curve that is not smooth, but can be written as the union of finitely many smooth curves. In this case, we say that is a piecewise smooth curve. To be precise, curve is piecewise smooth if can be written as a union of n smooth curves , ,…, such that the endpoint of is the starting point of (Figure ). When curves satisfy the condition that the endpoint of is the starting point of , we write their union as .
Figure : The union of , , is a piecewise smooth curve.
The next theorem summarizes several key properties of vector line integrals.
Theorem: Properties of Vector Line Integrals
Let and be continuous vector fields with domains that include the oriented smooth curve . Then
, where is a constant
Suppose instead that is a piecewise smooth curve in the domains of and , where and are smooth curves such that the endpoint of is the starting point of . Then
Notice the similarities between these items and the properties of single-variable integrals. Properties i. and ii. say that line integrals are linear, which is true of single-variable integrals as well. Property iii. says that reversing the orientation of a curve changes the sign of the integral. If we think of the integral as computing the work done on a particle traveling along , then this makes sense. If the particle moves backward rather than forward, then the value of the work done has the opposite sign. This is analogous to the equation . Finally, if , ,…, are intervals, then
which is analogous to property iv.
Example : Using Properties to Compute a Vector Line Integral
Find the value of integral , where is the rectangle (oriented counterclockwise) in a plane with vertices , , , and , and where (Figure ).
Figure : Rectangle and vector field for Example .
Solution
Note that curve is the union of its four sides, and each side is smooth. Therefore is piecewise smooth. Let represent the side from to , let represent the side from to , let represent the side from to , and let represent the side from to (Figure ). Then,
We want to compute each of the four integrals on the right-hand side using Equation . Before doing this, we need a parameterization of each side of the rectangle. Here are four parameterizations (note that they traverse counterclockwise):
Therefore,
Notice that the value of this integral is positive, which should not be surprising. As we move along curve from left to right, our movement flows in the general direction of the vector field itself. At any point along , the tangent vector to the curve and the corresponding vector in the field form an angle that is less than 90°. Therefore, the tangent vector and the force vector have a positive dot product all along , and the line integral will have positive value.
The calculations for the three other line integrals are done similarly:
and
Thus, we have .
Exercise
Calculate line integral , where is vector field and is a triangle with vertices , , and , oriented counterclockwise.
Hint
Write the triangle as a union of its three sides, then calculate three separate line integrals.
Answer
0
Applications of Line Integrals
Scalar line integrals have many applications. They can be used to calculate the length or mass of a wire, the surface area of a sheet of a given height, or the electric potential of a charged wire given a linear charge density. Vector line integrals are extremely useful in physics. They can be used to calculate the work done on a particle as it moves through a force field, or the flow rate of a fluid across a curve. Here, we calculate the mass of a wire using a scalar line integral and the work done by a force using a vector line integral.
Suppose that a piece of wire is modeled by curve C in space. The mass per unit length (the linear density) of the wire is a continuous function . We can calculate the total mass of the wire using the scalar line integral . The reason is that mass is density multiplied by length, and therefore the density of a small piece of the wire can be approximated by for some point in the piece. Letting the length of the pieces shrink to zero with a limit yields the line integral .
Example : Calculating the Mass of a Wire
Calculate the mass of a spring in the shape of a curve parameterized by , , with a density function given by kg/m (Figure ).
Figure : The wire from Example .
Solution
To calculate the mass of the spring, we must find the value of the scalar line integral , where is the given helix. To calculate this integral, we write it in terms of using Equation :
Therefore, the mass is kg.
Exercise
Calculate the mass of a spring in the shape of a helix parameterized by , , with a density function given by kg/m.
Hint
Calculate the line integral of over the curve with parameterization .
Answer
kg
When we first defined vector line integrals, we used the concept of work to motivate the definition. Therefore, it is not surprising that calculating the work done by a vector field representing a force is a standard use of vector line integrals. Recall that if an object moves along curve in force field , then the work required to move the object is given by .
Example : Calculating Work
How much work is required to move an object in vector force field along path See Figure .
Solution
Let denote the given path. We need to find the value of . To do this, we use Equation :
Figure : The curve and vector field for Example .
Flux
We close this section by discussing two key concepts related to line integrals: flux across a plane curve and circulation along a plane curve. Flux is used in applications to calculate fluid flow across a curve, and the concept of circulation is important for characterizing conservative gradient fields in terms of line integrals. Both these concepts are used heavily throughout the rest of this chapter. The idea of flux is especially important for Green’s theorem, and in higher dimensions for Stokes’ theorem and the divergence theorem.
Let be a plane curve and let be a vector field in the plane. Imagine is a membrane across which fluid flows, but does not impede the flow of the fluid. In other words, is an idealized membrane invisible to the fluid. Suppose represents the velocity field of the fluid. How could we quantify the rate at which the fluid is crossing ?
Recall that the line integral of along is —in other words, the line integral is the dot product of the vector field with the unit tangential vector with respect to arc length. If we replace the unit tangential vector with unit normal vector and instead compute integral , we determine the flux across . To be precise, the definition of integral is the same as integral , except the in the Riemann sum is replaced with . Therefore, the flux across is defined as
where and are defined as they were for integral . Therefore, a flux integral is an integral that is perpendicular to a vector line integral, because and are perpendicular vectors.
If is a velocity field of a fluid and is a curve that represents a membrane, then the flux of across is the quantity of fluid flowing across per unit time, or the rate of flow.
More formally, let be a plane curve parameterized by , . Let be the vector that is normal to at the endpoint of and points to the right as we traverse in the positive direction (Figure ). Then, is the unit normal vector to at the endpoint of that points to the right as we traverse .
DEFINITION: Flux
The flux of across is line integral
Figure : The flux of vector field across curve is computed by an integral similar to a vector line integral.
We now give a formula for calculating the flux across a curve. This formula is analogous to the formula used to calculate a vector line integral (see Equation ).
Theorem: Calculating Flux Across a Curve
Let be a vector field and let be a smooth curve with parameterization , .Let . The flux of across is
Proof
Before deriving the formula, note that
Therefore,
Example : Flux across a Curve
Calculate the flux of across a unit circle oriented counterclockwise (Figure ).
Figure : A unit circle in vector field .
Solution
To compute the flux, we first need a parameterization of the unit circle. We can use the standard parameterization , . The normal vector to a unit circle is . Therefore, the flux is
Exercise
Calculate the flux of across the line segment from to , where the curve is oriented from left to right.
Hint
Use Equation .
Answer
Let be a two-dimensional vector field. Recall that integral is sometimes written as . Analogously, flux is sometimes written in the notation , because the unit normal vector is perpendicular to the unit tangent . Rotating the vector by 90° results in vector . Therefore, the line integral in Example can be written as .
Circulation
Now that we have defined flux, we can turn our attention to circulation. The line integral of vector field along an oriented closed curve is called the circulation of along . Circulation line integrals have their own notation: . The circle on the integral symbol denotes that is “circular” in that it has no endpoints. Example shows a calculation of circulation.
To see where the term circulation comes from and what it measures, let represent the velocity field of a fluid and let be an oriented closed curve. At a particular point , the closer the direction of is to the direction of , the larger the value of the dot product . The maximum value of occurs when the two vectors are pointing in the exact same direction; the minimum value of occurs when the two vectors are pointing in opposite directions. Thus, the value of the circulation measures the tendency of the fluid to move in the direction of .
Example : Calculating Circulation
Let be the vector field from Example and let represent the unit circle oriented counterclockwise. Calculate the circulation of along .
Solution
We use the standard parameterization of the unit circle: , . Then, and . Therefore, the circulation of along is
Notice that the circulation is positive. The reason for this is that the orientation of “flows” with the direction of . At any point along the circle, the tangent vector and the vector from form an angle of less than 90°, and therefore the corresponding dot product is positive.
In Example , what if we had oriented the unit circle clockwise? We denote the unit circle oriented clockwise by . Then
Notice that the circulation is negative in this case. The reason for this is that the orientation of the curve flows against the direction of .
Exercise
Calculate the circulation of along a unit circle oriented counterclockwise.
Hint
Use Equation .
Answer
units of work
Example : Calculating Work
Calculate the work done on a particle that traverses circle of radius 2 centered at the origin, oriented counterclockwise, by field . Assume the particle starts its movement at .
Solution
The work done by on the particle is the circulation of along : . We use the parameterization , for . Then, and . Therefore, the circulation of along is
The force field does zero work on the particle.
Notice that the circulation of along is zero. Furthermore, notice that since is the gradient of , is conservative. We prove in a later section that under certain broad conditions, the circulation of a conservative vector field along a closed curve is zero.
Exercise
Calculate the work done by field on a particle that traverses the unit circle. Assume the particle begins its movement at .
Hint
Use Equation .
Answer
units of work
Key Concepts
Line integrals generalize the notion of a single-variable integral to higher dimensions. The domain of integration in a single-variable integral is a line segment along the -axis, but the domain of integration in a line integral is a curve in a plane or in space.
If is a curve, then the length of is .
There are two kinds of line integral: scalar line integrals and vector line integrals. Scalar line integrals can be used to calculate the mass of a wire; vector line integrals can be used to calculate the work done on a particle traveling through a field.
Scalar line integrals can be calculated using Equation ; vector line integrals can be calculated using Equation .
Two key concepts expressed in terms of line integrals are flux and circulation. Flux measures the rate that a field crosses a given line; circulation measures the tendency of a field to move in the same direction as a given closed curve.
Key Equations
Calculating a scalar line integral
Calculating a vector line integral
or
Calculating flux
Glossary
circulation
the tendency of a fluid to move in the direction of curve . If is a closed curve, then the circulation of along is line integral , which we also denote .
closed curve
a curve for which there exists a parameterization , such that , and the curve is traversed exactly once
flux
the rate of a fluid flowing across a curve in a vector field; the flux of vector field across plane curve is line integral
line integral
the integral of a function along a curve in a plane or in space
orientation of a curve
the orientation of a curve is a specified direction of
piecewise smooth curve
an oriented curve that is not smooth, but can be written as the union of finitely many smooth curves
scalar line integral
the scalar line integral of a function along a curve with respect to arc length is the integral , it is the integral of a scalar function along a curve in a plane or in space; such an integral is defined in terms of a Riemann sum, as is a single-variable integral
vector line integral
the vector line integral of vector field along curve is the integral of the dot product of with unit tangent vector of with respect to arc length, ; such an integral is defined in terms of a Riemann sum, similar to a single-variable integral