Green's Theorem

The Significance of Green’s Theorem

Green’s theorem establishes the connection between the double integral over a closed region of the plane and the line integral of the second kind along the boundary of the region. It is the generalisation of the fundamental theorem of calculus (the Newton–Leibniz formula) to two dimensions, linking “the change inside the region” with “the accumulation on the boundary”.

Green’s Theorem

Theorem1

Suppose the closed region DD is bounded by a piecewise smooth curve LL, and the functions P(x,y)P(x,y) and Q(x,y)Q(x,y) have continuous first-order partial derivatives on DD. Then

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

where LL is the boundary curve of DD taken in the positive orientation.

The Convention for the Positive Orientation

The Physical Meaning of Green’s Theorem

Green’s theorem can be understood as: the circulation along a closed curve = the integral of the curl over the region. In two dimensions, the curl of the vector field (P,Q)(P,Q) is precisely ∂Q∂x−∂P∂y\frac{\partial Q}{\partial x} - \frac{\partial P}{\partial y}.

The Applications of Green’s Theorem

Application 1: Computing the Area of a Plane Figure

Taking P=−y, Q=xP = -y, \, Q = x in Green’s theorem gives ∂Q∂x−∂P∂y=1−(−1)=2\frac{\partial Q}{\partial x} - \frac{\partial P}{\partial y} = 1 - (-1) = 2, and hence:

∮Lx dy−y dx=2∬D1 dx dy=2S\oint_L x \, dy - y \, dx = 2\iint_D 1 \, dx\,dy = 2S

So the area of the region DD is:

S=12∮Lx dy−y dxS = \frac{1}{2}\oint_L x \, dy - y \, dx

You can also take P=0,Q=xP = 0, Q = x, which gives S=∮Lx dyS = \oint_L x \, dy; or P=−y,Q=0P = -y, Q = 0, which gives S=∮L−y dxS = \oint_L -y \, dx.

Application 2: Simplifying a Line Integral

When it is difficult to compute a line integral directly, you can use Green’s theorem to convert it into a double integral. This is especially effective when ∂Q∂x−∂P∂y\frac{\partial Q}{\partial x} - \frac{\partial P}{\partial y} is very simple (a constant, or zero), for then the double integral is usually easier.

Application 3: Multiply Connected Regions

For a multiply connected region DD (with nn holes), Green’s theorem still holds, but the boundary curve includes the outer boundary and all the inner boundaries, each taken in the positive orientation:

∮L0Pdx+Qdy+∑i=1n∮LiPdx+Qdy=∬D(∂Q∂x−∂P∂y)dx dy\oint_{L_0} Pdx+Qdy + \sum_{i=1}^n \oint_{L_i} Pdx+Qdy = \iint_D \left(\frac{\partial Q}{\partial x} - \frac{\partial P}{\partial y}\right) dx\,dy

where L0L_0 is the outer boundary (counterclockwise) and the LiL_i are the inner boundaries (clockwise).

The Plane Line Integral and Independence of the Path

Theorem2

Suppose the region GG is a simply connected region, and the functions P(x,y),Q(x,y)P(x,y), Q(x,y) have continuous first-order partial derivatives in GG. Then the following four statements are equivalent:

  1. The line integral ∫LP dx+Q dy\int_L P \, dx + Q \, dy is independent of the path in GG (it depends only on the endpoints)

  2. The line integral along any closed curve CC in GG is zero: ∮CP dx+Q dy=0\oint_C P \, dx + Q \, dy = 0

  3. There exists a function u(x,y)u(x,y) in GG such that du=P dx+Q dydu = P \, dx + Q \, dy (that is, P=∂u∂x, Q=∂u∂yP = \frac{\partial u}{\partial x}, \, Q = \frac{\partial u}{\partial y})

  4. We have ∂P∂y=∂Q∂x\frac{\partial P}{\partial y} = \frac{\partial Q}{\partial x} throughout GG

How to Find the Potential Function

When the line integral is independent of the path, Pdx+QdyPdx+Qdy is the total differential of some function u(x,y)u(x,y), and u(x,y)u(x,y) is called a potential function. It can be found with the formula:

u(x,y)=∫(x0,y0)(x,y)P dx+Q dyu(x,y) = \int_{(x_0,y_0)}^{(x,y)} P \, dx + Q \, dy

One usually chooses a broken-line path (first horizontal and then vertical, or first vertical and then horizontal):

u(x,y)=∫x0xP(x,y0) dx+∫y0yQ(x,y) dyu(x,y) = \int_{x_0}^x P(x, y_0) \, dx + \int_{y_0}^y Q(x, y) \, dy

or

u(x,y)=∫y0yQ(x0,y) dy+∫x0xP(x,y) dxu(x,y) = \int_{y_0}^y Q(x_0, y) \, dy + \int_{x_0}^x P(x, y) \, dx

Exact Differential Equations

If the left-hand side of the first-order differential equation P(x,y)dx+Q(x,y)dy=0P(x,y)dx + Q(x,y)dy = 0 is the total differential of some function u(x,y)u(x,y), that is, du=Pdx+Qdydu = Pdx+Qdy, then the equation is called an exact differential equation. Its general solution is u(x,y)=Cu(x,y) = C (CC a constant).

The condition for an exact differential equation is: ∂P∂y=∂Q∂x\frac{\partial P}{\partial y} = \frac{\partial Q}{\partial x} (in a simply connected region).

Worked Examples

Example 1: Computing an Area with Green’s Theorem

Use Green’s theorem to find the area of the ellipse x2a2+y2b2≤1\frac{x^2}{a^2} + \frac{y^2}{b^2} \leq 1.

Green's theoremthe area of an ellipseparametric equations

Approach:

Use the area formula S=12∮Lx dy−y dxS = \frac{1}{2}\oint_L x \, dy - y \, dx.

Steps:

  1. The parametric equations of the ellipse: x=acos⁡t, y=bsin⁡t, t:0→2πx = a\cos t, \, y = b\sin t, \, t: 0 \to 2\pi (counterclockwise)
  2. dx=−asin⁡t dt, dy=bcos⁡t dtdx = -a\sin t \, dt, \, dy = b\cos t \, dt
  3. S=12∮Lx dy−y dx=12∫02π[acos⁡t⋅bcos⁡t−bsin⁡t⋅(−asin⁡t)]dt=12∫02πab(cos⁡2t+sin⁡2t)dt=ab2⋅2π=πabS = \frac{1}{2}\oint_L x \, dy - y \, dx = \frac{1}{2}\int_0^{2\pi} [a\cos t \cdot b\cos t - b\sin t \cdot (-a\sin t)] dt = \frac{1}{2}\int_0^{2\pi} ab(\cos^2 t+\sin^2 t) dt = \frac{ab}{2} \cdot 2\pi = \pi ab

Answer: πab\pi ab

Example 2: Computing a Line Integral with Green’s Theorem

Compute ∮L(x2−2y) dx+(3x+yey) dy\oint_L (x^2 - 2y) \, dx + (3x + ye^y) \, dy, where LL is the circle x2+y2=4x^2+y^2=4 taken counterclockwise.

Green's theorema circlea double integralcounterclockwise

Approach:

Use Green’s theorem to convert it into a double integral; ∂Q∂x−∂P∂y\frac{\partial Q}{\partial x} - \frac{\partial P}{\partial y} turns out to be very simple.

Steps:

  1. P=x2−2y, Q=3x+yeyP = x^2 - 2y, \, Q = 3x + ye^y
  2. ∂Q∂x=3,∂P∂y=−2\frac{\partial Q}{\partial x} = 3, \quad \frac{\partial P}{\partial y} = -2
  3. ∂Q∂x−∂P∂y=3−(−2)=5\frac{\partial Q}{\partial x} - \frac{\partial P}{\partial y} = 3 - (-2) = 5
  4. By Green’s theorem: ∮LPdx+Qdy=∬D5 dx dy=5×the area of the circle=5×4π=20π\oint_L Pdx+Qdy = \iint_D 5 \, dx\,dy = 5 \times \text{the area of the circle} = 5 \times 4\pi = 20\pi

Answer: 20π20\pi

Example 3: A Line Integral Independent of the Path

Verify that the line integral ∫L(x+y) dx+(x−y) dy\int_L (x+y) \, dx + (x-y) \, dy is independent of the path, and find the potential function.

Green's theoremindependence of the paththe potential functionthe total differential

Approach:

First verify that ∂P∂y=∂Q∂x\frac{\partial P}{\partial y} = \frac{\partial Q}{\partial x}, and then find the potential function with a broken-line path.

Steps:

  1. P=x+y, Q=x−yP = x+y, \, Q = x-y
  2. ∂P∂y=1,∂Q∂x=1\frac{\partial P}{\partial y} = 1, \quad \frac{\partial Q}{\partial x} = 1
  3. ∂P∂y=∂Q∂x\frac{\partial P}{\partial y} = \frac{\partial Q}{\partial x} holds on the whole plane (which is simply connected), so the integral is independent of the path.
  4. Finding the potential function, taking (x0,y0)=(0,0)(x_0,y_0) = (0,0) and a broken-line path: u(x,y)=∫0xP(x,0)dx+∫0yQ(x,y)dy=∫0xx dx+∫0y(x−y)dy=x22+[xy−y22]0y=x22+xy−y22u(x,y) = \int_0^x P(x,0) dx + \int_0^y Q(x,y) dy = \int_0^x x \, dx + \int_0^y (x-y) dy = \frac{x^2}{2} + [xy - \frac{y^2}{2}]_0^y = \frac{x^2}{2} + xy - \frac{y^2}{2}
  5. Checking: ∂u∂x=x+y=P,∂u∂y=x−y=Q\frac{\partial u}{\partial x} = x+y = P, \quad \frac{\partial u}{\partial y} = x-y = Q ✓

Answer: the potential function is u(x,y)=x22+xy−y22+Cu(x,y) = \frac{x^2}{2} + xy - \frac{y^2}{2} + C


Exercises

Exercise 1

Use Green’s theorem to compute ∮L(2xy−x2) dx+(x+y2) dy\oint_L (2xy - x^2) \, dx + (x+y^2) \, dy, where LL is the positively oriented boundary of the region bounded by y=x2y=x^2 and x=y2x=y^2.

Green's theorema region bounded by parabolasa double integral

Approach:

Use Green’s theorem to convert it into a double integral.

Steps:

  1. P=2xy−x2, Q=x+y2P = 2xy - x^2, \, Q = x + y^2
  2. ∂Q∂x=1,∂P∂y=2x\frac{\partial Q}{\partial x} = 1, \quad \frac{\partial P}{\partial y} = 2x
  3. ∂Q∂x−∂P∂y=1−2x\frac{\partial Q}{\partial x} - \frac{\partial P}{\partial y} = 1 - 2x
  4. The region D:0≤x≤1, x2≤y≤xD: 0 \leq x \leq 1, \, x^2 \leq y \leq \sqrt{x}
  5. ∬D(1−2x)dx dy=∫01dx∫x2x(1−2x)dy=∫01(1−2x)(x−x2)dx\iint_D (1-2x) dx\,dy = \int_0^1 dx \int_{x^2}^{\sqrt{x}} (1-2x) dy = \int_0^1 (1-2x)(\sqrt{x}-x^2) dx =∫01(x1/2−x2−2x3/2+2x3)dx=[23x3/2−x33−45x5/2+x42]01=23−13−45+12=130= \int_0^1 (x^{1/2} - x^2 - 2x^{3/2} + 2x^3) dx = [\frac{2}{3}x^{3/2} - \frac{x^3}{3} - \frac{4}{5}x^{5/2} + \frac{x^4}{2}]_0^1 = \frac{2}{3} - \frac{1}{3} - \frac{4}{5} + \frac{1}{2} = \frac{1}{30}

Answer: 130\frac{1}{30}

Exercise 2

Verify that ∫L(ey+x) dx+(xey−2y) dy\int_L (e^y + x) \, dx + (xe^y - 2y) \, dy is independent of the path, and compute its value from (0,0)(0,0) to (1,2)(1,2).

independence of the paththe potential functionthe total differentialthe exponential function

Approach:

Verify that ∂P∂y=∂Q∂x\frac{\partial P}{\partial y} = \frac{\partial Q}{\partial x}, find the potential function, and substitute the endpoints.

Steps:

  1. P=ey+x, Q=xey−2yP = e^y + x, \, Q = xe^y - 2y
  2. ∂P∂y=ey,∂Q∂x=ey\frac{\partial P}{\partial y} = e^y, \quad \frac{\partial Q}{\partial x} = e^y, which are equal, so the integral is independent of the path.
  3. The potential function: u(x,y)=∫0x(1+x)dx+∫0y(xey−2y)dy=x+x22+[xey−y2]0y=x+x22+xey−y2−x=x22+xey−y2u(x,y) = \int_0^x (1+x)dx + \int_0^y (xe^y-2y)dy = x + \frac{x^2}{2} + [xe^y - y^2]_0^y = x + \frac{x^2}{2} + xe^y - y^2 - x = \frac{x^2}{2} + xe^y - y^2
  4. From (0,0)(0,0) to (1,2)(1,2): u(1,2)−u(0,0)=(12+e2−4)−0=e2−72u(1,2) - u(0,0) = (\frac{1}{2} + e^2 - 4) - 0 = e^2 - \frac{7}{2}

Answer: e2−72e^2 - \frac{7}{2}


Summary

Symbols Used in This Article

SymbolTypePronunciation/ExplanationMeaning in This Article
∮L\oint_LClosed line integralclosed line integralThe integral along a closed curve
DDPlane regionplanar regionThe region of the plane bounded by the closed curve
LLBoundary curveboundary curveThe boundary curve of the region DD
u(x,y)u(x,y)Potential functionpotential functionA function satisfying du=Pdx+Qdydu = Pdx+Qdy
GGSimply connected domainsimply connected domainA region with no “hole”
L0,LiL_0, L_iBoundary curvesboundary curvesThe outer boundary and the inner boundaries of a multiply connected region

Key Terms

English termPronunciationNote
Green’s theorem/ɡriːnz ˈθɪərəm/the relation between a plane double integral and the integral over its boundary curve
simply connected domain/ˈsɪmpli kəˈnɛktɪd doʊˈmeɪn/every closed curve in the region can be shrunk continuously to a point
multiply connected domain/ˈmʌltɪplaɪ kəˈnɛktɪd doʊˈmeɪn/a region with a “hole” in it
positive orientation/ˈpɒzətɪv ˌɔːriɛnˈteɪʃən/the boundary direction in which the region lies on the left
path independent/pæθ ˌɪndɪˈpɛndənt/the value of the integral depends only on the endpoints
potential function/pəˈtɛnʃəl ˈfʌŋkʃən/the primitive of a total differential
exact differential equation/ɪɡˈzækt ˌdɪfəˈrɛnʃəl ɪˈkweɪʒən/a differential equation whose left-hand side is a total differential
circulation/ˌsɜːrkjəˈleɪʃən/the line integral of the second kind along a closed curve
curl/kɜːrl/the strength of the rotation of the vector field; in two dimensions, ∂Q∂x−∂P∂y\frac{\partial Q}{\partial x}-\frac{\partial P}{\partial y}

Found an issue with this content?

Tell us what could be improved.