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=∂f∂xdxdt+∂f∂ydydt\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):

∂z∂s=fx∂x∂s+fy∂y∂s\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=(∂f∂x,∂f∂y)\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=∇f⋅u^=∣∇f∣cos⁡θD_{\hat{u}}f = \nabla f \cdot \hat{u} = |\nabla f|\cos\theta

PropertyStatement
Steepest ascent∇f\nabla f points here
Max rate of change∣∇f∣|\nabla f|
Level curves∇f⊥{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

Try the questions below, free, answers included. The full set, with its interactive scenes, is in the Tryals app.

13practice questions
2interactive scenes

Multivariable Calculus