Multivariable CalculusLine Integrals and Green's Theorem3 of 7
Line Integrals and Green's Theorem · 3
Line Integrals of Vector Fields
When we walk along a curve through a vector field F, the work done by the field is the net score of how much its arrows push with us minus how much they push against us.
To find the total work over a curving path, we first zoom in on a single tiny step dr to see how much the field helps on that step.
Work and the Tiny Step Score
Because sideways pushes neither help nor fight our motion, the dot product F⋅dr on a grid simply pairs the horizontal force with the horizontal step and the vertical force with the vertical step:
Adding up these tiny step scores along the entire curve C gives the line integral for the total work:
Work=∫CF⋅dr=∫CPdx+Qdy
At a fixed wind vector F=⟨P,Q⟩, the tiny step score Pdx+Qdy is positive when the step dr goes with the wind, zero when dr is perpendicular to the wind, and negative when dr goes against the wind.
Multiplying the wind's parts by your step's parts gives positive work when you step with the wind, zero when you step across it, and flips the sign when you go backward.
1
Computing a Line Integral in 2D
To evaluate ∫CPdx+Qdy, we need to turn an integral that mixes x,y,dx, and dy into an ordinary single-variable integral in t.
Let's find the work done by the vector field F=⟨y,2x⟩ along the parabola y=x2 from (0,0) to (2,4).
Computing a Line Integral in 2D
Text solution
Write the tiny step score along CMatch the components of F=⟨y,2x⟩ with the tiny steps dx and dy.
∫CF⋅dr=∫Cydx+2xdy
Parametrize the parabola and differentiate for dx and dySetting x=t keeps the point on the parabola y=x2 from (0,0) to (2,4), and taking derivatives gives the tiny steps in terms of dt.
xy=t,=t2,dxdy=1dt=2tdt(0≤t≤2)
Substitute in terms of t and integrateReplacing x,y,dx, and dy turns the line integral into a single-variable integral from t=0 to t=2.
The positive result of 340 means that along the parabola from (0,0) to (2,4), the field F pushes with our motion more than it pushes against it.
Walking the same curve in reverse is written as −C (where the minus sign means the opposite direction of travel, not negative coordinates). Reversing the path flips every step vector dr and negates the total work:
∫−CF⋅dr=−∫CF⋅dr
You might also see this same line integral written in three ways, because multiplying a step's unit tangent direction T by its tiny arc length ds gives the tiny step vector dr itself:
∫CPdx+Qdy=∫CF⋅dr=∫CF⋅drTds
2
Line Integrals in Three Dimensions
When a path winds through three-dimensional space in a force field F=⟨P,Q,R⟩, the tiny step vector dr=⟨dx,dy,dz⟩ has a third component, adding Rdz to the tiny step score:
∫CF⋅dr=∫CPdx+Qdy+Rdz
Now let's find the work done by the three-dimensional field F=⟨y,z,2x⟩ along the curve x=t,y=2t,z=t2 from t=0 to t=1.
Line Integrals in Three Dimensions
Text solution
Write the 3D tiny step scorePair the three components of F=⟨y,z,2x⟩ with dx,dy, and dz.
∫CF⋅dr=∫Cydx+zdy+2xdz
Differentiate the coordinates for dx,dy, and dzSince x,y, and z are already given in terms of t, take their derivatives directly.
xyz=t,=2t,=t2,dxdydz=1dt=2dt=2tdt(0≤t≤1)
Substitute in terms of t and integratePlugging in the coordinates and differentials turns this into an integral from t=0 to t=1.
Over the path from (0,0,0) to (1,2,1), the three-dimensional force field does a net work of 3.
3
Circulation Around a Closed Loop
When a curve C is a closed loop that finishes back where it started, the work done around the loop is called circulation, and it measures how much the vector field tends to push around that loop.
Walking counter-clockwise around a circle in three different fields shows when pushes on opposite sides of a loop cancel out and when they leave a net rotation.
Circulation Around a Closed Loop
To mark that the path C is a closed loop, we place a circle on the integral sign, though we compute it the exact same way as any other line integral:
Circulation=∮CF⋅dr=∮CPdx+Qdy
As you move a loop (or a tiny paddlewheel at its center) through different regions of a flow, the circulation is zero where equal pushes on opposite sides cancel, positive where the flow pushes counter-clockwise, and negative where stronger rightward arrows along the top outweigh weaker ones along the bottom.
Circulation around a loop is zero when opposite pushes cancel out, and nonzero whenever one side is pushed harder than the other, even in a straight-line flow.
4
Computing Circulation Around a Circle
To compute the circulation ∮CF⋅dr of the swirling field F=⟨−y,x⟩ counter-clockwise around the unit circle x2+y2=1, we parametrize the circle with the angle t.
Computing Circulation Around a Circle
Text solution
Write the tiny step score around the loopMatch the components of F=⟨−y,x⟩ with dx and dy.
∮CF⋅dr=∮C−ydx+xdy
Parametrize the unit circle counter-clockwise and find dx and dyUse cost and sint for one full counter-clockwise turn from t=0 to t=2π.
xy=cost,=sint,dxdy=−sintdt=costdt(0≤t≤2π)
Substitute and simplify with sin2t+cos2t=1Plugging in the trig expressions simplifies the integrand to 1.
When a path C has sharp corners, each smooth edge has its own simple formula, so we break the integral into a separate line integral for each smooth edge and add the results:
∮CF⋅dr=∫C1F⋅dr+∫C2F⋅dr+∫C3F⋅dr
Now let's find the circulation of F=⟨y,2x⟩ counter-clockwise around the triangle with vertices (0,0),(1,0), and (1,1).
Paths with Corners
Text solution
Integrate along the bottom horizontal edge C1 from (0,0) to (1,0)Along the x-axis, y stays at 0, so both y and dy are zero.
xy=t,=0,dxdy=1dt=0(0≤t≤1)
∫C1ydx+2xdy=∫01(0)(1dt)+2(t)(0)=∫010dt=0
Integrate along the right vertical edge C2 from (1,0) to (1,1)Along the vertical line x=1,dx=0, so the ydx term drops out.
xy=1,=t,dxdy=0=1dt(0≤t≤1)
∫C2ydx+2xdy=∫01(t)(0)+2(1)(1dt)=∫012dt=2
Integrate along the diagonal return edge C3 from (1,1) to (0,0)Moving back to (0,0) as t goes from 0 to 1 sets x=1−t and y=1−t (or we can integrate forward with x=t,y=t and negate the score).
Add the three edges for the total circulationCombine the scores from C1,C2, and C3.
∮CF⋅dr=0+2−23=21
The net circulation around the triangle is 21, because the upward push along the right edge outweighs the opposing push along the diagonal return.
Key concepts
Every line integral of a vector field, whether written as ∫CF⋅dr,∫CPdx+Qdy,∫CF⋅Tds, or as a closed-loop circulation ∮CF⋅dr, is evaluated by matching each force component with its tiny step:
∫CF⋅dr=∫CPdx+Qdy(or ∫CPdx+Qdy+Rdz in 3D)
To compute it, write the coordinates in terms of a single parameter t, take their derivatives to find dx,dy, and dz, and integrate from the starting t to the ending t:
A curve given as y=f(x)
Set x=t and y=f(t) (for y=x2, use x=t,y=t2 with dx=1dt,dy=2tdt). If the path runs backwards, say from x=2 to x=0, either integrate from t=2 to t=0 or negate the forward integral using ∫−CF⋅dr=−∫CF⋅dr.
A circle centered at the origin
Parametrize counter-clockwise with x=cost,y=sint for 0≤t≤2π (multiplied by the radius r if the circle has radius r), so dx=−sintdt and dy=costdt.
A path with corners
Split the path into its smooth edges (∫C1+∫C2+…). On a horizontal line y stays constant (dy=0), and on a vertical line x stays constant (dx=0).
When not to do extra work
When a problem asks for ∫CF⋅Tds, never compute T and ds separately. Since Tds=dr, write ∫CPdx+Qdy right away. And if F is perpendicular to the curve everywhere (like the outward field F=⟨x,y⟩ on x2+y2=1), the work is 0 without integrating.
6
Practice
1
Evaluate ∫C2ydx+xdy along the parabola y=x2 from (0,0) to (1,1).
Watch out: don't forget to replace dy with its derivative 2tdt. Simply substituting x=t,y=t2 and writing dt at the end gives ∫01(2t2+t)dt=67.
Along y=x2, if you set x=t, what are y and the tiny steps dx and dy?
Set x=t and y=t2 for 0≤t≤1, which gives dx=1dt and dy=2tdt.
∫C2ydx+xdy=∫012(t2)(1dt)+(t)(2tdt)
(Watch out: don't forget to replace dy with its derivative 2tdt. Simply substituting x=t,y=t2 and writing dt at the end gives ∫01(2t2+t)dt=67.)
=∫014t2dt=[34t3]01=34
2
Find the work done by the three-dimensional force field F=⟨y,z,3x⟩ along the curve x=2t,y=t2,z=t from t=0 to t=1.
Watch out: be sure to include the derivative factors in both dx=2dt and dy=2tdt. Leaving dx=1dt gives 4, and dropping both derivative factors gives 623.Watch out: be sure to include the derivative factors in both dx=2dt and dy=2tdt. Leaving dx=1dt gives 4, and dropping both derivative factors gives 623.
Match the three components of F with dx,dy, and dz: what are the derivatives of x=2t,y=t2, and z=t?
The tiny step score is ydx+zdy+3xdz, so the work is ∫Cydx+zdy+3xdz. Differentiating the coordinates gives dx=2dt,dy=2tdt, and dz=1dt.
(Watch out: be sure to include the derivative factors in both dx=2dt and dy=2tdt. Leaving dx=1dt gives 4, and dropping both derivative factors gives 623.)
=∫01(4t2+6t)dt=[34t3+3t2]01=313
3
Compute ∫CF⋅Tds for the vector field F=⟨3y,x⟩ along the curve y=x3 from (2,8) to (0,0).
Watch out: match the bounds to the direction of travel from t=2 down to t=0. Putting the smaller bound on the bottom out of habit flips the sign and gives 24.
How does Tds relate to dr, and what are your starting and ending values of t when moving from (2,8) to (0,0)?
Since Tds=dr, the integral is ∫C3ydx+xdy. Setting x=t and y=t3 gives dx=1dt and dy=3t2dt, with t starting at 2 and ending at 0.
∫CF⋅Tds=∫C3ydx+xdy=∫20(3(t3)(1)+(t)(3t2))dt
(Watch out: match the bounds to the direction of travel from t=2 down to t=0. Putting the smaller bound on the bottom out of habit flips the sign and gives 24.)
=∫206t3dt=[23t4]20=−24
4
Find the circulation ∮CF⋅dr of the field F=⟨x−3y,3x+y⟩ counter-clockwise around the circle of radius 2 centered at the origin, x2+y2=4.
Watch out: multiply cost and sint by the radius 2. Using the unit circle x=cost,y=sint gives 6π, while using 4 from the right-hand side of x2+y2=4 gives 96π.Watch out: multiply cost and sint by the radius 2. Using the unit circle x=cost,y=sint gives 6π, while using 4 from the right-hand side of x2+y2=4 gives 96π.
To trace a circle of radius 2 where x2+y2=4, what number multiplies cost and sint in your parametrization?
For a circle of radius 2, parametrize counter-clockwise with x=2cost and y=2sint for 0≤t≤2π, so dx=−2sintdt and dy=2costdt.
(Watch out: multiply cost and sint by the radius 2. Using the unit circle x=cost,y=sint gives 6π, while using 4 from the right-hand side of x2+y2=4 gives 96π.)
Find the circulation ∮CF⋅dr of the field F=⟨x2+y,3x⟩ counter-clockwise around the triangle with vertices (0,0),(2,0), and (0,2).
Watch out: since x=2−t decreases along C2, don't drop the minus sign in dx=−1dt, which would give 332 on C2 and 340 total; and if you instead set x=t,y=2−t, remember that t must run from 2 to 0, or the edge score flips to −34 and gives a total of 34.Watch out: since x=2−t decreases along C2, don't drop the minus sign in dx=−1dt, which would give 332 on C2 and 340 total; and if you instead set x=t,y=2−t, remember that t must run from 2 to 0, or the edge score flips to −34 and gives a total of 34.
Trace the triangle counter-clockwise from (0,0) to (2,0) to (0,2) and back to (0,0): on which two edges does one coordinate stay at 0, and how do x and y relate along the slanted edge?
Split the triangle into its three counter-clockwise edges for ∮C(x2+y)dx+3xdy:
On the bottom edge C1 from (0,0) to (2,0), set x=t,y=0 (0≤t≤2), so dx=1dt and dy=0:
(Watch out: since x=2−t decreases along C2, don't drop the minus sign in dx=−1dt, which would give 332 on C2 and 340 total; and if you instead set x=t,y=2−t, remember that t must run from 2 to 0, or the edge score flips to −34 and gives a total of 34.)
=∫02(2−t2)dt=[2t−31t3]02=34
On the left vertical edge C3 from (0,2) to (0,0),x=0 and dx=0, so both (x2+y)dx and 3xdy are zero: