Course contentsShow
← Mathematics
Lesson 1852 of 3,12139. Multivariable Functions and Partial DerivativesFree lesson

Chain Rule for Paths: Functions along Curves

Learn to differentiate composite functions z=f(x(t),y(t)) using the chain rule for single-parameter paths.

Chain Rule for Paths: Functions along Curves

What You'll Learn

You'll learn how to find the rate of change of a multivariable function when its inputs themselves change along a curve.

The Core Idea

Imagine hiking through mountainous terrain where your elevation z depends on your position (x, y), but your position follows a specific trail parameterized by time t. How fast is your elevation changing as you walk?

When you have a function z = f(x, y) and both x and y are themselves functions of a single parameter t (like x = x(t) and y = y(t)), you're essentially evaluating f along a curve or path. The chain rule for paths tells you how to find dz/dt.

The formula is:

dzdt=∂f∂x⋅dxdt+∂f∂y⋅dydt\frac{dz}{dt} = \frac{\partial f}{\partial x} \cdot \frac{dx}{dt} + \frac{\partial f}{\partial y} \cdot \frac{dy}{dt}

Or using gradient notation:

dzdt=∇f⋅r′(t)\frac{dz}{dt} = \nabla f \cdot \mathbf{r}'(t)

where r(t) = (x(t), y(t)) is your path.

Why It Works

Think of it this way: as t changes, it affects z through two channels—by changing x and by changing y. The partial derivative ∂f/∂x measures how sensitive f is to x-changes, while dx/dt measures how fast x is changing with t. Multiply these together to get x's contribution, then add y's contribution computed the same way.

This extends naturally to three or more variables: if w = f(x, y, z) with x(t), y(t), z(t), then:

dwdt=∂f∂xdxdt+∂f∂ydydt+∂f∂zdzdt\frac{dw}{dt} = \frac{\partial f}{\partial x}\frac{dx}{dt} + \frac{\partial f}{\partial y}\frac{dy}{dt} + \frac{\partial f}{\partial z}\frac{dz}{dt}

Key Takeaway: The chain rule for paths lets you differentiate composite multivariable functions along curves by summing the products of partial derivatives and path derivatives—each variable contributes according to both its sensitivity and its rate of change.