Differences between revisions 6 and 7
Revision 6 as of 2025-09-24 13:42:19
Size: 1122
Comment: Updated link
Revision 7 as of 2025-11-21 19:18:34
Size: 1153
Comment: Link
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
A '''gradient''' is a vector of partial derivatives. It describes the direction of steepest ascent for a differentiable function. A '''gradient''' is a vector of [[Calculus/PartialDerivative|partial derivatives]]. It describes the direction of steepest ascent for a differentiable function.

Gradient

A gradient is a vector of partial derivatives. It describes the direction of steepest ascent for a differentiable function.


Notation

The gradient of function f is notated as ∇f. In terms of partial derivatives, the gradient of f(x1, x2, ... xn) is:

gradient.svg

At a given point p, as long as the function f is differentiable at p, the gradient vector is:

gradientvector.svg

Note the assumption; it is not negligible. For example, (xy)/(x2 + y2) is partially derivable but is itself not totally derivable at point p = [0 0]. Furthermore, it is not derivable if rotated; the basis must be orthonormal.


Usage

By setting a gradient to 0, critical points (local minima, local maxima, and inflections) can be calculated.

More generally, gradient descent can be used to estimate minima.


CategoryRicottone

Calculus/Gradient (last edited 2025-11-21 19:19:01 by DominicRicottone)