Skip to main content

Section 5.7 Change of Variables in Multiple Integrals

Updated 2025-03-24: adding Remark 5.7.3 on orthogonal coordinate systems, and fixing some links to “OSC3”.

References.

Introduction.

The main new challenge in multiple integrals is dealing with domains of shapes other that rectangles.
Iterated integrals with the limits of "inner" integrals depending on "outer" variables help in some cases, as do polar, cylindrical and spherical coordinates, but we now develop a more general strategy.
As usual we deal with two-dimensional integrals befoer going on to thre dimensions, but in fact we first revisit one-dimensional integrals with modified notation that fits better with what happens in multiple dimensions.

Topics.

Subsection 5.7.1 Changing Variables in 1D Integrals

Inverse Substitution.

To extend changes of variables in multiple integrals beyond those seen for polar, cylindrical and spherical coordinates, let us first review and rephrase the 1D version.
Consider a function \(f(x)\) defined on an interval \([a,b]\text{.}\) The idea is to change from the original variable \(x\) to a new variable \(u\) related by a function \(x=g(u)\) where \(g\) is one-to-one on the interval \([a,b]\text{,}\) so that \(g\) is either increasing or decreasing there.
Note: we express the "old" variable as a function of the "new" one, the inverse substitution approach seen with the use of trigonometric substitutions like \(x = a\sin\theta\) for integrals in involving \(\sqrt{a^2 - x^2}\text{;}\) see Section 3.3 of OpenStax Calculus Volume 2
 2 
openstax.org/books/calculus-volume-2/pages/3-3-trigonometric-substitution
.
Let \(F(x)\) be an anti-derivative of \(f(x)\text{,}\) so that \(F'(x) = f(x)\text{.}\) Then
\begin{equation*} \frac{d}{du}F(g(u)) = F'(g(u))g'(u) = f(g(u)) g'(u). \end{equation*}
Integrating with respect to \(u\) gives (in reversed order)
\begin{equation*} \int f(g(u)) g'(u) \, du = F(g(u)) + C = F(x) + C \end{equation*}
The last expression is the indefinite integral of \(f\text{,}\) so reversing order again
\begin{equation} \int f(x) \, dx = \int f(g(u)) g'(u) \, du.\tag{5.7.1} \end{equation}

Changing the Domain in 1D Definite Integrals.

When one changes variables in a definite integral, the domain is changed. In the 1D case, this is just changing the upper and lower limits of integration:
\begin{equation} \int_{x=a}^{b} f(x) \, dx = \int_{u=c}^{d} f(g(u)) g'(u) \, du, \quad a=g(c),\, b=g(d)\tag{5.7.2} \end{equation}
One catch here is that given the original domain \(a \leq b\text{,}\) the endpoints of the new domain must be found by equation solving or with inverses: \(c=g^{-1}(a)\text{,}\) \(d=g^{-1}(b)\text{.}\) Usually this will not be a problem because the change of variables will be chosen precisely for the sake of getting a known, simple domain for the new integral. (This idea was irrelevant with functions one variable, where the domain of integration is always equally simple: an interval.)

Integrals over Intervals Considered as Domains.

To mimic the notation for multiple integrals over domains, it is convenient to express an definite interval as being over an interval \(I=[a,b]\text{.}\) Thus,
\begin{equation*} \int\limits_{[a,b]} f(x) \, dx \text{ means } \int_a^b f(x) \, dx, \text{ where we must have } a \leq b. \end{equation*}
If function \(g\) is increasing, the Substitution Rule can be written as
\begin{equation} \int\limits_{[a,b]} f(x) \, dx = \int\limits_{[c,d]} f(g(u)) g'(u) \, du.\tag{5.7.3} \end{equation}
or
\begin{equation} \int\limits_I f(x) \, dx = \int\limits_J f(g(u)) g'(u) \, du.\tag{5.7.4} \end{equation}
where the domain for \(u\) is \(J=[c,d]\text{.}\)

Integrals over Intervals with Decreasing \(g\) (\(g' \lt 0\)).

However, if function \(g\) is decreasing, \(a \lt b\) leads to \(c \gt d\text{,}\) so the new interval is \(J=[d,c]\text{,}\) not \([c,d]\text{.}\) Thus
\begin{equation*} \int\limits_{[a,b]} f(x) \, dx = \int_a^b f(x) \, dx = \int_c^d f(g(u)) g'(u) \, du = -\int_d^c f(g(u)) g'(u) \, du = -\int\limits_{[d,c]} f(g(u)) g'(u) \, du \end{equation*}
Since \(g\) is decreasing, \(g'(u) \lt 0 \) and so \(-g'(u) = |g'(u)|\text{,}\) giving
\begin{equation} \int\limits_{[a,b]} f(x) \, dx = \int\limits_{[d,c]} f(g(u)) |g'(u)| \, du.\tag{5.7.5} \end{equation}

The Substitution Rule for Intervals as Domains.

Equation (5.7.5) for \(x=g(u)\) decreasing and the version in Equation (5.7.2) for \(x=g(u)\) increasing take the common form
\begin{equation} \int\limits_I f(x)\ dx = \int\limits_J f(g(u)) |g'(u)| \, du, = \int\limits_J f(x) \left|\frac{dx}{du}\right| \, du\tag{5.7.6} \end{equation}
with the appropriate versions of interval \(J\text{.}\)
This is the form that we will now mimic for multiple integrals: finding the replacement for \(\ds g'(u) = \frac{dx}{du}\) is the key step.

Subsection 5.7.2 Transformations: Changes of Coordinates in 2D (and then 3D)

We have seen how a double integral is changed by one change of variables, from cartesian coordinates to polar coordinates as described by
\begin{equation} (x,y) = T(r,\theta) = (r\cos\theta, r\sin\theta)\tag{5.7.7} \end{equation}
A function like \(T\) that takes points in the plane \(\mathbb{R}^2\) to other points in the plane is called a transformation. We now consider more general transformations to new variables \(u\) and \(v\text{,}\)
\begin{equation*} (x,y) = T(u,v) = (g(u,v),h(u,v)) \quad \text{ or} \quad x=g(u,v), y=h(u,v). \end{equation*}
where we want both \(g\) and \(h\) to be differentiable, (so all four first partial derivatives exist and are continuous): these are called \(C^1\) transformations.

Images and One-to-One Transformations.

If \(T(u_1,v_1)=(x_1,y_1)\text{,}\) the point \((x_1,y_1)\) is called the image of \((u_1,v_1)\text{.}\) The set of all such images is the range, also called the image of the domain of the transformation.
With polar coordinates, we tried to have unique values of \(r\) and \(\theta\) for each point \((x,y)\) in the plane.
A transformation that achieves this uniqueness is one-to-one: no two points in its domain have the same image. For example, the transformation from polar coordinates to cartesian coordinates is one-to-one on any domain on which \(r \gt 0\) and \(-\pi \lt \theta \leq \pi\text{,}\) which is the same as excluding the origin.
(To include the origin too, one could allow only \(\theta=0\) when \(r=0\text{.}\))

The Inverse of a One-to-One Transformation.

If a transformation is one-to-one, then for any point \((x,y)\) in its range, there is only only point \((u,v)\) with \(T(u,v)=(x,y)\text{,}\) so this point \((u,v)\) is the inverse of \((x,y)\) under \(T\), and there is an inverse transformation \(T^{-1}\text{,}\)
\begin{equation*} T^{-1}(x,y) = (u,v). \end{equation*}
For \(T\) the transformation in Equation (5.7.7) from polar to cartesian coordinates, and on a domain with \(r>0\) and \(-\pi \lt \theta \leq \pi\text{,}\)
\begin{equation*} T^{-1}(x,y) = (r(x,y),\theta(x,y)), \end{equation*}
is given by the equations (1.3.3) in Section 1.3.

Subsection 5.7.3 Transformations and Double Integals

Consider a double integral \(\iint\limits_R f(x,y)\ dA\) and a transformation \((x,y)=T(u,v)\) such that the domain \(R\) in the \((x,y)\) plane is the image of a domain \(S\) in coordinates \((u,v)\text{.}\) This is sometimes expressed as \(R=T(S)\text{.}\) One example we have seen is when the new coordinates are polar coordinates \(r\) and \(\theta\text{,}\) \(R\) is a polar rectangle, so \(S\) is the rectangular domain \(a \leq r \leq b\text{,}\) \(\alpha \leq \theta \leq \beta\text{.}\)
We want to get an expression for this integral as an integral in the new variables \(u\) and \(v\text{,}\) such as
\begin{equation} \iint\limits_D f(x,y) dA = \int_a^b \int_\alpha^\beta f(r\cos\theta,r\sin\theta)\, r \, d\theta\, dr\tag{5.7.8} \end{equation}
for that case.
The key to deriving this formula for polar coordinates was looking at a small rectangle of values of \(r\) and \(\theta\text{,}\) of dimensions \(\Delta r\) and \(\Delta \theta\text{,}\) and computing the area of the corresponding region of \((x,y)\) values.
Look at a small rectangle \(S\) of \((u,v)\) values with one corner \((u_0,v_0)\) and adjacent corners \((u_0+\Delta u,v_0)\) and \((u_0,v_0+\Delta v)\text{.}\) Its image under transformation \(T\) is roughly quadrilateral, with one corner \(A\) of coordinates \((x_0,y_0)=T(u_0,v_0) = (g(u_0,v_0),h(u_0,v_0))\text{.}\)
The image \(B\) of the adjacent corner \((u_0+\Delta u,v_0)\) has coordinates \((g(u_0+\Delta u,v_0),h(u_0+\Delta u,v_0))\) and these are given approximately by linearizations of \(g\) and \(h\) respectively:
\begin{align*} g(u_0+\Delta u,v_0) \amp\approx g(u_0,v_0) + g_u(u_0,v_0) \cdot \Delta u + g_v(u_0,v_0) \cdot 0,\\ h(u_0+\Delta u,v_0) \amp\approx h(u_0,v_0) + h_u(u_0,v_0) \cdot \Delta u + h_v(u_0,v_0) \cdot 0, \end{align*}
since the change in the \(v\) argument is \(0\text{.}\)
Thus, this edge of this region in the \((x,y)\) plane is described by vector
\begin{equation*} \overrightarrow{AB} \approx g_u(u_0,v_0) \Delta u \, \veci + h_u(u_0,v_0) \Delta u \, \vecj = [g_u(u_0,v_0) \, \veci + h_u(u_0,v_0) \, \vecj \,] \Delta u \end{equation*}
Similarly, the image \(C\) of the other adjacent corner \((u_0,v_0+\Delta v)\) leads to
\begin{equation*} \overrightarrow{AC} \approx (g_v(u_0,v_0) \, \veci + h_v(u_0,v_0) \, \vecj \,) \Delta v \end{equation*}
and the final corner \(D\) opposite \(A\) is reached by edge
\begin{align*} \overrightarrow{CD} \amp\approx g_u(u_0,v_0+\Delta v) \, \veci \, \Delta u + h_u(u_0,v_0+\Delta v) \, \vecj \, \Delta u\\ \amp\approx [g_u(u_0,v_0)+(g_u)_v(u_0,v_0)\Delta v] \Delta u \, \veci + [h_u(u_0,v_0)+ (h_u)_v(u_0,v_0)\Delta v] \Delta u \, \vecj\\ \amp= [g_u(u_0,v_0) \, \veci + h_u(u_0,v_0) \vecj \, ] \Delta u\\ \amp + [ g_{uv}(u_0,v_0) \veci + h_{uv}(u_0,v_0) \vecj \, ] \Delta v \Delta u\\ \amp\approx [g_u(u_0,v_0)\veci + h_u(u_0,v_0) \vecj \,] \Delta u\\ \amp\approx \overrightarrow{AB} \end{align*}
where we have ignored far smaller terms proportional to \(\Delta u \Delta v\text{.}\)
So the image \(R\) of a small rectangle \(S\) is roughly a parallelogram.

The Area Approximation and the Jacobian.

The area \(\Delta A\) of small region \(R\) can thus be approximated by the cross product formula for parallelogram area:
\begin{align*} \Delta A \amp\approx \left| \overrightarrow{AB} \times \overrightarrow{AC} \right|\\ \amp\approx \left| [g_u(u_0,v_0) h_v(u_0,v_0) - g_v(u_0,v_0) h_u(u_0,v_0)] \Delta u \Delta v \veck \right|\\ \amp= \left| g_u(u_0,v_0) h_v(u_0,v_0) - g_v(u_0,v_0) h_u(u_0,v_0) \right| \Delta u \Delta v \end{align*}
The quantity inside the absolute value is the determinant of a \(2 \times 2\) matrix, and is known as the Jacobian of the transformation given by \(x=g(u,v)\text{,}\) \(y=h(u,v)\text{,}\) denoted
\begin{equation} \frac{\partial(x,y)}{\partial(u,v)} = \left| \begin{array}{cc}g_u \amp g_v \\ h_u \amp h_v \end{array} \right| = \left| \begin{array}{cc} \ds \frac{\partial x}{\partial u} \amp \ds \frac{\partial x}{\partial v} \\ \ds \frac{\partial y}{\partial u} \amp \ds \frac{\partial y}{\partial v} \end{array} \right| = \frac{\partial x}{\partial u} \frac{\partial y}{\partial v} - \frac{\partial x}{\partial v} \frac{\partial y}{\partial u}.\tag{5.7.9} \end{equation}
Beware the unfortunate double meaning of vertical bars: absolute value and determinant!
With this notation the image \(R=T(S)\) of small rectangle \(S\) is approximately a parallelogram of area
\begin{equation} \Delta A \approx \left| \frac{\partial(x,y)}{\partial(u,v)} \right | \Delta u \Delta v\tag{5.7.10} \end{equation}
(c.f. Equation (2.4.7) for the area of a parallelogram in Subsection 2.4.3), and for the "infinitesimal rectangle" of dimensions \(du\) by \(dv\) appearing in double integrals we get the change of coordinates formula using
\begin{equation} dA = \left| \frac{\partial(x,y)}{\partial(u,v)} \right| du\ dv.\tag{5.7.11} \end{equation}
Note: The vertical bar notation is used here in two different ways: for the determinant in Equation (5.7.9) defining the Jacobian, and the for the absolute value of that in \(\left| \frac{\partial(x,y)}{\partial(u,v)} \right|\text{.}\) To avoid possible confusion, the expression is sometimes written as
\begin{equation*} dA = \left| \det \left[ \begin{array}{cc}g_u \amp g_v \\ h_u \amp h_v \end{array} \right] \right| du\ dv. \end{equation*}
That is, with appropriate approximations and limits as seen in Section 5.3 for polar coordinates, we get:
The Jacobian does here what \(g'(u) = \ds\frac{dx}{du}\) does in the one-dimensional case of Equation (5.7.6).
Example 5.7.2.
Let us test this for the case of polar coordinates.
The Jacobian is
\begin{align*} \frac{\partial(x,y)}{\partial(r,\theta)} \amp= \frac{\partial x}{\partial r} \frac{\partial y}{\partial \theta} - \frac{\partial x}{\partial \theta} \frac{\partial y}{\partial r}\\ \amp= \frac{\partial (r\cos \theta)}{\partial r} \frac{\partial (r \sin \theta)}{\partial \theta} - \frac{\partial (r\cos \theta)}{\partial \theta} \frac{\partial (r \sin \theta)}{\partial r}\\ \amp= \cos \theta \, r \cos \theta - (-r \sin \theta) \sin \theta\\ \amp= r(\cos^2\theta + \sin^2 \theta)\\ \amp=r \end{align*}
so \(\left| \frac{\partial(x,y)}{\partial(r,\theta)} \right| = r\text{,}\) giving the factor of \(r\) seen in Equation (5.7.8).
Note: using the order \((\theta,r)\) gives Jacobian
\begin{equation*} \ds\frac{\partial(x,y)}{\partial(\theta,r)} = -r, \end{equation*}
so the absolute value is necessary to get the correct final result for the integral.
Remark 5.7.3.
In this case, the area calculation is particularly easy; just multiplying the edge-lengths \(dr\) and \(r d\theta\text{.}\) This is because the tiny regions are not just almost parallelograms; they are almost rectangles, with edges at right angles. That in turn is because lines of constant \(r\) (circles) and those of constant \(\theta\) (rays) are at right angles.
Such coordinate systems are particularly nice, and are called orthogonal. We will see soon that cylindrical and spherical cordinates have the corresponding property.

Subsection 5.7.4 Triple Integals

The ideas above extend fairly routinely to transformations in three variables and triple integrals.

Definition 5.7.4.

A \(C^1\) transformation \((x,y,z)=T(u,v,w)\) is a function of the form
\begin{equation*} x=g(u,v,w), \quad y=h(u,v,w), \quad z=k(u,v,w) \end{equation*}
with all three functions differentiable and with all their partial derivatives being continuous.
The Jacobian of such a transformation is the determinant
\begin{equation*} \frac{\partial(x,y,z)}{\partial(u,v,w)} = \left| \begin{array}{ccc} \ds \frac{\partial x}{\partial u} \amp \ds \frac{\partial x}{\partial v} \amp \ds \frac{\partial x}{\partial w} \\ \ds \frac{\partial y}{\partial u} \amp \ds \frac{\partial y}{\partial v} \amp \ds \frac{\partial y}{\partial w} \\ \ds \frac{\partial z}{\partial u} \amp \ds \frac{\partial z}{\partial v} \amp \ds \frac{\partial z}{\partial w} \end{array} \right| \end{equation*}

Exercise 5.7.6. Cylindrical and Spherical Coordinates.

Use the above formula to derive the formulas (5.5.3) and (5.5.5) for integrals in cylindrical and spherical coordinates seen in Section 5.5.
Note the importance of the absolute value in Equation (5.7.13) for the case of spherical coordinates \((\rho, \theta, \phi)_s\text{:}\) this is because they are left-handed whereas the caretesian coordinates \((x, y, z)\) are right-handed.

Study Guide.

Study Section 5.7 of OpenStax Calculus Volume 3
 7 
openstax.org/books/calculus-volume-3/pages/5-7-change-of-variables-in-multiple-integrals
, including
  • All the Definitions, Theorems, and Examples (and Checkpoints).
  • One or several exercises from each of the following ranges and pairs: 365–361, 362–367, 368–373, 374–377, 378–387, 388 & 389, 390–393, 399 & 400, 404 & 405.