01 / 21

Line Integrals via
Green's Theorem

Transform difficult line integrals around closed curves into simpler double integrals over the enclosed region.

Calculus 3

What Is a Line Integral?

A line integral measures the accumulation of a vector field along a curve. Given a vector field \(\mathbf{F} = \langle P, Q \rangle\) and a curve \(C\), the line integral is:

Think of it as the total work done by the field \(\mathbf{F}\) as a particle travels along \(C\). When \(C\) is a closed curve, we write the integral with \(\oint\).

Closed Curves and Orientation

D Positive orientation = counterclockwise C

Green's Theorem requires positive orientation: the curve \(C\) is traversed counterclockwise so that the enclosed region \(D\) stays to the left.

Why Does Green's Theorem Matter?

Simplifies Computation
Converts a hard line integral along multiple curve segments into one double integral over a region.
Connects Two Worlds
Links circulation around a boundary to the curl of the field across the enclosed area.
Gateway Theorem
It is the 2D special case of Stokes' Theorem, bridging Calc 3 to deeper results.

Green's Theorem: Formal Statement

where \(C\) is a positively oriented, simple, closed curve bounding region \(D\), and \(P\) and \(Q\) have continuous first partial derivatives on an open region containing \(D\).

Visualizing the Connection

Line Integral C
\(\oint_C P\,dx + Q\,dy\)
= Double Integral D
\(\iint_D \left(\frac{\partial Q}{\partial x} - \frac{\partial P}{\partial y}\right)\,dA\)

The integral around the boundary equals the integral over the interior. This is the heart of Green's Theorem.

Line Integral vs. Double Integral

Direct Line Integral Via Green's Theorem
Setup Parametrize each segment of \(C\) Compute partial derivatives of \(P, Q\)
Difficulty Multiple integrals (one per segment) Usually one double integral
Best when \(C\) has few, simple segments \(C\) is complex but \(D\) is simple
Requires Parametrization of \(C\) Closed curve, continuous partials

How to Apply Green's Theorem

1
Verify conditions: \(C\) is closed, simple, positively oriented. \(P\) and \(Q\) have continuous partials on \(D\).
2
Identify \(P\) and \(Q\): From \(\oint_C P\,dx + Q\,dy\), read off \(P\) (the \(dx\) part) and \(Q\) (the \(dy\) part).
3
Compute the integrand: Find \(\frac{\partial Q}{\partial x} - \frac{\partial P}{\partial y}\).
4
Set up the double integral: Determine bounds for region \(D\) and evaluate \(\iint_D \left(\frac{\partial Q}{\partial x} - \frac{\partial P}{\partial y}\right) dA\).
5
Check orientation: If \(C\) was clockwise, negate the result.

Example 1: Square Region

Evaluate \(\oint_C (x^2 y)\,dx + (x y^2)\,dy\) where \(C\) is the square with vertices \((0,0)\), \((1,0)\), \((1,1)\), \((0,1)\) traversed counterclockwise.

(0,0) (1,0) (1,1) (0,1) D

Example 1: Solution

1
Identify: \(P = x^2 y\), \(Q = x y^2\).
2
Partial derivatives: \(\frac{\partial Q}{\partial x} = y^2\), \(\frac{\partial P}{\partial y} = x^2\).
3
Integrand: \(\frac{\partial Q}{\partial x} - \frac{\partial P}{\partial y} = y^2 - x^2\).
4
Evaluate: \(\displaystyle\int_0^1\int_0^1 (y^2 - x^2)\,dx\,dy = \int_0^1\!\left[y^2 x - \frac{x^3}{3}\right]_0^1 dy = \int_0^1\left(y^2 - \tfrac{1}{3}\right)dy\).

Example 2: Circular Region

Evaluate \(\oint_C (3y - e^{\sin x})\,dx + (7x + \sqrt{y^4+1})\,dy\) where \(C\) is the circle \(x^2 + y^2 = 9\), counterclockwise.

x y D
\(r=3\)

Example 2: Solution

1
Identify: \(P = 3y - e^{\sin x}\), \(Q = 7x + \sqrt{y^4+1}\).
2
Compute: \(\frac{\partial Q}{\partial x} = 7\), \(\frac{\partial P}{\partial y} = 3\).
3
Integrand: \(7 - 3 = 4\). The ugly functions vanish!
4
Evaluate: \(\iint_D 4\,dA = 4 \cdot \text{Area}(D) = 4 \cdot \pi(3)^2\).

Example 3: Triangular Region

Evaluate \(\oint_C (xy)\,dx + (x^2 + x)\,dy\) where \(C\) is the triangle with vertices \((0,0)\), \((2,0)\), \((0,2)\), counterclockwise.

x y (0,0) (2,0) (0,2) D
\(x+y=2\)

Example 3: Solution

1
Identify: \(P = xy\), \(Q = x^2 + x\).
2
Compute: \(\frac{\partial Q}{\partial x} = 2x + 1\), \(\frac{\partial P}{\partial y} = x\). So the integrand is \(2x + 1 - x = x + 1\).
3
Set bounds: For the triangle, \(0 \leq x \leq 2\) and \(0 \leq y \leq 2 - x\).

Bonus: Computing Area via Green's

By choosing \(P\) and \(Q\) cleverly, Green's Theorem gives us area formulas. If \(\frac{\partial Q}{\partial x} - \frac{\partial P}{\partial y} = 1\), then:

Three common choices that give \(\frac{\partial Q}{\partial x} - \frac{\partial P}{\partial y} = 1\):

Choice 1
\(P = 0,\; Q = x\). Area \(= \oint_C x\,dy\)
Choice 2
\(P = -y,\; Q = 0\). Area \(= -\oint_C y\,dx\)
Choice 3
\(P = -\tfrac{y}{2},\; Q = \tfrac{x}{2}\). Area \(= \frac{1}{2}\oint_C (x\,dy - y\,dx)\)

Common Mistakes

✕ Wrong Subtraction Order
Computing \(\frac{\partial P}{\partial y} - \frac{\partial Q}{\partial x}\) instead of \(\frac{\partial Q}{\partial x} - \frac{\partial P}{\partial y}\). This flips the sign.
✕ Ignoring Orientation
Applying the theorem to a clockwise curve without negating. Green's Theorem assumes counterclockwise.
✕ Non-Closed Curve
Using Green's Theorem on an open path. It only works when \(C\) is a closed curve bounding a region.

Question 1 of 5

Given \(\oint_C P\,dx + Q\,dy\), Green's Theorem converts this into which type of integral?

Question 2 of 5

If \(P = y^2\) and \(Q = x^2\), what is the integrand \(\frac{\partial Q}{\partial x} - \frac{\partial P}{\partial y}\)?

Question 3 of 5

Evaluate \(\oint_C (-y)\,dx + (x)\,dy\) where \(C\) is the unit circle \(x^2 + y^2 = 1\), counterclockwise.

Question 4 of 5

Green's Theorem requires which of the following conditions on the curve \(C\)?

Question 5 of 5

If \(C\) is traversed clockwise and you apply Green's Theorem without adjusting, your answer will be: