Directional (U-) Derivative
Partial derivatives measure the rate of change of in the coordinate directions . But what about an arbitrary direction? The directional derivative (or -derivative) measures the rate of change of in the direction of a unit vector .
Formally, the directional derivative of at in direction is:
This is the rate of change of along the line passing through in direction . The partial derivatives are special cases: .
Formal View
Some authors do not require , but using unit vectors ensures the directional derivative measures rate of change per unit distance.
Why This Matters
Directional derivatives are how we reason about change in arbitrary directions, which is essential for optimization.
- Finding the direction of steepest ascent/descent at a point
- Computing rates of change in gradient-based optimization algorithms
- Sensitivity analysis when inputs change in a prescribed direction
Quiz
The directional derivative equals:
The directional derivative requires to be a unit vector.
Common Mistakes
- Forgetting to normalize the direction vector — directional derivatives with non-unit vectors scale by .
- Confusing the directional derivative (a scalar) with the gradient (a vector).
- Thinking directional derivatives exist whenever partial derivatives exist — they require a stronger condition.