Green's Theorem

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

Trading a boundary for the region it encloses

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 .

Two descriptions of the same situation, 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 .

A two-dimensional quantity computed by walking only the edge. On a polygon this collapses to the shoelace formula, and it is what a mechanical planimeter does by tracing an outline.

Three hypotheses, each doing work. The curve must be simple and closed, the orientation positive, and the partials continuous on the enclosed region rather than merely on the curve. That last one is where the punctured-plane field escapes: it is perfectly smooth on the unit circle and undefined at the centre, so the theorem never applied, and its loop integral of 2 π is not a counterexample to anything.

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

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. A singularity enclosed by the curve voids the theorem, 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

Both sides of 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

Where the exchange is the whole point

Work and conservative forces. The work done by a force along a route is exactly a line integral. Gravity and electrostatic attraction are gradients of potential energy, so the work depends only on the endpoints, which is why "potential energy at a height" is a meaningful quantity at all. Friction is not a gradient: dragging an object around a loop and back does non-zero work, which is the physical reading of a closed integral that fails to vanish.

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 total equals the accumulated local rotation inside, so a flow with zero local rotation everywhere has zero circulation around any loop that encloses nothing special, and a nonzero circulation indicates something enclosed.

The punctured-plane field is the model case: a vortex whose rotation is concentrated at a point removed from the domain, leaving every local measurement zero while every loop around it registers 2 π .

Winding numbers. That 2 π counts how many times a path encircles the origin, and dividing by 2 π gives an integer invariant. A quantity that is locally undetectable and globally nonzero is exactly what a topological invariant is, and this integral is the elementary example.

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 collapses to the shoelace formula, and the triangle computed in this unit, area 6 from a single non-trivial side, is that formula in action. 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 practical gain is precisely the one this unit computes, a route integral replaced by a subtraction, and the practical risk is assuming it for a quantity that circulates.

---

What decides in every case. Whether the field is a gradient, and on which region. That single question determines whether a quantity can be tabulated by position at all, and the cross-partial test answers it in two derivatives, subject to the region having no holes, which is where the careful cases live.

Next step

Practice Green's Theorem

Practice this

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

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.