Steply

Use Green's theorem on ∮ (-x^2 y) dx + (xy^2) dy around the square 0…

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 + (xy²) dy around the square 0 ≤ x ≤ 1, 0 ≤ y ≤ 1.

∮ (−x2y) dx + xy2 dy
around 0 ≤ x ≤ 1, 0 ≤ y ≤ 1

1 Find P and Q

The path goes once around the square, counterclockwise.

The part before dx is P = −x²y.

P = −x2y

The one before dy is Q = xy².

Q = xy2

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.

In xy², y² is fixed and waits in front.

x gives 1.

So y².

So ∂Q/∂x = y².

∂Q∂x = y2

Term by term.

In x²y, x² is fixed and waits in front.

y gives 1.

So x².

So ∂P/∂y = −x².

∂P∂y = −x2

Take away: y² minus (−x²).

∂Q∂x − ∂P∂y = y2 − (−x2)

So the inside is y² + x².

∂Q∂x − ∂P∂y = y2 + x2

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 square: y from 0 to 1 inside, x from 0 to 1 outside.

∮ = ∫ from 0 to 1 of ∫ from 0 to 1 of (y2 + x2) 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 1 of (y2 + x2) dy = [y33 + x2y] from 0 to 1

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

∫ from 0 to 1 of (y2 + x2) dy = ((1)33 + x2(1)) − ((0)33 + x2(0))

The bottom part is 0.

So it is 1/3 + x².

∫ from 0 to 1 of (y2 + x2) dy = 13 + x2

5 The outer integral

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

∫ from 0 to 1 of (13 + x2) dx = [x3 + x33] from 0 to 1

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

∫ from 0 to 1 of (13 + x2) dx = ((1)3 + (1)33) − ((0)3 + (0)33)

The bottom part is 0.

So it is 2/3.

∫ from 0 to 1 of (13 + x2) dx = 23

6 Check

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

Bottom 0, right 1/3, top 1/3, left 0.

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

bottom 0, right 1/3, top 1/3, left 0

Added up: 2/3.

The same as the double integral.

Right!

0 + 1/3 + 1/3 + 0 = 2/3

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 1 of (13 + x2) dx = 23

Your turn

Try this one yourself, then check:

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

More from Green's theorem

The whole lesson: Green's theorem →