The rule
- d/dt f(x(t), y(t)) = ∂f/∂x · x′(t) + ∂f/∂y · y′(t)
The partial derivatives are taken at the point the curve has reached, (x(t), y(t)). Each term is the one-variable chain rule: how fast f changes with x, times how fast x changes with t. The rule is a theorem.
Holds when f is differentiable at (x(t), y(t)) and x and y are differentiable at t.
Written with the gradient, the right side is the dot product ∇f · (x′(t), y′(t)): the gradient against the velocity of the curve.
Worked example: xy² along x = t², y = 3t − 1
At t = 2:
- The point: x = 4 and y = 5.
- The partials there: ∂f/∂x = y² = 25 and ∂f/∂y = 2xy = 40.
- The velocity: x′(t) = 2t = 4 and y′(t) = 3.
- d/dt f = 25 · 4 + 40 · 3 = 220.
To check, substitute first: f = t²(3t − 1)², whose derivative 2t(3t − 1)² + 6t²(3t − 1) is 100 + 120 = 220 at t = 2. The two terms of the rule are the two terms of the product rule here, though in general they are not.
Common mistakes
- Leaving out one path. With only ∂f/∂x · x′(t), the answer above would be 100.
- Taking the partials at the wrong point. They belong at (x(t), y(t)) = (4, 5), not at (2, 2).
- Writing ∂ on the left. Along the curve f depends on t alone, so its rate of change there is an ordinary derivative, d/dt.