Critical Point

Calculus & Advanced Math

A critical point is a location on a function where the derivative equals zero or is undefined, often corresponding to a peak, valley, or plateau.

Formula

f'(c) = 0 \text{ or } f'(c) \text{ undefined}
Visualization

Definition

A critical point is a place on a curve where the slope is exactly zero (flat) or where the slope suddenly does not exist, a candidate for a peak or valley. Formally, $c$ is a critical point of $f$ if $f'(c) = 0$ or $f'(c)$ does not exist; every local extremum must occur at a critical point, but not every critical point is an extremum. In multivariable calculus, a critical point of $f: \mathbb{R}^n \to \mathbb{R}$ is where the gradient $\nabla f = 0$ or is undefined, and classification uses the Hessian matrix: positive definite means a local min, negative definite a local max, indefinite a saddle point.

Example

On a hill, the very top is flat for a moment before the slope drops again, that flat spot is a critical point. For $f(x) = x^3$: $f'(x) = 3x^2 = 0$ at $x = 0$, but $x = 0$ is neither a max nor a min, it is an inflection point with a horizontal tangent. For $f(x,y) = x^2 - y^2$: $\nabla f = (2x, -2y) = 0$ at the origin, and the Hessian $\begin{bmatrix} 2 & 0 \\ 0 & -2 \end{bmatrix}$ is indefinite, confirming $(0,0)$ is a saddle point.

Key Insight

Finding critical points is the first step to locating the highest and lowest values of a function, but you must use the first or second derivative test to determine whether each one is a maximum, minimum, or neither. Critical points are the backbone of optimization in machine learning: gradient descent moves away from saddle points and toward local minima in a high-dimensional loss landscape.