Math Core

Lesson 4.7 · Multiple Integrals

Change of variables and the Jacobian

In single-variable calculus, substitution turns a hard integral into an easy one, and it comes with a factor: dx=g′(u) dudx = g'(u)\,du. Multiple integrals have substitutions too. Polar, cylindrical and spherical coordinates are special cases. The general tool lets you pick new variables that fit the region, and the correction factor is called the Jacobian.

Transformations

A transformation T(u,v)=(x,y)T(u, v) = (x, y) is a rule that sends points of a uvuv-plane to points of the xyxy-plane:

x=g(u,v),y=h(u,v).x = g(u, v), \qquad y = h(u, v).

The idea is to find a region SS in the uvuv-plane that TT maps onto the region RR you care about, choosing TT so that SS is simple, ideally a rectangle.

For example, polar coordinates are the transformation x=rcos⁡θx = r\cos\theta, y=rsin⁡θy = r\sin\theta. It maps the rectangle 0≤r≤10 \le r \le 1, 0≤θ≤2π0 \le \theta \le 2\pi in the rθr\theta-plane onto the unit disk.

How area stretches

A transformation stretches and distorts area. A tiny rectangle with sides Δu\Delta u and Δv\Delta v is carried to an approximate parallelogram with sides

⟨∂x∂u,∂y∂u⟩Δuand⟨∂x∂v,∂y∂v⟩Δv.\left\langle \frac{\partial x}{\partial u}, \frac{\partial y}{\partial u}\right\rangle\Delta u \quad\text{and}\quad \left\langle \frac{\partial x}{\partial v}, \frac{\partial y}{\partial v}\right\rangle\Delta v.

The area of a parallelogram spanned by two vectors is the absolute value of a 2×22 \times 2 determinant. That determinant is the Jacobian.

Definition

Jacobian

The Jacobian of the transformation x=g(u,v)x = g(u, v), y=h(u,v)y = h(u, v) is

∂(x,y)∂(u,v)=∣∂x∂u∂x∂v∂y∂u∂y∂v∣=∂x∂u∂y∂v−∂x∂v∂y∂u.\frac{\partial(x, y)}{\partial(u, v)} = \begin{vmatrix} \dfrac{\partial x}{\partial u} & \dfrac{\partial x}{\partial v} \\[2mm] \dfrac{\partial y}{\partial u} & \dfrac{\partial y}{\partial v} \end{vmatrix} = \frac{\partial x}{\partial u}\frac{\partial y}{\partial v} - \frac{\partial x}{\partial v}\frac{\partial y}{\partial u}.

Near each point, TT multiplies areas by ∣∂(x,y)∂(u,v)∣\left|\dfrac{\partial(x, y)}{\partial(u, v)}\right|.

For polar coordinates, ∂(x,y)∂(r,θ)=cos⁡θ⋅rcos⁡θ−(−rsin⁡θ)sin⁡θ=r\dfrac{\partial(x, y)}{\partial(r, \theta)} = \cos\theta \cdot r\cos\theta - (-r\sin\theta)\sin\theta = r. That is exactly the rr in dA=r dr dθdA = r\,dr\,d\theta.

Change of variables in a double integral

If TT is a one-to-one transformation (except possibly on the boundary) with continuous partial derivatives that maps SS onto RR, then

∬Rf(x,y) dA=∬Sf(x(u,v), y(u,v))∣∂(x,y)∂(u,v)∣du dv.\iint_R f(x, y)\,dA = \iint_S f\big(x(u, v),\ y(u, v)\big)\left|\frac{\partial(x, y)}{\partial(u, v)}\right| du\,dv.

Common mistake

Use the absolute value of the Jacobian. A Jacobian of −7-7 means areas are multiplied by 77 (and orientation flips). Dropping the absolute value gives a negative area and the wrong sign.

Worked example: Computing a Jacobian

Find the Jacobian of x=u2−v2x = u^2 - v^2, y=2uvy = 2uv.

Solution. The partial derivatives are xu=2ux_u = 2u, xv=−2vx_v = -2v, yu=2vy_u = 2v, yv=2uy_v = 2u:

∂(x,y)∂(u,v)=(2u)(2u)−(−2v)(2v)=4u2+4v2.\frac{\partial(x, y)}{\partial(u, v)} = (2u)(2u) - (-2v)(2v) = 4u^2 + 4v^2.

Choosing the substitution from the region

Often the region is bounded by lines or curves of the form (expression)=constant\text{(expression)} = \text{constant}. Let each expression be a new variable. Then the region becomes a rectangle in the new variables.

When you define uu and vv in terms of xx and yy, you can solve for xx and yy, or use the shortcut

∂(x,y)∂(u,v)=1∂(u,v)∂(x,y).\frac{\partial(x, y)}{\partial(u, v)} = \frac{1}{\dfrac{\partial(u, v)}{\partial(x, y)}}.
The region R is the square bounded by x − y = 0, x − y = 2, x + y = 1 and x + y = 3.Open in grapher →

Worked example: A tilted square

Evaluate ∬R(x+y) ex−y dA\displaystyle\iint_R (x + y)\,e^{x - y}\,dA, where RR is the region bounded by the lines x−y=0x - y = 0, x−y=2x - y = 2, x+y=1x + y = 1 and x+y=3x + y = 3.

Solution. The integrand and the boundaries both involve x+yx + y and x−yx - y, so let u=x+yu = x + y and v=x−yv = x - y. The region becomes the rectangle 1≤u≤31 \le u \le 3, 0≤v≤20 \le v \le 2.

Solving gives x=u+v2x = \dfrac{u + v}{2} and y=u−v2y = \dfrac{u - v}{2}, so

∂(x,y)∂(u,v)=12(−12)−12⋅12=−12,∣∂(x,y)∂(u,v)∣=12.\frac{\partial(x, y)}{\partial(u, v)} = \frac{1}{2}\left(-\frac{1}{2}\right) - \frac{1}{2} \cdot \frac{1}{2} = -\frac{1}{2}, \qquad \left|\frac{\partial(x, y)}{\partial(u, v)}\right| = \frac{1}{2}.

Then

∬R(x+y) ex−y dA=∫02∫13u ev⋅12 du dv=12⋅4⋅(e2−1)=2(e2−1).\iint_R (x + y)\,e^{x - y}\,dA = \int_0^2 \int_1^3 u\,e^v \cdot \frac{1}{2}\,du\,dv = \frac{1}{2} \cdot 4 \cdot \left(e^2 - 1\right) = 2\left(e^2 - 1\right).

Worked example: Integrating over an ellipse

Evaluate ∬Rx2 dA\displaystyle\iint_R x^2\,dA, where RR is the region inside the ellipse x29+y24=1\dfrac{x^2}{9} + \dfrac{y^2}{4} = 1.

Solution. Stretch a circle into the ellipse with x=3ux = 3u, y=2vy = 2v. Then x29+y24=u2+v2\dfrac{x^2}{9} + \dfrac{y^2}{4} = u^2 + v^2, so the region becomes the unit disk SS. The Jacobian is 3⋅2−0⋅0=63 \cdot 2 - 0 \cdot 0 = 6:

∬Rx2 dA=∬S9u2⋅6 du dv=54∬Su2 du dv.\iint_R x^2\,dA = \iint_S 9u^2 \cdot 6\,du\,dv = 54\iint_S u^2\,du\,dv.

In polar coordinates on the unit disk, ∬Su2=∫02π∫01r2cos⁡2θ⋅r dr dθ=π⋅14=π4\displaystyle\iint_S u^2 = \int_0^{2\pi} \int_0^1 r^2\cos^2\theta \cdot r\,dr\,d\theta = \pi \cdot \frac{1}{4} = \frac{\pi}{4}. So the answer is 54⋅π4=27π254 \cdot \dfrac{\pi}{4} = \dfrac{27\pi}{2}.

The same substitution with f=1f = 1 shows that the ellipse x2a2+y2b2≤1\dfrac{x^2}{a^2} + \dfrac{y^2}{b^2} \le 1 has area ab⋅π=πabab \cdot \pi = \pi ab.

Three variables

For x=g(u,v,w)x = g(u, v, w), y=h(u,v,w)y = h(u, v, w), z=k(u,v,w)z = k(u, v, w), the Jacobian is a 3×33 \times 3 determinant of partial derivatives, and

∭Rf dV=∭Sf(x(u,v,w),y(u,v,w),z(u,v,w))∣∂(x,y,z)∂(u,v,w)∣du dv dw.\iiint_R f\,dV = \iiint_S f\big(x(u, v, w), y(u, v, w), z(u, v, w)\big)\left|\frac{\partial(x, y, z)}{\partial(u, v, w)}\right| du\,dv\,dw.

For spherical coordinates this determinant works out to ρ2sin⁡ϕ\rho^2\sin\phi, which is where that volume element comes from. The stretch x=aux = au, y=bvy = bv, z=cwz = cw has Jacobian abcabc and maps the unit ball onto the ellipsoid x2a2+y2b2+z2c2≤1\dfrac{x^2}{a^2} + \dfrac{y^2}{b^2} + \dfrac{z^2}{c^2} \le 1, so the ellipsoid has volume 43πabc\dfrac{4}{3}\pi abc.

Tip

To check a Jacobian, test it on area. If TT maps the unit square to a parallelogram, the parallelogram's area should equal ∣J∣|J| when JJ is constant.

Practice

Practice 1

Find the Jacobian ∂(x,y)∂(u,v)\dfrac{\partial(x, y)}{\partial(u, v)} of the transformation x=2u+vx = 2u + v, y=u−3vy = u - 3v.

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 2

Find the Jacobian ∂(x,y)∂(u,v)\dfrac{\partial(x, y)}{\partial(u, v)} of the transformation x=uvx = \dfrac{u}{v}, y=vy = v.

Enter an expression, e.g. 3x^2 - 2x + 1

Practice 3

Use the substitution x=4ux = 4u, y=3vy = 3v to find the area inside the ellipse x216+y29=1\dfrac{x^2}{16} + \dfrac{y^2}{9} = 1.

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 4

Let RR be the parallelogram bounded by x+y=0x + y = 0, x+y=3x + y = 3, y−2x=0y - 2x = 0 and y−2x=3y - 2x = 3. Use u=x+yu = x + y and v=y−2xv = y - 2x to evaluate ∬R(x+y) dA\displaystyle\iint_R (x + y)\,dA.

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 5

Evaluate ∬R(x24+y2)dA\displaystyle\iint_R \left(\frac{x^2}{4} + y^2\right)dA, where RR is the region inside the ellipse x24+y2=1\dfrac{x^2}{4} + y^2 = 1.

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 6

Find the volume of the solid ellipsoid x24+y29+z2≤1\dfrac{x^2}{4} + \dfrac{y^2}{9} + z^2 \le 1.

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 7

Let RR be the region in the first quadrant bounded by the hyperbolas xy=1xy = 1 and xy=4xy = 4 and the lines y=xy = x and y=3xy = 3x. Use u=xyu = xy and v=yxv = \dfrac{y}{x} to find the area of RR.

Enter a number. Fractions like 3/4 and sqrt(2) are OK.