Sometimes an integral over some region is easier to express or solve in one set of variables than another. For example, an integral over a circle may be easier to do in polar coordinates than in cartesian. Change of variables allows us to express an integral in whatever variables we find most convenient.
First consider change of variables with just a single variable (usually called u-substitution). We have some function u(x):[a,b]→[c,d] that maps one interval to another. If we have an integral of f(x) over [a,b] we can change the integration variable to u=u(x) with the formula:
∫abf(x)dxdudx=∫u(a)u(b)f(x(u))du.
Since the interval [c,d] might be a different length than [a,b], we need a length scaling factor du/dx. When we do a change of variables in several variables, we need to account for the area scaling factor or volume scaling factor the same way.
Remember that the absolute value of the determinant det(f1∣f2∣⋯∣fn) is the volume in Rn spanned by the vectors f1 through fn. For some change of variables from x1,x2,…,xn to u1,u2,…,un the area scaling factor would be det(u1′∣u2′∣⋯∣un′). This can also be written as the Jacobian determinant ∂(u1,u2,…,un)∂(x1,x2,…,xn)
∬f(x,y)dxdy=∬f(u,v)∂(u,v)∂(x,y)dudv
Steps
The general steps to do a change the variables of ∬Rf(x,y)dxdy from x,y to u,v are:
Transform x=x(u,v) and y=y(u,v).
Find equation(s) for the boundary curves of R in x,y.
Rewrite these curves in terms of u,v, find the corresponding region S.
Compute the Jacobian determinant ∂(u,v)∂(x,y)
Substitute x=x(u,v), y=y(u,v), dxdy=∂(u,v)∂(x,y)dudv to get ∬Rf(x,y)dxdy=∬Sf(x(u,v),y(u,v))∂(u,v)∂(x,y)dudv.
Common changes of variables
To avoid having to recompute the Jacobian determinant, here are some common changes of variables.
Polar coordinates
In polar coordinates r is usually the distance from the origin and θ is the counter-clockwise angle from the +x axis. In this case, the change of variables is:
dA=dxdy=rdrdθ.
x=rcosθ.
y=rsinθ.
Cylindrical coordinates
Cylindrical coordinates are the same as polar coordinates except there is also a k or z component which is just the distance from x,y plane in the +z direction. The change of variables is:
dV=dxdydz=rdrdθdk.
x=rcosθ.
y=rsinθ.
z=k.
Spherical coordinates
In spherical coordinates ρ is the distance from the origin, ϕ is the angle from the +z-axis, and θ is the same as in cylindrical and polar coordinates.
First, converting from cylindrical coordinates:
r=ρsinϕ.
θ=θ.
k=ρcosϕ.
And from cartesian coordinates:
x=ρsinϕcosθ.
y=ρsinϕsinθ.
z=ρcosϕ.
In general, the volume element dV=dxdydz=rdrdθdk=r2sinϕdρdϕdθ.