Overview

Part 12 - Change of variables

Introduction

In this part we’ll cover how to perform change of variables for double and triple integrals, as well as the idea and power with polar coordinates.

Change of variable

For functions of one variable:

∫abf(g(x))g′(x) dx\int_a^b f(g(x))g'(x) \, dx

Let u=g(x)u = g(x) and therefore du=g′(x) dxdu = g'(x) \, dx.

Then:

∫g(a)g(b)f(u) du\int_{g(a)}^{g(b)} f(u) \, du

But in two variables, this is a bit trickier, we’ll have to use polar coordinates.

Polar coordinates

Instead of describing a point as (x,y)(x, y) we can describe it using the magnitude (from the origin) and an angle.

r≥00≤θ≤2πr \geq 0 \newline 0 \leq \theta \leq 2\pi

Then:

x=rcos⁡(θ)y=rsin⁡(θ)\begin{align*} x & = r \cos(\theta) \newline y & = r \sin(\theta) \end{align*}

When to change to polar coordinates

  1. If ff looks nicer in polar coordinates

and

  1. DD looks nice in polar coordinates
Example 1

Say we have the unit circle:

D={(x,y)∣x2+y2≤1}D = \{(x, y) \mid x^2 + y^2 \leq 1\}

In polar coordinates:

S={(r,θ)∣0≤r≤1,0≤θ≤2π}S = \{(r, \theta) \mid 0 \leq r \leq 1, 0 \leq \theta \leq 2\pi \}

Which is just a rectangle! Which we know how to integrate over!

D={(x,y)∣1≤x2+y2≤4}D = \{(x, y) \mid 1 \leq x^2 + y^2 \leq 4\}

In polar coordinates:

S={(r,θ)∣1≤r≤2,0≤θ≤2π}S = \{(r, \theta) \mid 1 \leq r \leq 2, 0 \leq \theta \leq 2\pi \}

Or something even more complex:

S={(r,θ)∣0≤r≤1,θ1≤θ≤θ2}S = \{(r, \theta) \mid 0 \leq r \leq 1, \theta_1 \leq \theta \leq \theta_2 \}

Naive guess

But, how do we change to polar coordinates?

Let’s take a naive guess:

∬Df(x,y) dA=∬Sf(rcos⁡(θ),rsin⁡(θ)) dA\iint_D f(x, y) \, dA = \iint_S f(r \cos(\theta), r \sin(\theta)) \, dA

Let’s try!

Given f(x,y)=1f(x, y) = 1 and D={(x,y)∣x2+y2≤1}D = \{(x, y) \mid x^2 + y^2 \leq 1\}.

∬D1 dA=Area of D=πr2=π\iint_D 1 \, dA = \text{Area of } D = \pi r^2 = \pi

Polar:

S={(r,θ)∣0≤r≤1,0≤θ≤2π}S = \{(r, \theta) \mid 0 \leq r \leq 1, 0 \leq \theta \leq 2\pi \} ∬S1 dA=∫02π∫011 dr dθ=…=2π\iint_S 1 \, dA = \int_0^{2\pi} \int_0^1 1 \, dr \, d\theta = \ldots = 2\pi

So this doesn’t yield the same result.

Definition 1 (Double integral in polar coordinates)∬Df(x,y) dA=∬Sf(rcos⁡(θ),rsin⁡(θ))⋅r dr dθ\iint_D f(x, y) \, dA = \iint_S f(r \cos(\theta), r \sin(\theta)) \cdot r \, dr \, d\theta
Example 2

Find ∬Dx2(x2+y2)7 dA\iint_D x^2(x^2 + y^2)^7 \, dA where DD is the region in the upper half plane, bounded by the circles, x2+y2=1x^2 + y^2 = 1 and x2+y2=4x^2 + y^2 = 4.

S={(r,θ)∣1≤r≤2,0≤θ≤π}S = \{(r, \theta) \mid 1 \leq r \leq 2, 0 \leq \theta \leq \pi \}

Which means:

∫0π∫12(r2cos⁡2(θ)⋅(r2)7)⋅r dr dθ\int_0^{\pi} \int_1^2 (r^2 \cos^2(\theta) \cdot (r^2)^7) \cdot r \, dr \, d\theta∫0π∫12r17cos⁡2(θ) dr dθ=…=(218−1)π36\int_0^{\pi} \int_1^2 r^{17} \cos^2(\theta) \, dr \, d\theta = \ldots = \boxed{\dfrac{(2^{18} - 1)\pi}{36}}

Search

Essays, lecture notes, and research

Type to search the site.