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:
Or using gradient notation:
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:
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.