Gradients and Directional Derivatives
Normalize a direction and use the gradient to predict local increase along it.
Builds on Partial Derivatives and Differentiability
The bigger question: How does a surface change in different directions?
On this page
Combine coordinate rates into one vector
For differentiable , the gradient is , or in space. The derivative per unit distance in a unit direction is . A vector describing a direction must be normalized before using this as a rate per unit distance.
Cauchy–Schwarz gives . At a point with nonzero gradient, greatest increase occurs in direction and has rate . The opposite direction gives greatest decrease. At a zero gradient, every first-order directional rate is zero; higher-order changes may still occur.
Worked example: normalize before measuring
For at , the gradient is . Direction has length five, so . The directional derivative is .
Using directly would give , the derivative along the path per unit , whose speed is five. Both numbers have meanings, but they answer different rate questions.
Explore
Try this. At (1,1), compare directions 45°, 135° and 225°: the rate is positive, zero and negative. Move to (0,0); every directional derivative is zero.
The explorer uses . Its green arrow shows the unit direction of greatest increase, not the gradient’s magnitude. Orange shows the chosen unit direction; the readout gives the resulting rate.
Try it yourself.
Choose an answer and explain your reasoning to yourself. Use a hint if you get stuck.
Hint 1 · Find a starting point
The maximum is the gradient’s magnitude.
Hint 2 · Take the next step
A unit direction along the gradient makes the dot product largest.
Show the reasoning
Answer: 5
||∇f||=√(9+16)=5, attained along (3/5,4/5).
Before moving on: what would make one of the other answers wrong? Saying why is part of understanding.
Worked example: perpendicular to a level curve
For , the level curve through is . A tangent direction there is , whose dot product with is zero. Moving tangentially causes no first-order height change.
More generally, differentiating gives . At regular points, the gradient is normal to the level set. A zero gradient cannot supply a normal direction and can mark a crossing, cusp or other exceptional behavior.
Practice
- Find the greatest directional rate of .
- Find its derivative in direction .
- What are all first-order directional derivatives of at zero?
Show worked solutions
- .
- Normalize to , giving .
- All are zero because the gradient vanishes, although the function increases quadratically away from zero.
Further study
MIT OpenCourseWare: Multivariable Calculus provides a full university course with additional lectures and exercises.
Pause before the next idea.
Can you explain how the visualization connects to this lesson’s goal? If a step still feels uncertain, put this lesson on your review list and try the check again another day.