Critical Points Calculator
Test cases replayed : 6 of 6 match · Methodology · No outside source listed
Enter the coefficients of f(x) = ax³ + bx² + cx + d (0 for a missing term). The calculator solves f′(x) = 0, gives each critical point with its value, and uses the second derivative test to say whether it is a local maximum or a local minimum.
Result
Critical points
First critical point x₁
- f(x₁)
- Type of x₁
- Second critical point x₂
- f(x₂)
- Type of x₂
- Inflection point of the cubic, x = −b ÷ 3a
- f at the inflection point
Estimate for planning only, not tax, legal, financial or medical advice. This calculator uses the method explained on this page.
This browser did not allow copying. The sentence is in the box below, already selected: copy it with your keyboard or the menu.
How to use this calculator
Fill in the fields in this order; each step takes you to its field.
- a, coefficient of x³: enter a number.
- b, coefficient of x²: enter a number.
- c, coefficient of x: enter a number.
- d, constant: enter a number.
- Read the result: Critical points; the panel also shows First critical point x₁, f(x₁), Type of x₁, Second critical point x₂, f(x₂), Type of x₂, Inflection point of the cubic, x = −b ÷ 3a and f at the inflection point.
How this calculator works
A critical point of a differentiable function is an x where f′(x) = 0. Here f′(x) = 3ax² + 2bx + c, a quadratic solved by the quadratic formula: x = (−2b ± √D) ÷ 6a with D = 4b² − 12ac. D > 0 gives two critical points, D = 0 one, D < 0 none. If a = 0 and b ≠ 0, f is a parabola with one critical point x = −c ÷ 2b.
Second derivative test: f″(x) = 6ax + 2b. f″ < 0 at a critical point means a local maximum, f″ > 0 a local minimum. When D = 0 the cubic's only critical point has f″ = 0 and f′ does not change sign there: it is a stationary inflection point, not an extremum.
A cubic (a ≠ 0) always has one inflection point, at x = −b ÷ 3a, where the curve changes concavity. Values are shown with up to 4 decimal places; a D closer to 0 than 10⁻¹² counts as 0.
Worked example
| a, coefficient of x³ | 1 |
|---|---|
| b, coefficient of x² | 0 |
| c, coefficient of x | -3 |
| d, constant | 1 |
| Inflection point of the cubic, x = −b ÷ 3a | 0 |
|---|---|
| f at the inflection point | 1 |
| Critical points | Two critical points, where f′(x) = 0 |
| First critical point x₁ | -1 |
| f(x₁) | 3 |
| Type of x₁ | Local maximum (f″ < 0) |
| Second critical point x₂ | 1 |
| f(x₂) | -1 |
| Type of x₂ | Local minimum (f″ > 0) |
Frequently asked questions
What are the critical points of f(x) = x³ − 3x + 1?
f′(x) = 3x² − 3 = 0 at x = −1 and x = 1. f″(−1) = −6, a local maximum f(−1) = 3; f″(1) = 6, a local minimum f(1) = −1.
Is every critical point a maximum or a minimum?
No. For f(x) = x³, f′(0) = 0 but the function keeps rising through 0: it is a stationary inflection point.
Are these the absolute maximum and minimum?
They are local. On a closed interval, compare the values at the critical points inside it with the values at its two ends to find the absolute extremes.