Skip to content
Tutorials Center
My learning

Topics

Lesson 32 of 39 · The Big Theorems

Green's Theorem

Green's theorem links a line integral around a closed curve to a double integral over the region inside. Learn the statement, examples, and the area formula.

The fundamental theorem of calculus says that integrating a derivative over an interval gives a difference of values at the two endpoints. The big theorems of vector calculus are higher-dimensional versions of that single idea: the integral of a "derivative" over a region equals an integral of the original quantity over the region's boundary.

The first and simplest is Green's theorem, which lives in the plane.

Orientation and closed curves

Let C be a simple closed curve in the plane (it does not cross itself) enclosing a region D. We say C has positive orientation when you walk along it with the region on your left, that is, counterclockwise for a curve like a circle. We write ∮_C for a line integral around a closed curve.

The statement

Let C be positively oriented, piecewise smooth, simple and closed, bounding region D. Let F = ⟨P, Q⟩ have continuous first partial derivatives on a region containing D and C. Then

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

The integrand on the right is the scalar curl of F, a measure of how much the field rotates at each point. Green's theorem says: the total circulation around the boundary equals the total rotation inside.

flowchart LR
    A["Line integral around the boundary C<br/>(circulation of F)"] -- "Green's theorem" --> B["Double integral over D of<br/>(∂Q/∂x - ∂P/∂y)"]

Circulation around the edge equals the sum of all the tiny rotations inside.

A first example

Let F = ⟨y², 3x⟩ and let C be the unit circle, counterclockwise. Here P = y² and Q = 3x, so ∂Q/∂x - ∂P/∂y = 3 - 2y. Over the unit disk,

Text
∬_D (3 - 2y) dA = 3 · Area(D) - 2 ∬ y dA = 3π - 0 = 3π

since the disk is symmetric about the x-axis and ∬ y dA = 0. So the line integral is 3π. Computing directly would mean parametrizing and integrating -sin t · ... terms, and Green's theorem is much shorter.

Python Check Green's theorem for F = (y^2, 3x) on the unit circle

Press Run (or Ctrl + Enter) to see the result here.

Program input · what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Computing areas with Green's theorem

Choose P and Q so that ∂Q/∂x - ∂P/∂y = 1. Three popular choices (Q = x, P = 0), (P = -y, Q = 0), and the symmetric one give

Text
Area(D) = ∮_C x dy = -∮_C y dx = ½ ∮_C ( x dy - y dx )

Ellipse. With x = a cos t, y = b sin t: x dy - y dx = ab (cos² t + sin² t) dt = ab dt, so Area = ½ ∫₀^{2π} ab dt = πab.

Polygon (shoelace formula). For a polygon with vertices (x₁, y₁), ..., (xₙ, yₙ) listed counterclockwise, applying the formula edge by edge gives

Text
Area = ½ Σ ( xᵢ yᵢ₊₁ - xᵢ₊₁ yᵢ )

with the indices wrapping around. Surveyors have long used this idea.

Python Areas from boundary integrals: ellipse and polygon

Press Run (or Ctrl + Enter) to see the result here.

Program input · what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Regions with holes

Green's theorem also works for a region with holes, provided the boundary is oriented so that the region is always on your left: the outer boundary counterclockwise and each inner boundary clockwise. Equivalently, sum the circulation on the outer curve and subtract it on the inner one when both are taken counterclockwise.

This explains the earlier example F = ⟨-y, x⟩ / (x² + y²). Its scalar curl is zero everywhere except the origin, so the line integrals around any two counterclockwise loops that enclose the origin are equal, and each equals 2π.

Green's theorem and conservative fields

If ∂Q/∂x = ∂P/∂y on a simply connected region, the double integral is zero for every closed curve, so every circulation is zero. This proves the sufficiency statement from the conservative-fields lesson: the test ∂P/∂y = ∂Q/∂x implies path independence on regions without holes.

When a line integral around a closed curve looks messy, ask whether ∂Q/∂x - ∂P/∂y is simple. When a region's area or a double integral looks messy, ask whether a nice boundary integral could replace it.

Check your understanding

Quick check · 4 questions

of 4 answered You scored / 4 · perfect!

  1. 1. Green's theorem equates ∮_C P dx + Q dy with:

    The integrand is the scalar curl ∂Q/∂x - ∂P/∂y.
  2. 2. What is the positive orientation of a boundary curve?

    Green's theorem assumes the counterclockwise direction; reversing it flips the sign.
  3. 3. Which formula gives the area enclosed by C?

    With P = 0, Q = x the scalar curl equals 1, so ∮ x dy equals the area.
  4. 4. The area of an ellipse with semi-axes a and b, from Green's theorem, is:

    ½ ∮ (x dy - y dx) = ½ ∫₀^{2π} ab dt = πab.

Summary

  • Green's theorem: ∮_C P dx + Q dy = ∬_D (∂Q/∂x - ∂P/∂y) dA for positively oriented simple closed curves.
  • It converts a boundary integral into a region integral and vice versa.
  • Choosing P and Q with scalar curl 1 gives area formulas, including the shoelace formula.
  • For regions with holes, orient the outer boundary counterclockwise and inner boundaries clockwise.
  • It explains why curl-free fields on simply connected regions are conservative.

Next: Divergence and Curl