Tutorials › Calculus III › Extending the Proof to Simple Planar Regions

Green’s Theorem in the Plane · Tutorial 806 of 999

Extending the Proof to Simple Planar Regions

Learn how slicing and cancellation extend Green’s theorem from rectangles to simple planar regions.

Advanced 11 min read

What You'll Learn

  • State the hypotheses for deriving Green’s theorem on a simple planar region.
  • Derive the circulation identity on Type I regions using vertical slices.
  • Derive the same identity on Type II regions using horizontal slices.
  • Track boundary orientations and endpoint terms correctly.
  • Explain why interior edge integrals cancel when pieces are assembled.

From Rectangles to Curved Regions

On a rectangle, Green’s theorem follows by integrating partial derivatives and applying the fundamental theorem of calculus. The same idea works when one pair of opposite sides is replaced by curved graphs: slice the region, apply the one-variable theorem on each slice, and account for the moving endpoints.

The main complication is that a curved boundary contributes terms from both its position and its direction of travel. Those signs matter. Once the identity is established on regions described by vertical or horizontal slices, a finite subdivision lets us combine the results. Contributions along edges inside the full region appear twice, with opposite orientations, and therefore cancel.

Central idea: Prove Green’s theorem on Type I and Type II pieces by slicing. Then add the identities for the pieces; shared interior boundary integrals cancel, leaving only the integral around the outside boundary.

Statement and Conditions

A simple planar region here means the bounded region enclosed by a simple, positively oriented, piecewise-smooth closed curve. Positive orientation means that the region stays to the left as the boundary is traversed; for a simple boundary, this is counterclockwise. Assume the boundary can be divided into finitely many smooth arcs and the region can be partitioned into finitely many Type I or Type II pieces with piecewise-smooth edges. This is the usual setting for the slicing argument.

Let \(\mathbf{F}(x,y)=\langle P(x,y),Q(x,y)\rangle\), where \(P\) and \(Q\) have continuous first partial derivatives on an open set containing the region and its boundary. Green’s theorem in circulation form is

$$ \oint_{\partial D} P\,dx+Q\,dy = \iint_D\left(Q_x-P_y\right)\,dA. $$

The left side is the line integral along the positively oriented boundary. The right side is the double integral of the scalar function \(Q_x-P_y\) over the region \(D\). The derivation below establishes this identity on the slice-shaped pieces and then explains how to assemble them.

Type I and Type II regions: A Type I region has the form \(a\le x\le b\), \(g_1(x)\le y\le g_2(x)\). A Type II region has the form \(c\le y\le d\), \(h_1(y)\le x\le h_2(y)\). The bounding functions are piecewise smooth, and the lower and upper bounds are ordered throughout the relevant interval.

Derivation on a Type I Region

Let \(D\) be Type I, so each vertical slice runs from \(y=g_1(x)\) to \(y=g_2(x)\). We derive the contributions of \(P\) and \(Q\) separately. The vertical sides have \(dx=0\), but generally contribute to the \(Q\,dy\) part of the boundary integral.

For the \(P\) term, the fundamental theorem of calculus applied on each vertical slice gives

$$ \iint_D -P_y\,dA = \int_a^b\int_{g_1(x)}^{g_2(x)}-P_y(x,y)\,dy\,dx = \int_a^b\left[P(x,g_1(x))-P(x,g_2(x))\right]dx. $$

The lower graph is traversed from left to right in positive orientation, so its \(P\,dx\) contribution is \(\int_a^b P(x,g_1(x))\,dx\). The upper graph is traversed from right to left, so its contribution is \(-\int_a^b P(x,g_2(x))\,dx\). The two vertical sides have \(dx=0\). Thus the displayed expression is exactly the boundary integral of \(P\,dx\).

For the \(Q\) term, define the accumulated integral along a vertical slice by

$$ F(x)=\int_{g_1(x)}^{g_2(x)}Q(x,y)\,dy. $$

By the Leibniz rule for differentiating an integral with variable endpoints,

$$ F'(x) = \int_{g_1(x)}^{g_2(x)}Q_x(x,y)\,dy + Q(x,g_2(x))g_2'(x) - Q(x,g_1(x))g_1'(x). $$

Integrating this equation from \(a\) to \(b\) and rearranging yields

$$ \int_a^b\int_{g_1(x)}^{g_2(x)}Q_x(x,y)\,dy\,dx = F(b)-F(a) - \int_a^b Q(x,g_2(x))g_2'(x)\,dx + \int_a^b Q(x,g_1(x))g_1'(x)\,dx. $$

The vertical side at \(x=b\) is traversed upward and contributes \(F(b)\); the side at \(x=a\) is traversed downward and contributes \(-F(a)\). On the upper graph, the boundary travels from right to left, giving \(-\int_a^b Q(x,g_2(x))g_2'(x)\,dx\). On the lower graph, it travels from left to right, giving \(+\int_a^b Q(x,g_1(x))g_1'(x)\,dx\). These graph contributions are the negatives of the last two endpoint terms in \(F'(x)\). Consequently, the right side is exactly the boundary integral of \(Q\,dy\).

Adding the two identities proves Green’s theorem on this Type I region. The argument works with piecewise-smooth graph bounds by applying the calculation on each smooth interval and adding the resulting identities.

Derivation on a Type II Region

Now let \(D\) be Type II: \(c\le y\le d\), with \(h_1(y)\le x\le h_2(y)\). Horizontal slices are convenient. First, the fundamental theorem of calculus in the \(x\)-variable gives

$$ \iint_D Q_x\,dA = \int_c^d\int_{h_1(y)}^{h_2(y)}Q_x(x,y)\,dx\,dy = \int_c^d\left[Q(h_2(y),y)-Q(h_1(y),y)\right]dy. $$

The right-hand boundary curve is traversed with \(y\) increasing, so its \(Q\,dy\) contribution is \(\int_c^d Q(h_2(y),y)\,dy\). The left-hand curve is traversed with \(y\) decreasing, so its contribution is \(-\int_c^d Q(h_1(y),y)\,dy\). The horizontal edges have \(dy=0\). Thus the expression equals the boundary integral of \(Q\,dy\).

To account for \(-P_y\), define

$$ G(y)=\int_{h_1(y)}^{h_2(y)}P(x,y)\,dx. $$

Differentiating by the Leibniz rule gives

$$ G'(y) = \int_{h_1(y)}^{h_2(y)}P_y(x,y)\,dx + P(h_2(y),y)h_2'(y) - P(h_1(y),y)h_1'(y). $$

After integrating and rearranging,

$$ \iint_D -P_y\,dA = G(c)-G(d) + \int_c^d P(h_2(y),y)h_2'(y)\,dy - \int_c^d P(h_1(y),y)h_1'(y)\,dy. $$

The bottom horizontal edge is traversed from left to right and contributes \(G(c)\); the top edge is traversed from right to left and contributes \(-G(d)\). The right curved edge contributes \(+\int_c^d P(h_2(y),y)h_2'(y)\,dy\), and the left curved edge, traversed in the reverse direction, contributes \(-\int_c^d P(h_1(y),y)h_1'(y)\,dy\). The expression is therefore the boundary integral of \(P\,dx\). Adding the \(P\) and \(Q\) identities proves Green’s theorem on the Type II region as well.

Assembling the Pieces

Suppose the full region \(D\) is partitioned into finitely many Type I or Type II pieces \(D_1,\ldots,D_n\). Apply the identity just proved to each piece and add the results. The area integrals add because the pieces cover \(D\) and overlap only along their boundaries, which have area zero.

For the line integrals, each edge on the outside boundary occurs once, with the positive orientation of \(\partial D\). Each interior edge is shared by two pieces. The positive boundary direction for one piece traverses that edge one way; the positive direction for the adjacent piece traverses it the other way. Reversing a curve changes the sign of a line integral, so the two contributions cancel.

1
Apply the slice identity to every piece.
On each Type I or Type II piece, the boundary integral equals the double integral of \(Q_x-P_y\).
2
Add the area integrals.
The integrals over the pieces combine to give the integral over the full region.
3
Cancel shared edges.
Every interior edge is traversed in opposite directions by its two adjacent pieces, so its line-integral contributions sum to zero.
4
Keep the outside boundary.
The uncancelled line integrals follow the positively oriented boundary of the full region.

This proves the stated identity for the region under the subdivision assumptions. The proof does not require a single global description of the full region as Type I or Type II; different pieces may use different slicing directions.

Worked Example: Checking the Identity on a Type I Region

Worked Example: A Region Between Two Curves

Let \(D\) be the region \(0\le x\le1\), \(x^2\le y\le x\), and take \(P(x,y)=xy\), \(Q(x,y)=x^2+y\). The density is

$$ Q_x-P_y=2x-x=x. $$

The area integral is

$$ \iint_D x\,dA = \int_0^1\int_{x^2}^{x}x\,dy\,dx = \int_0^1x(x-x^2)\,dx = \int_0^1(x^2-x^3)\,dx = \frac13-\frac14 = \frac1{12}. $$

For the positively oriented boundary, the lower curve \(y=x^2\) runs from \(x=0\) to \(x=1\). There, \(P=x^3\), \(Q=2x^2\), and \(dy=2x\,dx\). Its contribution is

$$ \int_0^1\left(x^3+2x^2(2x)\right)dx = \int_0^1 5x^3\,dx = \frac54. $$

The upper curve \(y=x\) runs from \(x=1\) to \(x=0\). There, \(P=x^2\), \(Q=x^2+x\), and \(dy=dx\). Its contribution is

$$ \int_1^0\left(x^2+(x^2+x)\right)dx = -\int_0^1(2x^2+x)\,dx = -\left(\frac23+\frac12\right) = -\frac76. $$

The vertical sides collapse to points, so they contribute zero. The total boundary integral is \(\frac54-\frac76=\frac{15}{12}-\frac{14}{12}=\frac1{12}\), equal to the area integral. Substitution into both sides confirms the identity.

Worked Example: Checking the Identity on a Type II Region

Worked Example: A Region Between Two Side Curves

Let \(D\) be \(0\le y\le1\), \(y^2\le x\le y\), and choose \(P(x,y)=x+y^2\), \(Q(x,y)=xy\). Then

$$ Q_x-P_y=y-2y=-y. $$

Integrating over the region gives

$$ \iint_D -y\,dA = \int_0^1\int_{y^2}^{y}-y\,dx\,dy = -\int_0^1 y(y-y^2)\,dy = -\int_0^1(y^2-y^3)\,dy = -\left(\frac13-\frac14\right) = -\frac1{12}. $$

The right curve \(x=y\) is traversed upward from \(y=0\) to \(y=1\). Along it, \(P=y+y^2\), \(Q=y^2\), and \(dx=dy\), so its contribution is

$$ \int_0^1\left((y+y^2)+y^2\right)dy = \int_0^1(y+2y^2)\,dy = \frac12+\frac23 = \frac76. $$

The left curve \(x=y^2\) is traversed downward, from \(y=1\) to \(y=0\). Along it, \(P=2y^2\), \(Q=y^3\), and \(dx=2y\,dy\). Its contribution is

$$ \int_1^0\left(2y^2(2y)+y^3\right)dy = \int_1^0 5y^3\,dy = -\frac54. $$

The horizontal edges have zero \(dy\)- and \(dx\)-contributions because they collapse to points. The boundary total is \(\frac76-\frac54=\frac{14}{12}-\frac{15}{12}=-\frac1{12}\), which matches the area integral.

Worked Example: Cancellation Along an Interior Edge

Worked Example: Splitting a Rectangle into Two Pieces

Take \(D=[0,2]\times[0,1]\), split by the interior segment \(x=1\), and use \(P=-y/2\), \(Q=x/2\). Since \(Q_x=1/2\) and \(P_y=-1/2\), the density is \(Q_x-P_y=1\). Each of the two smaller rectangles has area \(1\), so its area integral is \(1\).

On the shared edge \(x=1\), the right side of the left rectangle is traversed upward and contributes \(\int_0^1 (1/2)\,dy=1/2\). The left side of the right rectangle is traversed downward and contributes \(\int_1^0 (1/2)\,dy=-1/2\). Their sum is \(0\).

For a direct check on the outside boundary, the bottom edge contributes \(0\). The right edge \(x=2\), traversed upward, contributes \(\int_0^1 1\,dy=1\). The top edge \(y=1\), traversed from \(x=2\) to \(x=0\), contributes \(\int_2^0(-1/2)\,dx=1\). The left edge has \(Q=0\), so contributes \(0\). The outer boundary total is \(2\), equal to the full area integral \(\iint_D 1\,dA=2\). The two smaller boundary integrals combine to this outer integral because the shared-edge terms cancel.

A Sign Error to Avoid

A frequent mistake is to use the same direction of travel for a graph boundary and for the corresponding endpoint term in the Leibniz rule. For example, take \(Q(x,y)=xy\) on the Type I triangle \(0\le x\le1\), \(0\le y\le x\). Here \(Q_x=y\), and

$$ F(x)=\int_0^x xy\,dy=\frac{x^3}{2}, \qquad F'(x)=\frac{3x^2}{2} = \int_0^x y\,dy+Q(x,x)\cdot1 = \frac{x^2}{2}+x^2. $$

The upper graph is traversed from right to left, so its actual \(Q\,dy\) contribution is \(-\int_0^1x^2\,dx=-1/3\), not \(+1/3\). The right vertical side contributes \(\int_0^1 y\,dy=1/2\). The correct boundary total is therefore \(-1/3+1/2=1/6\), matching \(\int_0^1\int_0^x y\,dy\,dx=1/6\). Using a positive sign for the upper-graph term would instead give \(1/3+1/2=5/6\), which is incorrect. The graph contribution is the negative of the upper-endpoint term in \(F'(x)\).

Why the Extension Matters

The rectangle argument reveals the fundamental mechanism, but many useful planar regions have sloping or curved boundaries. Slicing allows the same one-variable calculus to handle those boundaries without requiring the entire region to have one simple rectangular description. Finite subdivision extends the argument further: it makes local slice descriptions compatible with a global boundary integral.

The key bookkeeping principle is to distinguish external edges from interior edges. External edges survive in the final line integral. Interior edges do not: each is counted once in each direction. This is also why correct orientation is essential at every stage, not just when stating the final theorem.

Check Your Understanding

Use the derivations and examples to answer the following questions.

  1. On a Type I region, why does the upper graph’s \(Q\,dy\) contribution have a negative sign when written as an integral from \(a\) to \(b\)?
  2. For a Type I region, what boundary pieces account for the two terms \(F(b)-F(a)\)?
  3. On a Type II region, why do the left and right side curves contribute opposite endpoint signs to the \(P\,dx\) integral?
  4. When two pieces share an interior edge, why do their line-integral contributions sum to zero?
  5. What regularity and subdivision assumptions are used in this slicing derivation?