How it’s calculated
Turning points of a smooth curve occur where the slope is zero. So the calculator differentiates f, solves f′(x) = 0 for the critical points, and classifies each one:
- Second derivative test: if f″(c) > 0 the curve is concave up there, so c is a local minimum; if f″(c) < 0 it is a local maximum.
- If f″(c) = 0 that test is inconclusive (x³, x⁴ and −x⁴ all have f″(0) = 0), so the first derivative test is used: f′ changing from + to − means a maximum, − to + a minimum, and no sign change means neither.
- Inflection points are where f″ changes sign (the concavity changes). f″ = 0 alone is not enough: x⁴ has f″(0) = 0 but is concave up on both sides.
For degree up to 4, f′ is at most a cubic and f″ at most a quadratic, so every real root is found (to full precision) by splitting the line at the roots of the next derivative and bisecting each sign change.
Example: f(x) = x³ − 6x² + 9x + 30. f′(x) = 3x² − 12x + 9 = 3(x − 1)(x − 3), so the critical points are x = 1 and x = 3. f″(x) = 6x − 12 gives f″(1) = −6 < 0, a local maximum f(1) = 34, and f″(3) = 6 > 0, a local minimum f(3) = 30. f″ changes sign at x = 2, so (2, 32) is an inflection point.
Frequently asked questions
What is a critical point?
A value of x where f′(x) = 0 (for a polynomial the derivative always exists). Every local maximum or minimum is a critical point, but not every critical point is one: x³ has a critical point at 0 with no turning.
What if the second derivative is zero at a critical point?
The second derivative test then says nothing. Use the first derivative test instead: look at the sign of f′ just before and just after. The calculator does this automatically.
Is every point where f″ = 0 an inflection point?
No. The concavity has to change, which means f″ must change sign. For f(x) = x⁴, f″(0) = 0 but the graph is concave up on both sides, so there is no inflection point.
Why only up to degree 4?
This keeps the derivative a cubic and the second derivative a quadratic, which covers almost every textbook exercise and lets every turning point be found reliably.
Embed this calculator
Add this free calculator to your own website. Copy the code below into your page’s HTML:
Need this calculator branded, changed or built around your own prices?See custom business solutions →
Sources
- Calculus Volume 1, §4.5 Derivatives and the Shape of a Graph (first and second derivative tests, Example 4.19) — OpenStax
- Calculus Volume 1, §4.3 Maxima and Minima (critical points) — OpenStax
Formulas are taken from the free public references above. Results are provided “as is” for informational and educational purposes only. See our disclaimer.
Added · Last updated · How we check our calculators
Spotted a mistake or missing option? Report a problem· Suggest a calculator