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

The Multivariable Chain Rule: df/dt, Why It Works, and the Product Rule

IKey Formulas

FormulaNameWhat it says
dfdt=fx dxdt+fy dydt+fz dzdt\frac{df}{dt} = f_x\,\frac{dx}{dt} + f_y\,\frac{dy}{dt} + f_z\,\frac{dz}{dt}Chain ruleOne term per path t→x→ft \to x \to f, t→y→ft \to y \to f, t→z→ft \to z \to f; the contributions add
df=fx dx+fy dy+fz dzdf = f_x\,dx + f_y\,dy + f_z\,dz with dx=x′(t) dtdx = x'(t)\,dt, …Reason 1: substitute differentialsEvery term carries a factor dtdt; divide it out
ΔfΔt≈fx ΔxΔt+fy ΔyΔt+fz ΔzΔt\frac{\Delta f}{\Delta t} \approx f_x\,\frac{\Delta x}{\Delta t} + f_y\,\frac{\Delta y}{\Delta t} + f_z\,\frac{\Delta z}{\Delta t}Reason 2: divide by Δt\Delta tOrdinary numbers; as Δt→0\Delta t \to 0 the ≈\approx becomes ==
(uv)′=v u′+u v′(uv)' = v\,u' + u\,v',  (uv)′=u′v−uv′v2\ \left(\frac{u}{v}\right)' = \frac{u'v - uv'}{v^2}Product and quotient rulesfu=vf_u = v, fv=uf_v = u;  gu=1v\ g_u = \frac{1}{v}, gv=−uv2g_v = -\frac{u}{v^2}

Key Insight: the partial derivatives are taken at the starting point and stay fixed as Δt\Delta t shrinks; only the ratios ΔxΔt\frac{\Delta x}{\Delta t}, ΔyΔt\frac{\Delta y}{\Delta t}, ΔzΔt\frac{\Delta z}{\Delta t} move, and they tend to dxdt\frac{dx}{dt}, dydt\frac{dy}{dt}, dzdt\frac{dz}{dt}.

IIVisualization 1 — One Term per Path

For w=x2y+zw = x^2y + z with x=tx = t, y=ety = e^t, z=sin⁡tz = \sin t, each path contributes (partial) ×\times (rate), and the three add.

IIIVisualization 2 — Dividing the Approximation by Δt\Delta t

At t=−1t = -1, both ΔwΔt\frac{\Delta w}{\Delta t} and wxΔxΔt+wyΔyΔt+wzΔzΔtw_x\frac{\Delta x}{\Delta t} + w_y\frac{\Delta y}{\Delta t} + w_z\frac{\Delta z}{\Delta t} tend to the same limit dwdt\frac{dw}{dt}.

IVVisualization 3 — The Product Rule as a Two-Path Chain Rule

For f=uvf = uv, the strips are fu Δu=v Δuf_u\,\Delta u = v\,\Delta u and fv Δv=u Δvf_v\,\Delta v = u\,\Delta v; the corner Δu Δv\Delta u\,\Delta v vanishes after dividing by Δt\Delta t.

VQuiz Questions

Problem 1 · Add Up the Paths

Given: f(x,y,z)=xy+yzf(x, y, z) = xy + yz with x=tx = t, y=t2y = t^2, z=t3z = t^3. Find dfdt\frac{df}{dt} at t=1t = 1 using the chain rule.

✅ Correct! fxx′+fyy′+fzz′=(1)(1)+(2)(2)+(1)(3)=8f_x x' + f_y y' + f_z z' = (1)(1) + (2)(2) + (1)(3) = 8, and direct substitution f=t3+t5f = t^3 + t^5 agrees.
❌ Not quite. fx+fy+fz=1+2+1=4f_x + f_y + f_z = 1 + 2 + 1 = 4 adds the partials alone. Each partial must be multiplied by the rate of its own variable.
❌ Close, but… ff depends on zz through the term yzyz, so the path through zz contributes fz z′=(1)(3)=3f_z\,z' = (1)(3) = 3 as well.
❌ Not quite. x′+y′+z′=1+2+3=6x' + y' + z' = 1 + 2 + 3 = 6 adds the rates alone; each rate must be weighted by ff's response to that variable.
❌ Not quite. At t=1t = 1: x=y=z=1x = y = z = 1, so fx=y=1f_x = y = 1, fy=x+z=2f_y = x + z = 2, fz=y=1f_z = y = 1.
Show solution

Partial derivatives: fx=yf_x = y,  fy=x+z\ f_y = x + z,  fz=y\ f_z = y. Rates: dxdt=1\frac{dx}{dt} = 1,  dydt=2t\ \frac{dy}{dt} = 2t,  dzdt=3t2\ \frac{dz}{dt} = 3t^2.

At t=1t = 1 the point is (x,y,z)=(1,1,1)(x, y, z) = (1, 1, 1), so fx=1f_x = 1, fy=2f_y = 2, fz=1f_z = 1 and the rates are 11, 22, 33:

dfdt=fx dxdt+fy dydt+fz dzdt=(1)(1)+(2)(2)+(1)(3)=8.\frac{df}{dt} = f_x\,\frac{dx}{dt} + f_y\,\frac{dy}{dt} + f_z\,\frac{dz}{dt} = (1)(1) + (2)(2) + (1)(3) = 8.

Check by substitution: f=t⋅t2+t2⋅t3=t3+t5f = t \cdot t^2 + t^2 \cdot t^3 = t^3 + t^5, so dfdt=3t2+5t4=8\frac{df}{dt} = 3t^2 + 5t^4 = 8 at t=1t = 1.

Problem 2 · Where the Partials Are Evaluated

Given: f(x,y)=x2yf(x, y) = x^2y with x=2tx = 2t, y=t+1y = t + 1. Find dfdt\frac{df}{dt} at t=1t = 1.

✅ Correct! At t=1t = 1 the point is (x,y)=(2,2)(x, y) = (2, 2): fx x′+fy y′=(8)(2)+(4)(1)=20f_x\,x' + f_y\,y' = (8)(2) + (4)(1) = 20.
❌ Close, but… the partials are evaluated at the point (x,y)=(x(1),y(1))=(2,2)(x, y) = (x(1), y(1)) = (2, 2), not at x=y=1x = y = 1. Then fx=2xy=8f_x = 2xy = 8 and fy=x2=4f_y = x^2 = 4.
❌ Not quite. fx+fy=8+4=12f_x + f_y = 8 + 4 = 12 leaves out the rates dxdt=2\frac{dx}{dt} = 2 and dydt=1\frac{dy}{dt} = 1.
❌ Close, but… (8)(2)=16(8)(2) = 16 is only the path through xx. The path through yy adds fy dydt=(4)(1)=4f_y\,\frac{dy}{dt} = (4)(1) = 4.
❌ Not quite. Compute fx=2xyf_x = 2xy and fy=x2f_y = x^2 at (2,2)(2, 2), then weight them by dxdt=2\frac{dx}{dt} = 2 and dydt=1\frac{dy}{dt} = 1.
Show solution

At t=1t = 1: x=2x = 2, y=2y = 2. Partial derivatives there: fx=2xy=8f_x = 2xy = 8,  fy=x2=4\ f_y = x^2 = 4. Rates: dxdt=2\frac{dx}{dt} = 2,  dydt=1\ \frac{dy}{dt} = 1.

dfdt=fx dxdt+fy dydt=(8)(2)+(4)(1)=20.\frac{df}{dt} = f_x\,\frac{dx}{dt} + f_y\,\frac{dy}{dt} = (8)(2) + (4)(1) = 20.

Check by substitution: f=(2t)2(t+1)=4t3+4t2f = (2t)^2(t + 1) = 4t^3 + 4t^2, so dfdt=12t2+8t=20\frac{df}{dt} = 12t^2 + 8t = 20 at t=1t = 1.

Problem 3 · No Formula, Only Partials

Given: a drone flies through air whose temperature is T(x,y,z)T(x, y, z) (in °C\degree\mathrm{C}, distances in metres). At its current position Tx=0.4T_x = 0.4, Ty=−0.3T_y = -0.3, Tz=−0.01T_z = -0.01 (in °C\degree\mathrm{C} per metre), and its velocity is dxdt=5\frac{dx}{dt} = 5, dydt=2\frac{dy}{dt} = 2, dzdt=20\frac{dz}{dt} = 20 (metres per second). No formula for TT is known. Find the rate dTdt\frac{dT}{dt} at which the drone's thermometer reading changes.

✅ Correct! (0.4)(5)+(−0.3)(2)+(−0.01)(20)=2−0.6−0.2=1.2(0.4)(5) + (-0.3)(2) + (-0.01)(20) = 2 - 0.6 - 0.2 = 1.2. Substitution is impossible here; the chain rule only needs the partials and the rates.
❌ Not quite. 2+0.6+0.2=2.82 + 0.6 + 0.2 = 2.8 drops the signs. Moving in yy and in zz carries the drone toward cooler air, so those contributions are negative.
❌ Close, but… Tz=−0.01T_z = -0.01 is small, but the drone climbs fast: Tz dzdt=(−0.01)(20)=−0.2T_z\,\frac{dz}{dt} = (-0.01)(20) = -0.2 is not negligible.
❌ Not quite. 0.4−0.3−0.01=0.090.4 - 0.3 - 0.01 = 0.09 adds the partials without the velocity components; each must be multiplied by its rate.
❌ Not quite. Multiply each partial by the matching velocity component and add the three products.
Show solution

The reading is T(x(t),y(t),z(t))T(x(t), y(t), z(t)), a function of tt alone. Its derivative, by the chain rule:

dTdt=Tx dxdt+Ty dydt+Tz dzdt=(0.4)(5)+(−0.3)(2)+(−0.01)(20).\frac{dT}{dt} = T_x\,\frac{dx}{dt} + T_y\,\frac{dy}{dt} + T_z\,\frac{dz}{dt} = (0.4)(5) + (-0.3)(2) + (-0.01)(20). dTdt=2−0.6−0.2=1.2 °C/s.\frac{dT}{dt} = 2 - 0.6 - 0.2 = 1.2\ \degree\mathrm{C/s}.

With no formula for TT, substituting is not possible; the partial derivatives at the current point and the velocity are all the chain rule needs.

Problem 4 · The Quotient Rule from the Chain Rule

Given: g(u,v)=uvg(u, v) = \frac{u}{v}, where at t=2t = 2: u=6u = 6, v=3v = 3, dudt=1\frac{du}{dt} = 1, dvdt=2\frac{dv}{dt} = 2. Find gvg_v at this point and dgdt\frac{dg}{dt} at t=2t = 2.

What is gv=∂g∂vg_v = \frac{\partial g}{\partial v} at (u,v)=(6,3)(u, v) = (6, 3)?

What is dgdt\frac{dg}{dt} at t=2t = 2?

✅ Correct! gu u′+gv v′=13(1)−23(2)=−1g_u\,u' + g_v\,v' = \tfrac{1}{3}(1) - \tfrac{2}{3}(2) = -1, matching the quotient rule u′v−uv′v2=3−129=−1\frac{u'v - uv'}{v^2} = \frac{3 - 12}{9} = -1.
❌ Close, but… ∂∂v(u⋅v−1)=−u v−2\frac{\partial}{\partial v}\left(u \cdot v^{-1}\right) = -u\,v^{-2} keeps the factor uu: −69=−23-\frac{6}{9} = -\frac{2}{3}.
❌ Check the sign. Increasing the denominator vv decreases uv\frac{u}{v} when u>0u > 0, so gv=−uv2g_v = -\frac{u}{v^2} is negative.
❌ Not quite. −uv=−2-\frac{u}{v} = -2 divides by vv only once: the derivative of v−1v^{-1} is −v−2-v^{-2}, so gv=−uv2=−23g_v = -\frac{u}{v^2} = -\frac{2}{3}.
❌ Check the order. uv′−u′vv2=1\frac{uv' - u'v}{v^2} = 1 reverses the numerator; the chain rule gives gu u′+gv v′=u′v−u v′v2g_u\,u' + g_v\,v' = \frac{u'}{v} - \frac{u\,v'}{v^2}.
❌ Close, but… 13+43\tfrac{1}{3} + \tfrac{4}{3} uses gv=+23g_v = +\tfrac{2}{3}; with gv=−23g_v = -\tfrac{2}{3} the second term is −43-\tfrac{4}{3}.
❌ Not quite. −3=u′v−uv′v-3 = \frac{u'v - uv'}{v} divides by vv once; over the common denominator v2=9v^2 = 9 the result is −99=−1\frac{-9}{9} = -1.
❌ Check gvg_v. Hold uu fixed and differentiate u v−1u\,v^{-1} with respect to vv.
❌ Check dgdt\frac{dg}{dt}. Use dgdt=gu dudt+gv dvdt\frac{dg}{dt} = g_u\,\frac{du}{dt} + g_v\,\frac{dv}{dt} with gu=1vg_u = \frac{1}{v}.
Show solution

Partial derivatives of g=uvg = \frac{u}{v}:  gu=1v\ g_u = \frac{1}{v},  gv=−uv2\ g_v = -\frac{u}{v^2}. At (u,v)=(6,3)(u, v) = (6, 3):

gu=13,gv=−69=−23.g_u = \frac{1}{3}, \qquad g_v = -\frac{6}{9} = -\frac{2}{3}.

Two paths, t→u→gt \to u \to g and t→v→gt \to v \to g:

dgdt=gu dudt+gv dvdt=13(1)−23(2)=13−43=−1.\frac{dg}{dt} = g_u\,\frac{du}{dt} + g_v\,\frac{dv}{dt} = \frac{1}{3}(1) - \frac{2}{3}(2) = \frac{1}{3} - \frac{4}{3} = -1.

Check with the quotient rule: u′v−uv′v2=(1)(3)−(6)(2)32=−99=−1\frac{u'v - uv'}{v^2} = \frac{(1)(3) - (6)(2)}{3^2} = \frac{-9}{9} = -1.

Solved: 0 / 4