Steply

Use Green's theorem on ∮ (x - y) dx + (x + y) dy around the…

Step by step, with the reason for every step · Green's theorem · Calculus 3

Step by step

The question

Question: use Green's theorem to find ∮ (x − y) dx + (x + y) dy around the rectangle 0 ≤ x ≤ 3, 0 ≤ y ≤ 2.

∮ (x − y) dx + (x + y) dy
around 0 ≤ x ≤ 3, 0 ≤ y ≤ 2

1 Find P and Q

The path goes once around the rectangle, counterclockwise.

The part before dx is P = x − y.

P = x − y

The one before dy is Q = x + y.

Q = x + y

2 Find the inside

Green's theorem: the line integral around equals the double integral inside of ∂Q/∂x minus ∂P/∂y.

∮ P dx + Q dy = ∬ (∂Q/∂x − ∂P/∂y) dA

Term by term.

x gives 1.

y has no x: it is a fixed number, so it gives 0.

∂Q∂x = 1 + 0

Drop the zeros: ∂Q/∂x = 1.

∂Q∂x = 1

Term by term.

x has no y: it is a fixed number, so it gives 0.

y gives 1.

∂P∂y = 0 − 1

Drop the zeros: ∂P/∂y = −1.

∂P∂y = −1

Take away: 1 minus (−1).

∂Q∂x − ∂P∂y = 1 − (−1)

So the inside is 2.

∂Q∂x − ∂P∂y = 2

Careful!

The order matters.

Q by x, minus P by y.

The other way round changes the sign.

Careful: ∂Q/∂x first, then minus ∂P/∂y

3 Find the limits

Over the rectangle: y from 0 to 2 inside, x from 0 to 3 outside.

∮ = ∫ from 0 to 3 of ∫ from 0 to 2 of 2 dy dx

4 The inner integral

Integrate each term: the power goes up by 1, and we divide by the new power.

∫ from 0 to 2 of 2 dy = 2y from 0 to 2

Put in the top y = 2, then take away the bottom y = 0.

∫ from 0 to 2 of 2 dy = 2(2) − 2(0)

The bottom part is 0.

So it is 4.

∫ from 0 to 2 of 2 dy = 4

5 The outer integral

Integrate each term: the power goes up by 1, and we divide by the new power.

∫ from 0 to 3 of 4 dx = 4x from 0 to 3

Put in the top x = 3, then take away the bottom x = 0.

∫ from 0 to 3 of 4 dx = 4(3) − 4(0)

The bottom part is 0.

So it is 12.

∫ from 0 to 3 of 4 dx = 12

6 Check

Let's check by walking the four sides, one at a time.

Bottom 9/2, right 8, top 3/2, left −2.

On each side, only one of x and y moves.

bottom 9/2, right 8, top 3/2, left −2

Added up: 12.

The same as the double integral.

Right!

9/2 + 8 + 3/2 − 2 = 12

Let's look back.

First: find P and Q.

Then: find the inside.

Then: find the limits.

Then: the inner integral.

Then: the outer integral.

Last: check.

Answer
∫ from 0 to 3 of 4 dx = 12

Your turn

Try this one yourself, then check:

Use Green's theorem to find ∮ (2x − 2y) dx + (2x + y) dy, 0 ≤ x ≤ 4, 0 ≤ y ≤ 1
Show the answer
16

More from Green's theorem

The whole lesson: Green's theorem →