Knowing where a graph rises and falls only tells you half the story. To sketch a curve accurately, you also need to know how it bends — whether it cups upward like a bowl or arches downward like an umbrella. That bending is called concavity, and the spots where the bending switches direction are called inflection points.
In this guide you will learn the second derivative test for concavity, a reliable 4-step framework for finding inflection points, and how to avoid the classic trap where the second derivative equals zero but nothing changes.
What Are Concavity and Inflection Points?
Concavity describes which way a curve opens:
- Concave up: the curve opens upward like a cup that holds water. Tangent lines sit below the curve, and the slope increases from left to right.
- Concave down: the curve opens downward like an umbrella that spills water. Tangent lines sit above the curve, and the slope decreases from left to right.
An inflection point is a point on a continuous curve where the concavity actually changes — from up to down, or from down to up.
Before working with higher-order derivatives, make sure your basic differentiation is solid. Review single-term polynomial differentiation in our guide on how to use the power rule for derivatives, or see how multi-part terms work in our reference on product and quotient rules explained. You can also verify critical values and curve shapes using the CalcSolver calculation engine.
The Second Derivative Rules for Concavity
The sign of the second derivative f”(x) tells you the concavity directly:
- If f”(x) > 0 on an interval, the graph is concave up there.
- If f”(x) < 0 on an interval, the graph is concave down there.
- If f”(x) = 0 or f”(x) is undefined, x is only a candidate for an inflection point.
Crucial rule: a candidate is a true inflection point only if f”(x) strictly changes sign — from positive to negative, or from negative to positive — across that point. No sign change, no inflection point.
The 4-Step Framework to Find Inflection Points
- Calculate the second derivative: find f'(x), then differentiate once more to get f”(x).
- Find candidate points: solve f”(x) = 0, and note any x-values in the domain where f”(x) is undefined.
- Build a sign chart: split the number line at the candidates and test a sample point in each interval inside f”(x), recording + or −.
- Confirm and locate: wherever the sign changes, you have an inflection point — plug that x-value into the original f(x) to get the full (x, y) coordinates.
Worked Example 1: Full Concavity Analysis
Find the intervals of concavity and all inflection points of:
f(x) = x^3 – 6x^2 + 9x + 2
Step 1: Compute the first and second derivatives
- f'(x) = 3x² − 12x + 9
- f”(x) = 6x − 12
Step 2: Set the second derivative equal to zero
6x – 12 = 0 ⇒ x = 2
Our single candidate is x = 2.
Step 3: Test intervals on a sign chart
- (−∞, 2) — test x = 0: f”(0) = −12 < 0, so the function is concave down.
- (2, ∞) — test x = 3: f”(3) = 18 − 12 = 6 > 0, so the function is concave up.
The sign switches from negative to positive at x = 2, so a true inflection point exists there.
Step 4: Find the y-coordinate with the original f(x)
f(2) = 8 − 6(4) + 18 + 2 = 8 − 24 + 18 + 2 = 4.
Answer: concave down on (−∞, 2), concave up on (2, ∞), with an inflection point at (2, 4).
Worked Example 2: Two Inflection Points
Find the inflection points of f(x) = x^4 – 6x^2 + 1.
Step 1: Differentiate twice
- f'(x) = 4x³ − 12x
- f”(x) = 12x² − 12 = 12(x² − 1)
Step 2: Solve f”(x) = 0
12(x² − 1) = 0 gives two candidates: x = −1 and x = 1.
Step 3: Sign chart
- (−∞, −1) — test x = −2: f”(−2) = 48 − 12 = 36 > 0 → concave up.
- (−1, 1) — test x = 0: f”(0) = −12 < 0 → concave down.
- (1, ∞) — test x = 2: f”(2) = 48 − 12 = 36 > 0 → concave up.
The sign changes at both x = −1 and x = 1, so both are genuine inflection points.
Step 4: Coordinates
- f(−1) = 1 − 6 + 1 = −4 → inflection point (−1, −4).
- f(1) = 1 − 6 + 1 = −4 → inflection point (1, −4).
The f”(x) = 0 Trap (Why Verification Matters)
Setting f”(x) = 0 is only the starting point — it does not guarantee an inflection point. Consider the classic example f(x) = x^4:
- f'(x) = 4x³, and f”(x) = 12x².
- Solving f”(x) = 0 gives x = 0.
- But test both sides: f”(−1) = 12 > 0 and f”(1) = 12 > 0. The sign stays positive on both sides.
The curve stays concave up through x = 0, so (0, 0) is not an inflection point for x⁴. Always run the sign test — never assume.
3 Common Mistakes to Avoid
- Plugging x into f”(x) or f'(x) for the y-coordinate: inflection points live on the original curve. Always substitute confirmed x-values into f(x).
- Assuming f”(x) = 0 always produces an inflection point: as the x⁴ example shows, without a sign change there is no change in curvature.
- Mixing up extrema and inflection points: local maximums and minimums come from the first derivative (f'(x) = 0 or a sign change). Inflection points are governed entirely by the second derivative.
Quick check before you finish: read your sign chart like a story — down-to-up or up-to-down at each candidate. If the sign repeats on both sides, cross that candidate off your list.