Change of Variables: Polar and Other Coordinates
What you'll learn: How to use the chain rule to convert partial derivatives between rectangular and polar coordinate systems.
Why Change Coordinate Systems?
Sometimes a problem that looks complicated in rectangular coordinates (x, y) becomes much simpler in polar coordinates (r, θ), or vice versa. When you switch coordinate systems, you need to know how partial derivatives transform—and the chain rule is your tool for this.
The Setup
Recall that polar and rectangular coordinates are related by:
- x = r cos(θ)
- y = r sin(θ)
If you have a function f(x, y) and want to express it in polar coordinates as f(r cos(θ), r sin(θ)), you need to find how ∂f/∂r and ∂f/∂θ relate to ∂f/∂x and ∂f/∂y.
Applying the Chain Rule
By the multivariable chain rule:
∂f/∂r = (∂f/∂x)(∂x/∂r) + (∂f/∂y)(∂y/∂r) = (∂f/∂x)cos(θ) + (∂f/∂y)sin(θ)
∂f/∂θ = (∂f/∂x)(∂x/∂θ) + (∂f/∂y)(∂y/∂θ) = (∂f/∂x)(-r sin(θ)) + (∂f/∂y)(r cos(θ))
These formulas let you translate derivatives from one system to another. You can also solve these equations to go the other way (from polar derivatives back to rectangular).
Think of It Like This
Imagine you're measuring how temperature changes. In a rectangular room, you might measure change along walls (∂f/∂x, ∂f/∂y). But if you're standing at the center of a circular space, it's more natural to measure change radiating outward (∂f/∂r) and spinning around (∂f/∂θ). The chain rule translates between these perspectives.
Key Takeaway: The chain rule lets you express partial derivatives in one coordinate system (like polar) in terms of partial derivatives in another system (like rectangular) by accounting for how the coordinates themselves depend on each other.