Math Solver Free

Critical Points Calculator

Find where f′(x) = 0 — and whether each point is a min, a max or an inflection.

Search interval for critical points

First derivative f'(x): 3 * x ^ 2 - 3

Second derivative f''(x): 6 * x

Critical points in the interval

xf(x)ClassificationDecided by
-12Local maximumSecond derivative test
1-2Local minimumSecond derivative test

Critical points are the x-values where f'(x) = 0. Points where f'(x) is undefined are flagged in the article below; this search solves f'(x) = 0 numerically.

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

  1. Type your function f(x) — the field starts with x^3 - 3*x, the classic two-point example.
  2. 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.
  3. Read the derivatives in the dark panel: f′(x) is what gets solved, f′′(x) drives the classification.
  4. 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.

Frequently Asked Questions

What is a critical point?

A critical point of f(x) is an x-value c in the domain of f where either f'(c) = 0 or f'(c) does not exist. Critical points are where all the interesting behaviour happens: every local maximum and local minimum occurs at one (Fermat's theorem), so they are the first thing to find when sketching a curve or solving an optimisation problem. This calculator finds the f'(x) = 0 kind numerically; points where f' is undefined, like the corner of |x| at 0, are covered in the guide.

How do you find critical points?

Three steps. First, differentiate the function to get f'(x). Second, solve f'(x) = 0 — those x-values are critical points (together with any points where f' is undefined but f is defined). Third, classify each one: the second derivative test uses the sign of f''(c), and if f''(c) = 0, the first derivative test checks whether f' changes sign across c. For f(x) = x^3 - 3x: f'(x) = 3x^2 - 3 = 0 at x = -1 and x = 1, giving a local max at (-1, 2) and a local min at (1, -2).

Is a critical point the same as an inflection point?

No. A critical point concerns the first derivative: f'(c) = 0 or undefined. An inflection point concerns the second derivative: the concavity changes at c, which typically needs f''(c) = 0 with a sign change in f''. The two can coincide — for f(x) = x^3, x = 0 is both a critical point (f'(0) = 0) and an inflection point — but a critical point can be a max or min with no inflection, and an inflection point like x = 1 for f(x) = (x - 1)^3 + x is not critical at all because f' there is not zero.

What is the difference between a critical point and a critical number?

Nothing of substance — they are two names for the same x-values, and textbooks split by tradition: Stewart's calculus says 'critical number', many others say 'critical point'. Strictly, some authors reserve 'critical point' for the point (c, f(c)) on the graph and 'critical number' for the x-value c alone. Either way, this calculator answers both searches: it reports each c together with f(c), so you have the number and the point at once.

What does the second derivative test do when f''(c) = 0?

It says nothing — the test is inconclusive, and all three outcomes remain possible: x^4 has a local min at 0, -x^4 has a local max at 0, and x^3 has neither, yet f''(0) = 0 for all three. That is why this calculator automatically falls back to the first derivative test (the sign of f' on each side of c) whenever the second derivative test cannot decide, and labels which test made the call.

Is this critical points calculator free?

Yes — every tool on Math Solver Free is free with no sign-up, and all calculations run in your browser. Enter a function and an interval; the calculator differentiates it symbolically, solves f'(x) = 0 numerically inside the interval, and classifies every point found. Widen the interval if you suspect points further out — the default search covers -5 to 5.

Related Tools & Guides

About the MathSolverFree Team

The MathSolverFree Team builds and maintains the calculators and step-by-step solvers on this site. Every tool is checked against worked textbook examples before it is published, and the method behind each solver is written out in full — in the worked examples on the page and in our guides — so you can see exactly how an answer is reached, not just the answer itself.

How we build and test our tools·More about the team