Critical Points and Extrema of a Cubic
Problem
Find and visualize the maximum and minimum of f(x) = x³ - 3x² + 2.
Explanation
A function's local maxima and minima occur where the derivative is zero (a horizontal tangent) or undefined. These are called critical points. For a smooth polynomial, finding extrema reduces to solving and then classifying each root.
The Physics — Wait, Just the Math
For , we want the points where the slope vanishes. Once we find them, we use either the first-derivative sign test or the second-derivative test to decide if each is a max, a min, or neither (a "saddle" inflection point).
Step-by-Step Solution
Given: .
Find: All critical points and classify them as local max, local min, or neither.
Step 1 — Compute the first derivative.
Apply the power rule term by term:
Step 2 — Set and solve.
Factor:
Two roots:
These are the two critical points.
Step 3 — Compute at each critical point.
So the critical points are and .
Step 4 — Classify each using the second-derivative test.
Compute :
Evaluate at each critical point:
Step 5 — Sanity check with the first-derivative sign test.
Plug test points into :
- At : → increasing
- At : → decreasing
- At : → increasing
So goes up → down → up, confirming a local max at and a local min at . ✓
Answer: The function has two critical points:
- A local maximum at
- A local minimum at
There are no other extrema. The function is increasing on , decreasing on , and increasing again on .
Try It
- Slide the point along the curve — see the tangent line rotate. At and it goes flat (horizontal).
- The two critical points are marked with green stars.
- Toggle the show option to see the derivative curve below — it crosses zero exactly at and .
- The HUD shows , , and live, and lights up with "MAX" or "MIN" when you're near a critical point.
Interactive Visualization
Parameters
Got your own math or physics problem?
Turn any problem into an interactive visualization like this one — powered by AI, generated in seconds. Free to try, no credit card required.