Courses · Calculus 3 · Unit guide
Calculus 3: Green’s theorem
How a line integral around a curve becomes a double integral, and when you can use it
This unit covers: Circulation and flux forms, when and how to apply it.

Quick question: before you use Green's theorem, do you check the curve's direction and whether the field blows up inside it? Most mistakes start there. We'll cover the setup, the circulation and flux forms, when the theorem fails, the area trick, and a full worked problem.
The Setup: Curve, Region, Orientation
Green's theorem connects two things: a line integral around a closed curve C and a double integral over the region D that C encloses. The curve has to be simple, meaning it doesn't cross itself, closed, and piecewise smooth, so a triangle or a circle both count. It also needs positive orientation, which means you walk counterclockwise and the region always stays on your left.
Key points.
- C is a simple, closed, piecewise-smooth curve
- D is the region that C encloses
- Positive orientation: counterclockwise, region on your left
The Circulation Form
Let's write the first version. Start with a vector field F with components P and Q. The circulation around C is the line integral of P dx plus Q dy. Green's theorem says this equals the double integral over D of partial Q partial x minus partial P partial y. That integrand is the scalar curl, so you're adding up tiny rotations across the whole region.
F = ⟨P, Q⟩ ∮C P dx + Q dy = ∬D (∂Q/∂x − ∂P/∂y) dA ∂Q/∂x − ∂P/∂y = scalar curl
Key points.
- Circulation is ∮ P dx + Q dy around C
- It equals the double integral of ∂Q/∂x − ∂P/∂y over D
- The integrand is the scalar curl, or local rotation
The Flux Form
The second version measures flow across the curve instead of along it. Using the outward normal, n ds becomes dy, negative dx. So the outward flux is the line integral of P dy minus Q dx. Green's theorem turns that into the double integral of partial P partial x plus partial Q partial y, which is the divergence of F, the net outflow from every tiny piece of D.
n ds = ⟨dy, −dx⟩ ∮C F·n ds = ∮C P dy − Q dx = ∬D (∂P/∂x + ∂Q/∂y) dA = ∬D div F dA
Key points.
- Outward flux is ∮ F·n ds = ∮ P dy − Q dx
- It equals the double integral of ∂P/∂x + ∂Q/∂y over D
- The integrand is the divergence, or net outflow
Circulation vs Flux: Telling Them Apart
Students mix these two up all the time, so set them side by side. Circulation measures flow along the curve, and its integrand is Q differentiated by x minus P differentiated by y, mixed partials with a minus sign. Flux measures flow across the curve, and its integrand is P by x plus Q by y, matching partials with a plus sign. Read the question for along or across.
Circulation (tangential)
- ∮ P dx + Q dy
- Flow along the curve
- Integrand: Qx − Py (curl)
- Mixed partials, minus sign
Flux (normal)
- ∮ P dy − Q dx
- Flow across the curve
- Integrand: Px + Qy (divergence)
- Matching partials, plus sign
When It Fails: A Hole in the Field
Green's theorem needs P and Q to have continuous partial derivatives on an open region containing all of D. Take the field negative y over x squared plus y squared, x over x squared plus y squared. Its curl is zero everywhere except the origin, where it isn't defined. Green's would predict zero, but computing directly around the unit circle gives two pi. The hole breaks the hypothesis.
2π Circulation of ⟨−y, x⟩/(x²+y²) around the unit circle, not 0
Key points.
- P and Q need continuous partials on all of D
- The vortex field is undefined at the origin
- Direct calculation gives 2π, not the 0 Green's would predict
Area from a Line Integral
If P and Q make the curl equal one, the double integral is just the area of D. One choice gives area equals one half the line integral of x dy minus y dx. For an ellipse, set x to a cos t and y to b sin t. Then x dy minus y dx simplifies to a b dt, so the area is one half times two pi times a b, or pi a b.
Qx − Py = 1 ⇒ ∬D 1 dA = Area A = ½ ∮C x dy − y dx x = a cos t, y = b sin t x dy − y dx = ab dt A = ½ · 2π · ab = πab
Key points.
- If the curl equals 1, the double integral is the area
- Area = ½ ∮ x dy − y dx
- Ellipse example gives area πab
How to Apply It
Here's the routine. First, check that C is closed and simple, and fix the orientation; if it's clockwise, flip the sign of your answer. Second, read off P and Q and decide whether you want circulation or flux. Third, make sure there are no singularities inside D. Fourth, compute the integrand. Finally, describe D with bounds and evaluate the double integral. It usually beats parametrizing every piece of the boundary.
- Check C is closed, simple and counterclockwise
- Identify P and Q; choose circulation or flux
- Check P and Q are smooth on all of D
- Compute the curl or divergence integrand
- Set bounds for D and evaluate the double integral
Worked Problem: A Line Integral over a Triangle
Find the integral of x to the fourth dx plus x y dy counterclockwise around the triangle with corners zero zero, one zero and zero one. Here P is x to the fourth and Q is x y, so the curl is y minus zero, just y. Integrate y over the triangle, with y from zero to one minus x. That gives one minus x, squared, over two, and integrating from zero to one gives one sixth.
∮C x⁴ dx + xy dy P = x⁴, Q = xy Qx − Py = y − 0 = y ∬D y dA, 0≤y≤1−x, 0≤x≤1 = ∫₀¹ (1−x)²/2 dx = 1/6
Key points.
- Triangle with corners (0,0), (1,0), (0,1), counterclockwise
- P = x⁴ and Q = xy, so the curl is y
- Double integral of y over the triangle gives 1/6
Remember this
If you remember one thing, it's this: Green's theorem trades a line integral around a closed counterclockwise curve for a double integral of curl or divergence over the inside. Now quiz yourself on both forms and the hypotheses.
Practice this unit
- Calculus 3: Green’s Theorem quiz15 multiple-choice questions with explanations · no account needed
- Calculus 3: Vectors and the Geometry of Space quiz15 multiple-choice questions with explanations · no account needed
- Calculus 3: Vector Functions and Motion in Space quiz15 multiple-choice questions with explanations · no account needed
- Calculus 3: Green’s Theorem31 flashcards · study free
- Calculus 3: Vectors and the Geometry of Space36 flashcards · study free
- Calculus 3: Vector Functions and Motion in Space32 flashcards · study free
- Calculus 3: Partial Derivatives30 flashcards · study free
Every Calculus 3 deck and quiz: the Calculus 3 page.
Other Calculus 3 unit guides
- Vectors and the geometry of spaceStudy guide
- Vector functions and motion in spaceStudy guide
- Partial derivativesStudy guide
- Gradient and directional derivativesStudy guide
- Optimization and Lagrange multipliersStudy guide
- Double integralsStudy guide
- Triple integrals and coordinate changesStudy guide
- Vector fields and line integralsStudy guide
- Surface integrals, Stokes’ theorem and the Divergence TheoremStudy guide
Try it with your own material
Upload a PDF, slides or notes and study the deck in minutes. Making your own cards is free with no limits.