critical points of multivariable function

Critical Points of Multivariable Functions: The Ultimate Guide

By Sarah Robinson
AD

Critical points of a multivariable function are the locations where the function’s behavior can change dramatically, making them central to multivariable calculus, optimization, and mathematical modeling. Whether you are analyzing profit surfaces, temperature distributions, or error landscapes in machine learning, identifying these points helps reveal where peaks, valleys, and saddle-shaped transitions occur.

A multivariable function takes two or more input variables and produces a scalar output, such as f(x, y) or f(x, y, z). At a critical point, the function is momentarily flat in every coordinate direction, or its derivative structure breaks down. This article explains how to find these points, how to classify them with the Hessian matrix, and how to avoid common mistakes when interpreting them.

Understanding Critical Points in Multivariable Functions

For a differentiable function f(x, y), a critical point is a point (a, b) where both first partial derivatives equal zero: f_x(a, b) = 0 and f_y(a, b) = 0. Equivalently, the gradient vector ∇f(a, b) is the zero vector. The gradient points in the direction of greatest increase, so when it vanishes, there is no single uphill direction at that location.

AD
CQF - multivariable calculus
CQF - multivariable calculus
the diagram shows different types of lines that are drawn in one point, and two points on
the diagram shows different types of lines that are drawn in one point, and two points on
an image of a computer screen showing the shape and function of a curved wire structure
an image of a computer screen showing the shape and function of a curved wire structure

Critical points can also occur where the gradient does not exist, such as at a sharp corner, cusp, or along a boundary where differentiability fails. In most introductory multivariable calculus problems, however, you focus on smooth interior points and solve the system of partial derivative equations to locate candidates for local maxima, local minima, and saddle points.

What Makes a Point Critical?

A point qualifies as critical when every first-order partial derivative is zero or when at least one partial derivative is undefined. For f(x, y), the conditions are f_x = 0 and f_y = 0 for the smooth case. For f(x, y, z), all three partial derivatives f_x, f_y, and f_z must vanish. This set of equations creates a system that may have one solution, many solutions, or no real solutions.

Multivariable Calculus | Mathematics | MIT OpenCourseWare
Multivariable Calculus | Mathematics | MIT OpenCourseWare
the book functions of several real variablees
the book functions of several real variablees
the graph shows that there are two different functions
the graph shows that there are two different functions

Consider f(x, y) = x^2 + y^2. Setting f_x = 2x and f_y = 2y equal to zero gives the single critical point (0, 0), which is a local minimum. In contrast, f(x, y) = x^2 - y^2 has f_x = 2x and f_y = -2y, so (0, 0) is still the only critical point, but the surface rises in one direction and falls in another, producing a saddle point rather than an extremum.

Gradient, Partial Derivatives, and Geometry

The gradient vector is a compact way to describe first-order change. At a critical point of a smooth function, ∇f = 0, meaning the tangent plane to the surface is horizontal. That geometric picture explains why critical points are often called stationary points: the function is momentarily stationary as you move in any small direction from that point.

AD

Partial derivatives measure change along coordinate axes, but the gradient combines them into a vector that captures change in every direction. If the gradient is zero, directional derivatives in all directions are also zero. This does not automatically mean the point is a maximum or minimum; it only means the point is a candidate. Classification requires second-order information, which is where the Hessian matrix and the second derivative test come into play.

EXTREMOS: MAXIMOS, MINIMOS, PUNTOS CRITICOS, DE INFLEXION: FUNCIONES DE VARIAS VARIABLES: CALCULO DIFERENCIAL: UNIVERSIDAD
EXTREMOS: MAXIMOS, MINIMOS, PUNTOS CRITICOS, DE INFLEXION: FUNCIONES DE VARIAS VARIABLES: CALCULO DIFERENCIAL: UNIVERSIDAD
an image of a computer screen showing the shape of a circle with two intersecting lines
an image of a computer screen showing the shape of a circle with two intersecting lines
a diagram showing the function of an inequarator and its functions, including
a diagram showing the function of an inequarator and its functions, including
limit of the multivariable function (KristaKingMath)
limit of the multivariable function (KristaKingMath)
Parent Functions and their reference points
Parent Functions and their reference points
a diagram showing how to use the calculator
a diagram showing how to use the calculator

How to Find and Classify Critical Points

Finding critical points begins by computing all first partial derivatives and solving the resulting system. For f(x, y), solve f_x(x, y) = 0 and f_y(x, y) = 0 simultaneously. The solutions are the critical points, though some may be difficult to solve algebraically. Once you have the candidates, you must classify each one to understand whether it represents a local maximum, a local minimum, a saddle point, or a degenerate case requiring further analysis.

Classification uses second partial derivatives arranged in the Hessian matrix. For two variables, the Hessian is a 2×2 matrix of f_xx, f_xy, f_yx, and f_yy. Under smoothness conditions, f_xy = f_yx, so the determinant simplifies to D = f_xx f_yy - (f_xy)^2. The sign of D and the sign of f_xx at the critical point determine the local behavior in most standard cases.

AD

The Second Derivative Test and the Hessian Matrix

For a critical point (a, b) of f(x, y), compute D = f_xx(a, b) f_yy(a, b) - [f_xy(a, b)]^2. If D > 0 and f_xx(a, b) > 0, the point is a local minimum. If D > 0 and f_xx(a, b) < 0, it is a local maximum. If D < 0, the point is a saddle point. If D = 0, the test is inconclusive, and you need another method such as examining nearby values, using higher-order derivatives, or applying a more advanced theorem.

two diagrams showing different types of graphs
two diagrams showing different types of graphs
Multivariable Calculus: Lecture Notes—Alexey A. Kryukov
Multivariable Calculus: Lecture Notes—Alexey A. Kryukov
Inverse Functions, Algebra 2, Computer Coding, Math Concepts, Data Science, Computer Science, Helping People, Finance, Science
Inverse Functions, Algebra 2, Computer Coding, Math Concepts, Data Science, Computer Science, Helping People, Finance, Science
Functions of a Complex Variable - Paperback
Functions of a Complex Variable - Paperback

For functions of three or more variables, the Hessian becomes larger, and classification relies on its eigenvalues or principal minors. A positive definite Hessian indicates a local minimum, a negative definite Hessian indicates a local maximum, and an indefinite Hessian indicates a saddle point. A semidefinite or singular Hessian leaves the test inconclusive, just as D = 0 does in the two-variable case.

Saddle Points, Extrema, and Boundary Considerations

Saddle points are critical points that are neither local maxima nor local minima. At a saddle point, the function increases in some directions and decreases in others. A classic example is f(x, y) = x^2 - y^2 at (0, 0): along the x-axis it looks like a minimum, while along the y-axis it looks like a maximum. Saddle points are especially important in optimization and machine learning because they can slow down gradient-based algorithms.

AD

Interior critical points are not the whole optimization story. If you are optimizing over a closed and bounded region, the absolute maximum or minimum may occur on the boundary. In that case, you must also examine boundary curves or surfaces, often using Lagrange multipliers or parameterization. A complete solution compares all interior critical values with boundary candidates, and sometimes with points where the function is not differentiable.

Mastering critical points of multivariable functions gives you a reliable framework for reading surfaces, solving optimization problems, and interpreting complex systems. Practice by working through functions with multiple critical points, checking the Hessian at each candidate, and sketching the local geometry. The more you connect the algebra to the shape of the graph, the more intuitive multivariable calculus becomes.

AD