Green's Theorem

The Story of Green’s Theorem

The Mathematical Legacy of a Miller’s Son

George Green was born in 1793 into the family of a miller in Nottinghamshire, England. He had almost no formal education and spent most of his time working in his father’s mill. Yet this self-taught mathematical genius published a small booklet at his own expense in 1828, An Application of Mathematical Analysis to the Theories of Electricity and Magnetism, which contained what later became known as Green’s theorem and Green’s function.

Green’s work attracted almost no attention at the time; only after his death did Lord Kelvin discover the value of the booklet and recommend it to the mathematical world. Today Green’s theorem is a cornerstone of vector analysis, partial differential equations, electromagnetism and many other fields.

A Bridge from “Boundary” to “Interior”

Green’s theorem reveals a profound mathematical idea: the integral inside a region can be expressed as an integral over the boundary of the region. This idea runs through the whole of multivariable integral calculus — Green’s theorem (two dimensions), Gauss’s theorem (three dimensions) and Stokes’s theorem (a surface in three dimensions) are all different manifestations of it.

A Deeper Understanding of Green’s Theorem

The Precise Statement

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 positively oriented boundary curve of DD.

The Convention for the Positive Orientation

The Two Forms of Green’s Theorem

Green’s theorem has two equivalent forms:

  1. The curl form (the formula above): ∮LP dx+Q dy=∬D(∂Q∂x−∂P∂y)dx dy\oint_L P \, dx + Q \, dy = \iint_D (\frac{\partial Q}{\partial x} - \frac{\partial P}{\partial y}) dx\,dy

  2. The divergence form (the flux form): ∮L(Pcos⁡α+Qcos⁡β)ds=∬D(∂P∂x+∂Q∂y)dx dy\oint_L (P\cos\alpha + Q\cos\beta) ds = \iint_D \left( \frac{\partial P}{\partial x} + \frac{\partial Q}{\partial y} \right) dx\,dy where (cos⁡α,cos⁡β)(\cos\alpha, \cos\beta) is the outward normal vector of the boundary curve. This is the counterpart of Gauss’s theorem in two dimensions.

The Idea Behind the Proof

The proof of Green’s theorem proceeds in three steps.

Step 1: An X-Type Region

Suppose DD is an X-type region: a≤x≤b, φ1(x)≤y≤φ2(x)a \leq x \leq b, \, \varphi_1(x) \leq y \leq \varphi_2(x).

∬D∂P∂ydx dy=∫abdx∫φ1(x)φ2(x)∂P∂ydy=∫ab[P(x,φ2(x))−P(x,φ1(x))]dx\iint_D \frac{\partial P}{\partial y} dx\,dy = \int_a^b dx \int_{\varphi_1(x)}^{\varphi_2(x)} \frac{\partial P}{\partial y} dy = \int_a^b [P(x,\varphi_2(x)) - P(x,\varphi_1(x))] dx

And the line integral along the boundary:

∮LP dx=∫L1P dx+∫L2P dx=∫abP(x,φ1(x))dx−∫abP(x,φ2(x))dx\oint_L P \, dx = \int_{L_1} P \, dx + \int_{L_2} P \, dx = \int_a^b P(x,\varphi_1(x)) dx - \int_a^b P(x,\varphi_2(x)) dx (Note that the direction of L2L_2 is from bb to aa.)

Hence −∬D∂P∂ydx dy=∮LP dx-\iint_D \frac{\partial P}{\partial y} dx\,dy = \oint_L P \, dx.

Step 2: A Y-Type Region

Similarly, for a Y-type region one proves ∬D∂Q∂xdx dy=∮LQ dy\iint_D \frac{\partial Q}{\partial x} dx\,dy = \oint_L Q \, dy.

Step 3: A General Region

For a general region, divide it into several X-type or Y-type regions, apply the result above on each subregion, and note that the line integrals over the common boundaries of adjacent subregions cancel each other (they have opposite orientations). This yields Green’s theorem over the whole region.

The Generalisations of Green’s Theorem

Multiply Connected Regions

Green’s theorem extends to a multiply connected region (a region with nn “holes”):

∮L0P dx+Q dy+∑i=1n∮LiP dx+Q dy=∬D(∂Q∂x−∂P∂y)dx dy\oint_{L_0} P \, dx + Q \, dy + \sum_{i=1}^n \oint_{L_i} P \, dx + Q \, dy = \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).

Green’s First and Second Identities

Using Green’s theorem one can derive the Green identities, which are extremely important in partial differential equations:

Green’s first identity: ∬Du∇2v dx dy=∮Lu∂v∂nds−∬D∇u⋅∇v dx dy\iint_D u \nabla^2 v \, dx\,dy = \oint_L u \frac{\partial v}{\partial n} ds - \iint_D \nabla u \cdot \nabla v \, dx\,dy

Green’s second identity: ∬D(u∇2v−v∇2u)dx dy=∮L(u∂v∂n−v∂u∂n)ds\iint_D (u \nabla^2 v - v \nabla^2 u) dx\,dy = \oint_L \left( u \frac{\partial v}{\partial n} - v \frac{\partial u}{\partial n} \right) ds

where ∂∂n\frac{\partial}{\partial n} is the derivative in the direction of the outward normal. These two identities are the basic tools for studying the Laplace equation and the Poisson equation.

The Applications of Green’s Theorem

1. Computing the Area of a Plane Figure

Taking P=−y, Q=xP = -y, \, Q = x gives: S=12∮Lx dy−y dxS = \frac{1}{2}\oint_L x \, dy - y \, dx

2. Computing 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 particularly effective when ∂Q∂x−∂P∂y\frac{\partial Q}{\partial x} - \frac{\partial P}{\partial y} is simple (a constant, for instance).

3. Independence of the Path and Exact Differential Equations

Green’s theorem is the foundation of the theory of line integrals independent of the path. In a simply connected region, ∂Q∂x=∂P∂y\frac{\partial Q}{\partial x} = \frac{\partial P}{\partial y} is equivalent to:

  • the line integral is independent of the path
  • the line integral along any closed curve is zero
  • Pdx+QdyPdx + Qdy is the total differential of some function
  • the vector field (P,Q)(P,Q) is a field with a potential

4. Cauchy’s Theorem in Complex Analysis

Green’s theorem is the real-analysis foundation of Cauchy’s integral theorem in complex analysis.

Worked Examples

Example 1: Computing an Area with Green’s Theorem

Use Green’s theorem to compute the area of the region enclosed by the ellipse x2a2+y2b2=1\frac{x^2}{a^2} + \frac{y^2}{b^2} = 1.

Green's theoremthe areaan ellipseparametric equations

Approach:

Use the area formula S=12∮Lx dy−y dxS = \frac{1}{2}\oint_L x\,dy - y\,dx, with the parametric equations of the ellipse x=acos⁡t,y=bsin⁡tx=a\cos t, y=b\sin t.

Steps:

  1. dx=−asin⁡t dt, dy=bcos⁡t dtdx = -a\sin t \, dt, \, dy = b\cos t \, dt
  2. S=12∫02π[acos⁡t⋅bcos⁡t−bsin⁡t⋅(−asin⁡t)]dt=12∫02πab(cos⁡2t+sin⁡2t)dt=ab2∫02πdt=πabS = \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}\int_0^{2\pi} dt = \pi ab

Answer: πab\pi ab

Example 2: Green’s Theorem for a Multiply Connected Region

Compute ∮Lx dy−y dxx2+y2\oint_L \frac{x \, dy - y \, dx}{x^2 + y^2}, where LL is any positively oriented simple closed curve not passing through the origin.

Green's theorema multiply connected regiona singularitythe hole-digging method

Approach:

The integrand is not continuous at the origin, so the cases have to be treated separately. When LL does not surround the origin, apply Green’s theorem directly; when it does, use the hole-digging method.

Steps:

  1. P=−yx2+y2, Q=xx2+y2P = \frac{-y}{x^2+y^2}, \, Q = \frac{x}{x^2+y^2}
  2. ∂Q∂x=y2−x2(x2+y2)2=∂P∂y\frac{\partial Q}{\partial x} = \frac{y^2-x^2}{(x^2+y^2)^2} = \frac{\partial P}{\partial y} (where x2+y2≠0x^2+y^2 \neq 0)
  3. Case 1: LL does not surround the origin. Inside the region enclosed by LL, P,QP,Q have continuous partial derivatives, so by Green’s theorem the integral =∬D0 dx dy=0= \iint_D 0 \, dx\,dy = 0.
  4. Case 2: LL surrounds the origin. Draw a small circle l:x2+y2=ε2l: x^2+y^2 = \varepsilon^2 inside LL (clockwise), and apply Green’s theorem to the multiply connected region between LL and ll: ∮L+∮l=∬D0=0\oint_L + \oint_l = \iint_D 0 = 0, so ∮L=−∮l\oint_L = -\oint_l
  5. On ll (counterclockwise): ∮lccwx dy−y dxx2+y2=1ε2∮lccwx dy−y dx=1ε2⋅2πε2=2π\oint_{l_{\text{ccw}}} \frac{x\,dy-y\,dx}{x^2+y^2} = \frac{1}{\varepsilon^2}\oint_{l_{\text{ccw}}} x\,dy-y\,dx = \frac{1}{\varepsilon^2} \cdot 2\pi\varepsilon^2 = 2\pi
  6. Hence ∮L=2π\oint_L = 2\pi

Answer: the integral is 00 when LL does not surround the origin, and 2π2\pi when it does. (This is the real-analysis version of the “winding number” in complex analysis.)


Exercises

Exercise 1

Use Green’s theorem to compute ∮L(x+y) dx−(x−y) dy\oint_L (x+y) \, dx - (x-y) \, dy, where LL is the positively oriented ellipse x2a2+y2b2=1\frac{x^2}{a^2}+\frac{y^2}{b^2}=1.

Green's theoreman ellipsea line integral

Approach:

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

Steps:

  1. P=x+y, Q=−(x−y)=y−xP = x+y, \, Q = -(x-y) = y-x
  2. ∂Q∂x−∂P∂y=−1−1=−2\frac{\partial Q}{\partial x} - \frac{\partial P}{\partial y} = -1 - 1 = -2
  3. The integral =∬D(−2)dx dy=−2⋅πab=−2πab= \iint_D (-2) dx\,dy = -2 \cdot \pi ab = -2\pi ab

Answer: −2πab-2\pi ab

Exercise 2

Compute ∮Ly dx−x dyx2+y2\oint_L \frac{y \, dx - x \, dy}{x^2+y^2}, where LL is the positively oriented circle x2+y2=a2x^2+y^2 = a^2.

Green's theorema circlea singularityparametric equations

Approach:

On the circle x2+y2=a2x^2+y^2=a^2, so use the parametric equations directly.

Steps:

  1. x=acos⁡t, y=asin⁡t, t:0→2πx = a\cos t, \, y = a\sin t, \, t: 0 \to 2\pi
  2. dx=−asin⁡t dt, dy=acos⁡t dtdx = -a\sin t \, dt, \, dy = a\cos t \, dt
  3. The integral =∫02πasin⁡t(−asin⁡t)−acos⁡t(acos⁡t)a2dt=∫02π−a2(sin⁡2t+cos⁡2t)a2dt=∫02π(−1)dt=−2π= \int_0^{2\pi} \frac{a\sin t(-a\sin t) - a\cos t(a\cos t)}{a^2} dt = \int_0^{2\pi} \frac{-a^2(\sin^2 t+\cos^2 t)}{a^2} dt = \int_0^{2\pi} (-1) dt = -2\pi

Answer: −2π-2\pi


Summary

Symbols Used in This Article

SymbolTypePronunciation/ExplanationMeaning in This Article
LLBoundary curveboundary curveThe positively oriented boundary curve of the region DD
DDPlane regionplanar domainThe plane region in Green’s theorem
∂∂n\frac{\partial}{\partial n}Normal derivativenormal derivativeThe derivative in the direction of the outward normal
∇2\nabla^2LaplacianLaplacian∂2∂x2+∂2∂y2\frac{\partial^2}{\partial x^2}+\frac{\partial^2}{\partial y^2}
∮L\oint_LClosed line integralclosed line integralThe integral along a closed curve

Key Terms

English termPronunciationNote
Green’s theorem/ɡriːnz ˈθɪərəm/the relation between a plane line integral and a double integral
Green’s function/ɡriːnz ˈfʌŋkʃən/the fundamental solution of a partial differential equation
Green’s first identity/ɡriːnz fɜːrst aɪˈdɛntəti/an integral identity involving the Laplacian
Green’s second identity/ɡriːnz sɛkənd aɪˈdɛntəti/Green’s identity for two functions
positive orientation/ˈpɒzətɪv ˌɔːriənˈteɪʃən/the boundary direction in which the region lies on the left
multiply connected domain/ˈmʌltɪplaɪ kəˈnɛktɪd doʊˈmeɪn/a region with a “hole” in it
simply connected domain/ˈsɪmpli kəˈnɛktɪd doʊˈmeɪn/a region with no “hole” in it
hole-digging method/hoʊl ˈdɪɡɪŋ ˈmɛθəd/the method of handling a singularity
winding number/ˈwaɪndɪŋ ˈnʌmbər/the number of times a curve winds around a point
Cauchy’s theorem/ˈkoʊʃiz ˈθɪərəm/the integral theorem for complex-valued functions

Found an issue with this content?

Tell us what could be improved.