Definition
The gradient vector is the vector of partial derivatives: (or ).
- How to read: “The gradient of f is equal to the vector containing the partial derivative of f with respect to x and the partial derivative of f with respect to y.”
- Meaning: The gradient collects all first-order rates of change into one arrow pointing toward steepest ascent.
Why It Matters
The gradient is the ‘compass’ of multivariable calculus; by pointing toward the steepest uphill path, it provides the essential directional information needed for everything from thermal analysis to training the world’s most advanced AI models.
Core Concepts
-
Max Increase: points in the direction where increases most rapidly.
- How to read: “The gradient of f.”
- Meaning: Among all unit directions, maximizes the directional derivative .
-
Max Decrease: points in the direction where decreases most rapidly.
- How to read: “The negative gradient of f.”
- Meaning: The direction used in gradient descent — opposite to steepest ascent.
-
Magnitude: is the maximum rate of increase.
- How to read: “The magnitude of the gradient of f.”
- Meaning: Larger means a sharper slope; zero gradient means a flat (critical) point.
-
Orthogonality: is always perpendicular to the level curve (or level surface) at that point.
- How to read: “The gradient of f is perpendicular to the level curve where f of x and y is equal to c.”
- Meaning: Moving along a contour keeps constant; the gradient points straight off the contour toward higher values.