Sometimes changing variables will make a huge difference in our ability to evaluate an integral.
We’ve seen the power of changing variables with u-substitution in single variable calculus, as well as switching to:
- Polar Coordinates
- Cylindrical Coordinates, or
- Spherical Coordinates
for multiple integrals.
But what did these transformations do for us?
By making a change of variables, we went from an integral that was “hard” to evaluate to something that was “easier.”
And let’s be honest…
…making integration easier is always the goal.
So, wouldn’t it be nice if there was a more general method for changing variables in multiple integrals?
You bet!
And the answer is found in the Jacobian transformation.
Let’s learn why that is.
Change Of Variables
Okay, so in order to make a change of variables for multiple integrals, we must first consider the one-to-one transformation \(T\left( {u,v} \right) = \left( {x,y} \right)\) that maps a region \(S\) in the uv-plane onto a region \(R\) in the xy-plane.
This will then allow \({T^{ – 1}}\) to map region \(R\) in the xy-plane to region \(S\) in the uv-plane.
This means that the transformation \(T\) is just a function whose domain and range are both subsets of the real numbers in 2-space, which allows us to go back and forth from \(R\) to \(S\).
Why is that important?
Well, suppose region \(R\) in the xy-plane is “hard” to evaluate. In that case, we want to transform or change our region into something “easier” like the region \(S\) in the uv-plane, just like we did with u-substitution in single-variable calculus.
For instance, by changing variables, we can transform parallelograms into rectangles or ellipses into circles, which makes the region we are integrating over easier to handle.
Great. But how do we accomplish this?
By using the Jacobian method.
Jacobian Transformation
The Jacobian of the transformation \(T\) is given by:
\begin{equation}
J(u, v)=\frac{\partial(x, y)}{\partial(u, v)}=\left|\begin{array}{ll}
\frac{\partial x}{\partial u} & \frac{\partial x}{\partial v} \\
\frac{\partial y}{\partial u} & \frac{\partial y}{\partial v}
\end{array}\right|=\left(\frac{\partial x}{\partial u}\right)\left(\frac{\partial y}{\partial v}\right)-\left(\frac{\partial x}{\partial v}\right)\left(\frac{\partial y}{\partial u}\right)
\end{equation}
Such that:
\begin{equation}
\iint_{R} f(x, y) d A=\iint_{S} f(g(u, v), h(u, v))|J(u, v)| d u d v
\end{equation}
So, instead of integrating \(f\left( {x,y} \right)\) over region \(R\), we will integrate over region \(S\) by making an appropriate change of variables and multiplying by the absolute value of the Jacobian Determinant.
Example – Jacobian Determinant
Let’s quickly look at an example of how we compute the Jacobian.
Find \(J\left( {r,\theta } \right)\) when \(x = r\cos \theta \) and \(y = r\sin \theta \).
Well, the first thing we will do is find the first order partials with respect to \(r\) and \(\theta\) separately for both of our parametric equations.
\begin{equation}
\begin{array}{cc}
x=r \cos \theta & y=r \sin \theta \\
\downarrow & \downarrow \\
\frac{\partial x}{\partial r}=x_{r}=\cos \theta & \frac{\partial y}{\partial r}=y_{r}=\sin \theta \\
\frac{\partial x}{\partial \theta}=x_{\theta}=-r \sin \theta & \frac{\partial y}{\partial \theta}=y_{r}=r \cos \theta
\end{array}
\end{equation}Now we place our partials into our determinant and evaluate.
\begin{equation}
J(r, \theta)=\left|\begin{array}{ll}
\frac{\partial x}{\partial r} & \frac{\partial x}{\partial \theta} \\
\frac{\partial y}{\partial r} & \frac{\partial y}{\partial \theta}
\end{array}\right|
\end{equation}\begin{equation}
=\left|\begin{array}{cc}
\cos \theta & -r \sin \theta \\
\sin \theta & r \cos \theta
\end{array}\right|
\end{equation}\begin{equation}
=(\cos \theta)(r \cos \theta)-(-r \sin \theta)(\sin \theta)
\end{equation}\begin{equation}
=r
\end{equation}
And now we have just proven why we must multiply by \(r\) when converting to polar coordinates and why the \(rdrd\theta \) makes sense!
Cool!
Example – Change Of Variable In Multiple Integrals
Now that we know how to find the Jacobian, let’s use it to solve an iterated integral by looking at how we use this new integration method.
Evaluate \(\iint_{R} e^{\left(\frac{x-y}{x+y}\right)} d A\), where \(R=\{(x, y): x \geq 0, y \geq 0, x+y \leq 1\}\).
Ok, so the first thing we will do is sketch our region.
Next, we will notice that our function \(f\left( {x,y} \right) = {e^{\left( {\frac{{x – y}}{{x + y}}} \right)}}\) is quite messy, and that without a suitable substitution trying to evaluate our double integral is going to be nigh impossible.
Time to make a change of variables.
So, looking more closely at our function \({e^{\left( {\frac{{x – y}}{{x + y}}} \right)}}\) we can let the numerator be:
\begin{equation}
u=x-y
\end{equation}and
\begin{equation}
v=x+y
\end{equation}But to change variables, we need to rewrite both \(x\) and \(y\) in terms of \(u\) and \(v\).
\begin{equation}
\begin{aligned}
&u=x-y \\
&v=x+y
\end{aligned} \Rightarrow \begin{aligned}
&x=u+y \\
&y=v-x
\end{aligned} \Rightarrow \begin{aligned}
&x=u+(v-x) \\
&y=v-(u+y)
\end{aligned} \Rightarrow \begin{aligned}
&2 x=u+v \\
&2 y=v-u
\end{aligned} \Rightarrow \begin{aligned}
&x=\frac{1}{2}(u+v) \\
&y=\frac{1}{2}(v-u)
\end{aligned}
\end{equation}Now we have \(x = \frac{1}{2}\left( {u + v} \right)\) and \(y = \frac{1}{2}\left( {v – u} \right)\), which means we are now ready to find our Jacobian determinant.
\begin{equation}
J(u, v)=\left|\begin{array}{ll}
\frac{\partial x}{\partial u} & \frac{\partial x}{\partial v} \\
\frac{\partial y}{\partial u} & \frac{\partial y}{\partial v}
\end{array}\right|
\end{equation}\begin{equation}
=\left|\begin{array}{cc}
\frac{1}{2} & \frac{1}{2} \\
-\frac{1}{2} & \frac{1}{2}
\end{array}\right|
\end{equation}\begin{equation}
=\left(\frac{1}{2}\right)\left(\frac{1}{2}\right)-\left(\frac{1}{2}\right)\left(-\frac{1}{2}\right)
\end{equation}\begin{equation}
=\frac{1}{2}
\end{equation}Next, we need to find our new limits of integration for \(u\) and \(v\).
We do this by substituting \(x = \frac{1}{2}\left( {u + v} \right)\) and \(y = \frac{1}{2}\left( {v – u} \right)\) into our region \(R\) domain and solving to obtain our new \(S\) region.
If \(x \ge 0\) and \(x = \frac{1}{2}\left( {u + v} \right)\), then we can say \(\frac{1}{2}\left( {u + v} \right) = 0\) or \(u = – v\).
If \(y \geq 0\) and \(y = \frac{1}{2}\left( {v – u} \right)\), then we can say \(\frac{1}{2}\left( {v – u} \right) = 0\) or \(u = v\).
If \(x + y \le 1\) and \(x = \frac{1}{2}\left( {u + v} \right)\) and \(y=\frac{1}{2}(v-u)\), then we can say…\begin{equation}
\frac{1}{2}(u+v)+\frac{1}{2}(v-u)=1 \text { or } v=1
\end{equation}So, our new region looks like this:
And if we use horizontal slices, we obtain limit bounds as follows:
\begin{equation}
-v \leq u \leq v \text { and } 0 \leq v \leq 1
\end{equation}Finally, we’re ready to plug everything into our change of variables formula and evaluate.
\begin{equation}
\iint_{R} f(x, y) d A=\iint_{S} f(g(u, v), h(u, v))|J(u, v)| d u d v
\end{equation}\begin{equation}
\iint_{R} e^{\left(\frac{x-y}{x+y}\right)} d A=\int_{0}^{1} \int_{-v}^{v} e^{\left(\frac{u}{v}\right)}\left|\frac{1}{2}\right| d u d v
\end{equation}\begin{equation}
\int_{0}^{1}\left(\int_{-v}^{v} \frac{1}{2} e^{\left(\frac{u}{v}\right)} d u\right) d v=\int_{0}^{1}\left(\left[\frac{1}{2} v e^{\left(\frac{u}{v}\right)}\right]_{-v}^{v}\right) d v
\end{equation}\begin{equation}
=\int_{0}^{1}\left(\frac{1}{2} v\left(e-e^{-1}\right)\right) d v=\left.\frac{\left(e-e^{-1}\right)}{4} v^{2}\right|_{0} ^{1}
\end{equation}\begin{equation}
=\frac{e^{2}-1}{4}
\end{equation}
See. We went from an impossibly “hard” integral to one that was “easier.”
3 Variable Jacobian
And a change of variables doesn’t just work for double integrals, but triple integrals too! The Jacobian transformation is defined similarly for a transformation of three variables where we will calculate the determinant using expansion by minors (cofactors).
If \(x = g\left( {u,v,w} \right)\), \(y = h\left( {u,v,w} \right)\), and \(z = k\left( {u,v,w} \right)\) then
\begin{equation}
J(u, v, w)=\frac{\partial(x, y, z)}{\partial(u, v, w)}=\left|\begin{array}{lll}
\frac{\partial x}{\partial u} & \frac{\partial x}{\partial v} & \frac{\partial x}{\partial w} \\
\frac{\partial y}{\partial u} & \frac{\partial y}{\partial v} & \frac{\partial y}{\partial w} \\
\frac{\partial z}{\partial u} & \frac{\partial z}{\partial v} & \frac{\partial z}{\partial w}
\end{array}\right|
\end{equation}
In fact, we use this particular Jacobian determinant for the three-variable transformation into spherical coordinates, thus yielding the Jacobian of \({\rho ^2}\sin \phi \).
Cool!
Now, changing variables can take a bit to get used to and isn’t for the faint of heart.
But don’t worry. We will work through examples in detail so you will get the hang of it in no time!
Let’s get to it.
Video Tutorial w/ Full Lesson & Detailed Examples (Video)
Get access to all the courses and over 450 HD videos with your subscription
Monthly and Yearly Plans Available
Still wondering if CalcWorkshop is right for you?
Take a Tour and find out how a membership can take the struggle out of learning math.