In mathematics, Green's theorem gives the relationship between a line integral around a simple closed curve C and a double integral over the plane region D bounded by C. It is named after George Green  and is the two-dimensional special case of the more general Kelvin–Stokes theorem.
Let C be a positively oriented, piecewise smooth, simple closed curve in a plane, and let D be the region bounded by C. If L and M are functions of (x, y) defined on an open region containing D and have continuous partial derivatives there, then
where the path of integration along C is counterclockwise.
In physics, Green's theorem is mostly used to solve two-dimensional flow integrals, stating that the sum of fluid outflows from a volume is equal to the total outflow summed about an enclosing area. In plane geometry, and in particular, area surveying, Green's theorem can be used to determine the area and centroid of plane figures solely by integrating over the perimeter.
Proof when D is a simple region
The following is a proof of half of the theorem for the simplified area D, a type I region where C1 and C3 are curves connected by vertical lines (possibly of zero length). A similar proof exists for the other half of the theorem when D is a type II region where C2 and C4 are curves connected by horizontal lines (again, possibly of zero length). Putting these two parts together, the theorem is thus proven for regions of type III (defined as regions which are both type I and type II). The general case can then be deduced from this special case by decomposing D into a set of type III regions.
If it can be shown that
are true, then Green's theorem follows immediately for the region D. We can prove (1) easily for regions of type I, and (2) for regions of type II. Green's theorem then follows for regions of type III.
Assume region D is a type I region and can thus be characterized, as pictured on the right, by
where g1 and g2 are continuous functions on [a, b]. Compute the double integral in (1):
Now compute the line integral in (1). C can be rewritten as the union of four curves: C1, C2, C3, C4.
With C1, use the parametric equations: x = x, y = g1(x), a ≤ x ≤ b. Then
With C3, use the parametric equations: x = x, y = g2(x), a ≤ x ≤ b. Then
The integral over C3 is negated because it goes in the negative direction from b to a, as C is oriented positively (counterclockwise). On C2 and C4, x remains constant, meaning
Combining (3) with (4), we get (1) for regions of type I. A similar treatment yields (2) for regions of type II. Putting the two together, we get the result for regions of type III.
Relationship to the Stokes theorem
Green's theorem is a special case of the Kelvin–Stokes theorem, when applied to a region in the xy-plane:
We can augment the two-dimensional field into a three-dimensional field with a z component that is always 0. Write F for the vector-valued function . Start with the left side of Green's theorem:
The surface is just the region in the plane , with the unit normals pointing up (in the positive z direction) to match the "positive orientation" definitions for both theorems.
The expression inside the integral becomes
Thus we get the right side of Green's theorem
Relationship to the divergence theorem
Considering only two-dimensional vector fields, Green's theorem is equivalent to the two-dimensional version of the divergence theorem:
where is the divergence on the two-dimensional vector field , and is the outward-pointing unit normal vector on the boundary.
To see this, consider the unit normal in the right side of the equation. Since in Green's theorem is a vector pointing tangential along the curve, and the curve C is the positively-oriented (i.e. counterclockwise) curve along the boundary, an outward normal would be a vector which points 90° to the right of this; one choice would be . The length of this vector is So
Start with the left side of Green's theorem:
Applying the two-dimensional divergence theorem with , we get the right side of Green's theorem:
Green's theorem can be used to compute area by line integral. The area of D is given by:
Provided we choose L and M such that:
Then the area is given by:
Possible formulas for the area of D include:
- Method of image charges – A method used in electrostatics that takes advantage of the uniqueness theorem (derived from Green's theorem)
- Shoelace formula - A special case of Green's theorem for simple polygons
- George Green, An Essay on the Application of Mathematical Analysis to the Theories of Electricity and Magnetism (Nottingham, England: T. Wheelhouse, 1828). Green did not actually derive the form of "Green's theorem" which appears in this article; rather, he derived a form of the "divergence theorem", which appears on pages 10-12 of his Essay.
In 1846, the form of "Green's theorem" which appears in this article was first published, without proof, in an article by Augustin Cauchy: A. Cauchy (1846) "Sur les intégrales qui s'étendent à tous les points d'une courbe fermée" (On integrals that extend over all of the points of a closed curve), Comptes rendus, 23: 251-255. (The equation appears at the bottom of page 254, where (S) denotes the line integral of a function k along the curve s that encloses the area S.)
A proof of the theorem was finally provided in 1851 by Bernhard Riemann in his inaugural dissertation: Bernhard Riemann (1851) Grundlagen für eine allgemeine Theorie der Functionen einer veränderlichen complexen Grösse (Basis for a general theory of functions of a variable complex quantity), (Göttingen, (Germany): Adalbert Rente, 1867); see pages 8 - 9.
- Mathematical methods for physics and engineering, K.F. Riley, M.P. Hobson, S.J. Bence, Cambridge University Press, 2010, ISBN 978-0-521-86153-3
- Vector Analysis (2nd Edition), M.R. Spiegel, S. Lipschutz, D. Spellman, Schaum’s Outlines, McGraw Hill (USA), 2009, ISBN 978-0-07-161545-7
- Stewart, James. Calculus (6th ed.). Thomson, Brooks/Cole.
- Calculus (5th edition), F. Ayres, E. Mendelson, Schaum's Outline Series, 2009, ISBN 978-0-07-150861-2.
- Advanced Calculus (3rd edition), R. Wrede, M.R. Spiegel, Schaum's Outline Series, 2010, ISBN 978-0-07-162366-7.