multivariable calculus
Directional Derivative
You should know: gradient
Overview
The directional derivative D_u f generalizes the partial derivative: instead of measuring change along just the x-axis or y-axis, it measures the rate of change of f in an arbitrary direction u. Partial derivatives ∂f/∂x and ∂f/∂y are just the special cases where u = (1,0) or u = (0,1).
Interactive Graph
Formal Definition
The directional derivative of f at point P in the direction of unit vector u:
Valid when f is differentiable; u must be a unit vector (|u|=1)
Notation
| Notation | Meaning |
|---|---|
| Directional derivative of f in the direction of unit vector u | |
| Alternative notation for the directional derivative |
Worked Examples
Normalize v to a unit vector: |v|=5, so u=(3/5, 4/5).
Compute the gradient at (1,2).
Dot the gradient with the unit vector.
Answer: D_u f(1,2) = 36/5 = 7.2
Practice Problems
Find the directional derivative of f(x,y)=xy² at (2,1) in the direction of (1,1) (unnormalized).
A hiker stands on terrain z = f(x,y). In which direction is the ground steepest uphill, and how does the directional derivative express that?
Common Mistakes
Plugging a non-unit direction vector directly into ∇f·v without normalizing.
The formula D_u f = ∇f·u requires u to be a UNIT vector. If given an arbitrary vector v, first divide by |v| to get u=v/|v|, otherwise the result is scaled incorrectly by |v|.
Quiz
Summary
- The directional derivative D_u f measures the rate of change of f in an arbitrary unit-vector direction u.
- D_u f = ∇f · u, requiring u to be a unit vector.
- Partial derivatives are special cases: ∂f/∂x = D_u f with u=(1,0).
- The direction of maximum D_u f is u = ∇f/|∇f|, matching the steepest-ascent property of the gradient.
Mathematics