A927 of 55
0 XP
  1. Hook
  2. Play
  3. Predict
  4. Name it
  5. Check
  6. Explain

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 𝐅=(−ay,bx), whose curl ∂Fy∂x−∂Fx∂y=a+b 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?

Name it

Green's theorem

For a closed curve C traversed counterclockwise around a region R, with 𝐅=(P,Q) smooth throughout R:

∮CPdx+Qdy=∬R(∂Q∂x−∂P∂y)dA

The left side is the circulation; the integrand on the right is the 2D curl. Tiny loops inside R 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 C equals the integral of the divergence:

∮C𝐅⋅𝐧^ds=∬R(∂P∂x+∂Q∂y)dA

These are the 2D versions of Stokes's theorem and the divergence theorem (lesson 37).

Area from the boundary

Choose P=−y2, Q=x2, whose curl is 1. Then

Area=12∮C(xdy−ydx)

For a polygon with corners (x1,y1),…,(xn,yn) in order, this becomes the shoelace formula:

Area=12|∑i(xiyi+1−xi+1yi)|

with the last corner joined back to the first.

Worked example

Evaluate ∮(−ydx+xdy) counterclockwise around the unit square [0,1]2.

Show the solution
  1. Curl of the field. Here P=−y and Q=x: ∂Q∂x−∂P∂y=1−(−1)=2
  2. Apply Green's theorem. The circulation is 2×area=2.
  3. Check by walking the sides. The four sides give 0+1+1+0=2 as well.

Answer the circulation is 2.

Worked example

Find the area of the triangle with corners (0,0), (4,0), (1,3) by the shoelace formula.

Show the solution
  1. Apply the shoelace formula. A=12|(0⋅0−4⋅0)+(4⋅3−1⋅0)+(1⋅0−0⋅3)|=12×12=6
  2. 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 x29+y24=1.

Show the solution
  1. Area as a line integral. A=12∮(xdy−ydx)
  2. Parametrize. With x=3cos⁡t, y=2sin⁡t: A=12∫02π(3cos⁡t⋅2cos⁡t+2sin⁡t⋅3sin⁡t)dt=12∫02π6dt=6π=18.85
  3. Generalize. In general it's πab. Planimeters, the mechanical instruments that measure areas on maps by tracing their outlines, work on this principle.

Answer the ellipse's area is 6π=18.85.

Check

What is ∮𝐅⋅d𝐥 for 𝐅=(−1y,0.5x) counterclockwise around the circle of radius 3?

Check

What is the area of the triangle with corners (0,0), (3,0), (1,5), by the shoelace formula?

Check

Use Green's theorem: what is ∮(xydx+x2dy) counterclockwise around the rectangle [0,1]×[0,2]?

Check

What is the flux of 𝐅=(1x,2y) 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 𝐅=(−yx2+y2,xx2+y2) and the unit circle?

Check

Use 12∮(xdy−ydx).

(a)

What is the area of the ellipse with semi-axes 3 and 1?

(b)

What is the area of the triangle (0,0), (3,0), (0,1)?

Check

Check Green's theorem for 𝐅=(−y,x) on the rectangle [0,a]×[0,b].

Step 1

What is ∂F2∂x−∂F1∂y?

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°.

Explain why

Explain why the circulation around a big loop equals the sum of the circulations around many small loops inside it.

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.