d t d z = ∂ x ∂ f d t d x + ∂ y ∂ f d t d y
On this page
Before you start
This page is easier if you are comfortable with:
What Multivariable chain rule means
A change in t affects z through both x and y . Add the contributions from each path: the sensitivity of z to x times the rate at which x changes, plus the same for y .
For several parameters, use partial derivatives with respect to each.
It underlies change of variables in integration and the derivation of the Jacobian. It generalises the chain rule, is closely related to the total differential , and the changes of coordinates use the Jacobian .
This page is part of Multivariable calculus in Calculus . Topics that work alongside it: Chain rule , Total differential , Jacobian for a change of variables , Gradient and directional derivative , Cylindrical coordinates and Spherical coordinates .
What is it used for? The multivariable chain rule gives the rate of change of f(x, y) along a path where x and y depend on t: df/dt = fₓ dx/dt + fᵧ dy/dt.
Finding how a quantity changes along a moving path. Changing variables in partial differential equations. Related-rates problems with several quantities.
How to use multivariable chain rule
Find ∂ x ∂ f and ∂ y ∂ f . Find d t d x and d t d y . Multiply and add. Substitute to write in terms of t .
Graph z = xy with x = t², y = t³: z = t⁵ and dz/dt = 5t⁴ dz/dt at t = 1: 5 0 0.2 0.4 0.6 0.8 1 1.2 1.4 0 2 4 6 8 z = xy with x = t², y = t³: z = t⁵ and dz/dt = 5t⁴ t value z = t^5 dz/dt = 5t^4 Graph with x from 0 to 1.5 and y from 0 to 9. Shows the curve z = t^5; the curve dz/dt = 5t^4; point dz/dt at t = 1: 5 at (1, 5). The chain rule gives the same result as substituting first.
Worked examples
These examples are worked by hand, step by step, so you can compare your own working.
Example 1: z = x²y Find d t d z for z = x 2 y with x = t , y = t 2 , at t = 1 .
Worked example
Partial derivatives
z x = 2 x y , z y = x 2
Derivatives with respect to t
x ′ = 1 , y ′ = 2 t
Apply the chain rule
d t d z = 2 x y ⋅ 1 + x 2 ⋅ 2 t = 2 t 3 + 2 t 3 = 4 t 3
At t = 1
4
Example 2: z = xy Find d t d z for z = x y with x = t 2 , y = t 3 at t = 1 .
Worked example Answer checked
Chain rule
d t d z = y ⋅ 2 t + x ⋅ 3 t 2
Substitute t = 1 (x = 1, y = 1)
1 ( 2 ) + 1 ( 3 ) = 5
Check
z = t⁵, so dz/dt = 5t⁴ = 5.
Example 3: z = e^(xy) Find d t d z for z = e x y with x = t , y = t 2 at t = 1 .
Worked example
Chain rule
d t d z = e x y ( y ⋅ 1 + x ⋅ 2 t )
Substitute t = 1 (x = 1, y = 1)
e 1 ( 1 + 2 ) = 3 e
Special cases
A few situations come up again and again. Knowing them saves time and helps you spot answers that cannot be right.
z = x²y, x = t², y = t³ dz/dt = 2xy·2t + x²·3t² = 7t⁶
t = 1: 7.
t = 2 7 × 64
448.
z = x² + y², x = cos t, y = sin t 2x(−sin t) + 2y cos t
0.
z = xy, x = eᵗ, y = sin t, t = 0 y eᵗ + x cos t
1.
Word problems
If z = f(x, y) with x = x(t), y = y(t), then dz/dt = f_x dx/dt + f_y dy/dt. Substitute the point after differentiating.
At t = 1 z = x²y, x = t², y = t³: dz/dt = 7t⁶. Find it at t = 1.
7 Check: ✓ 7
At t = 2 Find 7t⁶ at t = 2.
7 × 64 Check: ✓ 448
A circle path Higher z = x² + y² along the unit circle. Find dz/dt at t = 1.
0 Check: z is constant ✓ 0
Exponential path Higher z = xy, x = eᵗ, y = sin t: dz/dt at t = 0.
0 + 1 Check: ✓ 1
Common mistakes
Forgetting one term f_x dx/dt only ✗
add f_y dy/dt ✓
Both paths.
Evaluating before differentiating plug t first ✗
differentiate then substitute ✓
Order.
Using ordinary d for partials dz/dx ✗
∂z/∂x ✓
Notation.
Wrong inner derivative dx/dt = t ✗
dx/dt = 2t ✓
Differentiate carefully.
Exam tips
dz/dt = f_x x′ + f_y y′.
Both terms.
Substitute x(t), y(t).
Check by direct substitution.
Tree diagram.
Practice questions
Try each one on paper, then open the answer. Use the solver above to see the full working.
1. z = xy, x = t, y = t²: dz/dt at t = 2 (y + 2xt) Foundation 12
2. z = x² + y², x = t, y = 2t: dz/dt at t = 1 Foundation 10
3. z = x²y, x = t, y = 1: dz/dt at t = 3 Foundation 6
4. z = eˣʸ, x = t, y = t: dz/dt at t = 0 Higher 0
5. z = x + y², x = t², y = t: dz/dt at t = 2 Higher 8
6. z = xy, x = cos t, y = sin t: dz/dt at t = 0 Higher 1
Practice generator Unlimited fresh questions with instant marking. Choose a level, work it out on paper, then type your answer.
Foundation Higher Mixed New question
Solve: …
The practice generator needs JavaScript.
Key terms
Multivariable chain rule dz/dt = f_x x′ + f_y y′. Partial derivative f_x, f_y. Parametrisation x(t), y(t). Total derivative dz/dt. Composite function f(x(t), y(t)). Tree diagram Dependency picture.
Frequently asked questions
What is the multivariable chain rule? dz/dt = (∂f/∂x)(dx/dt) + (∂f/∂y)(dy/dt).
Do I need both terms? Yes, z depends on t through x and y.
How can I check? Substitute x(t), y(t) and differentiate.
What is dz/dt along a circle for x² + y²? 0.
Which page covers the total differential? total differential.
Which page covers the Hessian? Hessian and second derivative test .