The Choice of a Change of Variables and Typical Worked Examples

The Principles for Choosing a Change of Variables

Choosing a suitable change of variables is the key skill in computing a multiple integral. In general you consider the following two dimensions.

Dimension one: the shape of the region of integration

Shape of the regionRecommended transformationThe region after the transformation
A disk, sector or annuluspolar coordinatesa rectangle (ρ\rho-θ\theta)
An ellipse or elliptical sectorgeneralised polar coordinatesa rectangle (ρ\rho-θ\theta)
A solid of revolution (a cylinder, a cone and so on)cylindrical coordinatesa box (ρ\rho-θ\theta-zz)
A sphere, spherical sector or spherical shellspherical coordinatesa box (rr-ϕ\phi-θ\theta)
An ellipsoidgeneralised spherical coordinatesa box
A parallelograma linear transformationa rectangle
A region bounded by parabolasthe hyperbolic transformationa rectangle

Dimension two: the form of the integrand

Feature of the integrandRecommended transformation
Contains x2+y2x^2+y^2 or x2+y2\sqrt{x^2+y^2}polar / cylindrical coordinates
Contains x2+y2+z2x^2+y^2+z^2 or x2+y2+z2\sqrt{x^2+y^2+z^2}spherical coordinates
Contains x2a2+y2b2\frac{x^2}{a^2}+\frac{y^2}{b^2}generalised polar coordinates
Contains a combination of x+yx+y and x−yx-ythe linear transformation u=x+y,v=x−yu=x+y, v=x-y
Contains yx\frac{y}{x} or arctan⁡yx\arctan\frac{y}{x}polar coordinates (θ=arctan⁡yx\theta = \arctan\frac{y}{x})
The antiderivative is not elementary (such as e−x2e^{-x^2} or sin⁡xx\frac{\sin x}{x})change the order of integration or use a change of variables

The General Steps of a Change of Variables

  1. Analyse the region of integration: sketch the region and identify the types of the boundary curves
  2. Analyse the integrand: check whether it contains special forms such as x2+y2x^2+y^2, and whether there is any non-integrable part
  3. Choose the transformation: pick a suitable coordinate transformation according to the region and the integrand
  4. Compute the Jacobian: find the Jacobian determinant JJ of the transformation
  5. Transform the limits: transform the original region into the region of the new coordinate system and determine the new limits
  6. Transform the integrand: express x,y,zx,y,z in terms of the new variables and substitute into the integrand
  7. Compute the integral: evaluate the iterated integral in the new coordinate system

The Common Pitfalls

  1. Forgetting the Jacobian: you must multiply by ∣J∣|J| after the transformation — this is the most common mistake
  2. Computing the Jacobian incorrectly: in particular the r2sin⁡ϕr^2\sin\phi of spherical coordinates, where it is easy to leave out r2r^2 or sin⁡ϕ\sin\phi
  3. Transforming the limits incorrectly: after the transformation the limits have to be determined afresh; the original limits cannot simply be reused
  4. The transformation is not one-to-one: at special points such as the origin or on a coordinate axis the Jacobian may be zero, but as long as this is a finite set of points or curves it does not affect the result of the integral
  5. The wrong angular ranges: the ranges of θ\theta and ϕ\phi in polar and spherical coordinates have to be determined carefully from the region

Worked Examples

Example 1: Polar Coordinates Together with Symmetry

Compute ∬D(x2+y2) dx dy\iint_D (x^2 + y^2) \, dx\,dy, where DD is the region between the circles x2+y2=2xx^2+y^2 = 2x and x2+y2=4xx^2+y^2 = 4x.

polar coordinatesan annular regionoff-centre circlessymmetry

Approach:

Both circles have their centres on the xx-axis, and in polar coordinates they become ρ=2cos⁡θ\rho = 2\cos\theta and ρ=4cos⁡θ\rho = 4\cos\theta. The region is symmetric about the xx-axis.

Steps:

  1. The region in polar coordinates: 2cos⁡θ≤ρ≤4cos⁡θ, −π2≤θ≤π22\cos\theta \leq \rho \leq 4\cos\theta, \, -\frac{\pi}{2} \leq \theta \leq \frac{\pi}{2}
  2. The integrand: x2+y2=ρ2x^2+y^2 = \rho^2
  3. Using the symmetry about the xx-axis: ∬D(x2+y2)dx dy=2∫0π/2dθ∫2cos⁡θ4cos⁡θρ2⋅ρ dρ=2∫0π/2[ρ44]2cos⁡θ4cos⁡θdθ=2∫0π/214(256cos⁡4θ−16cos⁡4θ)dθ=2⋅60∫0π/2cos⁡4θ dθ=120⋅34⋅12⋅π2=120⋅3π16=45π2\iint_D (x^2+y^2) dx\,dy = 2\int_0^{\pi/2} d\theta \int_{2\cos\theta}^{4\cos\theta} \rho^2 \cdot \rho \, d\rho = 2\int_0^{\pi/2} \left[\frac{\rho^4}{4}\right]_{2\cos\theta}^{4\cos\theta} d\theta = 2\int_0^{\pi/2} \frac{1}{4}(256\cos^4\theta - 16\cos^4\theta) d\theta = 2 \cdot 60\int_0^{\pi/2} \cos^4\theta \, d\theta = 120 \cdot \frac{3}{4} \cdot \frac{1}{2} \cdot \frac{\pi}{2} = 120 \cdot \frac{3\pi}{16} = \frac{45\pi}{2}

Answer: 45π2\frac{45\pi}{2}

Example 2: Cylindrical Coordinates with the Two-Then-One Method

Compute ∭Ωz2 dv\iiint_\Omega z^2 \, dv, where Ω\Omega is the part of the sphere x2+y2+z2≤R2x^2+y^2+z^2 \leq R^2 lying inside the cone x2+y2≤z2x^2+y^2 \leq z^2.

cylindrical coordinatesa spherical sectortwo then onea conical surface

Approach:

The conical surface z=x2+y2z = \sqrt{x^2+y^2} divides the sphere into two parts; take the part inside the cone (z≥x2+y2z \geq \sqrt{x^2+y^2}). Use the two-then-one method.

Steps:

  1. The curve of intersection: substituting z=x2+y2z = \sqrt{x^2+y^2} into the sphere gives 2z2=R22z^2 = R^2, that is, z=R2z = \frac{R}{\sqrt{2}}
  2. When 0≤z≤R20 \leq z \leq \frac{R}{\sqrt{2}}, the cross-section Dz:x2+y2≤z2D_z: x^2+y^2 \leq z^2 has area πz2\pi z^2
  3. When R2≤z≤R\frac{R}{\sqrt{2}} \leq z \leq R, the cross-section Dz:x2+y2≤R2−z2D_z: x^2+y^2 \leq R^2-z^2 has area π(R2−z2)\pi(R^2-z^2)
  4. ∭Ωz2dv=∫0R/2z2⋅πz2dz+∫R/2Rz2⋅π(R2−z2)dz\iiint_\Omega z^2 dv = \int_0^{R/\sqrt{2}} z^2 \cdot \pi z^2 dz + \int_{R/\sqrt{2}}^R z^2 \cdot \pi(R^2-z^2) dz
  5. Computing the two terms: π∫0R/2z4dz=πR5202\pi\int_0^{R/\sqrt{2}} z^4 dz = \frac{\pi R^5}{20\sqrt{2}}, and π∫R/2R(R2z2−z4)dz=π[R2z33−z55]R/2R\pi\int_{R/\sqrt{2}}^R (R^2z^2 - z^4) dz = \pi\left[\frac{R^2 z^3}{3} - \frac{z^5}{5}\right]_{R/\sqrt{2}}^R
  6. Simplifying the whole expression gives πR530(4−2)\frac{\pi R^5}{30}(4 - \sqrt{2})

Answer: πR530(4−2)\frac{\pi R^5}{30}(4 - \sqrt{2})

Example 3: A Change of Variables for a Non-Integrable Function

Compute ∬Deyx+y dx dy\iint_D e^{\frac{y}{x+y}} \, dx\,dy, where DD is bounded by x+y=1,x=0,y=0x+y=1, x=0, y=0.

a linear transformationa non-integrable functiona triangular regiona change of variables

Approach:

The function eyx+ye^{\frac{y}{x+y}} has no elementary antiderivative, so a change of variables is needed. Put u=x+y, v=yu = x+y, \, v = y, and then yx+y=vu\frac{y}{x+y} = \frac{v}{u}.

Steps:

  1. The transformation: u=x+y, v=yu = x+y, \, v = y, with the inverse transformation x=u−v, y=vx = u-v, \, y = v
  2. The Jacobian: J=∂(x,y)∂(u,v)=∣1−101∣=1J = \frac{\partial(x,y)}{\partial(u,v)} = \begin{vmatrix} 1 & -1 \\ 0 & 1 \end{vmatrix} = 1
  3. The transformation of the region: x≥0⇒u−v≥0⇒v≤ux \geq 0 \Rightarrow u-v \geq 0 \Rightarrow v \leq u; y≥0⇒v≥0y \geq 0 \Rightarrow v \geq 0; and x+y≤1⇒u≤1x+y \leq 1 \Rightarrow u \leq 1
  4. The new region: 0≤u≤1, 0≤v≤u0 \leq u \leq 1, \, 0 \leq v \leq u
  5. The integrand: ev/ue^{v/u}
  6. ∬Dev/udx dy=∫01du∫0uev/udv=∫01u[ev/u]0udu=∫01u(e−1)du=(e−1)⋅12=e−12\iint_D e^{v/u} dx\,dy = \int_0^1 du \int_0^u e^{v/u} dv = \int_0^1 u[e^{v/u}]_0^u du = \int_0^1 u(e - 1) du = (e-1) \cdot \frac{1}{2} = \frac{e-1}{2}

Answer: e−12\frac{e-1}{2}


Exercises

Exercise 1

Compute ∬Dx+yx2+y2 dx dy\iint_D \frac{x+y}{x^2+y^2} \, dx\,dy, where D:x2+y2≤1, x+y≥1D: x^2+y^2 \leq 1, \, x+y \geq 1.

polar coordinatesa circular domaina straight linea sector region

Approach:

A disk together with an integrand containing x2+y2x^2+y^2: use the polar coordinate transformation. The line x+y=1x+y=1 becomes ρ(cos⁡θ+sin⁡θ)=1\rho(\cos\theta+\sin\theta)=1.

Steps:

  1. Polar coordinates: 1cos⁡θ+sin⁡θ≤ρ≤1\frac{1}{\cos\theta+\sin\theta} \leq \rho \leq 1, with the range of θ\theta determined by x+y≥1x+y \geq 1 and the disk
  2. The intersection points: the line x+y=1x+y=1 meets the circle at (1,0)(1,0) and (0,1)(0,1), corresponding to θ=0\theta=0 and θ=π/2\theta=\pi/2
  3. The region: 0≤θ≤π/2, 1cos⁡θ+sin⁡θ≤ρ≤10 \leq \theta \leq \pi/2, \, \frac{1}{\cos\theta+\sin\theta} \leq \rho \leq 1
  4. The integrand: x+yx2+y2=ρ(cos⁡θ+sin⁡θ)ρ2=cos⁡θ+sin⁡θρ\frac{x+y}{x^2+y^2} = \frac{\rho(\cos\theta+\sin\theta)}{\rho^2} = \frac{\cos\theta+\sin\theta}{\rho}
  5. ∬Dcos⁡θ+sin⁡θρ⋅ρ dρ dθ=∫0π/2(cos⁡θ+sin⁡θ)dθ∫1/(cos⁡θ+sin⁡θ)1dρ\iint_D \frac{\cos\theta+\sin\theta}{\rho} \cdot \rho \, d\rho \, d\theta = \int_0^{\pi/2} (\cos\theta+\sin\theta) d\theta \int_{1/(\cos\theta+\sin\theta)}^1 d\rho =∫0π/2(cos⁡θ+sin⁡θ)(1−1cos⁡θ+sin⁡θ)dθ=∫0π/2(cos⁡θ+sin⁡θ−1)dθ=[sin⁡θ−cos⁡θ−θ]0π/2=(1−0−π2)−(0−1−0)=2−π2= \int_0^{\pi/2} (\cos\theta+\sin\theta)\left(1 - \frac{1}{\cos\theta+\sin\theta}\right) d\theta = \int_0^{\pi/2} (\cos\theta+\sin\theta - 1) d\theta = [\sin\theta - \cos\theta - \theta]_0^{\pi/2} = (1 - 0 - \frac{\pi}{2}) - (0 - 1 - 0) = 2 - \frac{\pi}{2}

Answer: 2−π22 - \frac{\pi}{2}

Exercise 2

Compute ∭Ω(x2+y2) dv\iiint_\Omega (x^2+y^2) \, dv, where Ω\Omega is the region enclosed by the surface obtained by rotating the curve y2=2z,x=0y^2 = 2z, x=0 once around the zz-axis, together with the planes z=2,z=8z=2, z=8.

cylindrical coordinatesa paraboloid of revolutiontwo then onea solid of revolution

Approach:

The surface of revolution is x2+y2=2zx^2+y^2 = 2z (a paraboloid of revolution). Use cylindrical coordinates and the two-then-one method.

Steps:

  1. The surface of revolution: x2+y2=2zx^2+y^2 = 2z, which in cylindrical coordinates is ρ2=2z\rho^2 = 2z
  2. When 2≤z≤82 \leq z \leq 8, the cross-section Dz:x2+y2≤2zD_z: x^2+y^2 \leq 2z, that is, ρ≤2z\rho \leq \sqrt{2z}
  3. ∭Ω(x2+y2)dv=∫28dz∬Dzρ2⋅ρ dρ dθ=∫28dz∫02πdθ∫02zρ3dρ=∫282π⋅(2z)24dz=∫282πz2dz=2π⋅[z33]28=2π3(512−8)=336π\iiint_\Omega (x^2+y^2) dv = \int_2^8 dz \iint_{D_z} \rho^2 \cdot \rho \, d\rho \, d\theta = \int_2^8 dz \int_0^{2\pi} d\theta \int_0^{\sqrt{2z}} \rho^3 d\rho = \int_2^8 2\pi \cdot \frac{(2z)^2}{4} dz = \int_2^8 2\pi z^2 dz = 2\pi \cdot \left[\frac{z^3}{3}\right]_2^8 = \frac{2\pi}{3}(512 - 8) = 336\pi

Answer: 336π336\pi


Summary

Symbols Used in This Article

SymbolTypePronunciation/ExplanationMeaning in This Article
u,vu, vNew variablesnew variablesThe new independent variables after the change of variables
JJJacobian determinantJacobian determinantThe Jacobian determinant of the transformation
∣J∣\lvert J\rvertAbsolute Jacobianabsolute JacobianThe absolute value of the Jacobian determinant
DzD_zCross-section regioncross-section regionThe cross-section perpendicular to the zz-axis

Key Terms

English termPronunciationNote
selection strategy/sɪˈlɛkʃən ˈstrætədʒi/the method of choosing a suitable change of variables
integration domain/ˌɪntɪˈɡreɪʃən doʊˈmeɪn/the domain of the integral
integrand/ˈɪntɪɡrænd/the function under the integral sign
one-to-one correspondence/wʌn tuː wʌn ˌkɒrɪˈspɒndəns/the transformation is one-to-one and onto
non-integrable function/nɒn ˈɪntɪɡrəbəl ˈfʌŋkʃən/an integrand whose antiderivative is not an elementary function
substitution method/ˌsʌbstɪˈtjuːʃən ˈmɛθəd/that is, the change-of-variables method
comprehensive problem/ˌkɒmprɪˈhɛnsɪv ˈprɒbləm/a comprehensive problem involving several techniques

Found an issue with this content?

Tell us what could be improved.