Polynomial Extrema & Inflection Point Calculator

Critical points, local maximum and minimum, inflection points, and where a polynomial up to degree 4 is increasing, decreasing and concave up or down.

1, −6, 9, 30 means x³ − 6x² + 9x + 30. Use 0 for a missing power; at most 5 numbers (degree 4). Use a point for decimals (1.5), no thousands separators, and separate numbers with spaces or a comma and a space.

Results

Local maximum and minimum
Local maximum f(1) = 34 Local minimum f(3) = 30
Critical points (f′(x) = 0) and how they were classified
x = 1: f(x) = 34. f″ = −6 < 0, concave down, so this is a local maximum (second derivative test). x = 3: f(x) = 30. f″ = 6 > 0, concave up, so this is a local minimum (second derivative test).
Inflection points (f″ changes sign)
(2, 32)
Absolute (global) extreme
None: an odd-degree polynomial goes to ∞ at one end and −∞ at the other.
Increasing and decreasing
Increasing on (−∞, 1) Decreasing on (1, 3) Increasing on (3, ∞)
Concavity
Concave down on (−∞, 2) Concave up on (2, ∞)
Function and derivatives
f(x) = x³ − 6x² + 9x + 30 f′(x) = 3x² − 12x + 9 f″(x) = 6x − 12

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:

critical points: f′(c) = 0 local min if f″(c) > 0, local max if f″(c) < 0 inflection point: f″ changes sign at x

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

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