We have spent some time understanding polar and spherical changes of variables, but these are merely the beginning of a rich collection of coordinate changes. There are elliptical coordinates, which are helpful when a problem involves ellipses, hyperbolic coordinates for problems involving hyperbolas, and many more.
Because coordinates help simplify a problem by making the bounds easier, many of you will see lots of different coordinate systems in your future, especially in physics and engineering. In this one semester course we will not have the time nor need to deep dive into many specific examples, but we will take a brief look at the general theory.
When we computed double integrals in polar coordinates, we used the change of variables
𝑥=𝑟cos𝜃,𝑦=𝑟sin𝜃
to rewrite a region in the 𝑥𝑦-plane in terms of new coordinates 𝑟 and 𝜃. In many examples, this change of variables dramatically simplified both the region of integration and the integrand. The key idea is that if we understand the geometry of a region better in some new coordinate system, we can rewrite the integral accordingly, as long as we account for how area is distorted by the change of coordinates.
This motivates the more general question: given a change of variables
𝑥=𝑔(𝑢,𝑣),𝑦=ℎ(𝑢,𝑣),
can we express a double integral over a region 𝑅 in the 𝑥𝑦-plane as an integral over a region 𝑆 in the 𝑢𝑣-plane? To answer this, we need to understand how small area elements transform under the map (𝑢,𝑣)↦(𝑥,𝑦).
Definition 19.1 (A Change-of-Variables Map). A change of variables is a map
𝑇:𝑆⊆ℝ2⟶ℝ2,𝑇(𝑢,𝑣)=(𝑔(𝑢,𝑣),ℎ(𝑢,𝑣))=(𝑥(𝑢,𝑣),𝑦(𝑢,𝑣)).
The map takes points and regions in the new 𝑢𝑣-coordinates to points and regions in the old 𝑥𝑦-coordinates.
A change of variables is therefore not just a symbolic substitution: it bends one coordinate grid into another. The figure begins with the familiar polar map, but its menu includes the other maps used later in the chapter.
Figure 19.1 A change of variables is a map, and what it does to a grid is bend it. Run the
bend and watch straight lines curve, one family into circles and the other into
rays — the coordinate curves from the last chapter, arriving by a different
route. The thing to notice is not that the lines move but that the cells stop
being equal: near the origin they are slivers, far out they are wide. Whatever
we do with these coordinates will have to account for that.
19.1.1A Motivating Example
Suppose we are integrating over the region 𝑅 in the first quadrant bounded by the lines 𝑦=𝑥, 𝑦=2𝑥, and the hyperbolas 𝑥𝑦=1, 𝑥𝑦=2. This region is awkward to describe in Cartesian coordinates, but if we define new variables
𝑢=𝑥𝑦,𝑣=𝑦𝑥,
then the boundaries become 𝑢=1, 𝑢=2, 𝑣=1, and 𝑣=2---a rectangle in the 𝑢𝑣-plane!
This illustrates the power of a good change of variables: a complicated region in 𝑥𝑦 becomes a simple rectangle in 𝑢𝑣. We can't yet evaluate an integral in these coordinates, though, because we need to understand how area is affected by the change of variables.
19.2The Jacobian as an Area Scale
The two grids below sit side by side so we can follow the same small cell before and after the map. The image cells do not all have the same area, so each one must carry its own scale factor.
Figure 19.2 The two grids sit side by side, and the lit cell is the same cell in both. On
the left every cell is the same rectangle Δ𝑢Δ𝑣; on the right that
one rectangle has become a sliver near the origin or a wide tile far out. Follow
the count one cell at a time and compare the pair before reading the total: a sum
over cells counts area only if each term is weighted by how much its own cell
grew, and that weight is the determinant. The second number is what you get by
forgetting it, and it is not the area of anything. This is why
Let (𝑥,𝑦)=(𝑔(𝑢,𝑣),ℎ(𝑢,𝑣)) be a smooth change of variables. To compute how area changes, consider a small rectangle in the 𝑢𝑣-plane with corners at (𝑢,𝑣), (𝑢+Δ𝑢,𝑣), (𝑢,𝑣+Δ𝑣), and (𝑢+Δ𝑢,𝑣+Δ𝑣). The image of this rectangle under the transformation is approximately a parallelogram in the 𝑥𝑦-plane spanned by the vectors
𝜕(𝑥,𝑦)𝜕𝑢Δ𝑢and𝜕(𝑥,𝑦)𝜕𝑣Δ𝑣.
The figure isolates one cell and follows these two derivative vectors as they move through the grid.
Figure 19.3 And here is where that weight comes from. The counting is over, so the patch no
longer steps from cell to cell — it glides, and the construction follows it
smoothly. Two coordinate lines cross at the point, the map carries them to two
coordinate curves crossing at its image, and the patch's two edges — a step
Δ𝑢 along one line, a step Δ𝑣 along the other — become the tangent
vectors ⃗𝑟𝑢Δ𝑢 and ⃗𝑟𝑣Δ𝑣 to those curves. The dashed
parallelogram they span is drawn over the patch's true curved image, and they
agree. Its area is a determinant, which is why one shows up in the integral at
all; and because the tangent vectors turn and stretch continuously as the point
moves, that determinant is a function of position, ready to be integrated.
The area of this parallelogram is given by the magnitude of the determinant
This determinant is called the Jacobian of the transformation. It measures how a small area element 𝑑𝑢𝑑𝑣 is stretched or compressed when mapped to the 𝑥𝑦-plane:
𝑑𝐴=|det𝐷𝑇(𝑢,𝑣)|𝑑𝑢𝑑𝑣=∣𝜕(𝑥,𝑦)𝜕(𝑢,𝑣)∣𝑑𝑢𝑑𝑣.
The absolute value is essential. A negative determinant means that the map reverses orientation, but geometric area is still positive.
Theorem 19.2 (Change of Variables in a Double Integral). Suppose 𝑇:𝑆→𝑅 is differentiable and one-to-one on the relevant interior, with det𝐷𝑇≠0 there, and suppose 𝑓 is continuous. Then
Example 19.3 (A Change of Variables). Compute ∬𝑅𝑥2𝑑𝐴, where 𝑅 is the first-quadrant region bounded by 𝑦=𝑥, 𝑦=2𝑥, 𝑥𝑦=1, and 𝑥𝑦=2.
Setting 𝑢=𝑥𝑦 and 𝑣=𝑦/𝑥 converts our bounds to the region
𝑆={(𝑢,𝑣)∣1≤𝑢≤2,1≤𝑣≤2}
in the 𝑢𝑣-plane.
Our new bounds are constants, but to convert the integrand from 𝑥,𝑦 to 𝑢,𝑣, we need to solve for 𝑥,𝑦 in our coordinate change. This gives 𝑥=√𝑢/𝑣 and 𝑦=√𝑢𝑣. Thus, our integrand is 𝑥2=𝑢/𝑣.
The same geometric idea extends beyond maps between two planes. Suppose a map
⃗𝑟(𝑢,𝑣)=⟨𝑥(𝑢,𝑣),𝑦(𝑢,𝑣),𝑧(𝑢,𝑣)⟩
sends a region in the 𝑢𝑣-plane into three-dimensional space. A small parameter rectangle is again approximated by a parallelogram, now spanned by
⃗𝑟𝑢𝑑𝑢and⃗𝑟𝑣𝑑𝑣.
There is no two-dimensional determinant for vectors in ℝ3, but the magnitude of their cross product is exactly the area of the parallelogram they span. Thus the corresponding area scale is
𝑑𝑆=∥⃗𝑟𝑢×⃗𝑟𝑣∥𝑑𝑢𝑑𝑣.
The first preview revisits the sphere and cylinder from the coordinate-systems chapter. Their familiar scale factors now come from one common construction.
Figure 19.4 Now send the rectangle into space. Nothing about the construction changes — the
patch is still spanned by two tangent vectors and its area is still the area of
the parallelogram they make — except that two vectors in space need a cross
product rather than a determinant, and the cross product is that determinant
one dimension up. Watch the patch travel from pole to pole and shrink away to
nothing: that is the same sin𝜙 the volume element carried. On the cylinder
nothing changes at all, which is what a constant area element looks like.
For a graph 𝑧=𝑔(𝑥,𝑦), use the parameterization
⃗𝑟(𝑥,𝑦)=⟨𝑥,𝑦,𝑔(𝑥,𝑦)⟩.
Then
⃗𝑟𝑥=⟨1,0,𝑔𝑥⟩,⃗𝑟𝑦=⟨0,1,𝑔𝑦⟩,
so
𝑑𝑆=∥⃗𝑟𝑥×⃗𝑟𝑦∥𝑑𝑥𝑑𝑦=√1+𝑔2𝑥+𝑔2𝑦𝑑𝑥𝑑𝑦.
Figure 19.5 The case the next chapter computes with, and the one where the scale factor
answers an obvious question: how much surface is there above a given patch of
ground? Flat ground gives exactly 1 — a patch of floor with a patch of surface
directly over it. Every slope beyond that costs extra surface, and
√1+𝑔2𝑥+𝑔2𝑦 is the price. The wash on the floor is that price at every
point, so the bright regions are the steep ones.
This is only the geometric bridge. The next chapter develops parameterized surfaces carefully and uses this area element to integrate scalar fields over them.