Skip to content
LoveToCalc

Theorem — what does that mean?

Chain rule for two variables

Along a curve, f changes through x and through y, and the two contributions add.

In Swedish: Kedjeregeln för flera variabler

ddtf(x(t), y(t))=∂f∂x·x′(t)+∂f∂y·y′(t)

t
The parameter both coordinates depend on
x
The first coordinate, x(t)
y
The second coordinate, y(t)

The rule

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:

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

Last reviewed October 12, 2026 ·How pages are reviewed

CalculusAll formulas