Tutorials › Calculus III › Choosing Between Boundary and Area Integrals

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

Choosing Between Boundary and Area Integrals

Learn to choose the more efficient boundary or area integral by checking the region’s geometry and the field’s circulation or flux density.

Advanced 9 min read

What You'll Learn

  • Distinguish circulation integrals from outward-flux integrals.
  • Identify the scalar density used in each form of Green’s theorem.
  • Decide whether a boundary calculation or a double integral is simpler.
  • Compare direct and Green’s theorem calculations on rectangles, disks, and triangles.
  • Check how orientation affects the sign of a line integral.
  • Recognize a common error: using curl when calculating flux.

Two Routes to the Same Quantity

A planar line integral can often be evaluated in two ways. One route follows the boundary directly, parametrizing each segment or curve and integrating along it. The other uses Green’s theorem to replace the boundary integral with a double integral over the region. The theorem does not make every calculation shorter: a simple boundary may be easier to handle than an area integral, while a simple curl or divergence may make the area integral especially efficient.

The useful question is therefore not simply whether Green’s theorem applies. First confirm that it does; then compare the work required by each route. For a positively oriented boundary, the two routes must agree, so either can also check the other.

Definition: Let \(\mathbf{F}(x,y)=(P(x,y),Q(x,y))\). Its circulation around a positively oriented boundary \(C\) is \(\oint_C P\,dx+Q\,dy\). Its outward flux across \(C\) is \(\oint_C \mathbf{F}\cdot\mathbf{n}\,ds\), where \(\mathbf{n}\) is the outward unit normal and \(ds\) is arc length.

The Two Green’s Theorem Formulas

Suppose \(C\) is a positively oriented, simple, piecewise-smooth boundary of a planar region \(D\), and \(P\) and \(Q\) have continuous first partial derivatives on an open set containing \(D\) and its boundary. Positive orientation means that, while traversing \(C\), the region stays on the left. For a simple region with no holes, Green’s theorem gives both of the following formulas:

$$ \oint_C P\,dx+Q\,dy = \iint_D\left(\frac{\partial Q}{\partial x} -\frac{\partial P}{\partial y}\right)\,dA $$
$$ \oint_C \mathbf{F}\cdot\mathbf{n}\,ds = \oint_C P\,dy-Q\,dx = \iint_D\left(\frac{\partial P}{\partial x} +\frac{\partial Q}{\partial y}\right)\,dA $$

The scalar density for circulation is \(Q_x-P_y\); the density for outward flux is \(P_x+Q_y\). The choice between direct and area integration can be considered separately for each quantity. A region whose boundary is easy to parametrize does not guarantee that both integrals are easiest to evaluate directly.

The flux formula’s boundary expression follows from the geometry of a positively oriented curve. If \(\mathbf{r}(t)=(x(t),y(t))\), then the tangent vector is \((x'(t),y'(t))\). Turning that tangent clockwise gives the outward normal multiplied by the speed, \((y'(t),-x'(t))\). Thus the flux contribution is \(P y'-Q x'\), or \(P\,dy-Q\,dx\). This derivation explains why the flux boundary expression differs from the circulation expression.

A Practical Choice

Before calculating, identify the integral you need: circulation or outward flux. Then inspect both sides of the relevant Green’s theorem formula. Ask whether the boundary has a small number of simple pieces, whether one component vanishes along a piece, and whether the curl or divergence density is constant, zero, or otherwise straightforward to integrate over the region.

Feature to inspectIt may favor direct boundary integration when…It may favor Green’s theorem when…
BoundaryThe boundary has few easy-to-parametrize pieces, or the integrand vanishes on most pieces.The boundary has many awkward pieces or complicated parametrizations.
Area densityThe curl or divergence is complicated, or its double integral requires difficult bounds.The density is constant, zero, or simple over a region of known area.
RegionIts boundary description is simpler than its area-integral bounds.Its area and bounds are easy to use.
OrientationA direct parametrization makes the direction of travel clear.The boundary is already positively oriented, or its orientation can be corrected by a sign.

These are practical clues rather than separate theorems. Both methods are valid under Green’s theorem’s hypotheses, and the final value should agree. If the given boundary is oriented clockwise instead, reversing its direction changes the sign of the line integral. The area integral in Green’s theorem is taken with the usual positive orientation, so a clockwise boundary integral is the negative of the corresponding Green’s theorem value.

Worked Example: Circulation Around a Rectangle

Worked Example: Circulation Around a Rectangle

Let \(\mathbf{F}(x,y)=(-y/2,x/2)\), and let \(D=[0,2]\times[0,1]\). Find the circulation around the rectangle in counterclockwise order.

Using Green’s theorem: Here \(P=-y/2\) and \(Q=x/2\). Therefore,

$$ Q_x=\frac12,\qquad P_y=-\frac12,\qquad Q_x-P_y=\frac12-\left(-\frac12\right)=1. $$

The rectangle has width \(2\) and height \(1\), so its area is \(2\). Hence,

$$ \iint_D 1\,dA=1\cdot 2=2. $$

Checking by direct boundary integration: Traverse the four sides counterclockwise.

  • Bottom: \(y=0\), \(x:0\to2\). Here \(P=0\) and \(dy=0\), so the contribution is \(0\).
  • Right: \(x=2\), \(y:0\to1\). Here \(dx=0\) and \(Q=1\), so the contribution is \(\int_0^1 1\,dy=1\).
  • Top: \(y=1\), \(x:2\to0\). Here \(dy=0\) and \(P=-1/2\), so the contribution is \(\int_2^0(-1/2)\,dx=1\).
  • Left: \(x=0\), \(y:1\to0\). Here \(dx=0\) and \(Q=0\), so the contribution is \(0\).

The total is \(0+1+1+0=2\), agreeing with Green’s theorem. The area method requires only a constant-density integral, while the boundary method is also short because each side is simple.

Worked Example: Outward Flux Across a Disk

Worked Example: Outward Flux Across a Disk

Let \(\mathbf{F}(x,y)=(x,y)\), and let \(D\) be the disk \(x^2+y^2\leq4\). Find the outward flux.

Using Green’s theorem: With \(P=x\) and \(Q=y\), the divergence density is

$$ P_x+Q_y=1+1=2. $$

The disk has radius \(2\), so its area is \(\pi(2)^2=4\pi\). Therefore,

$$ \iint_D 2\,dA=2(4\pi)=8\pi. $$

Checking directly: Parametrize the circle counterclockwise by \(\mathbf{r}(\theta)=(2\cos\theta,2\sin\theta)\), for \(0\leq\theta\leq2\pi\). The outward normal multiplied by arc length is \((2\cos\theta,2\sin\theta)\,d\theta\). On the boundary, \(\mathbf{F}=(2\cos\theta,2\sin\theta)\). Thus,

$$ \mathbf{F}\cdot\mathbf{n}\,ds = \bigl((2\cos\theta)^2+(2\sin\theta)^2\bigr)\,d\theta =4\,d\theta. $$

Consequently, the flux is \(\int_0^{2\pi}4\,d\theta=8\pi\), in agreement with the area calculation. Here the area route is especially concise: the divergence is constant, so only the disk’s area is needed.

Worked Example: When the Boundary Has the Advantage

Worked Example: When the Boundary Has the Advantage

Let \(\mathbf{F}(x,y)=(0,x^4)\). Find its circulation around the counterclockwise triangle with vertices \((0,0)\), \((1,0)\), and \((0,1)\).

Direct boundary calculation: Since \(P=0\), the circulation integrand is \(x^4\,dy\). On the bottom edge, \(dy=0\), so the contribution is \(0\). On the sloping edge, use \(x=1-t,\ y=t\), with \(0\leq t\leq1\). Then \(dy=dt\), and its contribution is

$$ \int_0^1(1-t)^4\,dt = \left[-\frac{(1-t)^5}{5}\right]_0^1 =\frac15. $$

On the left edge, \(x=0\), so \(x^4\,dy=0\). The total circulation is therefore \(1/5\).

Checking with Green’s theorem: The circulation density is \(Q_x-P_y=4x^3-0=4x^3\). The triangle has bounds \(0\leq x\leq1\) and \(0\leq y\leq1-x\). Hence,

$$ \begin{aligned} \iint_D 4x^3\,dA &=\int_0^1\int_0^{1-x}4x^3\,dy\,dx\\ &=\int_0^1 4x^3(1-x)\,dx\\ &=4\left[\frac{x^4}{4}-\frac{x^5}{5}\right]_0^1\\ &=4\left(\frac14-\frac15\right) =\frac15. \end{aligned} $$

Both calculations are manageable, but the direct calculation reduces to a single nonzero edge integral. The area route requires setting and evaluating a double integral. This is a case where inspecting the boundary first reveals a small simplification.

Why the Two Methods Agree

Green’s theorem is the reason these are alternative routes rather than unrelated techniques. For circulation, it states that the boundary integral of \(P\,dx+Q\,dy\) equals the area integral of \(Q_x-P_y\). For outward flux, it states that the boundary integral of \(P\,dy-Q\,dx\) equals the area integral of \(P_x+Q_y\). Thus, once the hypotheses hold and the same orientation is used, calculating either side gives the same quantity.

The examples show why it is worth comparing them before doing a long calculation. The rectangle’s circulation density was constant, the disk’s divergence density was constant, and the triangle’s direct boundary integral vanished on two of its three edges. Each feature made one route concise without changing the answer.

A Common Mistake: Using Curl for Flux

Circulation and flux use different densities. A common error is to use the circulation density \(Q_x-P_y\) when the quantity requested is outward flux. For the disk example, this incorrect substitution would give

$$ Q_x-P_y=0-0=0, \qquad \iint_D 0\,dA=0. $$

That is the circulation density for \(\mathbf{F}=(x,y)\), not its divergence. The correct flux density is

$$ P_x+Q_y=1+1=2, \qquad \iint_D 2\,dA=8\pi. $$

The direct boundary calculation also gives \(8\pi\), confirming the corrected flux. Before evaluating an integral, label the target quantity and select the matching formula: \(Q_x-P_y\) for circulation, and \(P_x+Q_y\) for outward flux.

Choosing Efficiently and Checking the Result

A reliable choice involves a short comparison, not guesswork. First check that the field has the required continuous partial derivatives and that the region and boundary meet Green’s theorem’s conditions. Next identify the correct density. Then estimate the effort on both sides: count boundary pieces and consider their parametrizations, and compare these with the density and area bounds. Use the route with simpler expressions and fewer computations.

1
Identify the quantity.
Choose the circulation formula or the outward-flux formula before calculating.
2
Check the hypotheses and orientation.
Confirm that Green’s theorem applies. Determine whether the boundary is positively oriented; reverse the sign if the requested traversal is clockwise.
3
Compare the two calculations.
Inspect both the boundary pieces and the relevant area density and bounds. Choose the route that is simpler for this particular field and region.
4
Check the answer.
When practical, evaluate the other route as a verification. If the results disagree, recheck the formula, orientation, bounds, and signs.

Agreement between two methods is a useful check, but it does not replace verifying each setup. Both calculations can share the same sign or orientation error. In particular, confirm that the boundary direction and the outward-flux convention match the formulas being used.

Check Your Understanding

For each question, identify the relevant formula or explain which method appears more efficient.

  1. What scalar density appears in Green’s theorem for circulation?
  2. What scalar density appears in Green’s theorem for outward flux?
  3. If the circulation integrand vanishes on two edges of a region, how might that affect your choice of method?
  4. For a counterclockwise boundary, what expression in \(P\), \(Q\), \(dx\), and \(dy\) represents outward flux?
  5. What sign change is needed if a positively oriented boundary is traversed clockwise instead?