Calculus III · Multivariable Calculus
The Gradient and Directional Derivative
Explanation
The Gradient
The Gradient of a function is the vector comprised of its partial derivatives:
In -dimensions: .
Key Geometric Properties:
- points in the direction of the steepest ascent of starting from point .
- is orthogonal (perpendicular) to the level curve in the plane (and to the level surface in ).
- (the magnitude) is the maximum rate of change of at .
The Directional Derivative
Definition: The derivative of at point in the direction of a unit vector (meaning ) is defined by the limit:
Calculation Formula (if is differentiable):
(The dot product of the gradient and the normalized direction vector).
Mathematical Interpretation: , where is the angle between the gradient and .
Directions of Maximum, Minimum, and Zero Change
| Direction | Value of | Meaning | ||||
|---|---|---|---|---|---|---|
| $\mathbf{u}=\dfrac{\nabla f}{\ | \nabla f\ | }$ | Maximum: $\ | \nabla f\ | Steepest ascent (the gradient itself) | |
| $\mathbf{u}=-\dfrac{\nabla f}{\ | \nabla f\ | }$ | Minimum: $-\ | \nabla f\ | Steepest descent (opposite direction) | |
| Zero: | No first-order change (the function may still increase at higher order — e.g., at in direction gives zero directional derivative, but grows) |
Ironclad Rule: MUST be a unit vector
If a direction is given by a vector that is not a unit vector, you must normalize it first:
Only then can you use the formula .
Interactive Visualization
Loading visualization
Worked Examples
Practice
Exercise 1 of 7
1
For the function , find the value of , meaning the magnitude of the gradient.
★Quiz
Test your knowledge from this lesson
A mix of questions from the lesson — each attempt varies slightly
Answer at least 4 out of 5 questions correctly to pass (70%)