f′(x)=3x2−6x−9=3(x−3)(x+1), which is zero at x=−1 and x=3. A polynomial’s derivative exists everywhere, so there are no other critical points.
f′(x)=3x2−6x−9=3(x−3)(x+1)
f′(x)=3x2−6x−9=3(x−3)(x+1)
2
Make a sign chart for f′
Test one number in each interval. f′(−2)=15>0,f′(0)=−9<0 and f′(4)=15>0.
Sign of f′(x)=3(x−3)(x+1)
Interval
Test x
f′(x)
f is
x<−1
−2
15
increasing
−1<x<3
0
−9
decreasing
x>3
4
15
increasing
3
Classify the critical points
f′ changes from +to − at x=−1, so f(−1)=10 is a local maximum. It changes from − to + at x=3, so f(3)=−22 is a local minimum.
f(−1)=10,f(3)=−22
4
Find where the concavity changes
f′′(x)=6x−6 is negative for x<1 and positive for x>1, so the graph is concave down and then concave up. The inflection point is (1,f(1))=(1,−6).
f′′(x)=6x−6=0⟹x=1
5
Check with the second derivative test
f′′(−1)=−12<0 confirms the maximum, and f′′(3)=12>0 confirms the minimum.
6
Sketch the graph
Plot the maximum (−1,10), the y-intercept (0,5), the inflection point (1,−6) and the minimum (3,−22). The graph rises to the maximum, falls through the inflection point to the minimum, then rises again.
Result
f increases on (−∞,−1) and (3,∞) and decreases on (−1,3). Local maximum f(−1)=10 and local minimum f(3)=−22. Concave down on (−∞,1) and up on (1,∞), with inflection point (1,−6).
Your turn
1. One like the example
Find the local extrema and the inflection point of g(x)=x3−12x.
Show the answer and explanation
Local maximum g(−2)=16, local minimum g(2)=−16, inflection point (0,0).
g′(x)=3x2−12=3(x−2)(x+2) is zero at ±2, and g′′(x)=6x. Since g′′(−2)=−12<0,g(−2)=16 is a local maximum. Since g′′(2)=12>0,g(2)=−16 is a local minimum. The sign of g′′ changes at 0, so (0,0) is the inflection point.
g(x)=x3−12xg′(x)=3x2−12g′′(x)=6xg(−2)=16g(2)=−16
2. A variation
Find the local extremum and the inflection point of f(x)=xe−x. This time the product rule gives f′.
Show the answer and explanation
Local maximum f(1)=1/e≈0.368, and inflection point (2,2/e2)≈(2,0.271).
By the product rule f′(x)=e−x−xe−x=(1−x)e−x. Since e−x>0,f′ has the sign of 1−x, positive for x<1 and negative after, so f(1)=1/e is a local maximum. Differentiating again gives f′′(x)=(x−2)e−x, which changes sign at x=2, so (2,2/e2) is the inflection point.
A store’s total profit, in thousands of dollars, t months after opening is P(t)=−t3+6t2+15t, for 0≤t≤6. When is profit growing fastest, and when does it stop growing?
Show the answer and explanation
Fastest at t=2 months, at 27 thousand dollars a month. Profit stops growing at t=5, where it peaks at 100 thousand dollars.
The growth rate is P′(t)=−3t2+12t+15=−3(t−5)(t+1). It is positive for 0≤t<5 and negative after, so P peaks at t=5 with P(5)=100. The rate itself is largest where P′′(t)=−6t+12=0, at t=2, the inflection point, and there P′(2)=27. After t=2 profit still grows, but by less each month.
In Secant → Tangent, with Auto trace on, move Pfrom −1 to 3: the tangent is flat at both ends and steepest at the inflection point, x=1, where the slope is −12. The dots below trace f′, down to −12 and back up to 0.