Multivariable Calculus · Undergraduate

Green's Theorem

Quick answer

Green's theorem connects the circulation of a field around a closed curve with what happens inside it: ∮ P dx + Q dy equals the double integral of ∂Q/∂x − ∂P/∂y over the enclosed region, when the curve is traversed counterclockwise. The integrand measures circulation per unit area at each point, and the circulation of small squares adds up to the circulation around the boundary. The theorem turns hard line integrals into routine double integrals and gives area formulas.

What you'll learn

  • State Green's theorem with the correct orientation
  • Explain why circulation around small squares adds up
  • Evaluate line integrals as double integrals and back
  • Compute areas and handle regions with holes

Circulation around the edge, swirl inside

A line integral around a closed curve measures circulation: how much a field runs along the curve. Green’s theorem says the same number can be found from the inside of the curve, by adding up how much the field swirls at each point.

Green’s theorem. Let CC be a simple closed curve, traversed counterclockwise, that encloses a region DD. If PP and QQ have continuous partial derivatives on DD and CC, then

∮CP dx+Q dy=∬D(∂Q∂x−∂P∂y)dA\displaystyle\oint_C P\,dx + Q\,dy = \iint_D \left(\frac{\partial Q}{\partial x} - \frac{\partial P}{\partial y}\right) dA

The counterclockwise direction is called positive orientation: walking along CC, the region stays on your left. The expression ∂Q∂x−∂P∂y\tfrac{\partial Q}{\partial x} - \tfrac{\partial P}{\partial y} is the circulation density, or scalar curl, of F=(P,Q)\mathbf{F} = (P, Q).

The triangle of Example 1 with its positive orientation The triangle with corners (0, 0), (1, 0) and (0, 1), shaded, with arrows along its three edges: right along the bottom, up and to the left along the slanted edge, and down the left side. The arrows run counterclockwise, keeping the region on the left. 11xy (1, 0) (0, 1)
The triangle of Example 1 with its positive orientation

Why the small circulations add up

Start with a tiny rectangle with corners (x,y)(x, y) and (x+Δx,y+Δy)(x + \Delta x, y + \Delta y), and go around it counterclockwise. The bottom edge contributes about P(x,y) ΔxP(x, y)\,\Delta x and the top edge, traversed leftward, about −P(x,y+Δy) Δx-P(x, y + \Delta y)\,\Delta x. Together they give about −∂P∂y Δy Δx-\tfrac{\partial P}{\partial y}\,\Delta y\,\Delta x. The right and left edges give ∂Q∂x Δx Δy\tfrac{\partial Q}{\partial x}\,\Delta x\,\Delta y in the same way. So the circulation around the tiny rectangle is about

(∂Q∂x−∂P∂y)ΔA\left(\frac{\partial Q}{\partial x} - \frac{\partial P}{\partial y}\right)\Delta A

Now cut DD into many such rectangles and add their circulations. Every inside edge is shared by two neighbors and traversed once in each direction, so its two contributions cancel. Only the outer edges survive, and they make up the boundary CC. The sum of the small circulations is a Riemann sum for the double integral, and what survives is the line integral around CC.

Worked examples

A ring and its positively oriented boundary The ring between the circles of radius 1 and 2, shaded. An arrow on the outer circle points counterclockwise, and an arrow on the inner circle points clockwise, so that walking along either circle in its direction keeps the ring on the left. -2-112-2-112xy
A ring and its positively oriented boundary

Common mistakes

Practice problems

  1. Use Green’s theorem to evaluate ∮Cy dx−x dy\oint_C y\,dx - x\,dy around the unit circle, counterclockwise.

    Answer

    −2π-2\pi

    Full solution

    ∂Q∂x−∂P∂y=−1−1=−2\tfrac{\partial Q}{\partial x} - \tfrac{\partial P}{\partial y} = -1 - 1 = -2, and −2-2 times the area π\pi is −2π-2\pi.

  2. Evaluate ∮Cxy dx+x2 dy\oint_C xy\,dx + x^2\,dy, where CC is the boundary of the unit square [0,1]×[0,1][0, 1] \times [0, 1], counterclockwise.

    Answer

    12\tfrac{1}{2}

    Full solution

    The curl is 2x−x=x2x - x = x, and ∫01∫01x dy dx=12\int_0^1 \int_0^1 x\,dy\,dx = \tfrac{1}{2}.

  3. Evaluate ∮C(x2+y) dx+(3x+y2) dy\oint_C (x^2 + y)\,dx + (3x + y^2)\,dy around the circle x2+y2=4x^2 + y^2 = 4, counterclockwise.

    Answer

    8π8\pi

    Full solution

    The curl is 3−1=23 - 1 = 2, and 22 times the area 4π4\pi is 8π8\pi.

  4. Evaluate ∮C−y2 dx+xy dy\oint_C -y^2\,dx + xy\,dy around the rectangle [0,2]×[0,3][0, 2] \times [0, 3], counterclockwise.

    Answer

    2727

    Full solution

    The curl is y−(−2y)=3yy - (-2y) = 3y, and ∫02∫033y dy dx=2⋅272=27\int_0^2 \int_0^3 3y\,dy\,dx = 2 \cdot \tfrac{27}{2} = 27.

  5. Use the area formula to find the area of the ellipse x29+y24=1\tfrac{x^2}{9} + \tfrac{y^2}{4} = 1.

    Answer

    6π6\pi

    Full solution

    Example 3 with a=3a = 3 and b=2b = 2 gives π⋅3⋅2\pi \cdot 3 \cdot 2.

  6. Show that ∮Cx dy\oint_C x\,dy and −∮Cy dx-\oint_C y\,dx also equal the area enclosed by CC, and check the first on the circle of radius 22.

    Answer

    Both fields have curl 11; on the circle, ∮Cx dy=4π\oint_C x\,dy = 4\pi.

    Full solution

    For (0,x)(0, x) the curl is 1−01 - 0, and for (−y,0)(-y, 0) it is 0−(−1)0 - (-1). On r(t)=(2cos⁡t,2sin⁡t)\mathbf{r}(t) = (2\cos t, 2\sin t), ∮x dy=∫02π4cos⁡2t dt=4π\oint x\,dy = \int_0^{2\pi} 4\cos^2 t\,dt = 4\pi, the area of the disk.

  7. Explain with Green’s theorem why a field with ∂Q∂x=∂P∂y\tfrac{\partial Q}{\partial x} = \tfrac{\partial P}{\partial y} on the whole plane has zero circulation around every simple closed curve.

    Answer

    The double integral of a zero integrand is zero.

    Full solution

    The whole plane has no holes, so every simple closed curve encloses a region where the field is defined and the curl is 00. Green’s theorem gives ∬D0 dA=0\iint_D 0\,dA = 0. This is the reason the test for conservative fields works.

  8. A student evaluates ∮Cx4 dx+xy dy\oint_C x^4\,dx + xy\,dy around the triangle of Example 1 traversed clockwise and gets 16\tfrac{1}{6}. Correct the answer.

    Answer

    −16-\tfrac{1}{6}

    Full solution

    Green’s theorem gives 16\tfrac{1}{6} for the counterclockwise direction. Reversing the direction of a line integral changes its sign.

Frequently asked questions

What does Green's theorem say?

If C is a simple closed curve traversed counterclockwise, enclosing the region D, then the line integral of P dx + Q dy around C equals the double integral over D of (∂Q/∂x − ∂P/∂y).

What does ∂Q/∂x − ∂P/∂y measure?

The circulation of the field per unit area at a point: how strongly the field swirls counterclockwise there. It is the scalar curl of the field in the plane.

What is positive orientation?

Traversing the boundary so that the region stays on the left. For a single closed curve that is counterclockwise; for the inner boundary of a region with a hole it is clockwise.

How do you find an area with Green's theorem?

Choose a field with ∂Q/∂x − ∂P/∂y = 1, such as (−y/2, x/2). Then the area of D equals ½∮(x dy − y dx) around its boundary.

How is Green's theorem related to conservative fields?

If ∂Q/∂x = ∂P/∂y throughout a region without holes, Green's theorem makes every loop integral zero, which is why the test for conservative fields works.