Section 11.10 Change of Variables
¶RECALL: \(dA=dx\,dy=r\,dr\,d\phi\) .
Where did the factor of \(r\) come from in the above expression? Consider a “coordinate rectangle” bounded by curves of the form \(r=\hbox{constant}\text{,}\) \(\phi=\hbox{constant}\text{.}\) If this “rectangle” is small enough, its sides have length \(dr\) and \(r\,d\phi\text{,}\) so that its area is the product \((dr)(r\,d\phi)\text{.}\) 1
For orthogonal coordinates in the plane, that is, one whose level curves (like \(r=\hbox{constant}\)) are perpendicular, this method can be used to quickly determine the correct form of \(dA\text{.}\) This method also works fine for the volume element \(dV\) in three dimensions, yielding
in Cartesian, cylindrical, and spherical coordinates respectively.
But what do we do if the coordinates are not orthogonal? We start by reviewing the 1-dimensional case, which is just the method of substitution.
RECALL: \(x=x(u) \qquad\Longrightarrow\qquad \displaystyle\Int f\,dx = \Int f \> {dx\over du} \, du\) .
When making such a substitution, of course, one must replace \(x\) everywhere by \(u\text{,}\) so that both \(f\) and the integration limits must be rewritten in terms of \(u\text{.}\)
Consider now a change of variables in two dimensions
We can now write the position vector as
But this is just a special case of a parametric surface!
We already know how to find the surface element of such surfaces. First compute
and then take the magnitude of \(d\AA\) to obtain \(\dA\text{.}\) We have
This determinant is important enough to have its own name; we define the Jacobian of the transformation from \(u,v\) to \(x,y\) to be 2
Putting this all together, we obtain
There are two sets of vertical bars here — this expression contains the absolute value of the Jacobian, since areas are positive.
Not surprisingly, when this procedure is applied to the polar coordinate transformation
we get (check this yourself!)
so that, as we already knew, \(dA=r\,dr\,d\phi\text{.}\)
This construction not only tells us how to find area by doing an integral with respect to \(u\) and \(v\) (simply integrate the above expression), it tells us how to transform any integral in \(x\) and \(y\) to one involving \(u\) and \(v\) — hence the name “change of variables”. We therefore have
where \(R\) is some region in the \(xy\)-plane, and \(D\) is that same region expressed in terms of \(u\) and \(v\text{.}\) We must also reinterpret \(f\) on the right as a function of \(u\) and \(v\text{;}\) this can be written formally as \(f\Big(x(u,v),y(u,v)\Big)\text{,}\) but this simply means to use what you know to rewrite all occurrences of \(x\) and \(y\) in terms of \(u\) and \(v\text{.}\)
To change variables in a double integral,
Rewrite \(dA\) in terms of the new variables using the above formula.
Rewrite the function being integrated in terms of the new variables.
Change the limits from the old variables (\(R\)) to the new ones (\(D\)).
A similar formula holds for triple integrals. Given \(x\text{,}\) \(y\text{,}\) \(z\) as functions of \(u\text{,}\) \(v\text{,}\) \(w\text{,}\) the corresponding infinitesimal box is a parallelepiped with sides
The volume of such a parallelepiped is given by the triple product
Defining the Jacobian for transformations of three variables to be
we obtain
A useful example, found in most textbooks, is to use the Jacobian to derive the volume element \(dV\) in spherical coordinates, which you should already know. (Many texts use a left-handed convention for spherical coordinates, which results in the determinant being negative. The absolute value signs occur in the change of variables formula precisely to prevent negative area and volume elements when transforming between right-handed and left-handed coordinate systems.)
Knowing \(dV\) we can convert any integral using
for appropriate regions \(V\) and \(W\) (and with \(f\) rewritten along the lines above). The above method for double integrals adapts easily to triple integrals.
In practice, one is often given \(u\) and \(v\) in terms of \(x\) and \(y\text{,}\) not the other way around. Rather than solving for \(x\) and \(y\text{,}\) which is often difficult, there is a simpler way. Inverting the roles of the two sets of variables in the derivation above, we must have not only
but also
from which we can conclude that
But the expression on the right can be computed without solving for \(x\) and \(y\text{!}\) This gives another way to compute the (left-hand) Jacobian in this case. A similar formula holds in three dimensions. If you use this method, don't forget to take the reciprocal!