Module 5 of 5 · Lesson 3 of 3

Green's Theorem

Green's theorem, which relates an integral around a closed boundary to an integral over the enclosed region, and its use for computing areas.

What you will be able to do

Given a positively oriented simple closed curve, the learner can convert the closed line integral into a double integral over the enclosed region, compute both sides independently as a check, choose a field that makes the region integrand constant so the boundary integral returns an area, and recognise when an enclosed singularity voids the hypothesis.

Orientation

Boundary integrals and region integrals

A closed line integral runs around the edge of a region. Green's theorem says that circulation equals something accumulated inside:

∮ C P d x + Q d y = ∬ R ( ∂ Q ∂ x − ∂ P ∂ y ) d A .

The two sides describe the same quantity, and the theorem converts between them. Sometimes the boundary walk is easier; sometimes the region integral is.

The area case. Choose P = − y and Q = x . The region integrand becomes the constant 2 , so the right side is twice the area, and

Area ( R ) = 1 2 ∮ C x d y − y d x .

This computes a two-dimensional quantity from the boundary alone. On a polygon this collapses to the shoelace formula, and it is what a mechanical planimeter does by tracing an outline.

The three hypotheses. The curve must be simple and closed, the orientation positive, and the partials continuous on the enclosed region rather than merely on the curve. The punctured-plane field fails the last hypothesis. It is smooth on the unit circle but undefined at the centre, so the theorem does not apply, and its loop integral of 2 π is not a counterexample.

This unit covers applying the theorem in both directions, computing both sides as a check, and recognising when an enclosed singularity makes the theorem inapplicable.

Definition

Green's three hypotheses, each with a job

Green's theorem's three hypotheses, each with a job.

  • Simple closed curve: a curve crossing itself encloses regions with conflicting orientations, and the region integral has no single meaning.
  • Positive orientation: reversing it negates the left side and not the right, so the identity holds with one specific sign convention.
  • Continuous partials on the enclosed region: a singularity inside R makes the double integral improper. This is precisely how the punctured-plane field escapes the conclusion, its closed integral is 2 π rather than 0 because the theorem never applied.

Intuition

Circulation on the boundary against circulation inside

Green's theorem. For a positively oriented simple closed curve bounding a region on which P and Q have continuous partials, ∮ C P d x + Q d y = ∬ R ( Q x − P y ) d A : the circulation around the boundary equals the integrated local circulation inside. Choosing P and Q to make the integrand constant turns the boundary integral into an area.

Figure

Boundary circulation and interior curl on the unit square

The unit square, positively oriented, in the field (−y, x)

The field ( − y , x ) over the unit square, with the boundary traversed counterclockwise, the positive orientation the theorem requires.

Walk the boundary and check each side separately, because two of the four contribute nothing.

Along the bottom, y = 0 , the field is ( 0 , x ) : it points straight up while you walk right, so the dot product is zero. Up the right side, x = 1 , the field is ( − y , 1 ) , whose vertical component 1 runs with you: that side contributes 1 . Along the top, y = 1 , the field is ( − 1 , x ) , pointing left while you walk left: another 1 . Down the left side, x = 0 , the field is ( − y , 0 ) , pointing horizontally left while you walk vertically down, so again nothing accumulates.

Only the right and top edges contribute, and the circulation is 1 + 1 = 2 .

Inside, Q x − P y = 1 − ( − 1 ) = 2 at every point, and the square has area 1 , so the double integral is also 2 . The theorem says these are the same number, and here you can see both sides of it at once: one boundary walk, one constant swirl filling the region.

The hypothesis is about the enclosed region, not the curve. Put a singularity inside and the equality fails, which is what the punctured-plane figure in the conservative-fields unit shows.

Procedure

Applying Green's theorem and computing an area

To apply Green's theorem.

  1. Confirm the curve is closed and simple, and orient it counterclockwise. If it is given clockwise, negate the result at the end.
  2. Confirm P and Q have continuous partials everywhere inside, not merely on the curve. The theorem does not apply when the curve encloses a singularity, which is exactly the punctured-plane case.
  3. Compute the integrand ∂ Q / ∂ x − ∂ P / ∂ y and integrate it over the enclosed region.
  4. Where both sides are computable, compute both. Agreement is a genuine check; deriving one from the other checks nothing.

To compute an area from a boundary. Use 1 2 ∮ C x d y − y d x counterclockwise. On a polygon, sides through the origin and sides where one coordinate is constant at zero contribute nothing, so the work is usually a fraction of what the vertex count suggests.

Checks. Confirm a Green's theorem result against a direct boundary walk whenever the boundary is polygonal, since that is inexpensive and the agreement is a genuine check on both.

Worked example

Checking Green's theorem, and an area from a boundary

Part 3: Green's theorem, both sides computed independently.

Take F = ( − y , x ) again on the unit square [ 0 , 1 ] × [ 0 , 1 ] , traversed counterclockwise.

Left side, walk the boundary.

legconditioncontribution
bottom, ( 0 , 0 ) → ( 1 , 0 ) y = 0 , d y = 0 , P = 0 0
right, ( 1 , 0 ) → ( 1 , 1 ) x = 1 , d x = 0 , Q = 1 ∫ 0 1 1 d y = 1
top, ( 1 , 1 ) → ( 0 , 1 ) y = 1 , d y = 0 , P = − 1 ∫ 1 0 ( − 1 ) d x = 1
left, ( 0 , 1 ) → ( 0 , 0 ) x = 0 , d x = 0 , Q = 0 0

Sum: 0 + 1 + 1 + 0 = 2 .

Right side, integrate over the region. ∂ Q ∂ x − ∂ P ∂ y = 1 − ( − 1 ) = 2 , so

∬ R 2 d A = 2 × area = 2 × 1 = 2 .

Both sides give 2 . Neither was derived from the other, so the agreement is a check on the work.

Note the top leg: traversing counterclockwise means going from x = 1 to x = 0 , and ∫ 1 0 ( − 1 ) d x = + 1 . Getting the orientation wrong here would give − 1 and a total of 0 , disagreeing with the region integral, which is how the check earns its place.

Part 4: area from the boundary alone.

With P = − y and Q = x the region integrand is the constant 2 , so 1 2 ∮ x d y − y d x gives the area. Apply it to the triangle with vertices ( 0 , 0 ) , ( 4 , 0 ) , ( 0 , 3 ) .

  • ( 0 , 0 ) → ( 4 , 0 ) : y = 0 and d y = 0 , so the integrand vanishes. Contribution 0 .
  • ( 4 , 0 ) → ( 0 , 3 ) : parametrise ( 4 − 4 t , 3 t ) , so d x = − 4 d t and d y = 3 d t . Then x d y − y d x = ( 4 − 4 t ) ( 3 ) − ( 3 t ) ( − 4 ) = 12 − 12 t + 12 t = 12 , and ∫ 0 1 12 d t = 12 .
  • ( 0 , 3 ) → ( 0 , 0 ) : x = 0 and d x = 0 , so the integrand vanishes. Contribution 0 .
Area = 1 2 ( 0 + 12 + 0 ) = 6 ,

against 1 2 × 4 × 3 = 6 from the elementary formula.

Two of the three sides contributed nothing, and the area of a two-dimensional region came from a single integral along one edge.

Application

Applications of Green's theorem

Work and conservative forces. The work done by a force along a route is exactly a line integral. Gravitational and electrostatic forces are negative gradients of a potential energy, so the work depends only on the endpoints. This is why potential energy at a height is a well-defined quantity. Friction is not a gradient. Dragging an object around a closed loop does nonzero work, which is the physical meaning of a closed integral that is not zero.

The classification in this unit is therefore the mathematical form of a physical distinction: forces that store energy against forces that dissipate it.

Circulation in a flow. For a velocity field, the closed line integral measures net circulation around the loop. Green's theorem says that this total equals the accumulated local rotation inside the loop. So a flow with zero local rotation has zero circulation around any loop whose interior lies in the domain. A nonzero circulation indicates a singularity inside the loop.

The punctured-plane field is the standard example. It is a vortex whose rotation is concentrated at a point removed from the domain. Its local rotation is zero everywhere in the domain, yet every counterclockwise loop around the origin gives 2 π .

Winding numbers. That 2 π counts how many times a path encircles the origin, and dividing by 2 π gives an integer invariant. This integral is an elementary example of a topological invariant. It is zero for every loop that does not enclose the origin and 2 π for each counterclockwise turn around it.

Planimeters and polygon area. The area formula 1 2 ∮ x d y − y d x computes a region's area from its boundary, which is what a mechanical planimeter does by tracing an outline. Applied to a polygon it reduces to the shoelace formula. The triangle computed in this unit, with area 6 from the one side whose integral is nonzero, is an instance of that formula. Geographic information systems compute polygon areas this way.

Path-independent quantities in engineering. Where a quantity is known to be conservative, a value can be tabulated per point rather than per route: gravitational potential, electric potential, thermodynamic state functions. The benefit is the one computed in this unit: a path integral is replaced by a subtraction. The risk is assuming path independence for a quantity that circulates.

---

The common question. In each case the question is whether the field is a gradient, and on which region. The answer establishes whether a quantity can be tabulated by position. The cross-partial test answers it with two derivatives, provided the region has no holes; regions with holes need more care.

Next step

Practice Green's Theorem

Practice records what support you used, so the evidence reflects how you actually performed.

Practice this lesson

This is the last lesson in Calculus. Review the course map to see what is left.

Results update as you type. Use the up and down arrow keys to move between results, Enter to open one, and Escape to close.

Type to search.

Settings

Appearance

Interface density

Layout

Simple is one plain column with nothing that moves or redraws, for older or slower devices. Auto uses it on Firefox 143 and earlier. Changing it reloads the page.

Your record

Your progress is stored in this browser and nowhere else: an identifier, the answers you have given, the mastery states and review schedule derived from them, and the lesson you last opened. Clearing it makes you a new learner on this device. It cannot be undone, and it will not affect your appearance or density settings.

Focus timer

Focus--minutes remaining

Phase

Kept in this browser only, and used to label the session in your own history.

Today

Nothing recorded yet. Finish a focus session and it will appear here.

Settings

Focus sessions between long breaks.

Sessions you are aiming for in a day.

Notifications

Your history

Sessions are stored in this browser and nowhere else. They are not evidence and never reach your mastery record.