Critical Point of a Function of Two Variables — Formula & Example
A critical point of a function of two variables is a point (a, b) where the surface z = f(x, y) has a horizontal tangent plane or no tangent plane at all. Every local maximum and local minimum of a smooth surface must occur at one, but not every critical point is a maximum or minimum.
Let f(x, y) be defined on an open set containing (a, b). The point (a, b) is a critical point of f if both first partial derivatives at (a, b) equal zero, so the gradient is the zero vector, or if at least one first partial derivative does not exist there.
Key Formula
Where:
- = The discriminant at the critical point. If D is positive and the second partial in x is positive, the point is a local minimum. If D is positive and that partial is negative, it is a local maximum. If D is negative, it is a saddle point. If D equals zero, the test is inconclusive.
- = The second partial derivatives of f, taken twice with respect to x and twice with respect to y
- = The mixed second partial derivative, taken once with respect to x and once with respect to y
- = The critical point being tested. The second partial derivatives must be continuous near it.
How It Works
To find critical points, compute both first partial derivatives. Set them equal to zero at the same time and solve the resulting system of two equations. A point counts only if it makes both equations true, not just one. Then classify each point with the second derivative test, which uses the discriminant D below.
Worked Example
Problem: Find and classify all critical points of f(x, y) = x³ + y³ − 3xy.
Step 1: Compute both first partial derivatives and set each equal to zero.
Step 2: Solve the two equations together. The first gives y = x². Substitute this into the second equation. The quantity x³ − 1 factors as (x − 1)(x² + x + 1), and the quadratic factor has no real roots. So the only real solutions are x = 0 and x = 1, which give y = 0 and y = 1.
Step 3: Find the second partials and evaluate the discriminant at each point. The second partial in x is 6x, the second partial in y is 6y, and the mixed partial is −3.
Answer: (0, 0) is a saddle point because D = −9 < 0. (1, 1) is a local minimum because D = 27 > 0 and the second partial in x equals 6 > 0. The local minimum value is f(1, 1) = −1.
Why It Matters
In Calculus III, finding and classifying critical points is the core method for unconstrained optimization of a surface. For example, a company that sells two products can use it to choose the price pair that maximizes profit. The same idea also produces the least-squares formulas behind linear regression, where you minimize a sum of squared errors in two unknowns.
Common Mistakes
Mistake: Treating D = 0 as proof that the point is a saddle point, or as proof that it is an extremum.
Correction: When D = 0 the test gives no information. For example, x⁴ + y⁴ and x⁴ − y⁴ both have D = 0 at the origin. The first has a minimum there, and the second has a saddle point. In this case, look at how f behaves along different paths through the point.
