3.5 Graphing Derivatives
The first and second derivatives give a complete blueprint of a function's graph. The sign of f'(x) determines where f is increasing or decreasing (and locates local extrema via the First Derivative Test), while the sign of f''(x) determines where the graph is concave upward or concave downward (and locates inflection points).
Core Concept & Mathematical Foundation
By the Mean Value Theorem, if f'(x) > 0 on an interval, then f(x2) - f(x1) = f'(c)(x2 - x1) > 0 whenever x2 > x1, proving f is increasing. Since f'' is the derivative of f', f''(x) > 0 means the tangent slope f'(x) is increasing, so the curve bends upward above its tangent lines (concave upward).
First & Second Derivative Tests and Concavity
Example 1: Monotonicity and the First Derivative Test
Find the intervals of increase/decrease and local extrema of \(f(x)=2x^3-3x^2-12x+4\).
Show solution
Factor the first derivative:
\(f'>0\) on \((-\infty,-1)\cup(2,\infty)\) (increasing) and \(f'<0\) on \((-1,2)\) (decreasing). Thus \(\boxed{f(-1)=11\text{ is a local max and }f(2)=-16\text{ is a local min}}\).
Graphical & Numerical Behavior
Comparing a table of numerical values directly alongside the plotted curve reveals how the formula behaves across key points, zeros, and turning points.
| Interval / Point | Sign of f'(x) = 3x(x-2) | Sign of f''(x) = 6(x-1) | Behavior of Graph y = f(x) |
|---|---|---|---|
| (-∞, 0) | Positive (+) | Negative (-) | Increasing, Concave Down |
| x = 0 | 0 | -6 < 0 | Local Maximum f(0) = 2 |
| (0, 1) | Negative (-) | Negative (-) | Decreasing, Concave Down |
| x = 1 | -3 | 0 (sign change) | Inflection Point (1, 0) |
| (1, 2) | Negative (-) | Positive (+) | Decreasing, Concave Up |
| x = 2 | 0 | +6 > 0 | Local Minimum f(2) = -2 |
| (2, ∞) | Positive (+) | Positive (+) | Increasing, Concave Up |
Graph of f(x) = x^3 - 3x^2 + 2 showing local max (0, 2), inflection point (1, 0), and local min (2, -2)
Example 2: Concavity and Inflection Points
Find the intervals of concavity and all inflection points of \(f(x)=x^4-4x^3\).
Show solution
Compute \(f''(x)\) and test its sign across roots:
\(f''>0\) (concave up) on \((-\infty,0)\cup(2,\infty)\) and \(f''<0\) (concave down) on \((0,2)\), giving inflection points at \(\boxed{(0,0)\text{ and }(2,-16)}\).
Companion Function & Advanced Applications
The companion graph below illustrates the secondary curve (first derivative f'(x) = 3x(x - 2) whose minimum at x = 1 corresponds to the inflection point of f) and highlights the points where the analytical criterion takes effect.
First derivative f'(x) = 3x(x - 2) whose minimum at x = 1 corresponds to the inflection point of f
Example 3: Applying the Second Derivative Test
Use the Second Derivative Test to classify the critical number of \(f(x)=x^2-\ln x\) (\(x>0\)).
Show solution
Set \(f'(x)=2x-\frac{1}{x}=0\implies x=\frac{1}{\sqrt{2}}\). Since \(f''(x)=2+\frac{1}{x^2}>0\) everywhere on \((0,\infty)\):
Common Mistakes to Avoid
- \(f''(c)=0\) alone does not guarantee an inflection point: Concavity must actually change sign across \(x=c\) (for example, \(f(x)=x^4\) has \(f''(0)=0\) but is concave upward on both sides).
- When \(f''(c)=0\), the Second Derivative Test is inconclusive: Fall back to the First Derivative Test by checking a sign chart for \(f'(x)\).
Key Takeaways
- The first and second derivatives give a complete blueprint of a function's graph. The sign of f'(x) determines where f is increasing or decreasing (and locates local extrema via the First Derivative Test), while the sign of f''(x) determines where the graph is concave upward or concave downward (and locates inflection points).
- Core Formula: \(f'>0\Rightarrow\text{Inc.},\quad f'<0\Rightarrow\text{Dec.},\quad f''>0\Rightarrow\text{Concave Up},\quad f''<0\Rightarrow\text{Concave Down}\).
- By the Mean Value Theorem, if f'(x) > 0 on an interval, then f(x2) - f(x1) = f'(c)(x2 - x1) > 0 whenever x2 > x1, proving f is increasing. Since f'' is the derivative of f', f''(x) > 0 means the tangent slope f'(x) is increasing, so the curve bends upward above its tangent lines (concave upward).