Courses / Physics I
Multivariable Calculus

The Chain Rule and Directional Derivatives

Physics I 185 words Free to read

Multivariable Chain Rule

When a function depends on variables that themselves depend on time or parameters, we use the multivariable chain rule. If z=f(x,y)z = f(x,y) where x=x(t)x = x(t) and y=y(t)y = y(t):

dzdt=fxdxdt+fydydt\frac{dz}{dt} = \frac{\partial f}{\partial x}\frac{dx}{dt} + \frac{\partial f}{\partial y}\frac{dy}{dt}

For functions of multiple intermediate variables like x(s,t)x(s,t) and y(s,t)y(s,t):

zs=fxxs+fyys\frac{\partial z}{\partial s} = f_x\frac{\partial x}{\partial s} + f_y\frac{\partial y}{\partial s}

The gradient collects all partial derivatives into a single vector: f=(fx,fy)\nabla f = (\frac{\partial f}{\partial x}, \frac{\partial f}{\partial y}).

Directional Derivatives & Gradient

The directional derivative measures the rate of change of ff in the direction of a unit vector u^\hat{u}:

Du^f=fu^=fcosθD_{\hat{u}}f = \nabla f \cdot \hat{u} = |\nabla f|\cos\theta

PropertyStatement
Steepest ascentf\nabla f points here
Max rate of changef|\nabla f|
Level curvesf{f=c}\nabla f \perp \{f = c\}
Zero changeWhen u^f\hat{u} \perp \nabla f
Common pitfall: The directional derivative requires a unit vector (u^\hat{u}). Feeding it an unnormalized vector silently scales your answer.
Placeholder: The Chain Rule and Directional Derivatives

Practise this lesson

The explanation above is free to read. The graded practice for this lesson lives in the Tryals app.

13practice questions
2interactive scenes

Multivariable Calculus