- Home
- >
- Green’s theorem – Theorem, Applications, and Examples

# Green’s theorem – Theorem, Applications, and Examples

Greenâ€™s Theorem is one of the most important theorems that youâ€™ll learn in vector calculus.Â This theorem helps us understand how line and surface integrals relate to each other. When a line integral is challenging to evaluate, Greenâ€™s theorem allows us to rewrite to a form that is easier to evaluate.

*Greenâ€™s Theorem allows us to connect our understanding of line integrals and integration of multivariable functions. Through Greenâ€™s theorem, we can rewrite line integrals in terms of double integrals.*

Our discussion will cover the fundamentals of Greenâ€™s theorem â€“ from its definition to its proof. Weâ€™ll also cover the general form of Greenâ€™s theorem and its many applications. Before we proceed, make sure that you have a strong grasp on the following topics:

- Knowing how to evaluate iterated integrals.
- Understanding the second part of the fundamental theorem of calculus.
- Being familiar with the process of evaluating line integrals and knowing how to apply the fundamental theorem for the line integral.

For now, letâ€™s break down the important components of Greenâ€™s theorem and understand the theoremâ€™s definition.

**What Is Greenâ€™s Theorem?**

Greenâ€™s theorem allows us to integrate regions that are formed by a combination of a line and a plane. It allows us to find the relationship between the line integral and double integral â€“ this is why Greenâ€™s theorem is one of the four core concepts of the fundamental theorem of Calculus.

Before we discuss the formula for Greenâ€™s theorem, letâ€™s go first to take a look at the curve shown above. The graph above highlights a closed curve defined by $C$ and the enclosed region is labeled as the region, $D$. The curve, $C$, is going around in a counterclockwise direction. Throughout our discussion, for consistency, we consider **the curve positively oriented when it follows a counterclockwise direction**. This also means that when the **path of the curve is in a clockwise direction is negatively oriented**. The curve shown is also simple because it goes through the path with no loops while the region is considered simply connected because it encloses no holes.

It is important that we know these terms and some properties of curves before establishing Greenâ€™s theorem.

**Greenâ€™s Theorem Formula**

Suppose that $C$ is a simple, piecewise smooth, and positively oriented curve lying in a plane, $D$, enclosed by the curve, $C$. When $M$ and $N$ are two functions defined by $(x, y)$ within the enclosed region, $D$, andÂ the two functions have continuous partial derivatives, Greenâ€™s theorem states that:

\begin{aligned}\oint_{C} \textbf{F} \cdot d\textbf{r}&= \oint_{C} M \phantom{x}dx + N \phantom{x}dy\\ &= \int \int_{D} \left(\dfrac{\partial N}{\partial x} -\dfrac{\partial M}{\partial y}\right ) \phantom{x}dx \phantom{x}dyÂ \end{aligned}

Keep in mind that the symbol, $\oint_{C}$, represents the integral of the function over the curve, $C$. We use this symbol when we want to highlight that the curve, $C$, is a closed curve in positive orientation. When you also see this symbol, this means that the curve meets the conditions of Greenâ€™s theorem.

Letâ€™s now break down the formula representing the Greenâ€™s theorem. If we want to find the area of the simple curve that has a line integral,

\begin{aligned} \oint M \phantom{x}dx + N \phantom{x}dy,\end{aligned}

we can rewrite the line integral as a double integral using the partial derivatives of $M$ and $N$:

\begin{aligned} \int \int_{D} \left(\dfrac{\partial N}{\partial x} -\dfrac{\partial M}{\partial y}\right ) \phantom{x}dA \end{aligned}

Now that weâ€™ve established Greenâ€™s theorem, itâ€™s time that we know how to prove and apply the formula for Greenâ€™s theorem. Letâ€™s start with its proof and then the next two sections will cover its application.

**Greenâ€™s Theorem Proof**

The proof of Greenâ€™s theorem has three phases: 1) proving that it applies to curves where the limits are from $x = a$ to $x=b$, 2) proving it for curves bounded by $y=c$ and $y = d$, and 3) accounting for curves made up of that meet these two forms.

These are examples of the first two regions we need to account for when proving Greenâ€™s theorem. The first region shows a curve a enclosing it defined by $y= f(x)$ and $y = g(x)$ and bounded from $x =a$ to $x =b$. At the straight vertical edges, we can conclude that $dx = 0$. We can write the line integral for the region as shown below.

\begin{aligned} \oint_{C} M(x, y)\phantom{x} dx &= \int_{a}^{b} M(x, f(x)) \phantom{x}dx + \int_{b}^{a} M(x, g(x)) \phantom{x}dx \\&= \int_{a}^{b} [M(x, f(x)) â€“ M(x, g(x))]\phantom{x} dx\end{aligned}

Letâ€™s now write the double integral to show how we can relate the line and double integrals of the region.

\begin{aligned} \int \int_{D} M_y \phantom{x} dA &= \int_{a}^{b} \int_{f(x)}^{g(x)} M_y(x, y) \phantom{x}dydx\\&= \int_{a}^{b} [M(x, g(x)) â€“ M(x,f(x))]\phantom{x} dx\\&= -\oint_{C} M(x, y)\phantom{x}dx \end{aligned}

From this, weâ€™ve confirmed the first phase: showing that $\oint M(x, y)\ phantom{x}dx = – \int \int_{D} M_y \phantom{x}dA$. Apply a similar approach to work on the second phase.

\begin{aligned}\oint_{C} N(x, y)\phantom{x} dy &= \int_{d}^{c} N(m(y), y) \phantom{x}dy +\int_{c}^{d} N(n(y), y) \phantom{x}dy \\&= \int_{c}^{d} [N(n(y), y) – N(m(y), y)]\phantom{x} dy\\&= \int_{c}^{d} \int_{m(y)}^{n(y)} N_x(x, y) \phantom{x} dxdy\\&= \int\int_{D} N_x \phantom{x}dA\end{aligned}

Now, letâ€™s move on to the third phase: combining these two phases to account for regions defined by a combination of these curve types.

\begin{aligned}\oint_{C} M(x,y) \phantom{x}dx + N(x, y)\phantom{x} dy &= \int\int_{D} (N_x – M_y) \phantom{x}dA\\&= \int\int_{D} \left(\dfrac{\partial N}{\partial x}- \dfrac{\partial M}{\partial y}\right) \phantom{x}dA\end{aligned}

Even when we work with regions enclosed by several curves, the theorem still applies since weâ€™ll simply combine all curves of each type. This concludes our proof for Greenâ€™s theorem. Itâ€™s time that we learn how to apply the formula properly.

**How To Use Greenâ€™s Theorem?**

We can use Greenâ€™s theorem by taking the partial derivatives of the two or more curves that define the enclosed region. Go through this guideline to help you apply Greenâ€™s theorem formula:

- Identify the components of the vector fields: $M(x, y)$ and $N(x, y)$.
- Confirm that the curve, $C$, satisfies the conditions needed for us to apply Greenâ€™s theorem.
- Find expressions for $\dfrac{\partial M}{\partial y}$ and $\dfrac{\partial N}{\partial x}$ then take their difference: $\left(\dfrac{\partial N}{\partial x} – \dfrac{\partial M}{\partial y}\right)$.
- Assign appropriate limits of integration then evaluate the double integral $\int \int_{D} \left(\dfrac{\partial N}{\partial x} – \dfrac{\partial M}{\partial y}\right) \phantom{x}dA$.

Letâ€™s try to calculate the line integral, $\oint_{C} xy^2 \phantom{x}dx + (y â€“ 4) \phantom{x}dy$, where $C$ is defined the rectangle with the following vertices: $(1, -1)$, $(4, -1)$, $(4, 2)$, and $(1, 2)$ and the rectangle is positively oriented.

Hereâ€™s the graph of the curve, $C$, lying on the vector field, $\textbf{F}(x, y) = <M(x, y), N(x, y)> = <x^2y, y â€“ 4>$. This means that $M(x, y) = x^2y$ and $N(x, y) = y â€“ 4$.

We can also confirm that $C$ is a simple, smooth, and closed plane. Since itâ€™s also given that it is oriented in the counterclockwise direction, we have shown that we can apply the Greenâ€™s theorem to evaluate the line integral. Letâ€™s now find the partial derivative of $M(x, y)$ with respect to $y$ and the partial derivative of $N(x,y )$ with respect to $x$.

\begin{aligned}\boldsymbol{\dfrac{\partial N}{\partial x}}\end{aligned} | \begin{aligned}\boldsymbol{\dfrac{\partial M}{\partial y}}\end{aligned} |

\begin{aligned}\dfrac{\partial N}{\partial x} &= \dfrac{\partial }{\partial x} (y – 4)\\&= 0\end{aligned} | \begin{aligned}\dfrac{\partial M}{\partial y} &= \dfrac{\partial }{\partial y} x^2y\\&= x^2\end{aligned} |

Using these expressions, we have $\dfrac{\partial N}{\partial x} – \dfrac{\partial M}{\partial y} = -x^2$. Letâ€™s now use the Greenâ€™s theorem to evaluate $\oint_{C} \textbf{F} \cdot d\textbf{r}$, where the limits of integration for $x$ is $[1, 4]$ while for $y$, we have $[-1, 2]$.

\begin{aligned}\oint_{C} \textbf{F} \cdot d\textbf{r}&= \int \int_{D} \left(\dfrac{\partial N}{\partial x} -\dfrac{\partial M}{\partial y}\right ) \phantom{x}dx \phantom{x}dy\\&= \int_{-1}^{2} \int_{1}^{4} (-x^2) \phantom{x} dxdy\\&= \int_{-1}^{2}\left[-\dfrac{x^3}{3} \right ]_{1}^{4} \phantom{x}dy\\&= \int_{-1}^{2} -21\phantom{x}dy\\&= [-21y]_{-1}^{2}\\&= -21(2- – 1) \\&= -63 \end{aligned}

This shows how we can evaluate line integrals using Greenâ€™s theorem. Noticed how we didnâ€™t have to parametrize the vector field first? This reduces the time spent to evaluate the line integral â€“ especially when they satisfy the conditions for Greenâ€™s theorem.

Now that weâ€™ve shown you how to utilize it, itâ€™s time for us to explore the times when Greenâ€™s theorem is the most useful.

**When To Use Greenâ€™s Theorem?**

We can use Greenâ€™s theorem when weâ€™re given complex expressions for the curves of complex line integrals. Â Here are some more instances when Greenâ€™s theorem is extremely helpful:

- They come in handy when we have to break down the line integral into line integrals with shorter paths.
- We can use Greenâ€™s theorem when evaluating line integrals of the form, $\oint M(x, y) \phantom{x}dx + N(x, y) \phantom{x}dy$, on a vector field function.
- This theorem is also helpful when we want to calculate the area of conics using a line integral.
- We can apply Greenâ€™s theorem to calculate the amount of work done on a force field.
- We can also calculate flux and water flow using Greenâ€™s theorem.

Hereâ€™s an important reminder though: review if the curve, $C$, satisfies the

For example, we can use Greenâ€™s theorem if we want to calculate the work done on a particle if the force field is equal to $\textbf{F}(x, y) = <y – \cos x, e^y â€“ 2x>$. Suppose that the particle travels around the curve represented by the equation, $x^2 + y^2 = 9$, in a counterclockwise direction. The particle starts and ends at the point, $(3, 0)$.

The graph above illustrates the motion of the particle on the force field. Since the curve, $C$, is a smooth and closed circle that is positively oriented, we can apply the Greenâ€™s theorem to calculate the work done on the particle.

\begin{aligned}\text{Work} &= \oint_{C} \textbf{F} \cdot d\textbf{r}\end{aligned}

Weâ€™ve learned how to calculate work using the fundamental theorem for line integral, so letâ€™s show you how we can calculate work done when the path is a circular curve. We have $\textbf{F}(x, y) = <y – \cos x, e^y â€“ 2x>$, so we can rewrite the line integral representing work as shown below.

\begin{aligned}\text{Work} &= \oint M(x, y) \phantom{x}dx + N(x, y) \phantom{x}dy\\&= \oint (y – \cos x) \phantom{x}dx + (e^y – 2x) \phantom{x}dy\end{aligned}

Letâ€™s now take the partial derivatives of $

\begin{aligned}\boldsymbol{\dfrac{\partial N}{\partial x}}\end{aligned} | \begin{aligned}\boldsymbol{\dfrac{\partial M}{\partial y}}\end{aligned} |

\begin{aligned}\dfrac{\partial N}{\partial x} &= \dfrac{\partial }{\partial x} (e^y â€“ 2x)\\&= -2\end{aligned} | \begin{aligned}\dfrac{\partial M}{\partial y} &= \dfrac{\partial }{\partial y} (y – \cos x)\\&= 1\end{aligned} |

This means that $\dfrac{\partial N}{\partial x} – \dfrac{\partial M}{\partial y}$ is equal to $-3$. We just need to evaluate the double integral of $-3$ to find the total amount of work done on the particle â€“ this is all thanks to Greenâ€™s theorem. From the graph, we can see that our limits of integration are from $-2$ to $2$ for both $x$ and $y$. We also know that the area of $D$ is equal to $\pi(3^2) = 9\pi$ squared units.

\begin{aligned}\text{Work} &= \int \int -3 \phantom{x}dA\\&= (\text{Area}_D)(9\pi)\\&= -3(9\pi)\\&= -27\pi\end{aligned}

From this, we can see that the total amount of work done on the particle is equal to $-27\pi$ units. Â Weâ€™ve shown you the benefits of understanding this core theorem, so this time, test your understanding and master this topic further by trying out the examples shown below.

*Example 1*

Evaluate the line integral, $\oint_{C} y^3 \phantom{x}dx â€“ x^3 \phantom{x}dy$, where $C$ is the curve defined by the equation, $x^2 + y^2Â = 4$. The curve is formed starting from $(-2, 0)$ and is positively oriented.

__Solution__

Weâ€™re given the vector field, $\textbf{F} = <y^3, -x^3>$, so we have $M(x, y) = y^3$ and $N(x, y) = -x^3$. Since $C$ is a circle centered at the origin with a radius of $2$ units, as shown below, the curve is simple, closed, and positively oriented.

This means that we can use the Greenâ€™s thereom to evaluate $\oint_{C} y^3 \phantom{x}dx â€“ x^3 \phantom{x}dy$. Letâ€™s go ahead and find the partial derivatives of $y^3$ with respect to $y$ and $-x^3$ with respect to $x$.

\begin{aligned}\boldsymbol{\dfrac{\partial N}{\partial x}}\end{aligned} | \begin{aligned}\boldsymbol{\dfrac{\partial M}{\partial y}}\end{aligned} |

\begin{aligned}\dfrac{\partial N}{\partial x} &= \dfrac{\partial }{\partial x} â€“x^4\\&= -4x^3\end{aligned} | \begin{aligned}\dfrac{\partial M}{\partial y} &= \dfrac{\partial }{\partial y} y^4\\&= 4y^3\end{aligned} |

Taking the difference between the two, we have $\dfrac{\partial N}{\partial x} – \dfrac{\partial M}{\partial y} = -3x^2 â€“ 3y^2$. Now, letâ€™s work on the double integral of this expression knowing that the enclosed region is a circle, so the polar limits of integration are $0 \leq r\leq 2$ and $0 \leq \theta \leq 2\pi$. Hence, we have the double integral shown below.

\begin{aligned}\oint_{C} y^3 \phantom{x}dx – x^3 \phantom{x}dy &= \int \int_{D} -3\left(x^2 + y^2 \right ) \\&= \int_{0}^{2\pi} \int_{0}^{2} -3r^2 \phantom{x}rdrd\theta\\&=-3\int_{0}^{2\pi} \int_{0}^{2} r^3 \phantom{x}drd\theta\\&=-3\int_{0}^{2\pi} \left[\dfrac{r^4}{4} \right ]_{0}^{2} \phantom{x}d\theta\\\\&=-3\int_{0}^{2\pi} 4 \phantom{x}d\theta\\&= -12[\theta]_{0}^{2\pi}\\&= -24\pi\end{aligned}

This means that $\oint_{C} y^3 \phantom{x}dx â€“ x^3 \phantom{x}dy$ is equal to $-24\pi$.

*Example 2*

In the past, weâ€™ve defined flux as the rate of fluids or energy over a given curve in a vector field. Mathematically, we can calculate it by taking the line integral of the vector field over the given curve: $\oint_{C} \textbf{F} \cdot \textbf{N} = \oint_{C} â€“N(x, y)\phantom{x} dx + M(x, y) \phantom{x}dy$.

Use this information to calculate the flux of $\textbf{F}(x, y) = <x^2Â + e^y, 3x+ y>$ across the curve, $C$, where $C$ is a triangle with the following vertices: $(0, 0)$, $(2, 0)$, and $(0, 4)$.

__Solution__

We can write the flux of the vector field as $\oint_{C} \textbf{F} \cdot \textbf{N} phantom{x}ds$, where $C$ is defined by curves like the one weâ€™re given.

The triangle is in a clockwise direction, so at first glance, we may think that Greenâ€™s theorem wonâ€™t be applicable for this curve. Hereâ€™s an important property to remember about fluxes and closed curves: $\oint_{C} \textbf{F} \cdot \textbf{N} \phantom{x}ds=-\oint_{-C} \textbf{F} \cdot \textbf{N} \phantom{x}ds $. The curve, $-C$, represents the same figure, but this time, the curve is moving in a counterclockwise direction â€“ meeting the conditions for Greenâ€™s theorem.

\begin{aligned}\oint_{C} \textbf{F} \cdot \textbf{N} \phantom{x}ds&=-\oint_{-C} \textbf{F} \cdot \textbf{N} \phantom{x}ds\\&= -\oint_C -(3x +y) \phantom{x}dx + (x^2 + e^y)\phantom{x}dy \end{aligned}

Letâ€™s now evaluate the line integral by rewriting the expression as a double integral and applying the Greenâ€™s theorem. Keep in mind that this time, we have $M(x, y) = -(3x +y) $ and $N(x, y)= (x^2 + e^y)$, so $\dfrac{\partial N}{\partial x} = 2x$ and $\dfrac{\partial M}{\partial y} = -1$ and $\left(\dfrac{\partial N}{\partial x} – \dfrac{\partial M}{\partial y}\right) = (2x + 1)$.

\begin{aligned}\oint_{C} \textbf{F} \cdot \textbf{N} \phantom{x}ds &= -\int \int_{D} (2x + 1) \phantom{x} dA\end{aligned}

Letâ€™s now work on the limits of integration, vertically, we can see that $y$ bounded from $y = 0$ to $y = -2x + 4$. Meanwhile, $x$ ranges from $x = 0$ to $x = 2$.

\begin{aligned} -\int \int_{D} (2x + 1) \phantom{x} dA &= – \int_{0}^{2} \int_{0}^{-2x + 4} (2x + 1) \phantom{x}dydx\\&= -\int_{0}^{2} (2x + 1)(-2x + 4) dx\\&= -\int_{0}^{2} -(4x^2 – 6x – 4) \phantom{x}dx\\&= \left[\dfrac{4x^3}{3} – \dfrac{6x^2}{2} – 4x\right ]_{0}^{2}\\&= -\dfrac{28}{3}\end{aligned}

This shows that the flux of the vector field is equal to $-\dfrac{28}{3}$ units.

**Practice Questions**

1. Evaluate the line integral, $\oint_{C} xy \phantom{x}dx + (x +y) \phantom{x}dy$, where $C$ is the curve defined by the equation, $x^2 + y^2 = 1$. The curve is formed starting from $(-1, 0)$ and is positively oriented.

2. Evaluate the line integral, $\oint_{C}e^{x^2} + y \phantom{x}dx + e^{2x} – y \phantom{x}dy$, where $C$ is the curve defined by the equation, $y = -(x^2 â€“ 1)$. The curve is formed starting from $(1, 0)$ and is negatively oriented.

3. Calculate the flux of $\textbf{F}(x, y) = <x, y>$ across the curve, $C$, where $C$ is a circle defined by the equation, $x^2 + y^2 = 25$.

4. Calculate the flux of $\textbf{F}(x, y) = <2xy + 2x, -(y^2 – y â€“ x)>$ across the curve, $C$, where $C$ is a circle defined by the equation, $x^2 + y^2 = 9$.

**Answer Key**

1. $\oint_{C} xy \phantom{x}dx + (x +y) \phantom{x}dy = \int_{0}^{2\pi} \int_{0}^{1} (1 â€“ r\cos \theta)\phantom{x} rdrd\theta = \pi$

2. $\oint_{C} xy \phantom{x}dx + (x +y) \phantom{x}dy = -\int_{-1}^{1} \int_{0}^{1 â€“ x^2} (1 â€“ 2e^{2x}) \phantom{x}dydx =\dfrac{4}{2} – \dfrac{e^2}{2} – \dfrac{3}{2e^2}$

3. $\oint \textbf{F} \cdot \textbf{N} \phantom{x}ds = 50\pi$

4. $\oint \textbf{F} \cdot \textbf{N} \phantom{x}ds = 27\pi$

*Images/mathematical drawings are created with GeoGebra.*