Multivariable Calculus · Undergraduate

Change of Variables in Multiple Integrals and the Jacobian

Quick answer

A substitution x = x(u, v), y = y(u, v) can turn an awkward region into a rectangle. Each small rectangle du dv in the uv-plane maps to a small parallelogram whose area is |J| du dv, where the Jacobian J = ∂(x, y)/∂(u, v) is the determinant of the matrix of partial derivatives. So ∬ f dx dy = ∬ f |J| du dv. The polar factor r and the spherical factor ρ² sin φ are both Jacobians, and a linear substitution scales every area by the same constant.

What you'll learn

  • Compute the Jacobian of a transformation
  • Choose a substitution that turns a region into a rectangle
  • Evaluate a double integral by changing variables
  • Explain the factors r and ρ² sin φ as Jacobians

Substitution in two variables

In one variable, x=g(u)x = g(u) gives dx=g′(u) dudx = g'(u)\,du: the factor g′(u)g'(u) says how much a small interval stretches. In two variables, a substitution x=x(u,v)x = x(u, v), y=y(u,v)y = y(u, v) stretches small areas, and the stretch factor is the absolute value of the Jacobian:

J=∂(x,y)∂(u,v)=det⁡[xuxvyuyv]=xuyv−xvyuJ = \frac{\partial(x, y)}{\partial(u, v)} = \det\begin{bmatrix} x_u & x_v\\ y_u & y_v \end{bmatrix} = x_u y_v - x_v y_u

The change of variables formula is then

∬Rf(x,y) dx dy=∬Sf(x(u,v),y(u,v)) ∣J∣ du dv\iint_R f(x, y)\,dx\,dy = \iint_S f\bigl(x(u, v), y(u, v)\bigr)\,|J|\,du\,dv

where SS is the region in the uvuv-plane that maps onto RR.

Why the determinant measures area

Near a point, the map is close to linear. The small rectangle with sides dudu and dvdv goes to a small parallelogram with sides ⟨xu,yu⟩du\langle x_u, y_u\rangle du and ⟨xv,yv⟩dv\langle x_v, y_v\rangle dv. The area of a parallelogram spanned by two vectors is the absolute value of their determinant. So each tiny piece of area is multiplied by ∣J∣|J|, and the integral adds up those stretched pieces.

For polar coordinates, x=rcos⁡θx = r\cos\theta, y=rsin⁡θy = r\sin\theta:

J=det⁡[cos⁡θ−rsin⁡θsin⁡θrcos⁡θ]=rJ = \det\begin{bmatrix} \cos\theta & -r\sin\theta\\ \sin\theta & r\cos\theta \end{bmatrix} = r

which is the rr in r dr dθr\,dr\,d\theta. The same calculation in three variables gives ρ2sin⁡ϕ\rho^2\sin\phi for spherical coordinates.

Worked examples

The region in Example 1 A square tilted 45 degrees with corners (0.5, 0.5), (1.5, 1.5), (2.5, 0.5) and (1.5, −0.5). Its sides lie on the dashed lines x − y = 0, x − y = 2, x + y = 1 and x + y = 3. In the variables u = x + y and v = x − y it becomes a rectangle. R 123−112xy
  • x − y = 0 and x − y = 2
  • x + y = 1 and x + y = 3
The region in Example 1

Common mistakes

Practice problems

  1. Find the Jacobian of x=2u+vx = 2u + v, y=u−3vy = u - 3v.

    Answer

    −7-7

    Full solution

    xuyv−xvyu=2(−3)−1⋅1x_u y_v - x_v y_u = 2(-3) - 1 \cdot 1.

  2. Verify that the Jacobian of polar coordinates is rr.

    Answer

    rcos⁡2θ+rsin⁡2θ=rr\cos^2\theta + r\sin^2\theta = r

    Full solution

    xr=cos⁡θx_r = \cos\theta, xθ=−rsin⁡θx_\theta = -r\sin\theta, yr=sin⁡θy_r = \sin\theta, yθ=rcos⁡θy_\theta = r\cos\theta.

  3. Find the area of the ellipse x225+y216≤1\tfrac{x^2}{25} + \tfrac{y^2}{16} \le 1.

    Answer

    20π20\pi

    Full solution

    x=5ux = 5u, y=4vy = 4v gives ∣J∣=20|J| = 20 times the unit disk.

  4. Evaluate ∬R(x−y)2 dA\iint_R (x - y)^2\,dA over the square ∣x+y∣≤1\lvert x + y\rvert \le 1, ∣x−y∣≤1\lvert x - y\rvert \le 1.

    Answer

    23\tfrac{2}{3}

    Full solution

    With u=x+yu = x + y, v=x−yv = x - y and ∣J∣=12|J| = \tfrac{1}{2}: 12∫−11du∫−11v2 dv=12⋅2⋅23\tfrac{1}{2}\int_{-1}^1 du\int_{-1}^1 v^2\,dv = \tfrac{1}{2} \cdot 2 \cdot \tfrac{2}{3}.

  5. A linear map x=au+bvx = au + bv, y=cu+dvy = cu + dv sends the unit square to a parallelogram. What is its area?

    Answer

    ∣ad−bc∣\lvert ad - bc\rvert

    Full solution

    The Jacobian is constant, ad−bcad - bc, and the unit square has area 11.

  6. In Example 3, evaluate ∬Rxy dA\iint_R xy\,dA instead of the area.

    Answer

    152ln⁡2≈5.20\tfrac{15}{2}\ln 2 \approx 5.20

    Full solution

    ∫14u du∫1412v dv=152⋅ln⁡2\int_1^4 u\,du \int_1^4 \tfrac{1}{2v}\,dv = \tfrac{15}{2} \cdot \ln 2.

  7. For u=x+2yu = x + 2y, v=3x−yv = 3x - y, find ∂(x,y)/∂(u,v)\partial(x, y)/\partial(u, v).

    Answer

    −17-\tfrac{1}{7}

    Full solution

    ∂(u,v)∂(x,y)=1(−1)−2⋅3=−7\tfrac{\partial(u, v)}{\partial(x, y)} = 1(-1) - 2 \cdot 3 = -7; take the reciprocal.

  8. A student evaluates Example 1 with J=−12J = -\tfrac{1}{2} and gets −2(e2−1)-2(e^2 - 1) for a positive integrand. What went wrong?

    Answer

    The formula uses ∣J∣|J|.

    Full solution

    The Jacobian’s sign only records orientation. Area scales by ∣J∣=12\lvert J\rvert = \tfrac{1}{2}, giving 2(e2−1)2(e^2 - 1).

Frequently asked questions

What is the Jacobian?

For x = x(u, v), y = y(u, v), the Jacobian is J = ∂(x, y)/∂(u, v) = x_u y_v − x_v y_u, the determinant of the matrix of first partial derivatives.

What is the change of variables formula?

∬_R f(x, y) dx dy = ∬_S f(x(u, v), y(u, v)) |J| du dv, where S is the region in the uv-plane that maps onto R.

Why is there an r in polar integrals?

For x = r cos θ, y = r sin θ, the Jacobian is r. A small polar box of size dr by dθ has area about r dr dθ.

How do you choose a substitution?

Let u and v be the expressions that appear in the boundary equations, such as x + y and x − y, so the region becomes a rectangle.

What if I have u and v in terms of x and y?

Compute ∂(u, v)/∂(x, y) and take its reciprocal: ∂(x, y)/∂(u, v) = 1 / [∂(u, v)/∂(x, y)].

What to learn next