Chapter 9: Vector Calculus
Section 9.5: Line Integrals
Essentials
Table 9.5.1 lists some salient points about line integrals.
A line integral is a summative process along a path that is not the horizontal coordinate axis.
The partition along the path is taken with respect to arc length s.
Line integrals are definite integrals.
The line integral can be of a scalar, the tangential or the normal component of a vector field.
Mechanical work is defined as the line integral of the tangential component of the force field doing the work.
Circulation of a fluid's velocity field along a path is the line integral (along the path) of the tangential component of the field.
The line integral of the normal component of a planar field is the flux (i.e., flow) of the field through the curve.
Table 9.5.1 Salient points relevant to line integrals
From elementary physics comes the definition of mechanical work: the product of a force and a displacement. If the force varies along a trajectory, or the trajectory is not uniform, the process of "force times distance" is discretized and the "bits" of work added by integration. The component of force along the trajectory is the component doing the mechanical work. Hence, the line integral of the tangential component of a force acting along a curve gives the mechanical work associated with the process.
If the vector field is the velocity field of a laminar flow, the line integral of the tangential component around a closed curve is defined as the circulation of the flow.
The "flow" of a planar vector field through a curve is called the flux of the field through the curve. It is defined as the line integral of the normal component of the field along the curve. The flow of a spatial vector field through a surface is also the flux of the field, but this case can only be treated after a discussion of surface integration in Section 9.6
Table 9.5.2 lists how paths of integration can be defined in Cartesian coordinates.
In 2-D
In 3-D
Explicitly: y=yx
Parametrically: x=xt,y=yt
Parametrically, as a position vector: R=x(t)y(t)
Parametrically: x=xt,y=yt,z=zt
Parametrically, as a position vector: R=x(t)y(t)z(t)
Table 9.5.2 Representing paths of integration for line integrals
In the plane, a curve defined explicitly by y=yx can also be given parametrically by the equations x=t,y=yt, or even as the position vector R=x i+yx j.
Table 9.5.3 details ∫Cf ds, the line integral of the scalar function fx,y along the curve C.
Representation of C
Implementation of the line integral ∫Cf ds
y=yx
∫x=ax=bfx,yx 1+y′2 dx
x=xt,y=yt
R=x(t)y(t)
∫t=at=bfxt,yt x.2+y.2 dt
x=xt,y=yt,z=zt
R=x(t)y(t)z(t)
∫t=at=bfxt,yt,zt x.2+y.2+z.2 dt
Table 9.5.3 Line integrals of scalar fields
Of course, the astute reader will recognize that 1+y′2dx, x.2+y.2dt, and x.2+y.2+z.2dt in Table 9.5.3 are representations of ds, the element of arc length.
Table 9.5.4 contains information pertaining to the line integral of the tangential component of a vector field F.
The line integral of the tangential component of a vector field F=f i+g j+h k will typically be represented by any of the following three notations
∫CF·dr = ∫CF·T ds = ∫Cf dx+g dy+h dz
where C is the path for the integration, s is arc length along that path, T is a unit tangent vector along C, and r is a position-vector representation of the parametrically given C. Some texts will write dr for the differential of the vector r, and some will write dr. In either event, the symbol represents the differential of the vector rt, so it is a derivative times an increment: dr=r.tdt = x.t i+y.t j+z.t kdt = dx i+dy j+dz k.
If the curve C is parametrized by arc length, then r′s=Ts is automatically a unit tangent vector, and dr=T ds. It should now be clear why the three forms of the line integral of the tangential component of F are equivalent.
Table 9.5.4 Line integral of the tangential component of F
The following remarks pertain to the line integral of the normal component of a vector field. In particular, they clarify the relation between V, a vector in the plane, and one of the two possible vectors orthogonal to V.
If V=uv is a vector in the plane, then N=v−u is clearly orthogonal to V. Moreover, N lies "to the right" of V in the sense that were one to face in the direction of V and extend the right arm to the side, then the arm would point in the direction of N. Be advised, however, this process of interchanging the components of V and negating the second one need not result in the principal normal along a curve, since the principal normal typically points towards the center of curvature.
Counterexample: The circle x=cost,y=sint is traced counterclockwise as t increases from t=0 where the tangent vector T=j would therefore point upwards. Interchanging components and negating the second component results in the vector i, and not the principal normal −i, which points towards the center of the circle.
Table 9.5.5 contains information pertaining to the calculation of flux through a curve, that is, to the line integral of the normal component of a vector field F.
Flux of the field F=fx,y i+gx,y j through the plane curve C, given by r=xt i+yt j, is represented by the line integral of the normal component of F along C, for which either of the following two notations suffice.
∫CF·N ds = ∫Cf dy−g dx
Indeed, if r is parametrized by arc length s, then T=x′s i+y′s j is a unit tangent vector along C, and a normal vector to the right of T is N=y′s i−x′s j. Consequently, F·N ds=f dy−g dx.
A mnemonic for remembering the flux integral is the word "flux" itself. Its first letter is the first letter of the integrand; its last, the last letter of the integrand. These two letters indicate where the function fx,y and the differential dx go; the function gx,y and the differential dy have to fall into place on either side of the minus sign.
Finally, note that for the line integral of the normal component of F, there is no analog for the F·dr appearing in the line integral of the tangential component.
Table 9.5.5 Flux through a plane curve, the line integral of the normal component of a field F.
Line Integrals in Maple
Line integrals in Maple can always be formulated via the basic commands Int and int and their typeset equivalents. However, line integrals can much more easily be formulated and evaluated with the Context Panel system, several Task Templates, and three commands in the VectorCalculus packages.
Table 9.5.6 details the three commands available in the VectorCalculus packages. The yellow cells show the pre-defined curves that the commands recognize. Each command from either package recognizes the same set of curves. For these curves, the commands can return both the unevaluated integral and the value of the integral. In addition, for the curves shown in color (i.e., Circle, Line, LineSegments, Path), the Student versions admit an additional optional return, namely, a graph of the field arrows, the curve, and either a tangent or normal vector, as appropriate. In the scalar case, therefore, no graphs are drawn.
Scalar
Tangential Component
Normal Component
Student: PathInt
Main: PathInt
Student: LineInt
Main: LineInt
Student: Flux
Main: Flux
Arc
Ellipse
Circle
Line
LineSegments
Path
Table 9.5.6 Commands for line integrals
The hyperlinks in Table 9.5.6 lead to the appropriate help pages. Although the help pages for the Student version of the LineInt and Flux commands lists only those curves for which graphs can be drawn, the Student versions of these commands do recognize the same curves as the parallel commands in the VectorCalculus package.
Table 9.5.7 details the task templates available for implementing line integrals.
Tools≻Tasks≻Browse: Calculus - Vector≻Integration≻
There are no task templates implementing the PathInt command
Line Integrals
There are nine task templates implementing the LineInt command for the following options:
2-D
3-D
Along a Circle
Along a Curve
Along a Line Segment
Along a Polygonal Line
Along an Ellipse
Flux
There are four task templates implementing the Flux command in the plane.
Through a Circle
Through a Plane Curve
Through a Polygonal Line
Through an Ellipse
(There are seven others for flux through surface.)
Table 9.5.7 Task templates for line integrals
The nine task templates implementing the LineInt command display that command. Those for the Flux command are constructed from embedded components, and are therefore "syntax-free." The task templates for calculating flux through plane curves are illustrated in Examples 9.5.(17-23).
With the Student VectorCalculus package installed, the Context Panel for a vector field contains the option "Line Integral", the selection of which opens the dialog shown in Figure 9.5.1.
With this dialog, the line integral of the vector field can then be integrated over any path supported by the LineInt command.
The dialog returns the unevaluated integral, the value of that integral, or, where applicable, a graph of the field, curve, and tangent vector(s) along the curve.
Use of this functionality is made in Examples 9.5.(10-16).
The Context Panel for a scalar contains the options "Line Integral (2D)" and "Line Integral (3D)". Selecting the first opens the dialog shown in Figure 9.5.2; the second, in Figure 9.5.3.
Figure 9.5.1 Line-integral dialog in the Context Panel
Figure 9.5.2 Line integral of a scalar, 2D
Figure 9.5.3 Line integral of a scalar, 3D
Examples
Example 9.5.1
Obtain the line integral of the scalar function fx,y=x y, taken along the line segment from 1,2 to 3,5.
Example 9.5.2
Obtain the line integral of the scalar function fx,y,z=x y z, taken along the line segment from 1,2,3 to 5,3,2.
Example 9.5.3
Obtain the line integral of the scalar function fx,y=x y, taken along the polygonal line connecting the points 1,2, 3,5, 4,0, 2,7, in that order.
Example 9.5.4
Obtain the line integral of the scalar function fx,y,z=x y z, taken along the polygonal line connecting the points 1,2,3, 5,3,2, and 0,1,4, in that order.
Example 9.5.5
Obtain the line integral of the scalar function fx,y=x y, taken around the circle whose center is 3,5 and whose radius is 2.
Example 9.5.6
Let C be the circle whose center is 3,5 and whose radius is 2. Let c be the arc on C subtended by a central angle of π/4 radians measured counterclockwise from the right half of a horizontal diagonal. Obtain the line integral of the scalar function fx,y=x y, taken along c.
Example 9.5.7
Obtain the line integral of the scalar function fx,y=x y, taken around the ellipse whose center is 3,4 and whose semi-major and semi-minor axes, parallel to the coordinate axes, are 2 and 1, respectively.
Example 9.5.8
Let C be the ellipse x2+4 y2=1 and let c be the arc subtended by an angle of π/4 radians measured counterclockwise from the positive x-axis. Obtain the line integral of the scalar function fx,y=x y, taken along c.
Example 9.5.9
Let C be that portion of the parabola y=x2 from the origin to the point 1,1. Obtain the line integral of the scalar function fx,y=x y, taken along C.
Example 9.5.10
Calculate the work that the field F=x y i+x+y j does on a unit positive charge as the charge moves along a line from 1,2 to 3,5.
Example 9.5.11
Calculate the work that the field F=x y i+x+y j does on a unit positive charge as the charge moves along the polygonal line connecting the points 1,2, 3,5, 4,0, 2,7, in that order.
Example 9.5.12
Calculate the circulation of the field F=x y i+x+y j on the circle whose center is 3,5 and whose radius is 2.
Example 9.5.13
Let C be the circle whose center is 3,5 and whose radius is 2. Let c be the arc on C subtended by a central angle of π/4 radians measured counterclockwise from the right half of a horizontal diagonal. Calculate the work that the field F=x y i+x+y j does on a unit positive charge as the charge moves counterclockwise along c.
Example 9.5.14
Calculate the circulation of the field F=x y i+x+y j on the ellipse whose center is 3,4 and whose semi-major and semi-minor axes, parallel to the coordinate axes, are 2 and 1, respectively.
Example 9.5.15
Let C be the ellipse x2+2 y2=1 and let c be the arc subtended by an angle of π/4 radians measured counterclockwise from the positive x-axis. Calculate the work that the field F=x y i+x+y j does on a unit positive charge as the charge moves counterclockwise along c.
Example 9.5.16
Let C be that portion of the parabola y=x2 from the origin to the point 1,1. Calculate the work that the field F=x y i+x+y j does on a unit positive charge as the charge moves away from the origin along C.
Example 9.5.17
Calculate the flux of the field F=x y i+x+y j through the line from 1,2 to 3,5. Take the normal to the right of the tangent along the line.
Example 9.5.18
Calculate the flux of the field F=x y i+x+y j through the polygonal line connecting the points 1,2, 3,5, OmegaR ≔ dx1,ⅇx1⁢x3+x1⁢x3+x2⁢dx1+dx2,x3⁢ⅇx1⁢dx1+dx3, 7,6, in that order. Take the normal to the right of the tangent along the path.
Example 9.5.19
Calculate the flux of the field F=x y i+x+y j through the circle whose center is 3,5 and whose radius is 2. Take the outward normal along the circle.
Example 9.5.20
Calculate the flux of the field F=x y i+x+y j through the ellipse whose center is 3,4 and whose semi-major and semi-minor axes, parallel to the coordinate axes, are 2 and 1, respectively. Take the outward normal along the ellipse.
Example 9.5.21
Let C be that portion of the parabola y=x2 from the origin to the point 1,1. Calculate the flux of the field F=x y i+x+y j through C. Take the normal to the right of the tangent along the path.
Example 9.5.22
Let C be the circle whose center is 3,5 and whose radius is 2. Let c be the arc on C subtended by a central angle of π/4 radians measured counterclockwise from the right half of a horizontal diagonal. Calculate the flux of the field F=x y i+x+y j through c. Take the normal to the right of the tangent along c.
<< Previous Section Table of Contents Next Section >>
© Maplesoft, a division of Waterloo Maple Inc., 2024. All rights reserved. This product is protected by copyright and distributed under licenses restricting its use, copying, distribution, and decompilation.
For more information on Maplesoft products and services, visit www.maplesoft.com
Download Help Document