Introduction
Critical points are the places where a function’s behavior can change dramatically—where it might peak, dip, or flatten out. In calculus, locating and classifying these points is essential for understanding the shape of a graph, optimizing real‑world quantities, and solving differential equations. Whether you are working with a simple single‑variable curve or a multivariable surface, the process follows a clear set of steps: compute the derivative(s), find where they vanish or are undefined, and then apply a test to decide whether each point is a local minimum, local maximum, or a saddle point. This article walks you through the theory, provides a step‑by‑step recipe, illustrates the method with concrete examples, and answers common questions that arise when students first encounter critical points Most people skip this — try not to..
Steps to Find Critical Points
1. Compute the First Derivative
For a function (f) of one variable, calculate (f'(x)).
For a function (f) of several variables, compute the gradient (\nabla f = \left(\frac{\partial f}{\partial x_1}, \frac{\partial f}{\partial x_2}, \dots, \frac{\partial f}{\partial x_n}\right)).
2. Locate Where the Derivative Equals Zero or Is Undefined
- Single variable: Solve (f'(x)=0). Also note any (x) where (f'(x)) does not exist (corners, cusps, vertical tangents).
- Multivariable: Solve the system (\frac{\partial f}{\partial x_i}=0) for all (i). Points where any partial derivative fails to exist are also critical.
3. List the Candidate Points
Each solution from step 2 is a candidate critical point. Keep them in a list for the next stage And that's really what it comes down to..
4. Choose a Classification Test
- Single variable: Use the second derivative test (if (f'') exists) or the first derivative test (sign change of (f')).
- Multivariable: Use the second derivative test via the Hessian matrix (H) (matrix of second partial derivatives). Examine the eigenvalues or the determinant and leading principal minors of (H).
5. Apply the Test and Label the Point
Based on the outcome, label each candidate as a local minimum, local maximum, or saddle point (or declare the test inconclusive and fall back to higher‑order analysis).
Classifying Critical Points – Single Variable
Second Derivative Test
Let (c) be a critical point where (f'(c)=0).
- If (f''(c) > 0) → (f) has a local minimum at (c).
- If (f''(c) < 0) → (f) has a local maximum at (c).
- If (f''(c) = 0) → the test is inconclusive; examine higher derivatives or use the first derivative test.
First Derivative Test (Alternative)
Check the sign of (f'(x)) on intervals immediately left and right of (c).
- (f') changes from negative to positive → local minimum.
- (f') changes from positive to negative → local maximum.
- No sign change → neither (could be a point of inflection).
Classifying Critical Points – Multivariable
Hessian Matrix
For (f(x_1,\dots,x_n)), the Hessian at a point (\mathbf{a}) is
[ H(\mathbf{a}) = \begin{bmatrix} \frac{\partial^2 f}{\partial x_1^2} & \frac{\partial^2 f}{\partial x_1\partial x_2} & \dots \ \frac{\partial^2 f}{\partial x_2\partial x_1} & \frac{\partial^2 f}{\partial x_2^2} & \dots \ \vdots & \vdots & \ddots \end{bmatrix}_{\mathbf{x}=\mathbf{a}} . ]
Eigenvalue‑Based Classification
- All eigenvalues > 0 → (H) is positive definite → local minimum.
- All eigenvalues < 0 → (H) is negative definite → local maximum.
- Eigenvalues have mixed signs → (H) is indefinite → saddle point.
- One or more eigenvalues = 0 → test is degenerate; higher‑order analysis needed.
Determinant‑and‑Trace Shortcut (Two Variables)
For (f(x,y)), let
[ D = f_{xx}f_{yy} - (f_{xy})^2 \quad\text{(the determinant of }H\text{)} . ]
- If (D>0) and (f_{xx}>0) → local minimum.
- If (D>0) and (f_{xx}<0) → local maximum.
- If (D<0) → saddle point.
- If (D=0) → test inconclusive.
Worked Examples
Example 1 – Single Variable
Function: (f(x)=x^3-3x^2+2).
- First derivative: (f'(x)=3x^2-6x = 3x(x-2)).
- Critical points: Solve (3x(x-2)=0) → (x=0) and (x=2). (Derivative exists everywhere.)
- Second derivative: (f''(x)=6x-6).
- At (x=0): (f''(0)=-6<0) → local maximum.
- At (x=2): (f''(2)=6>0) → local minimum.
Result: (x=0) is a local max, (x=2) is a local min.
Example 2 – Multivariable
Function: (f(x,y)=x^2+y^2-4x-6y) And that's really what it comes down to..
- Gradient:
[ f_x = 2x-4,\qquad f_y = 2y-6 . ] - Set to zero:
[ 2x-4=0 \Rightarrow x=2,\qquad 2y-6=0 \Rightarrow y=3 . ]
Critical point: ((2,3)). - Second partials:
[ f_{xx}=2,; f_{yy}=2,; f_{xy}=0 .