When a function depends on variables that themselves depend on time or parameters, we use the multivariable chain rule. If z=f(x,y) where x=x(t) and y=y(t):
dtdz=∂x∂fdtdx+∂y∂fdtdy
For functions of multiple intermediate variables like x(s,t) and y(s,t):
∂s∂z=fx∂s∂x+fy∂s∂y
The gradient collects all partial derivatives into a single vector: ∇f=(∂x∂f,∂y∂f).
Directional Derivatives & Gradient
The directional derivative measures the rate of change of f in the direction of a unit vector u^:
Du^f=∇f⋅u^=∣∇f∣cosθ
Property
Statement
Steepest ascent
∇f points here
Max rate of change
∣∇f∣
Level curves
∇f⊥{f=c}
Zero change
When u^⊥∇f
Common pitfall: The directional derivative requires a unit vector (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.