BetaFree coursewareRewritten from MIT OpenCourseWareCC BY-NC-SA 4.0
Open CosmologyPhysics & cosmology, from high school to a graduate year

Green's theorem

Green's theorem turns the work around a closed curve C, traversed counterclockwise, into a double integral over the region R inside: ∮ M dx + N dy = ∫∫ (N_x − M_y) dA, the integral of the curl. It can make a hopeless line integral easy, and it proves the test for gradient fields: if the curl is zero everywhere in the plane, the work around every closed curve is zero. It fails when the field is undefined at a point inside. The proof splits into ∮ M dx = −∫∫ M_y dA on vertically simple regions, glued together, plus the same for N. Planimeters use ∮ x dy = area.

You need this first

Full reading path (20 pages)
  1. Vectors (8.01)
  2. Vectors and the dot product (18.02)
  3. Determinants and the cross product (18.02)
  4. Planes through three points, and matrices (18.02)
  5. Equations of planes and square systems (18.02)
  6. Parametric equations of lines and the cycloid (18.02)
  7. Velocity, acceleration and Kepler's second law (18.02)
  8. Functions of two variables and partial derivatives (18.02)
  9. Tangent planes, critical points and least squares (18.02)
  10. The second derivative test (18.02)
  11. Differentials and the chain rule (18.02)
  12. The gradient and directional derivatives (18.02)
  13. Lagrange multipliers (18.02)
  14. Non-independent variables (18.02)
  15. Double integrals (18.02)
  16. Double integrals in polar coordinates, and their uses (18.02)
  17. Change of variables in double integrals (18.02)
  18. Vector fields and line integrals (18.02)
  19. Gradient fields and path independence (18.02)
  20. Testing for gradient fields, potentials and curl (18.02)
On this page · 6 sections
  1. The theorem
  2. An example: a hard line integral made easy
  3. The test for gradient fields, proved
  4. Why the theorem is true
  5. The planimeter
  6. Summary

When the curl is not zero, the work around a closed curve can still often be found without parametrising the curve: by Green's theorem (transcript, p. 1).

The theorem#

Let CC be a closed curve enclosing a region RR, traversed counterclockwise, and let F⃗\vec F be defined and differentiable not only on CC but everywhere in RR. Then (transcript, p. 1; notes, p. 2):

Green's theorem
∮CF⃗⋅dr⃗=∫∫Rcurl⁡F⃗ dA,∮CM dx+N dy=∫∫R(Nx−My) dA\oint_C \vec F \cdot d\vec r = \int\int_R \operatorname{curl}\vec F\,dA, \qquad \oint_C M\,dx + N\,dy = \int\int_R (N_x - M_y)\,dA
In words

the loop integral of sub C vector capital F dot d vector r equals the integral of the integral of _ capital R c u r l vector capital F d capital A, the loop integral of sub C M d x plus N d y equals the integral of the integral of _ capital R the quantity N sub x minus M sub y, d capital A

A strange statement: the left side lives only on the curve, where xx and yy are tied to one parameter; the right side lives on the whole region, where xx and yy vary independently between bounds (p. 1). The counterclockwise orientation matches the convention Nx−MyN_x - M_y for the curl; for a clockwise curve, take the negative. And it is only for closed curves: an open curve must be parametrised, or first closed up with another piece (p. 1).

An example: a hard line integral made easy#

Let CC be the unit circle centred at (2,0)(2, 0), counterclockwise, and compute (transcript, pp. 1–2; notes, p. 2):

Using Green's theorem
∮Cye−x dx+(12x2−e−x)dy=∫∫R((x+e−x)−e−x) dA=∫∫Rx dA\oint_C ye^{-x}\,dx + \left(\tfrac12 x^2 - e^{-x}\right)dy = \int\int_R \big((x + e^{-x}) - e^{-x}\big)\,dA = \int\int_R x\,dA
In words

the loop integral of sub C y e to the power minus x d x plus the quantity one half x squared minus e to the power minus x, d y equals the integral of the integral of _ capital R the quantity the quantity x plus e to the power minus x, all minus e to the power minus x, d capital A equals the integral of the integral of _ capital R x d capital A

Parametrising by x=2+cos⁡θx = 2 + \cos\theta, y=sin⁡θy = \sin\theta would lead to integrals of e−xe^{-x} terms that look hopeless (p. 1). The double integral needs no bounds: ∫∫Rx dA\int\int_R x\,dA is the area times xˉ\bar x, the xx-coordinate of the centre of mass, and for this disc of area π\pi centred at x=2x = 2 that gives 2π2\pi (pp. 1–2; notes, p. 2).

The test for gradient fields, proved#

If curl⁡F⃗=0\operatorname{curl}\vec F = 0 and F⃗\vec F is defined everywhere in the plane, then for any counterclockwise closed curve, ∮CF⃗⋅dr⃗=∫∫R0 dA=0\oint_C \vec F \cdot d\vec r = \int\int_R 0\,dA = 0: F⃗\vec F is conservative. (A clockwise curve, or a figure eight, is split into loops oriented counterclockwise.) This justifies last lecture's criterion (transcript, p. 2; notes, p. 2):

Zero curl gives a gradient field
Nx=My everywhere in the plane⟹∮CF⃗⋅dr⃗=0 for every closed CN_x = M_y \text{ everywhere in the plane} \quad\Longrightarrow\quad \oint_C \vec F \cdot d\vec r = 0 \text{ for every closed } C
In words

N sub x equals M sub y everywhere in the plane which gives the loop integral of sub C vector capital F dot d vector r equals 0 for every closed C

Source: 18.02 lecture summaries, Week 9 (Prof. Auroux), Lecture 22, pp. 2–3, Lecture 22, p. 2

The condition matters: the problem-set field undefined at the origin has zero curl wherever it is defined, yet gives 2π2\pi around the unit circle. Green's theorem cannot be applied to a curve around the origin, since the curl is not defined there (p. 2; notes, p. 2).

Why the theorem is true#

First simplification. It is enough to prove (transcript, pp. 2–3; notes, p. 2):

The two halves
∮CM dx=−∫∫RMy dAand∮CN dy=∫∫RNx dA\oint_C M\,dx = -\int\int_R M_y\,dA \qquad\text{and}\qquad \oint_C N\,dy = \int\int_R N_x\,dA
In words

the loop integral of sub C M d x equals minus the integral of the integral of _ capital R M sub y d capital A and the loop integral of sub C N d y equals the integral of the integral of _ capital R N sub x d capital A

Source: 18.02 lecture summaries, Week 9 (Prof. Auroux), Lecture 22, pp. 2–3, Lecture 22, p. 2

and add them. The second is the first with xx and yy swapped (using horizontally simple pieces), so only the first needs proof (p. 3).

Second simplification. If the theorem holds for two regions R1R_1 and R2R_2, it holds for their union: the curves C1C_1 and C2C_2 both run along the shared edge, in opposite directions, so those parts cancel (p. 3; notes, p. 2). Any region can be cut into vertically simple pieces, a≤x≤ba \le x \le b and f1(x)≤y≤f2(x)f_1(x) \le y \le f_2(x) (p. 3).

The main step, for one vertically simple region. Its boundary has four parts: the bottom y=f1(x)y = f_1(x), the right side x=bx = b, the top y=f2(x)y = f_2(x) (run from bb back to aa), the left side x=ax = a. On the vertical sides dx=0dx = 0, so they contribute nothing (p. 3; notes, pp. 2–3; the notes call the bottom and top curves f0f_0 and f1f_1):

Line integral side
∮CM dx=∫abM(x,f1(x)) dx−∫abM(x,f2(x)) dx\oint_C M\,dx = \int_a^b M\big(x, f_1(x)\big)\,dx - \int_a^b M\big(x, f_2(x)\big)\,dx
In words

the loop integral of sub C M d x equals the integral from a to b of M (x, f 1 (x) ) d x minus the integral from a to b of M (x, f 2 (x) ) d x

For the double integral, set it up dy dxdy\,dx; the inner integral of MyM_y in yy gives MM back (p. 3; notes, p. 3):

Double integral side
−∫∫RMy dA=−∫ab∫f1(x)f2(x)My dy dx=−∫ab(M(x,f2(x))−M(x,f1(x)))dx-\int\int_R M_y\,dA = -\int_a^b\int_{f_1(x)}^{f_2(x)} M_y\,dy\,dx = -\int_a^b \Big(M\big(x, f_2(x)\big) - M\big(x, f_1(x)\big)\Big)dx
In words

minus the integral of the integral of _ capital R M sub y d capital A equals minus the integral from a to b of the integral from f 1 (x) to f 2 (x) of M sub y d y d x equals minus the integral from a to b of the quantity M (x, f 2 (x) ) minus M (x, f 1 (x) ), d x

The two agree. Gluing the pieces and adding the NN part completes the proof (p. 3).

The planimeter#

Taking F⃗=⟨0,x⟩\vec F = \langle 0, x\rangle, so Nx−My=1N_x - M_y = 1 (transcript, p. 4; notes, p. 3):

Area as a line integral
∮Cx dy=∫∫R1 dA=area(R)\oint_C x\,dy = \int\int_R 1\,dA = \text{area}(R)
In words

the loop integral of sub C x d y equals the integral of the integral of _ capital R 1 d capital A equals area ( capital R )

Before computers, experimental scientists measured areas under curves drawn on graph paper with a planimeter: one moves an arm around the curve, a mechanism of wheels computes a line integral such as ∮x dy\oint x\,dy, and when the arm returns to its start a dial shows the area, although the device never visits the inside (p. 4; notes, p. 3).

Worked example

Green's theorem twice

(a) Compute ∮C−y3 dx+x3 dy\oint_C -y^3\,dx + x^3\,dy around the unit circle, counterclockwise, by Green's theorem, and check it directly. (b) Use ∮x dy\oint x\,dy to find the area of the ellipse x=3cos⁡tx = 3\cos t, y=2sin⁡ty = 2\sin t.

(a) Green's theorem

Nx−My=3x2+3y2=3r2N_x - M_y = 3x^2 + 3y^2 = 3r^2. In polar coordinates, ∫02π∫013r2 r dr dθ=3⋅14⋅2π=3π2≈4.71\int_0^{2\pi}\int_0^1 3r^2\,r\,dr\,d\theta = 3 \cdot \frac14 \cdot 2\pi = \frac{3\pi}{2} \approx 4.71.

(a) Directly

With x=cos⁡θx = \cos\theta, y=sin⁡θy = \sin\theta: −y3 dx+x3 dy=(sin⁡4θ+cos⁡4θ) dθ-y^3\,dx + x^3\,dy = (\sin^4\theta + \cos^4\theta)\,d\theta, and ∫02π(sin⁡4θ+cos⁡4θ) dθ=2π⋅34=3π2\int_0^{2\pi} (\sin^4\theta + \cos^4\theta)\,d\theta = 2\pi \cdot \frac34 = \frac{3\pi}{2}. The same.

(b) An area by a line integral

∮x dy=∫02π3cos⁡t⋅2cos⁡t dt=6π≈18.85\oint x\,dy = \int_0^{2\pi} 3\cos t \cdot 2\cos t\,dt = 6\pi \approx 18.85: the area πab\pi ab with a=3a = 3, b=2b = 2.

Summary#

  • Green's theorem: ∮CM dx+N dy=∫∫R(Nx−My) dA\oint_C M\,dx + N\,dy = \int\int_R (N_x - M_y)\,dA for CC counterclockwise around RR, with F⃗\vec F defined and differentiable on all of RR; only for closed curves.
  • It can turn a hard line integral into an easy double integral (example: ∫∫Rx dA=2π\int\int_R x\,dA = 2\pi for the unit disc at (2,0)(2, 0)).
  • It proves that zero curl everywhere in the plane means conservative; a point where F⃗\vec F is undefined breaks this.
  • Proof: ∮M dx=−∫∫My dA\oint M\,dx = -\int\int M_y\,dA on vertically simple regions, gluing regions, and the same for NN.
  • ∮Cx dy\oint_C x\,dy is the area inside CC, the principle of the planimeter.

Symbols on this page

Show the 36 symbols used here
θ\theta theta.
An angle. Say it: “theta” (sounds like “thay-ta or thee-ta”).
π\pi pi.
The ratio of a circle's circumference to its diameter, π ≈ 3.14159. Say it: “pi”.
≈\approx approximately equal.
Is approximately equal to. Say it: “is approximately”.
≤\le less than or equal.
Is less than or equal to. Say it: “is less than or equal to”.
⇒\Rightarrow implies.
Implies: what follows is a consequence of what came before. Say it: “which gives”.
⋅\cdot dot.
Times (multiplication). Between two vectors: the dot product. Say it: “times”.
⟨\langle angle brackets.
The average (mean value) of what is inside, ⟨…⟩. Say it: “the average of”.
∫\int integral.
Integral: the sum of infinitely many small pieces, such as the area under a curve. Say it: “the integral of”.
∮\oint loop integral.
An integral around a closed loop. Say it: “the loop integral of”.
sin⁡\sin sine.
Sine of an angle. Say it: “sine”.
cos⁡\cos cosine.
Cosine of an angle. Say it: “cos”.
v⃗\vec v vector arrow.
A vector: a quantity with a size and a direction. Say it: “vector”.
ρˉ\bar\rho bar.
A mean (average) value, such as ρ̄; in 8.902 also a smoothed field (δ̄). Say it: “bar”.
aa a.
The left end, x = a, of a vertically simple region; in the worked example, the semi-axis 3. Say it: “a”.
xx x.
The x coordinate. Say it: “x”.
yy y.
The y coordinate. Say it: “y”.
tt t.
The parameter of the ellipse. Say it: “t”.
dd d.
The d of dr, dx, dy, dA, dθ, dt. Say it: “d”.
ee e.
The base of natural logarithms, about 2.718. Say it: “e”.
FF F.
A vector field, F = M î + N ĵ. Say it: “capital F”.
rr r.
The position vector along the curve (in polar coordinates, the distance from the origin). Say it: “r”.
AA A.
Area; dA is a small piece of area. Say it: “capital A”.
CC C.
A closed curve, traversed counterclockwise. Say it: “C”.
bb b.
The right end, x = b, of a vertically simple region; in the worked example, the semi-axis 2. Say it: “b”.
NN N.
The y component of the vector field. Say it: “N”.
MM M.
The x component of the vector field. Say it: “M”.
RR R.
The region enclosed by C. Say it: “capital R”.
R1R_{1} R one.
One of two regions glued together. Say it: “capital R sub 1”.
C1C_{1} C 1.
The boundary curve of R₁ (or the bottom side of a vertically simple region). Say it: “C one”.
C2C_{2} C 2.
The boundary curve of R₂ (or the right side of a vertically simple region). Say it: “C two”.
NxN_{x} N sub x.
The partial derivative ∂N/∂x. Say it: “N sub x”.
MyM_{y} M sub y.
The partial derivative ∂M/∂y. Say it: “M sub y”.
f1f_{1} f 1.
The lower boundary y = f₁(x) of a vertically simple region. Say it: “f 1”.
f2f_{2} f 2.
The upper boundary y = f₂(x) of a vertically simple region. Say it: “f 2”.
R2R_{2} R 2.
The second of two regions glued together. Say it: “capital R 2”.
f0f_{0} f 0.
In the course notes, the name of the bottom curve (the page calls it f₁). Say it: “f nought”.

Tap or click a symbol in a formula to see the same explanation. All symbols: symbols and notation.

Words on this page

Show the 30 words used here

New here

Green's theorem.
The theorem that an integral around a closed curve in the plane equals a double integral of the curl, or divergence, over the region inside.
vertically simple.
Of a region in the plane: one that every vertical line crosses in a single piece, between a lower and an upper curve.
planimeter.
A mechanical instrument that measures the area inside a curve on paper as its arm is moved once around the curve.

Also used

curl.
A measure of how much a vector field turns or swirls around each point. Explained in Testing for gradient fields, potentials and curl.
work.
The energy a force gives to a body as it moves: the part of the force along the motion times the distance moved. Explained in Kinetic energy and work in one dimension.
closed curve.
A curve that ends where it started, like a circle, so it has no loose ends. Explained in Forces on currents and the Biot–Savart law.
p..
Page, in a reference to a source; pp. means pages, as in pp. 3–5.
differentiable.
Having a derivative: at that point the graph has a single, definite, non-vertical tangent line, with no corner or break. Explained in The mean value theorem and inequalities.
unit circle.
The circle of radius 1 centred at the origin; the point at angle θ on it is (cos θ, sin θ). Explained in Angles, radians and trigonometry.
integral.
A sum of very many very small pieces, such as the area under a graph; it undoes taking a derivative. Explained in Rates of change and area under a graph.
double integral.
An integral over a region of the plane: cut the region into tiny pieces, multiply each by the function's value there, and add. Explained in Double integrals.
centre of mass.
The mass-weighted average position of a body or system: the point that moves as if all the mass and all outside forces were there. Explained in Torque and balance.
conservative force.
A force whose work between two points is the same for every path, so it can be described by a potential energy. Explained in Conservation of energy.
field.
Something that has a value at every point of space, such as the temperature, the wind velocity or the electric field at each place. Explained in Newton's law of gravitation.
proof.
A chain of reasoning showing beyond doubt that a statement follows from definitions and results already known. Explained in Limits and continuity.
theorem.
A statement that has been proved true, step by step, from definitions and earlier results. Explained in Limits and continuity.
union.
The set made of everything that is in one set or the other, or both.
line integral.
An integral along a path: adding up a quantity, such as the part of a force along the motion, over tiny steps of a curve. Explained in Work and kinetic energy in two and three dimensions.
ellipse.
An oval curve: the set of points whose distances from two fixed points, the foci, add up to the same total. Explained in Kepler's laws and orbits.
polar coordinates.
Coordinates in a flat plane that give a point's distance r from the origin and its angle θ from a fixed direction. Explained in Vectors.
flux.
How much of a field, or of a flow of matter or energy, passes through a surface (per second, for a flow). Explained in Towards the universe: what starlight tells us.
divergence.
A measure of how much a vector field spreads out from each point: the amount flowing out of a tiny region per unit size. Explained in Flux and the normal form of Green's theorem.
Gauss's law.
The law that the flux out of any closed surface is set by what is inside: the charge for electric fields, the mass for gravity. Explained in Gauss's law.
gravitational field.
The pull of gravity at each point of space, given as the force on each kilogram of mass placed there. Explained in The electric field.
closed surface.
A surface with no edge that completely encloses a region of space, like the skin of a ball.
uniform.
The same at every point, or unchanging in time: a uniform rod has the same density all along it. Explained in The electric field.

Academic

transcript.
A written record of exactly what was said in a recorded lecture, word for word.
convention.
An agreed choice, such as which direction counts as positive, that could have been made differently.
criterion.
A test or rule used to decide something, such as whether a system is stable.
mechanism.
The process or chain of causes by which something happens; also a device of moving parts.

Tap or click a word, here or in the text, for its meaning in this lesson. All words: the glossary. How many words are marked in the text: Reading options (the “Aa” button).

Where this leads

In cosmology

35 more cosmology pages that build on this

Pages that build on this

Practise

Check your understanding

  1. Green's theorem requires the closed curve to be traversed…
  2. By Green's theorem, ∮C−y dx+x dy\oint_C -y\,dx + x\,dy around a counterclockwise curve equals…
  3. Why does Green's theorem not show that a field with zero curl, undefined at the origin, is conservative on circles around the origin?
0 of 3 answered

Flashcards

1 / 3