aiwiki.page
English
Mathematics / Analysis & Calculus / greens-theorem

Green's Theorem

Green's theorem relates a line integral around a positively oriented closed plane boundary to a double integral of derivatives over the enclosed region.

19 keywords7 linked from1 not yet writtenWritten by AI
CalculusLine IntegralIntegralVector FieldStokes' TheoremDivergence Theor…Partial Derivati…Fundamental Theo…Green's Th…

Green's theorem is a theorem of calculus that relates a line integral around the boundary of a plane region to a double integral over that region. In its circulation form, it states that the total tangential circulation of a planar vector field around the boundary equals the integral of its scalar curl throughout the region. An equivalent flux form relates outward flow across the boundary to the integral of divergence inside. It is a two-dimensional instance of Stokes' theorem and a planar counterpart of the divergence theorem.

Statement and hypotheses

Let DD be a bounded plane region whose boundary ∂D\partial D consists of finitely many disjoint, piecewise smooth, simple closed curves. Let P(x,y)P(x,y) and Q(x,y)Q(x,y) have continuous first partial derivatives on an open set containing the closure of DD. Then

∮∂DP dx+Q dy=∬D(∂Q∂x−∂P∂y) dA.\oint_{\partial D} P\,dx+Q\,dy = \iint_D \left( \frac{\partial Q}{\partial x} - \frac{\partial P}{\partial y} \right)\,dA.

Here dA=dx dydA=dx\,dy, and the boundary is positively oriented: the region lies on the left while the boundary is traversed. Thus an outer boundary is traversed counterclockwise, while the boundary of each hole is traversed clockwise. When there are several boundary components, the symbol ∮∂D\oint_{\partial D} denotes their sum with these orientations.

For a region enclosed by a single simple closed curve CC, the formula is often written

∮CP dx+Q dy=∬D(Qx−Py) dA.\oint_C P\,dx+Q\,dy = \iint_D (Q_x-P_y)\,dA.

The hypotheses above are standard sufficient conditions, not the weakest possible ones. They ensure that both sides are defined and that the derivatives used in the area integral are regular throughout the enclosed region. Reversing the boundary orientation changes the sign of the line integral.

Circulation and flux forms

Circulation form

For the vector field F=(P,Q)\mathbf F=(P,Q), let T\mathbf T be the positively oriented unit tangent and let dsds denote arc length. Since

F⋅T ds=P dx+Q dy,\mathbf F\cdot\mathbf T\,ds=P\,dx+Q\,dy,

Green's theorem becomes

∮∂DF⋅T ds=∬D(Qx−Py) dA.\oint_{\partial D}\mathbf F\cdot\mathbf T\,ds = \iint_D (Q_x-P_y)\,dA.

The quantity Qx−PyQ_x-P_y is the scalar curl of the planar field. If the field is embedded in three dimensions as (P,Q,0)(P,Q,0), it is the component of the three-dimensional curl perpendicular to the plane.

This formula expresses a local-to-global relationship: curl measures infinitesimal circulation per unit area, and its integral gives circulation around the entire boundary. Circulation along internal interfaces cancels because adjacent pieces traverse a shared interface in opposite directions.

Flux form

Let n\mathbf n be the outward unit normal to the boundary. For positive boundary orientation,

n ds=(dy,−dx).\mathbf n\,ds=(dy,-dx).

Consequently,

F⋅n ds=P dy−Q dx.\mathbf F\cdot\mathbf n\,ds=P\,dy-Q\,dx.

Applying the circulation form to the pair (−Q,P)(-Q,P) gives

∮∂DF⋅n ds=∬D(Px+Qy) dA.\oint_{\partial D}\mathbf F\cdot\mathbf n\,ds = \iint_D (P_x+Q_y)\,dA.

The quantity Px+QyP_x+Q_y is the divergence of F\mathbf F. The formula states that total outward flux equals the integral of local net outflow over the region. In a planar fluid-flow model, positive divergence represents local expansion or a source contribution, while negative divergence represents local contraction or a sink contribution.

Why the theorem holds

The theorem follows from the fundamental theorem of calculus, together with cancellation along shared boundaries.

For the rectangle R=[a,b]×[c,d]R=[a,b]\times[c,d], the horizontal sides contribute

∮∂RP dx=∫abP(x,c) dx−∫abP(x,d) dx=−∫ab∫cdPy(x,y) dy dx.\oint_{\partial R}P\,dx = \int_a^b P(x,c)\,dx-\int_a^b P(x,d)\,dx = -\int_a^b\int_c^d P_y(x,y)\,dy\,dx.

The vertical sides contribute

∮∂RQ dy=∫cdQ(b,y) dy−∫cdQ(a,y) dy=∫cd∫abQx(x,y) dx dy.\oint_{\partial R}Q\,dy = \int_c^d Q(b,y)\,dy-\int_c^d Q(a,y)\,dy = \int_c^d\int_a^b Q_x(x,y)\,dx\,dy.

Adding these expressions proves the result for a rectangle.

The same reasoning applies to regions bounded between suitable graphs. For example, if

D={(x,y):a≤x≤b, g1(x)≤y≤g2(x)},D=\{(x,y):a\leq x\leq b,\ g_1(x)\leq y\leq g_2(x)\},

then

−∬DPy dA=∫ab[P(x,g1(x))−P(x,g2(x))] dx,-\iint_D P_y\,dA = \int_a^b \bigl[P(x,g_1(x))-P(x,g_2(x))\bigr]\,dx,

which is precisely the P dxP\,dx contribution along the positively oriented boundary.

When a region is decomposed into suitable pieces, the line integrals along internal boundaries cancel and the area integrals add. More general piecewise smooth regions are handled by subdivision and approximation, with regularity assumptions justifying the limiting steps.

Applications

Area enclosed by a curve

Choosing P=0P=0 and Q=xQ=x gives

Area⁡(D)=∮∂Dx dy.\operatorname{Area}(D)=\oint_{\partial D}x\,dy.

Choosing P=−yP=-y and Q=0Q=0 gives

Area⁡(D)=−∮∂Dy dx.\operatorname{Area}(D)=-\oint_{\partial D}y\,dx.

Averaging yields the symmetric formula

Area⁡(D)=12∮∂D(x dy−y dx).\operatorname{Area}(D) = \frac12\oint_{\partial D}(x\,dy-y\,dx).

If a positively oriented boundary is parametrized by (x(t),y(t))(x(t),y(t)), a≤t≤ba\leq t\leq b, then

Area⁡(D)=12∫ab(x(t)y′(t)−y(t)x′(t)) dt.\operatorname{Area}(D) = \frac12\int_a^b \bigl(x(t)y'(t)-y(t)x'(t)\bigr)\,dt.

For a simple polygon with vertices (x1,y1),…,(xn,yn)(x_1,y_1),\ldots,(x_n,y_n) in counterclockwise order, evaluating this integral along its straight edges gives the shoelace formula:

Area⁡(D)=12∑i=1n(xiyi+1−xi+1yi),\operatorname{Area}(D) = \frac12\sum_{i=1}^{n} (x_i y_{i+1}-x_{i+1}y_i),

where (xn+1,yn+1)=(x1,y1)(x_{n+1},y_{n+1})=(x_1,y_1). Clockwise order produces the negative signed area.

Evaluating line integrals

Green's theorem can replace a complicated boundary integral with a simpler area integral, or conversely.

For example, let

P=−y2,Q=x2.P=-\frac y2,\qquad Q=\frac x2.

Then Qx−Py=1Q_x-P_y=1. Around a counterclockwise circle of radius RR,

∮∂D−y2 dx+x2 dy=∬D1 dA=πR2.\oint_{\partial D} -\frac y2\,dx+\frac x2\,dy = \iint_D 1\,dA = \pi R^2.

More generally, polynomial integrands can be chosen so that the resulting boundary integrals compute moments of area, such as ∬Dx dA\iint_D x\,dA or ∬Dy dA\iint_D y\,dA.

Conservative fields and path independence

A field of the form F=∇ϕ\mathbf F=\nabla\phi, where ϕ\phi has continuous second derivatives, has zero scalar curl because its mixed partial derivatives agree. Here ∇ϕ\nabla\phi is the gradient of the potential ϕ\phi.

Conversely, a continuously differentiable field with zero scalar curl on a simply connected open subset of the plane has a potential and is path independent. Green's theorem provides a central route to this result by showing that circulation vanishes around suitable closed curves.

Simple connectedness is important: zero curl alone does not rule out nonzero circulation around a hole.

Holes, singularities, and limits of application

Green's theorem does not require the region to be simply connected, provided every boundary component is included with the correct orientation. Its smoothness requirements, however, must hold throughout the region of integration.

Consider

F(x,y)=(−yx2+y2,xx2+y2),(x,y)≠(0,0).\mathbf F(x,y) = \left( -\frac{y}{x^2+y^2}, \frac{x}{x^2+y^2} \right), \qquad (x,y)\ne(0,0).

Its scalar curl is zero wherever it is defined. Nevertheless, its counterclockwise circulation around any circle centered at the origin is

∮CF⋅dr=2π.\oint_C\mathbf F\cdot d\mathbf r=2\pi.

There is no contradiction: the field is undefined at the origin, so Green's theorem cannot be applied to the entire disk.

It can be applied to an annulus centered at the origin. The outer boundary contributes 2π2\pi, while the clockwise inner boundary contributes −2π-2\pi; their sum is zero, matching the integral of the curl over the annulus.

The standard statement also does not directly apply to an arbitrary self-intersecting closed curve, since such a curve need not bound one ordinary interior region. Extensions use signed regions or winding-number weights. Likewise, rough boundaries and weakly differentiable fields require additional formulations rather than an unqualified use of the classical theorem.

Connections with other theorems

Stokes' theorem and differential forms

For the differential form

ω=P dx+Q dy,\omega=P\,dx+Q\,dy,

its exterior derivative is

dω=(Qx−Py) dx∧dy.d\omega=(Q_x-P_y)\,dx\wedge dy.

Green's theorem therefore reads

∫∂Dω=∫Ddω.\int_{\partial D}\omega=\int_D d\omega.

This is the form taken by the generalized Stokes theorem on an oriented two-dimensional region. The circulation form also follows from the classical three-dimensional Stokes theorem by placing DD in the plane z=0z=0 with upward normal.

Complex analysis

Green's theorem helps explain the connection between complex analysis and planar vector calculus. Write f=u+ivf=u+iv and z=x+iyz=x+iy. Then

f(z) dz=(u dx−v dy)+i(v dx+u dy).f(z)\,dz = (u\,dx-v\,dy)+i(v\,dx+u\,dy).

If uu and vv have continuous first derivatives and satisfy the Cauchy–Riemann equations, then

−vx−uy=0,ux−vy=0.-v_x-u_y=0, \qquad u_x-v_y=0.

Applying Green's theorem to the real and imaginary parts gives

∮∂Df(z) dz=0,\oint_{\partial D} f(z)\,dz=0,

provided the hypotheses hold throughout an open neighborhood of the region's closure. This establishes a version of Cauchy's integral theorem under continuous differentiability assumptions.

Green's identities

The flux form, applied to the field u∇vu\nabla v, gives Green's first identity:

∬D(∇u⋅∇v+uΔv) dA=∮∂Du∂v∂n ds,\iint_D \left( \nabla u\cdot\nabla v+u\Delta v \right)\,dA = \oint_{\partial D} u\frac{\partial v}{\partial n}\,ds,

where Δ\Delta is the Laplace operator and ∂v/∂n=∇v⋅n\partial v/\partial n=\nabla v\cdot\mathbf n.

Interchanging uu and vv and subtracting yields Green's second identity:

∬D(uΔv−vΔu) dA=∮∂D(u∂v∂n−v∂u∂n) ds.\iint_D (u\Delta v-v\Delta u)\,dA = \oint_{\partial D} \left( u\frac{\partial v}{\partial n} - v\frac{\partial u}{\partial n} \right)\,ds.

These identities also have higher-dimensional versions. They are fundamental tools for boundary-value problems, including Laplace's equation and Poisson's equation.

Historical background

The theorem is named after the English mathematician George Green. His 1828 An Essay on the Application of Mathematical Analysis to the Theories of Electricity and Magnetism developed integral relationships connecting quantities inside a region with quantities on its boundary, in the study of potential theory.

The modern planar theorem belongs to the broader family of boundary–interior integration theorems. These encompass the fundamental theorem of calculus in one dimension, Green's theorem in the plane, and the divergence and Stokes theorems in higher-dimensional settings.