What Are Critical Points?
A critical point (also called a critical number) of a function f(x) is an x-value where the derivative is zero or does not exist. These are the only places a local maximum or minimum can occur, which makes them the backbone of curve sketching and optimisation. This critical points calculator does the whole job in one pass: it differentiates your function symbolically, solves f′(x) = 0 numerically across the interval you choose, and classifies every point it finds — local minimum, local maximum, or no extremum — naming the test that decided each one, so the output reads like a worked solution rather than a bare list of numbers.
How Do You Classify a Critical Point?
- Second derivative test: if f′′(c) > 0 the curve is concave up at c, so c is a local minimum; if f′′(c) < 0 it is concave down, so c is a local maximum. One evaluation settles it — when it can.
- First derivative test: if f′ changes from negative to positive at c, the function stops falling and starts rising — a local minimum. Positive to negative means a local maximum. No sign change means no extremum: the graph flattens and carries on, typically an inflection point.
- When f′′(c) = 0 the second test is silent and the first test decides — the calculator switches automatically and tells you it did.
How to Use This Calculator
- Type your function f(x) — the field starts with x^3 - 3*x, the classic two-point example.
- Set the search interval. Critical points are only reported inside it; the default −5 to 5 suits most textbook functions, and you can widen it for spread-out roots.
- Read the derivatives in the dark panel: f′(x) is what gets solved, f′′(x) drives the classification.
- Read the table: each critical x with its f(x) value, its classification, and the test that decided it.
Worked Example 1: f(x) = x^3 − 3x
Differentiate: f′(x) = 3x^2 − 3. Setting 3x^2 − 3 = 0 gives x^2 = 1, so x = −1 and x = 1. Now classify with f′′(x) = 6x. At x = −1: f′′(−1) = −6 < 0, concave down, so (−1, f(−1)) = (−1, 2) is a local maximum. At x = 1: f′′(1) = 6 > 0, concave up, so (1, −2) is a local minimum. This is the calculator's default example — the table it produces is exactly these two rows.
Worked Example 2: When the Second Derivative Test Fails — f(x) = x^3 and f(x) = x^4
For f(x) = x^3, f′(x) = 3x^2 is zero at x = 0, but f′′(0) = 0 too, so the second derivative test is inconclusive. The first derivative test settles it: 3x^2 is positive on both sides of 0, no sign change, so 0 is not an extremum — it is a horizontal inflection point. For f(x) = x^4, f′(x) = 4x^3 is zero at 0 and again f′′(0) = 0; but here f′ changes from negative (x < 0) to positive (x > 0), so 0 is a local minimum. Same f′′(c) = 0, opposite conclusions — which is why a good calculator never stops at the second derivative test.
Critical Points Where the Derivative Does Not Exist
The definition also includes points where f is defined but f′ is not: the corner of f(x) = |x| at 0 (a genuine local minimum), the cusp of f(x) = x^(2/3) at 0, and vertical tangents like f(x) = x^(1/3) at 0. A numerical root-finder for f′(x) = 0 cannot see these — the derivative is never zero near them, it is simply absent — so if your function has absolute values, fractional powers or piecewise corners, check those x-values separately with the function calculator and the sign of f′ around them. Everything smooth, though — polynomials, trig, exponentials, roots away from zero — is fully covered by the search above.
Three Mistakes to Watch For
First, reporting x-values where f itself is undefined — a critical point must lie in the domain of f. Second, assuming every critical point is a max or min: x^3 at 0 is neither. Third, forgetting endpoints: on a closed interval, the absolute max and min can sit at the endpoints, which are not critical points at all — check them separately. For the derivatives themselves, the derivative calculator shows the rules applied, and the graphing calculator lets you see each classified point on the curve.