Multivariable CalculusLine Integrals and Green's Theorem7 of 7
Line Integrals and Green's Theorem · 7
The Flux Form of Green's Theorem
Work and circulation measure how much a flow pushes along a curve; now we want to measure how much fluid crosses across a curve.
1
Flux Across a Curve
Flux is the rate at which fluid crosses a curve in a velocity field F=⟨P,Q⟩, where P is the horizontal speed and Q is the vertical speed. Because a curve has two sides, we pick a walking direction along the curve and count fluid crossing from our left to our right as positive.
Flux Across a Curve
Rotating a tiny step ⟨dx,dy⟩ by 90∘ clockwise gives the normal vector ⟨dy,−dx⟩ pointing to our right, so the unit normal and arc length ds cancel out automatically when we dot with F=⟨P,Q⟩:
Total Flux=∫C⟨P,Q⟩⋅right-hand normal⟨dy,−dx⟩=∫C(horizontal flowcrossing dyPdy−vertical flowcrossing dxQdx)
In a steady flow F=⟨P,Q⟩, horizontal flow runs parallel to dx and only crosses dy, vertical flow runs parallel to dy and crosses dx from right to left as we walk rightward, and the net flux across the step drops to zero whenever the step lines up with the flow.
Across any tiny step, sideways flow only crosses the vertical rise and upward flow only crosses the horizontal run, combining into the net flow to your right.
2
Computing Flux Line Integrals
To compute ∫CPdy−Qdx along a specific curve, we rewrite x,y,dx, and dy in terms of a single parameter t along our walking direction. Let's start with a straight vertical line segment and then try a parabola.
Computing Flux Line Integrals
Example 1: Find the flux of F=⟨2x,0⟩ across the vertical line segment x=3 from y=0 to y=5, walking upward.
Text solution
Set up Pdy−Qdx on x=3Walking straight up x=3 points our right hand to the right, with x=3 fixed (dx=0) and Q=0.
Pdy−Qdx=2xdy−0=2(3)dy=6dy
Integrate from y=0 to y=5Add up the tiny flux pieces along the segment to get the total rightward flux.
∫056dy=[6y]05=30
Example 2Find the flux of F=⟨y,x2⟩ across the parabola y=x2 from (0,0) to (2,4), measured downward and to the right.
Text solution
Parametrize the parabola and find dx and dyWalking from (0,0) to (2,4) already points our right hand downward and to the right, and using x=t sets the bounds from t=0 to t=2.
x=t,y=t2⟹dx=1dt,dy=2tdt(0≤t≤2)
Substitute into Pdy−QdxPlug P=y=t2 and Q=x2=t2 along with dx and dy into Pdy−Qdx.
Pdy−Qdx=(t2)(2tdt)−(t2)(1dt)=(2t3−t2)dt
Integrate from t=0 to t=2Evaluate the integral in t to find the total flux crossing downward and to the right.
∫02(2t3−t2)dt=[21t4−31t3]02=8−38=316
3
Outward Flux, Sources, and Sinks
When a curve closes into a loop around a region R, we want the net outward flux: the total rate at which fluid leaves R minus the rate at which it enters.
Outward Flux, Sources, and Sinks
Walking counterclockwise around a closed loop C keeps our right hand pointing outward everywhere along the boundary, so the sign of the flux tells us whether fluid is being created or absorbed inside R:
When fluid only flows through a counterclockwise loop without being created or absorbed inside, everything that enters one side leaves the other and the net outward flux is zero; the flux turns positive only when the loop encloses a source and negative only when it encloses a sink.
Around a closed loop, flow passing through always cancels out, so net outward flux is non-zero only when the loop encloses a source or a sink.
4
Divergence and the Flux Form of Green's Theorem
Finding ∮CPdy−Qdx directly around a triangle or a ten-sided boundary means parametrizing every side separately. Because net outward flux across the boundary just equals the total fluid created inside, we can instead measure the expansion rate at a single point (x,y) and add it up over the interior R.
Divergence and the Flux Form of Green's Theorem
Across a tiny dx-by-dy rectangle, net outflow comes only from horizontal flow speeding up from left to right and vertical flow speeding up from bottom to top. Their sum is the divergence of F, the rate at which fluid is expanding per unit area at (x,y):
div F=horizontalexpansion rate∂x∂P+verticalexpansion rate∂y∂Q
When we tile the region R with these tiny rectangles, fluid leaving one rectangle flows straight into its neighbor and cancels on every interior edge, leaving only the outer boundary C:
net outward fluxacross boundary C∮CPdy−Qdx=total sources and sinksinside region R∬R(∂x∂P+∂y∂Q)dA
Even in a fast current, a tiny rectangle has zero net outflow if the velocity is constant across it; net outflow appears only where horizontal flow changes speed from left to right (∂P/∂x=0) or vertical flow changes speed from bottom to top (∂Q/∂y=0): speeding up pushes fluid out, and slowing down draws it in.
More fluid leaves the box than enters it only where the flow speeds up across it from left to right or from bottom to top, not where it just moves fast at a steady speed.
5
Finding Flux with Green's Theorem
To find the net outward flux ∮CPdy−Qdx around a closed boundary C, we integrate the divergence ∂x∂P+∂y∂Q over the interior R. Here are two closed loops: a triangle where the divergence simplifies to a constant, and a circle where the divergence grows with distance from the origin.
Finding Flux with Green's Theorem
Example 1: Find the net outward flux of F=⟨3x+y2,2y−sin(x)⟩ across the triangle with vertices (0,0),(4,0), and (0,3).
Text solution
Compute the divergence inside the triangleTake ∂x∂P and ∂y∂Q, noticing that y2 and −sin(x) drop out.
∂x∂P+∂y∂Q=∂x∂(3x+y2)+∂y∂(2y−sin(x))=3+2=5
Multiply the constant divergence by the triangle's areaBecause every unit of area pumps out 5 units of fluid per second, the double integral over R is 5 times the area of the base-4, height-3 triangle.
∮CPdy−Qdx=∬R5dA=5×(21(4)(3))=5×6=30
Example 2Find the net outward flux of F=⟨x3,y3⟩ across the circle x2+y2=4 oriented counterclockwise.
Text solution
Compute the divergenceAdd ∂x∂P and ∂y∂Q for P=x3 and Q=y3, and factor out 3.
∂x∂P+∂y∂Q=3x2+3y2=3(x2+y2)
Convert the double integral over the disk to polar coordinatesOn a disk of radius 2, polar coordinates replace x2+y2 with r2 and the area piece dA with rdrdθ for 0≤r≤2 and 0≤θ≤2π.
Integrate over r and θIntegrate 3r3 from r=0 to r=2, then multiply by 2π for the full turn in θ.
∫02π[43r4]02dθ=2π(43(16))=2π(12)=24π
6
Closing an Open Curve to Find Flux
What if a vector field has messy terms that disappear in the divergence, like F=⟨3x+y2,2y⟩, but the curve C is open, such as the upper semicircle of radius 2 from (−2,0) to (2,0)? We can't use Green's Theorem on an open curve directly because fluid can escape through the open bottom, unless we seal that gap with a simple line segment first.
Closing an Open Curve to Find Flux
Example: Compute ∫CPdy−Qdx for F=⟨3x+y2,2y⟩ along the upper semicircle of radius 2, walking from (−2,0) to (2,0).
Text solution
Close the loop and find total outward flux with Green's TheoremSeal the half-disk R (radius 2, area 21π(22)=2π) with the segment Cbottom along y=0, where ∂x∂P+∂y∂Q=3+2=5.
Total outward flux=∬R(3+2)dA=5×Area(R)=5×2π=10π
Subtract the outward flux across the sealing line y=0Along Cbottom,y=0 is constant (dy=0) and vertical speed is Q=2(0)=0, so no fluid crosses the bottom segment and all 10π leaves through the semicircle.
∫CbottomPdy−Qdx=∫−22((3x+0)(0)−0dx)=0⟹Outward flux across C=10π−0=10π
Match the given walking directionWalking from (−2,0) to (2,0) along the top half goes clockwise, pointing our right hand inward into the half-disk, so we flip the sign of the outward flux.
∫CPdy−Qdx=−10π
Key concepts
Flux measures the rate at which fluid crosses a curve toward your right as you walk forward:
Flux=∫CPdy−Qdx
How you compute it depends on the curve and the vector field F=⟨P,Q⟩:
Single simple open curve → Parametrize directly
If C is a single line segment or simple curve and P and Q are already simple (like F=⟨y,x2⟩ on y=x2), closing the loop is extra work. Just plug x(t),y(t),dx,dy directly into ∫CPdy−Qdx, and flip the sign if the problem asks for the side to your left.
Closed loop → Divergence Form of Green's Theorem
Walking counterclockwise around a closed boundary C points your right hand outward, and the net outward flux equals the double integral of the divergence over the interior R:
∮CPdy−Qdx=∬R(∂x∂P+∂y∂Q)dA
Take ∂x∂P+∂y∂Q first: any y-only term in P or x-only term in Q drops out. If the divergence is a constant k (as in F=⟨3x+y2,2y−sin(x)⟩, where div F=5), the flux is just k×Area(R). If the divergence has x2+y2 on a disk (as in F=⟨x3,y3⟩, where div F=3(x2+y2)), switch to polar coordinates with x2+y2=r2 and dA=rdrdθ.
Open curve with a messy field → Close the loop
When ∂x∂P+∂y∂Q cancels messy terms (like y2 in F=⟨3x+y2,2y⟩ on the upper semicircle), seal the open gap with a straight line segment, find ∬R(∂x∂P+∂y∂Q)dA for total outward flux, subtract the outward flux across your sealing segment, and flip the sign if your walking direction points your right hand inward.
7
Practice
1
Find the flux of F=⟨4y,3x⟩ across the horizontal line segment y=2 from (0,2) to (5,2), walking from left to right.
Watch out: don't drop the minus sign on −Qdx, which gives +275, or use the work integral Pdx+Qdy, which gives 40.
Along the horizontal line y=2, which of the tiny changes dx or dy is zero?
Simplify Pdy−Qdx on the horizontal line y=2Because y=2 is constant along the segment, dy=0 and the Pdy term drops out. (Watch out: don't drop the minus sign on −Qdx, which gives +275, or use the work integral Pdx+Qdy, which gives 40.)
Pdy−Qdx=(4y)(0)−3xdx=−3xdx
Integrate from x=0 to x=5Add up −3xdx as x runs from left to right.
∫05−3xdx=[−23x2]05=−275
2
Find the flux of F=⟨2x,y2⟩ across the parabola y=x2 between (0,0) and (1,1), measured upward and to the left.
Watch out: in Q=y2, square y=t2 to get t4; leaving it as t2 gives −1.Watch out: forgetting to flip the sign for the given direction leaves +1517.
If you parametrize with x=t and y=t2 from t=0 to t=1, which way does your right hand point, and how does that compare to "upward and to the left"?
Parametrize the parabola and substitute into Pdy−QdxLet x=t and y=t2 for 0≤t≤1, so dx=dt and dy=2tdt.(Watch out: in Q=y2, square y=t2 to get t4; leaving it as t2 gives −1.)
Pdy−Qdx=(2t)(2tdt)−(t2)2dt=(4t2−t4)dt
Integrate from t=0 to t=1 for rightward fluxWalking from (0,0) to (1,1) points our right hand downward and to the right.
∫01(4t2−t4)dt=[34t3−51t5]01=34−51=1517
Flip the sign for flux upward and to the leftUpward and to the left is toward our left as we walk from (0,0) to (1,1), so we flip the sign of the rightward integral. (Watch out: forgetting to flip the sign for the given direction leaves +1517.)
Flux=−1517
3
Find the net outward flux of F=⟨2x−ey,cos(x)−5y⟩ across the boundary of the triangle with vertices (0,0),(6,0), and (0,4), and state whether the region has a net source or a net sink inside.
Watch out: divergence adds ∂x∂P+∂y∂Q; subtracting them as 2−(−5)=7 confuses divergence with Green's circulation form and gives 84.Watch out: forgetting the 21 in the triangle's area gives −3×24=−72.
The triangle is a closed loop. What happens to the −ey and cos(x) terms when you compute the divergence ∂x∂P+∂y∂Q?
Find the divergence inside the triangleTake ∂x∂P and ∂y∂Q, where −ey and cos(x) have zero derivatives. (Watch out: divergence adds ∂x∂P+∂y∂Q; subtracting them as 2−(−5)=7 confuses divergence with Green's circulation form and gives 84.)
∂x∂P+∂y∂Q=∂x∂(2x−ey)+∂y∂(cos(x)−5y)=2+(−5)=−3
Multiply by the area of the triangleThe triangle has base 6 and height 4, so its area is 21(6)(4)=12; a negative outward flux means more fluid enters than leaves. (Watch out: forgetting the 21 in the triangle's area gives −3×24=−72.)
∮CPdy−Qdx=∬R(−3)dA=−3×12=−36 (net sink)
4
Find the net outward flux of F=⟨x3+xy2,x2y+y3⟩ across the circle x2+y2=9 oriented counterclockwise.
Watch out: don't forget the extra r in dA=rdrdθ, which gives 72π, and use radius r=3 rather than r=9, which gives 13122π.
After you find ∂x∂P+∂y∂Q and combine like terms, what coordinate system fits the disk x2+y2≤9?
Compute and factor the divergenceDifferentiate P with respect to x and Q with respect to y, then factor out 4.
∂x∂P+∂y∂Q=(3x2+y2)+(x2+3y2)=4x2+4y2=4(x2+y2)
Set up the double integral in polar coordinatesOn the disk x2+y2≤9, the radius runs from r=0 to r=3 with x2+y2=r2 and dA=rdrdθ.(Watch out: don't forget the extra r in dA=rdrdθ, which gives 72π, and use radius r=3 rather than r=9, which gives 13122π.)
Evaluate the polar integralIntegrate 4r3 from 0 to 3 and multiply by 2π.
∫02π[r4]03dθ=2π(81)=162π
5
Compute ∫CPdy−Qdx for F=⟨4x+sin(y2),2y+3⟩ along the upper semicircle x2+y2=4 (y≥0), walking from (−2,0) to (2,0).
Watch out: don't assume the bottom line automatically has zero flux: the +3 in Q=2y+3 still crosses y=0, and overlooking it gives −12π.Watch out: forgetting to flip the sign for the clockwise direction leaves +12π+12.
The semicircle is an open curve. If you seal the bottom along y=0 from (−2,0) to (2,0), is the vertical flow Q=2y+3 zero along that bottom line, and which way does your right hand point on the semicircle?
Close the half-disk and find total outward flux with Green's TheoremSeal the bottom with Cbottom along y=0 from (−2,0) to (2,0); inside the radius-2 half-disk R (area 21π(22)=2π), the divergence is ∂x∂P+∂y∂Q=4+2=6.
Total outward flux=∬R(4+2)dA=6×2π=12π
Subtract the outward flux across the bottom line y=0Walking Cbottom from (−2,0) to (2,0) points our right hand downward (outward from the half-disk), where dy=0 and Q=2(0)+3=3.(Watch out: don't assume the bottom line automatically has zero flux: the +3 in Q=2y+3 still crosses y=0, and overlooking it gives −12π.)
∫CbottomPdy−Qdx=∫−22(0−3dx)=−12⟹Outward flux across C=12π−(−12)=12π+12
Flip the sign for the inward walking directionWalking from (−2,0) to (2,0) along the upper semicircle goes clockwise, pointing our right hand inward into the half-disk. (Watch out: forgetting to flip the sign for the clockwise direction leaves +12π+12.)