Watch on Instagram

Math Bytes · Multivariable calculus · Episode 8 · "Green's, Stokes' and the divergence theorems"

The big three theorems

Green's theorem says the circulation of a vector field around a region's edge (its push along the edge) equals the total spin inside, where spin = ∂Q/∂x − ∂P/∂y for F = (P, Q). For F = (−y, x) the spin is 2 everywhere, so a 3-by-3 square has circulation 2 × 9 = 18. Stokes' theorem and the divergence theorem carry the same idea, inside equals edge, to curved and closed surfaces.

Posted · About a 1 minute watch, 3 minute read · Take the quiz

Circulation: push along the edge

Picture a vector field F = (P, Q) as arrows everywhere, like water swirling on a pond. Walk once around the edge C of a region D, counterclockwise, and add up how much the arrows push you along the way. That total is the circulation, ∮_C P dx + Q dy.

Green's theorem: edge = spin inside

At each point, the spin of the field is

spin = ∂Q/∂x − ∂P/∂y

(the x partial of the second part, minus the y partial of the first). It's the two-dimensional curl. Green's theorem says

∮_C P dx + Q dy = ∬_D (∂Q/∂x − ∂P/∂y) dA

so the push along the edge equals the total spin inside. Tiny swirls inside cancel each other where they touch; only the edge is left over.

Worked example: the swirl (−y, x)

Take F = (−y, x), so P = −y and Q = x.

  1. Partials: ∂Q/∂x = 1 and ∂P/∂y = −1.
  2. Spin: 1 − (−1) = 2, the same at every point.
  3. Region: the 3-by-3 square 0 ≤ x ≤ 3, 0 ≤ y ≤ 3 has area 9.
  4. Circulation: total spin = 2 × 9 = 18.

Check by walking the edge counterclockwise: bottom (y = 0, so P = 0) gives 0; right side (x = 3, Q = 3, going up 3) gives 9; top (y = 3, P = −3, going left 3) gives 9; left side (x = 0) gives 0. Total 18.

The other two: Stokes' and the divergence theorem

  • Stokes' theorem does the same on a curved surface S in space: the circulation around its rim C equals the total curl through the surface, ∬_S (curl F) · dS = ∮_C F · dr.
  • The divergence theorem counts flow out of a closed surface S: the outward flux equals the total divergence inside the solid E, ∯_S F · dS = ∭_E (div F) dV.

All three share one idea: what happens inside a region is recorded on its edge.

Try it yourself

  1. For F = (−y, x), find the circulation around the rectangle 0 ≤ x ≤ 1, 0 ≤ y ≤ 2.
  2. For F = (−2y, 0), find the circulation around the square 0 ≤ x ≤ 2, 0 ≤ y ≤ 2.

(Answers: 1. Spin = 2, area = 2, circulation = 2 × 2 = 4. 2. Spin = ∂(0)/∂x − ∂(−2y)/∂y = 0 − (−2) = 2, area = 4, circulation = 8.)

Good to know

  • Green's theorem needs the edge traced counterclockwise (region on your left) and a field with continuous partials. Going clockwise flips the sign.
  • "Spin" is our plain-English name for ∂Q/∂x − ∂P/∂y, the scalar curl.
  • All three theorems are versions of one general Stokes theorem.
  • The arrow fields and surfaces in the video are sketches, not drawn to an exact scale.

Answer to the comment question

F = (0, 3x), around a 2-by-2 square. What's the circulation? 12. Here P = 0 and Q = 3x, so the spin is ∂(3x)/∂x − ∂(0)/∂y = 3 − 0 = 3 everywhere. The square's area is 4, so the circulation (counterclockwise) is 3 × 4 = 12.

Test your knowledge

Quick quiz: The big three theorems

4 multiple-choice questions. Pick one answer for each, then check how you did.

1What is the circulation of a field around a region's edge?
2What does Green's theorem say?
3For F = (−y, x), what is the spin ∂Q/∂x − ∂P/∂y?
4Which theorem relates flow out of a closed surface to what's inside?

Sources

Video transcript

How can the edge of a shape tell you what's happening inside?

Picture arrows everywhere, like water swirling on a pond. Add up their push along a region's edge: that's circulation.

Green's theorem says it equals the total spin inside. Spin is the x partial of the second part, minus the y partial of the first.

Take the swirl negative y, x. Spin is one minus negative one: two, everywhere.

On a three by three square, area nine, the circulation is two times nine: eighteen.

Stokes' theorem does this on curved surfaces. The divergence theorem counts flow out of a closed surface. Inside equals edge.

Your turn. The field is zero, three x. Around a two by two square, what's the circulation? Comment your answer below!

That's your byte.

More from Multivariable calculus

All Multivariable calculus lessons