Understanding where functions change direction
Tricky Stationary Points
We've seen that when f'(c) = 0 at a critical point c:
First derivative: f'(x) = 3x²
Second derivative: f''(x) = 6x
Third derivative: f'''(x) = 6
At x = 0: f'(0) = 0 and f''(0) = 0
Result: x = 0 is an inflection point, not a maximum or minimum. The function changes from concave down (x < 0) to concave up (x > 0), and continues increasing throughout.
First derivative: f'(x) = 4x³
Second derivative: f''(x) = 12x²
Third derivative: f'''(x) = 24x
Fourth derivative: f⁽⁴⁾(x) = 24
At x = 0: f'(0) = 0 and f''(0) = 0
Result: x = 0 is a local minimum. The function is concave up everywhere (except right at x = 0), creating a flatter, gentler bowl shape than x².
First derivative: f'(x) = -4x³
Second derivative: f''(x) = -12x²
Third derivative: f'''(x) = -24x
Fourth derivative: f⁽⁴⁾(x) = -24
At x = 0: f'(0) = 0 and f''(0) = 0
Result: x = 0 is a local maximum. The function is concave down everywhere (except right at x = 0), forming an inverted bowl that's flatter at the top than -x².
When f''(c) = 0, we need to check higher derivatives. Here's the general pattern:
f'(0) = 0 ✓ (critical point)
f''(0) = 0 (second derivative test fails)
f'''(0) = 6 ≠ 0 (third derivative is first non-zero)
Conclusion: Since the first non-zero derivative is the third (odd), x = 0 is an inflection point.
f'(0) = 0 ✓ (critical point)
f''(0) = 0 (second derivative test fails)
f'''(0) = 0 (third derivative also zero)
f⁽⁴⁾(0) = 24 > 0 (fourth derivative is first non-zero)
Conclusion: Since the first non-zero derivative is the fourth (even) and positive, x = 0 is a local minimum.
Flatter Curves: When f''(c) = 0 at an extremum, the curve is flatter near that point. Compare the sharper minimum of y = x² with the gentler minimum of y = x⁴—both have minima at x = 0, but x⁴ approaches the minimum more gradually.
Inflection Points with Horizontal Tangents: The point (0,0) on y = x³ is special: it's an inflection point where the tangent is horizontal. The curve doesn't change direction (it keeps increasing), but it does change its curvature from concave down to concave up.
f'(a) = 0 and f''(a) = 0
When you find a critical point at x = a where f'(a) = 0, your first instinct is to use the second derivative test. But what happens when f''(a) = 0 as well? The second derivative test becomes inconclusive.
This is often the most practical and intuitive method. Instead of looking at f''(a), we examine the sign of f'(x) on both sides of x = a.
Step 1: f'(x) = 4x³, so f'(0) = 0 ✓
Step 2: f''(x) = 12x², so f''(0) = 0 (inconclusive!)
Step 3: Use the first derivative test:
• Test x = -0.1: f'(-0.1) = 4(-0.1)³ = -0.004 < 0 (negative)
• Test x = +0.1: f'(+0.1) = 4(+0.1)³ = +0.004 > 0 (positive)
Conclusion: f' changes from negative to positive, so x = 0 is a local minimum.
Step 1: f'(x) = 3x², so f'(0) = 0 ✓
Step 2: f''(x) = 6x, so f''(0) = 0 (inconclusive!)
Step 3: Use the first derivative test:
• Test x = -0.1: f'(-0.1) = 3(-0.1)² = +0.03 > 0 (positive)
• Test x = +0.1: f'(+0.1) = 3(+0.1)² = +0.03 > 0 (positive)
Conclusion: f' stays positive on both sides, so x = 0 is an inflection point (not an extremum).
If f'(a) = 0 and f''(a) = 0 then
f'(x) = 4x³, so f'(0) = 0 ✓
f''(x) = 12x², so f''(0) = 0
Check f''(x) near x = 0:
• At x = -0.1: f''(-0.1) = 12(-0.1)² = 0.12 > 0
• At x = +0.1: f''(+0.1) = 12(+0.1)² = 0.12 > 0
Conclusion: f''(x) > 0 on both sides, so the curve is concave up near x = 0, making it a local minimum.
f'(x) = 3x², so f'(0) = 0 ✓
f''(x) = 6x, so f''(0) = 0
Check f''(x) near x = 0:
• At x = -0.1: f''(-0.1) = 6(-0.1) = -0.6 < 0
• At x = +0.1: f''(+0.1) = 6(+0.1) = +0.6 > 0
Conclusion: f''(x) changes sign from negative to positive, so x = 0 is a point of inflection.
For some value of the function at x = a, f(a), and function values close to, and around this stationary point (small h > 0):
If f(a - h) > f(a) and f(a + h) > f(a), then points around x = a are 'above' f(a) so we have a local minimum at x = a.
Similarly, if f(a - h) < f(a) and f(a + h) < f(a), then points around x = a are 'below' f(a) so we have a local maximum at x = a.
Finally, if the sign of f(a - h) and f(a + h) are different, then we have a (horizontal) point of inflection at x = a.
When in doubt, evaluate the function itself at points near the critical point. This direct approach shows whether nearby values are higher or lower.
Critical point at x = 0 with f'(0) = 0 and f''(0) = 0
| x | -0.5 | -0.2 | -0.1 | 0 | 0.1 | 0.2 | 0.5 |
| f(x) | -0.0625 | -0.0016 | -0.0001 | 0 | -0.0001 | -0.0016 | -0.0625 |
Conclusion: All nearby values are less than f(0) = 0, so x = 0 is a local maximum.
Sometimes the best approach is simply to sketch the function or use graphing technology. Visual inspection can quickly reveal the nature of a critical point.
Visual Clues:
First Derivative Test: Best general-purpose method. Works for all functions and gives clear results. Choose this when derivatives are easy to evaluate.
Sign Chart: Best for systematic analysis and when you want to understand the complete behavior of f' around the critical point. Great for exam solutions.
Table of Values: Best when derivatives are complicated or when you want numerical confirmation. Also useful for approximate/numerical analysis.
Graphical Analysis: Best for intuition and quick checks. Use technology to visualize complex functions.
Verify it's a critical point:
f'(x) = 5x⁴ - 20x³ = 5x³(x - 4)
f'(0) = 0 ✓
Try second derivative test:
f''(x) = 20x³ - 60x²
f''(0) = 0 (inconclusive!)
Solution using First Derivative Test:
f'(x) = 5x³(x - 4)
• At x = -0.1: f'(-0.1) = 5(-0.1)³(-0.1 - 4) = 5(-0.001)(-4.1) ≈ 0.02 > 0
• At x = +0.1: f'(+0.1) = 5(+0.1)³(+0.1 - 4) = 5(+0.001)(-3.9) ≈ -0.02 < 0
Conclusion: f' changes from positive to negative, so x = 0 is a local maximum.
But it's not a stationary point
We've explored what happens when both f'(a) = 0 and f''(a) = 0 at a point x = a. But what if only f''(a) = 0 while f'(a) ≠ 0?
This is actually the typical case for inflection points! Points where the tangent is horizontal (f'(a) = 0) are special exceptions.
A point of inflection occurs at x = a if:
The condition f'(a) = 0 is NOT required for an inflection point. When f'(a) ≠ 0, the inflection point has a sloped tangent line.
First derivative: f'(x) = 3x² - 3
Second derivative: f''(x) = 6x
At x = 0:
• f'(0) = 3(0)² - 3 = -3 ≠ 0 (NOT a stationary point)
• f''(0) = 6(0) = 0 ✓
• For x < 0: f''(x) < 0 (concave down)
• For x > 0: f''(x) > 0 (concave up)
Conclusion: x = 0 is an inflection point where the curve changes from concave down to concave up, while continuing to decrease (since f'(0) = -3 < 0).
First derivative: f'(x) = cos(x)
Second derivative: f''(x) = -sin(x)
At x = π:
• f'(π) = cos(π) = -1 ≠ 0 (NOT a stationary point)
• f''(π) = -sin(π) = 0 ✓
• For x slightly less than π: f''(x) > 0 (concave up)
• For x slightly more than π: f''(x) < 0 (concave down)
Conclusion: x = π is an inflection point where concavity changes, and the function is decreasing throughout (f'(π) < 0).
First derivative: f'(x) = 3(x - 2)²
Second derivative: f''(x) = 6(x - 2)
At x = 2:
• f'(2) = 3(2 - 2)² = 0 (This IS a stationary point!)
• f''(2) = 6(2 - 2) = 0 ✓
Note: This is the special case where f'(a) = 0 AND f''(a) = 0 (horizontal inflection point, like x³ shifted right and up).
But consider x = 3:
• f'(3) = 3(3 - 2)² = 3 ≠ 0
• f''(3) = 6(3 - 2) = 6 ≠ 0 (no inflection here)
At an inflection point where f'(a) ≠ 0, you'll observe:
To find ALL inflection points of a function (both types):
Step 1: f'(x) = 4x³ - 12x² = 4x²(x - 3)
Step 2: f''(x) = 12x² - 24x = 12x(x - 2)
Step 3: Solve f''(x) = 0: 12x(x - 2) = 0 → x = 0 or x = 2
Test x = 0:
• f''(-0.1) = 12(-0.1)(-0.1 - 2) = 12(-0.1)(-2.1) = 2.52 > 0
• f''(+0.1) = 12(+0.1)(+0.1 - 2) = 12(+0.1)(-1.9) = -2.28 < 0
• Signs change! x = 0 IS an inflection point ✓
• Check: f'(0) = 0 (horizontal tangent at inflection point)
Test x = 2:
• f''(1.9) = 12(1.9)(1.9 - 2) = 12(1.9)(-0.1) = -2.28 < 0
• f''(2.1) = 12(2.1)(2.1 - 2) = 12(2.1)(+0.1) = 2.52 > 0
• Signs change! x = 2 IS an inflection point ✓
• Check: f'(2) = 4(2)²(2 - 3) = 16(-1) = -16 ≠ 0 (sloped tangent!)
Summary: Two inflection points—one with horizontal tangent (x = 0), one with sloped tangent (x = 2).
Counterexample: f(x) = x⁴ has f''(0) = 0, but x = 0 is a minimum, not an inflection point. You must verify that f''(x) changes sign.
Reality: Most inflection points have f'(x) ≠ 0. The horizontal tangent case is the exception, not the rule.
Clarification: At an inflection point, the concavity changes (the curve bends differently), but the direction may continue unchanged (function keeps increasing or decreasing).