Multivariable-Calculus · Unit 10 · Video 3 · Interactive Practice

Chain Rule for Partial Derivatives: Changing Variables (Polar Coordinates)

IKey Formulas

FormulaNameWhere it comes from
dw=(fxxu+fyyu) du+(fxxv+fyyv) dvdw = (f_x x_u + f_y y_u)\,du + (f_x x_v + f_y y_v)\,dvCollected total differentialSubstitute dx=xu du+xv dvdx = x_u\,du + x_v\,dv and dy=yu du+yv dvdy = y_u\,du + y_v\,dv into dw=fx dx+fy dydw = f_x\,dx + f_y\,dy
∂f∂u=∂f∂x∂x∂u+∂f∂y∂y∂u\dfrac{\partial f}{\partial u} = \dfrac{\partial f}{\partial x}\dfrac{\partial x}{\partial u} + \dfrac{\partial f}{\partial y}\dfrac{\partial y}{\partial u}Chain rule, change of variablesCoefficient of dudu; replace uu by vv for ∂f/∂v\partial f/\partial v
fr=cos⁡θ fx+sin⁡θ fyf_r = \cos\theta\, f_x + \sin\theta\, f_yPolar, radial ratex=rcos⁡θx = r\cos\theta, y=rsin⁡θy = r\sin\theta, so xr=cos⁡θx_r = \cos\theta, yr=sin⁡θy_r = \sin\theta
fθ=−rsin⁡θ fx+rcos⁡θ fyf_\theta = -r\sin\theta\, f_x + r\cos\theta\, f_yPolar, angular ratexθ=−rsin⁡θx_\theta = -r\sin\theta, yθ=rcos⁡θy_\theta = r\cos\theta

Key Insight: The result is a sum of products, one per intermediate variable, and the curly ∂\partial's never cancel: cancelling would give ∂f∂u=∂f∂u+∂f∂u\frac{\partial f}{\partial u} = \frac{\partial f}{\partial u} + \frac{\partial f}{\partial u}, which is false unless ∂f∂u=0\frac{\partial f}{\partial u} = 0.

IIThe Polar Rates at a Point

Increasing rr moves PP along its ray at rate (cos⁡θ,sin⁡θ)(\cos\theta, \sin\theta); increasing θ\theta moves it around its circle at rate (−rsin⁡θ, rcos⁡θ)(-r\sin\theta,\ r\cos\theta).

IIIOne Product per Path

For f=xyf = xy in polar coordinates, each path from ff to the chosen variable contributes one product, and the products add.

IVThe Rate as a Limit

The chain-rule value is the limit of Δf/Δr\Delta f/\Delta r as the step along the ray shrinks, and likewise for Δf/Δθ\Delta f/\Delta\theta around the circle.

VQuiz Questions

Problem 1 · The Radial Rate

Given: f(x,y)=x2+y2f(x, y) = x^2 + y^2 with x=rcos⁡θx = r\cos\theta, y=rsin⁡θy = r\sin\theta — find frf_r using fr=cos⁡θ fx+sin⁡θ fyf_r = \cos\theta\, f_x + \sin\theta\, f_y.

✅ Correct! fr=cos⁡θ(2rcos⁡θ)+sin⁡θ(2rsin⁡θ)=2rf_r = \cos\theta(2r\cos\theta) + \sin\theta(2r\sin\theta) = 2r, matching f=r2f = r^2 directly.
❌ The rates are missing. That is fx+fyf_x + f_y; each partial must be multiplied by its rate, xr=cos⁡θx_r = \cos\theta and yr=sin⁡θy_r = \sin\theta.
❌ That is fθf_\theta. The function is constant around each circle, so fθ=0f_\theta = 0, but moving out along the ray increases it.
❌ Only one path. 2rcos⁡2θ2r\cos^2\theta is the path through xx alone; increasing rr moves yy as well, adding sin⁡θ⋅2rsin⁡θ\sin\theta \cdot 2r\sin\theta.
Show solution

The partials are fx=2x=2rcos⁡θf_x = 2x = 2r\cos\theta and fy=2y=2rsin⁡θf_y = 2y = 2r\sin\theta. Then

fr=cos⁡θ (2rcos⁡θ)+sin⁡θ (2rsin⁡θ)=2r(cos⁡2θ+sin⁡2θ)=2r.f_r = \cos\theta\,(2r\cos\theta) + \sin\theta\,(2r\sin\theta) = 2r(\cos^2\theta + \sin^2\theta) = 2r.

Check by substitution: f=r2cos⁡2θ+r2sin⁡2θ=r2f = r^2\cos^2\theta + r^2\sin^2\theta = r^2, so fr=2rf_r = 2r.

Problem 2 · No Cancelling

Given: f(x,y)=xyf(x, y) = xy with x=u+vx = u + v and y=u−vy = u - v — find ∂f∂u\dfrac{\partial f}{\partial u} at (u,v)=(2,1)(u, v) = (2, 1).

✅ Correct! Both paths count: fxxu+fyyu=(1)(1)+(3)(1)=4f_x x_u + f_y y_u = (1)(1) + (3)(1) = 4.
❌ Only one path. 33 is the path through yy alone; changing uu moves xx too, and the path through xx adds (1)(1)(1)(1).
❌ That is the cancellation. Cancelling ∂x\partial x and ∂y\partial y turns each term into ∂f/∂u\partial f/\partial u and doubles the answer; partial derivatives do not cancel like fractions.
❌ That is ∂f/∂v\partial f/\partial v. The paths ending at vv use xv=1x_v = 1 and yv=−1y_v = -1; for uu both rates are 11.
Show solution

At (u,v)=(2,1)(u, v) = (2, 1): x=3x = 3, y=1y = 1. The partials are fx=y=1f_x = y = 1 and fy=x=3f_y = x = 3, and the rates are xu=1x_u = 1, yu=1y_u = 1.

∂f∂u=∂f∂x∂x∂u+∂f∂y∂y∂u=(1)(1)+(3)(1)=4.\frac{\partial f}{\partial u} = \frac{\partial f}{\partial x}\frac{\partial x}{\partial u} + \frac{\partial f}{\partial y}\frac{\partial y}{\partial u} = (1)(1) + (3)(1) = 4.

Check by substitution: f=(u+v)(u−v)=u2−v2f = (u + v)(u - v) = u^2 - v^2, so fu=2u=4f_u = 2u = 4. The cancelled version ∂f∂u+∂f∂u\frac{\partial f}{\partial u} + \frac{\partial f}{\partial u} would give 88, which is wrong.

Problem 3 · Both Polar Partials at a Point

Given: f(x,y)=x2yf(x, y) = x^2 y at the point with polar coordinates r=2r = 2, θ=π6\theta = \tfrac{\pi}{6} — find frf_r and fθf_\theta.

What is frf_r?

What is fθf_\theta?

✅ Correct! fr=92f_r = \tfrac{9}{2} and fθ=3f_\theta = \sqrt{3}, both confirmed by differentiating f=r3cos⁡2θsin⁡θf = r^3\cos^2\theta\sin\theta.
❌ Check frf_r. At this point fx=2xy=23f_x = 2xy = 2\sqrt{3} and fy=x2=3f_y = x^2 = 3; weight them by cos⁡θ=32\cos\theta = \tfrac{\sqrt{3}}{2} and sin⁡θ=12\sin\theta = \tfrac{1}{2}.
❌ Rates swapped. fxf_x goes with xr=cos⁡θx_r = \cos\theta, not sin⁡θ\sin\theta.
❌ Check fθf_\theta. Use xθ=−rsin⁡θ=−1x_\theta = -r\sin\theta = -1 and yθ=rcos⁡θ=3y_\theta = r\cos\theta = \sqrt{3}.
❌ The factor rr is missing. Around a circle of radius r=2r = 2 the point moves at speed rr: xθ=−rsin⁡θx_\theta = -r\sin\theta, yθ=rcos⁡θy_\theta = r\cos\theta.
❌ Sign of xθx_\theta. Increasing θ\theta in the first quadrant moves the point left, so xθ=−rsin⁡θx_\theta = -r\sin\theta is negative.
Show solution

At r=2r = 2, θ=π6\theta = \tfrac{\pi}{6}: x=2cos⁡π6=3x = 2\cos\tfrac{\pi}{6} = \sqrt{3} and y=2sin⁡π6=1y = 2\sin\tfrac{\pi}{6} = 1.

Partials of f=x2yf = x^2 y: fx=2xy=23f_x = 2xy = 2\sqrt{3} and fy=x2=3f_y = x^2 = 3.

fr=cos⁡θ fx+sin⁡θ fy=32(23)+12(3)=3+32=92f_r = \cos\theta\, f_x + \sin\theta\, f_y = \tfrac{\sqrt{3}}{2}(2\sqrt{3}) + \tfrac{1}{2}(3) = 3 + \tfrac{3}{2} = \tfrac{9}{2} fθ=−rsin⁡θ fx+rcos⁡θ fy=(−1)(23)+(3)(3)=3f_\theta = -r\sin\theta\, f_x + r\cos\theta\, f_y = (-1)(2\sqrt{3}) + (\sqrt{3})(3) = \sqrt{3}

Check by substitution: f=r3cos⁡2θsin⁡θf = r^3\cos^2\theta\sin\theta, so fr=3r2cos⁡2θsin⁡θ=12⋅34⋅12=92f_r = 3r^2\cos^2\theta\sin\theta = 12\cdot\tfrac{3}{4}\cdot\tfrac{1}{2} = \tfrac{9}{2} and fθ=r3(cos⁡3θ−2cos⁡θsin⁡2θ)=8(338−34)=3f_\theta = r^3(\cos^3\theta - 2\cos\theta\sin^2\theta) = 8\left(\tfrac{3\sqrt{3}}{8} - \tfrac{\sqrt{3}}{4}\right) = \sqrt{3}.

Problem 4 · From Polar Rates Back to fxf_x, fyf_y

Given: at the point (x,y)=(0,2)(x, y) = (0, 2), a function has fr=3f_r = 3 and fθ=4f_\theta = 4 — find fxf_x and fyf_y there.

What is fxf_x?

What is fyf_y?

✅ Correct! At θ=π2\theta = \tfrac{\pi}{2} the relations reduce to fr=fyf_r = f_y and fθ=−2fxf_\theta = -2f_x, so fx=−2f_x = -2 and fy=3f_y = 3.
❌ Check fxf_x. At (0,2)(0, 2), r=2r = 2 and θ=π2\theta = \tfrac{\pi}{2}, so fθ=−rsin⁡θ fx+rcos⁡θ fy=−2fxf_\theta = -r\sin\theta\, f_x + r\cos\theta\, f_y = -2f_x.
❌ Sign. xθ=−rsin⁡θ=−2x_\theta = -r\sin\theta = -2 here: increasing θ\theta from the top of the circle moves the point left, so 4=−2fx4 = -2f_x.
❌ Multiplied instead of divided. fθ=−2fxf_\theta = -2f_x, so fx=fθ/(−2)f_x = f_\theta / (-2), not −2fθ-2f_\theta.
❌ The factor rr is missing. xθ=−rsin⁡θx_\theta = -r\sin\theta carries r=2r = 2, so fθ=−2fxf_\theta = -2f_x.
❌ Check fyf_y. With cos⁡θ=0\cos\theta = 0 and sin⁡θ=1\sin\theta = 1, fr=cos⁡θ fx+sin⁡θ fyf_r = \cos\theta\, f_x + \sin\theta\, f_y is just fyf_y.
Show solution

The point (0,2)(0, 2) has r=2r = 2 and θ=π2\theta = \tfrac{\pi}{2}, so cos⁡θ=0\cos\theta = 0 and sin⁡θ=1\sin\theta = 1.

fr=cos⁡θ fx+sin⁡θ fy=fy⇒fy=3f_r = \cos\theta\, f_x + \sin\theta\, f_y = f_y \quad\Rightarrow\quad f_y = 3 fθ=−rsin⁡θ fx+rcos⁡θ fy=−2fx⇒fx=4−2=−2f_\theta = -r\sin\theta\, f_x + r\cos\theta\, f_y = -2f_x \quad\Rightarrow\quad f_x = \frac{4}{-2} = -2

Check: with fx=−2f_x = -2, fy=3f_y = 3: fr=0⋅(−2)+1⋅3=3f_r = 0\cdot(-2) + 1\cdot 3 = 3 and fθ=−2⋅(−2)+0⋅3=4f_\theta = -2\cdot(-2) + 0\cdot 3 = 4.

Solved: 0 / 4