CalcIII ChangeOfVariables
CalcIII ChangeOfVariables
Preface
Here are my online notes for my Calculus III course that I teach here at Lamar University.
Despite the fact that these are my “class notes”, they should be accessible to anyone wanting to
learn Calculus III or needing a refresher in some of the topics from the class.
These notes do assume that the reader has a good working knowledge of Calculus I topics
including limits, derivatives and integration. It also assumes that the reader has a good
knowledge of several Calculus II topics including some integration techniques, parametric
equations, vectors, and knowledge of three dimensional space.
Here are a couple of warnings to my students who may be here to get a copy of what happened on
a day that you missed.
1. Because I wanted to make this a fairly complete set of notes for anyone wanting to learn
calculus I have included some material that I do not usually have time to cover in class
and because this changes from semester to semester it is not noted here. You will need to
find one of your fellow class mates to see if there is something in these notes that wasn’t
covered in class.
2. In general I try to work problems in class that are different from my notes. However,
with Calculus III many of the problems are difficult to make up on the spur of the
moment and so in this class my class work will follow these notes fairly close as far as
worked problems go. With that being said I will, on occasion, work problems off the top
of my head when I can to provide more examples than just those in my notes. Also, I
often don’t have time in class to work all of the problems in the notes and so you will
find that some sections contain problems that weren’t worked in class due to time
restrictions.
3. Sometimes questions in class will lead down paths that are not covered here. I try to
anticipate as many of the questions as possible in writing these up, but the reality is that I
can’t anticipate all the questions. Sometimes a very good question gets asked in class
that leads to insights that I’ve not included here. You should always talk to someone who
was in class on the day you missed and compare these notes to their notes and see what
the differences are.
4. This is somewhat related to the previous three items, but is important enough to merit its
own item. THESE NOTES ARE NOT A SUBSTITUTE FOR ATTENDING CLASS!!
Using these notes as a substitute for class is liable to get you in trouble. As already noted
not everything in these notes is covered in class and often material or insights not in these
notes is covered in class.
Change of Variables
Back in Calculus I we had the substitution rule that told us that,
∫ f ( g ( x ) ) g ′ ( x ) dx f ( u ) du where u g ( x )
b d
=
a ∫= c
In essence this is taking an integral in terms of x’s and changing it into terms of u’s. We want to
do something similar for double and triple integrals. In fact we’ve already done this to a certain
extent when we converted double integrals to polar coordinates and when we converted triple
integrals to cylindrical or spherical coordinates. The main difference is that we didn’t actually go
through the details of where the formulas came from. If you recall, in each of those cases we
commented that we would justify the formulas for dA and dV eventually. Now is the time to do
that justification.
While often the reason for changing variables is to get us an integral that we can do with the new
variables, another reason for changing variables is to convert the region into a nicer region to
work with. When we were converting the polar, cylindrical or spherical coordinates we didn’t
worry about this change since it was easy enough to determine the new limits based on the given
region. That is not always the case however. So, before we move into changing variables with
multiple integrals we first need to see how the region may change with a change of variables.
First we need a little notation out of the way. We call the equations that define the change of
variables a transformation. Also we will typically start out with a region, R, in xy-coordinates
and transform it into a region in uv-coordinates.
Example 1 Determine the new region that we get by applying the given transformation to the
region R.
y2 u
(a) R is the ellipse x 2 + =1 and the transformation is x = , y = 3v . [Solution]
36 2
x 4
(b) R is the region bounded by y =− x + 4 , y= x + 1 , and y= − and the
3 3
1 1
transformation is= x (u + v )=
, y ( u − v ) . [Solution]
2 2
Solution
y2 u
(a) R is the ellipse x 2 + =
1 and the transformation is x = , y = 3v .
36 2
There really isn’t too much to do with this one other than to plug the transformation into the
equation for the ellipse and see what we get.
u ( 3v )
2 2
+ =
1
2 36
u 2 9v 2
+ =
1
4 36
u 2 + v2 =
4
So, we started out with an ellipse and after the transformation we had a disk of radius 2.
[Return to Problems]
x 4
(b) R is the region bounded by y =− x + 4 , y= x + 1 , and y= − and the
3 3
1 1
transformation is=x (u + v ) =
, y (u − v ) .
2 2
As with the first part we’ll need to plug the transformation into the equation, however, in this case
we will need to do it three times, once for each equation. Before we do that let’s sketch the graph
of the region and see what we’ve got.
So, we have a triangle. Now, let’s go through the transformation. We will apply the
transformation to each edge of the triangle and see where we get.
Let’s take a look at the new region that we get under the transformation.
Note that we can’t always expect to transform a specific type of region (a triangle for example)
into the same kind of region. It is completely possible to have a triangle transform into a region
in which each of the edges are curved and in no way resembles a triangle.
Notice that in each of the above examples we took a two dimensional region that would have
been somewhat difficult to integrate over and converted it into a region that would be much nicer
in integrate over. As we noted at the start of this set of examples, that is often one of the points
behind the transformation. In addition to converting the integrand into something simpler it will
often also transform the region into one that is much easier to deal with.
Now that we’ve seen a couple of examples of transforming regions we need to now talk about
how we actually do change of variables in the integral. We will start with double integrals. In
order to change variables in a double integral we will need the Jacobian of the transformation.
Here is the definition of the Jacobian.
Definition
The Jacobian of the transformation x = g ( u , v ) , y = h ( u , v ) is
∂x ∂x
∂ ( x, y ) ∂u ∂v
=
∂ ( u , v ) ∂y ∂y
∂u ∂v
The Jacobian is defined as a determinant of a 2x2 matrix, if you are unfamiliar with this that is
okay. Here is how to compute the determinant.
a b
= ad − bc
c d
Now that we have the Jacobian out of the way we can give the formula for change of variables for
a double integral.
Note that we used du dv instead of dA in the integral to make it clear that we are now integrating
with respect to u and v. Also note that we are taking the absolute value of the Jacobian.
If we look just at the differentials in the above formula we can also say that
∂ ( x, y )
dA = du dv
∂ ( u, v )
Solution
So, what we are doing here is justifying the formula that we used back when we were integrating
with respect to polar coordinates. All that we need to do is use the formula above for dA.
We then get,
∂ ( x, y )
=dA = dr dθ r=
dr dθ r dr dθ
∂ ( r ,θ )
So, the formula we used in the section on polar integrals was correct.
( 0, 0 ) , ( 5, 0 ) , ( 5
2 , 5
2 ) and ( 52 , − 52 ) using the transformation =
x 2u + 3v and =
y 2u − 3v .
Solution
First, let’s sketch the region R and determine equations for each of the sides.
Each of the equations was found by using the fact that we know two points on each line (i.e. the
two vertices that form the edge).
While we could do this integral in terms of x and y it would involve two integrals and so would be
some work.
Let’s use the transformation and see what we get. We’ll do this by plugging the transformation
into each of the equations above.
Transforming y = − x is similar.
− ( 2u + 3v )
2u − 3v =
4u = 0
u=0
5
5
y dA ⌠
∫∫R x += ∫ 04 ( ( 2u + 3v ) + ( 2u − 3v ) ) −12 du dv
6
⌡0
5
5
=⌠
∫ 04 48u du dv
6
⌡0
5
5
=⌠
24u 2 04 dv
6
⌡0
5
=⌠
6 75
dv
⌡0 2
5
75 6
= v
2 0
125
=
4
=
using the transformation x 2u− 2
3 v=
, y 2u+ 2
3 v.
Solution
The first thing to do is to plug the transformation into the equation for the ellipse to see what the
region transforms into.
2 = x 2 − xy + y 2
2 2
2 2 2 2
= 2 u − v − 2 u − v 2 u + v + 2 u + v
3 3 3 3
4 2 2 4 2
= 2u 2 − uv + v 2 − 2u 2 − v 2 + 2u 2 + uv + v 2
3 3 3 3 3
= 2u 2 + 2v 2
Or, upon dividing by 2 we see that the equation describing R transforms into
u 2 + v2 =
1
or the unit circle. Again, this will be much easier to integrate over than the original region.
Note as well that we’ve shown that the function that we’re integrating is
x 2 − xy + y 2= 2 ( u 2 + v 2 )
in terms of u and v so we won’t have to redo that work when the time to do the integral comes
around.
2
2 −
∂ ( x, y ) 3 2 2 4
= = + =
∂ ( u, v ) 2 3 3 3
2
3
Before proceeding a word of caution is in order. Do not make the mistake of substituting
x 2 − xy + y 2 =2 or u 2 + v 2 =1 in for the integrands. These equations are only valid on the
boundary of the region and we are looking at all the points interior to the boundary as well and
for those points neither of these equations will be true!
At this point we’ll note that this integral will be much easier in terms of polar coordinates and so
to finish the integral out will convert to polar coordinates.
⌠⌠
dA 2 ( u 2 + v 2 )
4
∫∫ x − xy + y=
2 2
du dv
R ⌡⌡ 3
S
8 ⌠ 2π 1 2
= ∫ ( r ) r dr dθ
3 ⌡0 0
2π
8 ⌠ 1 4
1
= r dθ
3 ⌡0 4 0
8 ⌠ 2π 1
= dθ
3 ⌡0 4
4π
=
3
Let’s now briefly look at triple integrals. In this case we will again start with a region R and use
the transformation x = g ( u , v, w ) , y = h ( u , v, w ) , and z = k ( u , v, w ) to transform the region
into the new region S. To do the integral we will need a Jacobian, just as we did with double
integrals. Here is the definition of the Jacobian for this kind of transformation.
∂x ∂x ∂x
∂u ∂v ∂w
∂ ( x, y, z ) ∂y ∂y ∂y
=
∂ ( u , v, w ) ∂u ∂v ∂w
∂z ∂z ∂z
∂u ∂v ∂w
In this case the Jacobian is defined in terms of the determinant of a 3x3 matrix. We saw how to
evaluate these when we looked at cross products back in Calculus II. If you need a refresher on
how to compute them you should go back and review that section.
As with double integrals we can look at just the differentials and note that we must have
∂ ( x, y , z )
dV = du dv dw
∂ ( u , v, w )
We’re not going to do any integrals here, but let’s verify the formula for dV for spherical
coordinates.
Solution
Here the transformation is just the standard conversion formulas.
=x ρ=
sin ϕ cos θ y ρ=
sin ϕ sin θ z ρ cos ϕ
Recall that we restricted ϕ to the range 0 ≤ ϕ ≤ π for spherical coordinates and so we know that
sin ϕ ≥ 0 and so we don’t need the absolute value bars on the sine.
We will leave it to you to check the formula for dV for cylindrical coordinates if you’d like to. It
is a much easier formula to check.