Multivariable CalculusTriple Integrals and Change of Variables4 of 4
Triple Integrals and Change of Variables · 4
Change of Variables and the Jacobian
When a region is tilted or curved, slicing it along the x- and y-axes splits a double integral into awkward pieces.
1
Why We Change Coordinates
Suppose we want to evaluate
∬R(x+y)dxdy
where R is the tilted parallelogram bounded by x−2y=0,x−2y=4,x+y=1, and x+y=3.
Instead of slicing the tilted shape along the x- and y-axes, we can invent new coordinates (u,v) where the region straightens out into a rectangle.
Why We Change Coordinates
In single-variable substitution, setting u=2x+1 stretches the number line by a factor of 2, so a step dx on the x-axis becomes dx=21du. In two dimensions, a transformation x=x(u,v),y=y(u,v) stretches and curves a flat grid in the uv-plane onto the xy-plane, so we need the two-dimensional version of that stretching factor to translate dxdy into dudv.
2
Area Stretching and the Jacobian
The Jacobian is the factor that tells us how much a tiny du×dv square in the uv-plane gets stretched or shrunk when it lands as a tiny parallelogram of area dA in the xy-plane.
To find the area of that tiny parallelogram, remember that a parallelogram formed by two column vectors [ac] and [bd] has an area equal to the absolute value of their 2×2 determinant:
Area=det[acbd]=∣ad−bc∣
Area Stretching and the Jacobian
Nudging u by du and v by dv sends the edges of a tiny du×dv square to the two edge vectors [∂u∂x∂u∂y]du and [∂v∂x∂v∂y]dv in the xy-plane, so its area dA=dxdy is
As the du×dv square in the uv-plane shrinks, its curved shape in the xy-plane straightens out into the parallelogram formed by the two partial-derivative edge vectors, which has area ∂(u,v)∂(x,y)dudv.
As you shrink a small square in the input grid, its curved image flattens into the straight-sided parallelogram formed by the two partial-derivative vectors.
3
Why Polar Coordinates Need an Extra r
We can test this determinant on a coordinate change we already know: why dxdy becomes rdrdθ when we switch to polar coordinates x=rcosθ and y=rsinθ.
Why Polar Coordinates Need an Extra r
x=rcosθ,y=rsinθ
dxdy=?drdθ
Text solution
Nudge r and θ to fill the columnsTaking the derivative of x=rcosθ and y=rsinθ with respect to r gives the first column, and taking the derivative with respect to θ gives the second column.
∂r∂x∂r∂y∂θ∂x∂θ∂y=[cosθsinθ−rsinθrcosθ]
Take the determinant for the area factorMultiply the diagonals and factor out r, then use cos2θ+sin2θ=1.
So a tiny polar patch at distance r from the origin has area dxdy=rdrdθ, because the same angle step dθ sweeps out a wider arc the farther out you go.
4
Tilted Parallelograms and the Backwards Jacobian
Now we can return to our opening integral
∬R(x+y)dxdy
over the parallelogram R bounded by x−2y=0,x−2y=4,x+y=1, and x+y=3.
The boundary lines give us u=x−2y and v=x+y in terms of x and y, which is the reverse of the x(u,v) and y(u,v) formulas in the Jacobian. Rather than doing algebra to solve for x and y, we can find the area-stretching factor from (x,y) to (u,v) and take its reciprocal.
Tilted Parallelograms and the Backwards Jacobian
Because going from (u,v) to (x,y) reverses going from (x,y) to (u,v), their area-stretching factors are reciprocals:
∂(u,v)∂(x,y)=∂(x,y)∂(u,v)1
Text solution
Set u and v to match the boundary equationsChoosing u=x−2y and v=x+y turns the four boundary lines into constant bounds for a rectangle in the uv-plane.
0≤u≤4,1≤v≤3
Compute the backwards Jacobian and flip itDifferentiating u and v with respect to x and y gives the stretching factor from xy to uv, and its reciprocal converts dxdy to dudv.
So the integral over the tilted parallelogram is 316, found without splitting the region or solving a system of equations for x and y.
5
Mapping Boundary Edges One by One
In the parallelogram problem, all four boundary edges were already written as u=constant and v=constant. Now suppose we want to evaluate
∬Rcos(x+yx−y)dxdy
where R is the triangle bounded by y=0,x=0, and x+y=1.
Here the fraction inside the cosine tells us to pick u=x−y and v=x+y, which turns the edge x+y=1 into v=1, but the edges y=0 and x=0 are not lines where u or v is constant. To find the new bounds, we translate the boundary of R into the uv-plane one edge at a time.
Mapping Boundary Edges One by One
Text solution
Find the area factor from the backwards JacobianDifferentiating u=x−y and v=x+y with respect to x and y and taking the reciprocal of the determinant gives dxdy.
∂(x,y)∂(u,v)=det[11−11]=(1)(1)−(1)(−1)=2
dxdy=21dudv
Substitute each triangle edge into u and vPlugging x+y=1,y=0, and x=0 into u=x−y and v=x+y gives the three boundary lines of the new triangle in the uv-plane.
x+y=1y=0x=0⟹v=1⟹u=x,v=x⟹u=v⟹u=−y,v=y⟹u=−v
Slice horizontally in the uv-plane and integrateIntegrating with respect to u first from u=−v to u=v keeps v constant inside cos(u/v), and then v runs from 0 to 1.
Even though the region is still a triangle in the uv-plane, integrating with respect to u first makes cos(vu) easy to integrate in one step because v is held constant, giving 21sin(1).
As a point moves along the three edges of the triangle in the xy-plane, the corresponding point in the uv-plane traces out the boundary lines v=1,u=v, and u=−v of the new triangle.
Each edge of the original triangle maps to one edge of the new triangle in the uv-plane.
6
Nonlinear Transformations and Variable Stretching
When u and v are combinations like x−2y and x+y, the grid lines stay straight and evenly spaced, so the Jacobian is just a single number. Now suppose we want to evaluate
∬Ry2dxdy
where R is the region in the first quadrant bounded by the hyperbolas xy=1 and xy=2 and the lines y=x and y=3x.
Rewriting the lines as xy=1 and xy=3 gives us a curved transformation u=xy and v=xy, where the stretching factor changes from point to point and comes out in terms of x and y.
Nonlinear Transformations and Variable Stretching
Text solution
Rewrite the boundaries so u and v are constantDividing the line equations by x puts all four boundary curves in the form u=constant and v=constant.
u=xy(1≤u≤2),v=xy(1≤v≤3)
Compute the backwards Jacobian and flip itDifferentiating u=xy and v=xy with respect to x and y gives a stretching factor that depends on x and y.
Multiplying u and v gets rid of x and y without solving for them one by one, and the v in the stretching factor 2v1 cancels cleanly with the v in uv to give 23.
Under the curved transformation u=xy and v=xy, equal squares in the uv-plane turn into curved patches of different sizes in the xy-plane, stretching out near the x-axis where v is small and shrinking along steeper lines where v is large.
Equal squares in the uv-plane get stretched or shrunk by different amounts depending on where they land in the xy-plane.
7
The Jacobian in Three Dimensions
For a triple integral ∭Ef(x,y,z)dxdydz, the 3D Jacobian is the volume-stretching factor that tells us how much a tiny du×dv×dw cube in uvw-space gets stretched and tilted into a tiny 3D slanted box (a parallelepiped) in xyz-space.
The Jacobian in Three Dimensions
Nudging u,v, and w one at a time gives the three edge vectors of that slanted box, whose volume is the absolute value of their 3×3 determinant:
In spherical coordinates, filling those three columns by nudging ρ,ϕ, and θ and taking the 3×3 determinant is where the volume piece ρ2sinϕdρdϕdθ comes from.
Key concepts
When a region's sides already line up with the x- and y-axes (or form a circle where polar coordinates dxdy=rdrdθ apply directly) and the function inside the integral has no awkward combinations of x and y, integrate directly without inventing new variables. Use a change of variables when tilted or curved boundaries would force you to split the integral, such as the parallelogram bounded by x−2y=0,4 and x+y=1,3, or when a repeated expression is stuck inside the integral, like cos(x+yx−y).
let the boundary equations or the function inside the integral pick u and v for you:
Boundaries of the form expression=constant
Rewrite curves like y=x and y=3x as xy=1 and xy=3 so that u=xy and v=xy have constant bounds. If a boundary edge isn't already u=constant or v=constant (like y=0 when u=x−y and v=x+y), plug that edge into u and v to find the line it traces in the uv-plane (u=x and v=x⟹u=v).
Forward vs. backwards Jacobian
If x and y are given in terms of u and v (like x=rcosθ,y=rsinθ), nudge u and v to compute ∂(u,v)∂(x,y) directly. If u and v are given in terms of x and y (like u=x−2y,v=x+y), differentiate u and v with respect to x and y to get ∂(x,y)∂(u,v)=3 and take its reciprocal to get dxdy=31dudv.
No leftover x's or y's
When a curved transformation leaves x and y in the stretching factor (like dxdy=2yxdudv for u=xy,v=xy), multiply or divide u and v to rewrite every piece in terms of u and v (2yx=2v1 and y2=uv) before integrating.
8
Practice
1
Evaluate ∬R(3x+2y)dxdy, where R is the parallelogram bounded by x−y=0,x−y=2,3x+2y=1, and 3x+2y=4.
Forgetting to take the reciprocal of the backwards Jacobian and using 5dudv instead of 51dudv leads to 75.Missing the negative sign in (1)(2)−(3)(−1) gives a determinant of −1 and an answer of 15.
Look at the two expressions that stay constant along the four boundary lines: which one also matches 3x+2y inside the integral?
Set u=x−y (0≤u≤2) and v=3x+2y (1≤v≤4), then compute the backwards Jacobian:
∂(x,y)∂(u,v)=det[13−12]=(1)(2)−(3)(−1)=5
Take the reciprocal of the determinant to get dxdy=51dudv. (Forgetting to take the reciprocal of the backwards Jacobian and using 5dudv instead of 51dudv leads to 75; missing the negative sign in (1)(2)−(3)(−1) gives a determinant of −1 and an answer of 15.)
Use the transformation x=u+2v,y=2u+v to evaluate ∬Rydxdy, where R is the shape in the xy-plane formed by the rectangle 0≤u≤1,0≤v≤2.
Dropping the absolute value bars and using −3 gives −12.Flipping the determinant to 31 out of habit when x and y are already in terms of u and v gives 34.
Here x and y are already given in terms of u and v. Do you need to flip the Jacobian determinant or take its absolute value directly?
Compute the forward Jacobian directly by differentiating x and y with respect to u and v:
∂(u,v)∂(x,y)=det[1221]=(1)(1)−(2)(2)=−3
Taking the absolute value gives dxdy=∣−3∣dudv=3dudv. (Dropping the absolute value bars and using −3 gives −12, while flipping the determinant to 31 out of habit when x and y are already in terms of u and v gives 34.)
Evaluate ∬Rey/(x+y)dxdy, where R is the triangle bounded by x=0,y=0, and x+y=2.
Using v=−u as the lower bound by copying the earlier triangle example instead of plugging y=0 into v=y leads to 2(e−e−1).Remember that e0=1 at the lower limit v=0; treating e0 as 0 drops the −u term and gives 2e.
Set u equal to the bottom and v equal to the top of the fraction in the exponent, then plug x=0 and y=0 into your equations for u and v to find the bounds on v for a fixed u.
Set u=x+y and v=y, and compute the backwards Jacobian:
∂(x,y)∂(u,v)=det[1011]=(1)(1)−(1)(0)=1
Flipping gives dxdy=1dudv. Translate each of the three boundary edges into the uv-plane:
x+y=2y=0x=0⟹u=2⟹v=0⟹u=y,v=y⟹v=u
(Using v=−u as the lower bound by copying the earlier triangle example instead of plugging y=0 into v=y leads to 2(e−e−1).)
Integrate with respect to v first from 0 to u, then with respect to u from 0 to 2 (remembering that e0=1 at the lower limit v=0; treating e0 as 0 drops the −u term and gives 2e):
(Forgetting the factor of 2 when differentiating v=yx−2 with respect to x gives a determinant of x22y instead of x23y, leading to 445.)
Taking the reciprocal of the determinant gives dxdy=3yx2dudv=3v1dudv, and multiplying u and v gives xy2 inside the integral, since uv=(xy)(x2y)=xy2:
Taking the absolute value gives dxdydz=∣−4∣dudvdw=4dudvdw. (Forgetting to multiply by the 2 from ∂w∂z=2 gives a volume factor of 2 and an answer of 24; leaving off the absolute value bars gives −48.)
Substitute x+y+z=(u+v)+(u−v)+2w=2u+2w and integrate over the box: