Steply

Use Green's theorem on ∮ (-xy) dx + (x^2 + 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 ∮ (−xy) dx + (x² + y) dy around the rectangle 0 ≤ x ≤ 2, 0 ≤ y ≤ 3.

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

1 Find P and Q

The path goes once around the rectangle, counterclockwise.

The part before dx is P = −xy.

P = −xy

The one before dy is Q = x² + y.

Q = x2 + 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²: the power 2 comes down.

The power goes down by 1.

So 2x.

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

∂Q∂x = 2x + 0

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

∂Q∂x = 2x

Term by term.

In xy, x is fixed and waits in front.

y gives 1.

So x.

So ∂P/∂y = −x.

∂P∂y = −x

Take away: 2x minus (−x).

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

So the inside is 3x.

∂Q∂x − ∂P∂y = 3x

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 3 inside, x from 0 to 2 outside.

∮ = ∫ from 0 to 2 of ∫ from 0 to 3 of 3x 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 3 of 3x dy = 3xy from 0 to 3

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

∫ from 0 to 3 of 3x dy = 3x(3) − 3x(0)

The bottom part is 0.

So it is 9x.

∫ from 0 to 3 of 3x dy = 9x

5 The outer integral

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

∫ from 0 to 2 of 9x dx = 9x22 from 0 to 2

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

∫ from 0 to 2 of 9x dx = 9(2)22 − 9(0)22

The bottom part is 0.

So it is 18.

∫ from 0 to 2 of 9x dx = 18

6 Check

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

Bottom 0, right 33/2, top 6, left −9/2.

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

bottom 0, right 33/2, top 6, left −9/2

Added up: 18.

The same as the double integral.

Right!

0 + 33/2 + 6 − 9/2 = 18

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 2 of 9x dx = 18

Your turn

Try this one yourself, then check:

Use Green's theorem to find ∮ (−xy) dx + (x2 + 3y) dy, 0 ≤ x ≤ 3, 0 ≤ y ≤ 2
Show the answer
27

More from Green's theorem

The whole lesson: Green's theorem →