In Cartesian coordinates on Euclidean space, the gradient of a scalar-valued differentiable function is the vector of its first partial derivatives. It converts a scalar field, such as temperature or a height, into a vector field describing its local change.
For a unit vector , the directional derivative is . The Cauchy-Schwarz inequality gives . At a point where , the greatest increase per unit distance occurs along , while the opposite direction gives the greatest decrease. These are first-order statements at the current point; they do not predict how the function behaves far along a straight path.
For at , . Moving in the direction gives rate and moving in the direction gives rate , but the steepest direction is , with
The direction has rate zero and is tangent to the level curve through that point. More generally, differentiating along a regular level curve gives , so the gradient is its normal vector.
Figure 1.
A gradient is normal to level curves and determines the directional derivative for every unit direction
. Details.
This is useful when navigating a measured scalar field or applying gradient descent: one collection of partial derivatives predicts every infinitesimal directional change. The derivative assumes a differentiable function, not merely the existence of all directional derivatives. [ref].
For a differentiable real-valued functional on a real Hilbert space , its functional gradient satisfies for every . A bounded linear derivative has a unique such representative by the Riesz representation theorem. The inner product matters: a formal variational derivative need not equal the functional gradient in another Hilbert space. For in a Reproducing kernel Hilbert space, the reproducing property gives . Substitution in the defining inner product proves this formula directly.
For , the multivariable chain rule gives
Indeed, . Thus the gradient points radially outward when , inward when it is negative, and vanishes when it is zero.
At the origin the displayed quotient does not apply. If has a finite right derivative at zero, the radial function is differentiable there exactly when , in which case its gradient is zero. Necessity follows by comparing opposite directional difference quotients: their linear parts cannot both equal a common nonzero radial slope. Sufficiency follows from , the definition of differentiability with zero linear part.
For differentiable vector fields, expand the cross products using the contraction of two Levi-Civita symbols. The directional-derivative terms cancel the corresponding terms in the two cross products, leaving . This proves the displayed gradient identity by the product rule.
A gradient field is a vector field of the form for a scalar potential . Its curl vanishes wherever the required second derivatives commute.

Ancestors (8)

  1. Partial derivative
  2. Multivariable calculus
  3. Calculus
  4. Real analysis
  5. Analysis
  6. Area of mathematics
  7. Mathematics
  8. Home

Discussion (0) New discussion

There are no discussions about this article yet.

Articles by others on the same topic (1)

Gradient by Ciro Santilli 40 Updated 2025-07-16
Takes a scalar field as input and produces a vector field.
Mnemonic: the gradient shows the direction in which the function increases fastest.
Think of a color gradient going from white to black from left to right.
Therefore, it has to:
  • take a scalar field as input. Otherwise, how do you decide which vector is larger than the other?
  • output a vector field that contains the direction in which the scalar increases fastest locally at each point. This has to give out vectors, since we are talking about directions