A9 · Lesson 27 · Green's theorem
Circulation around a loop from what's inside it
A PCB design file stores a copper pad as a list of corner points, and the fabrication software needs its area. It doesn't fill the shape with tiny squares: it walks around the outline once and adds up a simple product at each step, the "shoelace formula". That works because of Green's theorem, which trades an integral around a closed curve for an integral over the area inside it. It's the flat version of the two big theorems of vector calculus, and the first time you'll see why "what happens inside" and "what happens on the boundary" must agree.
- The field is , whose curl is the same everywhere.
- The ellipse is the loop. The first readout is the circulation, computed by walking around it; the second is the curl times the area inside.
- Change the ellipse and the field. Do the two numbers ever disagree?
Predict
A field has curl 3 everywhere. What is its circulation around a counterclockwise loop enclosing an area of 2?
- Green's theorem adds up the curl over the enclosed area: . The shape of the loop doesn't matter, only the area inside it, because the curl is the same everywhere. Going around clockwise would give .
Name it
Green's theorem
For a closed curve traversed counterclockwise around a region , with smooth throughout :
The left side is the circulation; the integrand on the right is the 2D curl. Tiny loops inside cancel along their shared edges, leaving only the outer boundary, which is why the two sides agree.
The flux form
Rotate the field by 90° and the same theorem says the flux out through equals the integral of the divergence:
These are the 2D versions of Stokes's theorem and the divergence theorem (lesson 37).
Area from the boundary
Choose , , whose curl is 1. Then
For a polygon with corners in order, this becomes the shoelace formula:
with the last corner joined back to the first.
Worked example
Evaluate counterclockwise around the unit square .
Show the solution
- Curl of the field. Here and :
- Apply Green's theorem. The circulation is .
- Check by walking the sides. The four sides give as well.
Answer the circulation is 2.
Worked example
Find the area of the triangle with corners , , by the shoelace formula.
Show the solution
- Apply the shoelace formula.
- Check. Base 4 times height 3 over 2 agrees.
Answer the triangle's area is 6.
Worked example
Use Green's theorem to find the area of the ellipse .
Show the solution
- Area as a line integral.
- Parametrize. With , :
- Generalize. In general it's . Planimeters, the mechanical instruments that measure areas on maps by tracing their outlines, work on this principle.
Answer the ellipse's area is .
Check
What is for counterclockwise around the circle of radius 3?
Check
What is the area of the triangle with corners , , , by the shoelace formula?
Check
Use Green's theorem: what is counterclockwise around the rectangle ?
Check
What is the flux of out of the circle of radius 2?
Check
A field has curl 2 everywhere. What is its circulation clockwise around a loop enclosing area 3?
Check
When does Green's theorem fail for and the unit circle?
Check
Use .
(a)
What is the area of the ellipse with semi-axes 3 and 1?
(b)
What is the area of the triangle , , ?
Check
Check Green's theorem for on the rectangle .
Step 1
What is ?
Type it the way you would write it, like 3sin(2πft) or 3*sin(2*pi*f*t). Angles can be in radians or carry a degree sign, like 45°.
Step 2
What is the circulation around the rectangle?
Explain why
Explain why the circulation around a big loop equals the sum of the circulations around many small loops inside it.
Divide the region into small cells and go around each one counterclockwise. Wherever two cells share an edge, one of them traverses it in one direction and its neighbor in the other, so those contributions cancel. The only edges that don't cancel are those on the outer boundary, which are traversed just once, in the same direction as the big loop. So the sum of the small circulations is the big circulation. Each small circulation is about the curl times the cell's area, which in the limit makes the sum the integral of the curl.
Practice
Keep practicing
9 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.