We want to find where f(x)=x3−3x is increasing and where it's decreasing.
f is increasing where f(x) increases as x increases, and decreasing where f(x) decreases. The slope of the tangent line at any x is the derivative f′(x). So when the tangent slope is positive, f is increasing, and when the tangent slope is negative, f is decreasing.
f′(x)>0 on an interval
→f is increasing there
f′(x)<0 on an interval
→f is decreasing there
Without a graph, we find the sign of f′(x) from its formula. The places to watch are the critical points of f, where f′(x)=0, because a continuous f′ can only change sign by passing through 0.
Find where f(x)=x3−3x is increasing and decreasing
Text solution
Where f′ can change signf′ is a polynomial, so it's continuous, and by the Intermediate Value Theorem it can only change sign where it's 0.
f′(x)=3x2−3=3(x+1)(x−1)=0:x=−1,x=1
One test value per intervalInside each of (−∞,−1),(−1,1) and (1,∞),f′ is never 0, so one value gives the sign on the whole interval.
f′(−2)=9>0
f′(0)=−3<0
f′(2)=9>0
Read off ff follows the sign of f′.
increasing on (−∞,−1) and (1,∞)
decreasing on (−1,1)
We keep track of these signs on a number line, called a sign chart.
2
The first derivative test
For f(x)=x3−3x, the derivative is 0 at x=−1 and x=1, so the tangent line is horizontal at both points. But does f have a local maximum, a local minimum, or neither there?
Remember, f has a local maximum at c if f(c)≥f(x) for all x near c, and a local minimum if f(c)≤f(x) near c. You might also hear these called a relative maximum and a relative minimum.
The sign chart from section 1 answers it. Then we'll try x4−4x3, to see whether every point where f′(x)=0 gives a local maximum or a local minimum.
Find the local maxima and local minima of f(x)=x3−3x and f(x)=x4−4x3
Text solution
x3−3x: the signs on each sidef increases up to −1 and decreases after it, so f(−1) is the largest value nearby. At 1 it's the other way round.
x=−1:+→−
→local max f(−1)=−1+3=2
x=1:−→+
→local min f(1)=1−3=−2
x4−4x3: factor f′For any x other than 0, the factor 4x2 is positive, so the sign of f′ comes entirely from x−3.
f′(x)=4x3−12x2=4x2(x−3)
The same sign on both sides of 0f′ is negative just left and just right of 0, so f keeps decreasing through 0.
x=0:− and −
→neither
x=3:−→+
→local min f(3)=81−108=−27
On the graph, the tangent at x=0 is flat, but the curve falls on both sides of it, so f is decreasing on all of (−∞,3).
At a critical point c where f is continuous, the signs of f′ on the two sides tell us whether f has a local maximum, a local minimum, or neither. This is called the first derivative test.
+→−
local max at c
−→+
local min at c
same sign
neither
When you write a reason, name the change in sign. For example, f has a local minimum at x=3 because f′ changes from negative to positive at x=3.
Does every horizontal tangent give a local maximum or minimum?
3
When the derivative is undefined
Let's find the local extrema of a function with fractional powers. Remember, a critical point is where f′(c)=0, or where f′(c) is undefined while f(c) is defined. This time we'll meet both kinds.
Find the local extrema of f(x)=x32(x−5)
f(x)=x32(x−5)
local max ?local min ?
Text solution
Multiply out, then factor f′Multiplying out first lets us use the power rule on each term. Factoring out the smallest power of x shows where f′ is 0 or undefined.
f(x)=x35−5x32
f′(x)=35x32−310x−31=33x5(x−2)
Two critical pointsThe top is 0 at x=2. The bottom is 0 at x=0, where f′ is undefined but f(0)=0 is defined. f′ isn't continuous at 0, so its sign can change there too, and both go on the number line.
f′(−1)=5>0
f′(1)=−35<0
f′(8)=5>0
Read the sign changes
x=0:+→−
→local max f(0)=0
x=2:−→+
→local min f(2)=232(−3)=−334
Here's the sign chart, with both 0 and 2 on it.
As x approaches 0 from the left, f′(x) goes to ∞, and from the right it goes to −∞. This makes a sharp point at (0,0), called a cusp. Even though f′ is undefined at 0,f(0)=0 is still greater than f at the nearby points on both sides.
4
When the function is undefined at a point
What if f itself has no value at a point? Let's find where f(x)=x+x4 is increasing and decreasing, and find its local extrema.
Find where f(x)=x+x4 is increasing and decreasing, and find its local extrema
f(x)=x+x4
increasing on ?decreasing on ?
local max ?local min ?
Text solution
Write f′ as one fractionThe top is 0 at x=−2 and x=2, the critical points. The bottom is 0 at x=0, but f(0) is undefined, so 0 isn't a critical point. It still goes on the number line, with an open circle, because f′ can change sign across it.
f′(x)=1−x24=x2x2−4
Test the four intervals
f′(−3)=95>0
f′(−1)=−3<0
f′(1)=−3<0
f′(3)=95>0
Keep the two sides of 0 apartf′ is negative on both sides of 0, but f isn't decreasing on (−2,2), since f(−1)=−5<5=f(1).
increasing on (−∞,−2) and (2,∞)
decreasing on (−2,0) and on (0,2)
local max f(−2)=−4
local min f(2)=4
On the sign chart, 0 gets an open circle to show that f has no value there.
f′
+
−2
−
0
−
2
+
The graph shows why the two decreasing intervals can't be joined. At the vertical asymptote x=0,f(x) drops to −∞ from the left and comes back from ∞ on the right. It also shows a local maximum, −4, below a local minimum, 4. That's fine, because a local maximum only has to be the largest value nearby.
x
f(x)=x+x4
(−1,−5)
(1,5)
(−2,−4)
(2,4)
Earlier, x4−4x3 was defined and continuous at x=0, so it kept decreasing across all of (−∞,3). Here, the discontinuity at 0 splits the interval, so we must write (−2,0) and (0,2) separately.
5
Reading the graph of f′
Sometimes we're given only the graph of f′, without the graph of f, and asked what f does. The y-values on that graph are the slopes of f, not its values.
Given the graph of f′, find where f is increasing, where f is decreasing, and where f has a local maximum or minimum
x
4
2
−2
−4
f′
Text solution
Above or below the x-axisWe don't look at whether the curve rises or falls. Above the axis, f′(x)>0, and below it, f′(x)<0. At x=1 the graph only touches the axis.
fincreasing on (−1,3)
fdecreasing on (−1.2,−1),(3,3.2)
The highest point of f′ isn't a maximum of fAt x=1±2, the slope of f is 4, which is positive, so f is increasing there, at its fastest. After x=1+2,f′ decreases but stays positive, so f keeps increasing.
Where f′ changes signWe use the first derivative test at the three zeros of f′.
x=−1:−→+
→local min
x=1:+ and +
→neither
x=3:+→−
→local max
Shaded by its sign, the graph of f′ shows each answer at a glance: green where f increases, pink where it decreases.
2
−2
−4
x
y=f′(x)
4
−1
1
3
When a test asks for a reason, name the sign of f′ or its change in sign, like this.
fincreasing on (−1,3)←f′>0 on (−1,1)and (1,3),f′(1)=0
fdecreasing on(−1.2,−1),(3,3.2)←f′<0
local min at x=−1←f′ changes fromnegative to positive
local max at x=3←f′ changes frompositive to negative
x=1:neither←f′(1)=0,f′>0 on both sides
Writing "because f′ is decreasing" isn't enough, because f′ is also decreasing on intervals where f has no maximum.
What does the graph of the derivative tell us about the function?
Summary
The sign of f′ and the direction of f
x
x
f(x)=x3−3x
f′(x)=3x2−3
−1
1
f′(x)>0 on an interval
→f is increasing there
f′(x)<0 on an interval
→f is decreasing there
Where the derivative is positive, the tangent lines have positive slope, so f is increasing. Where the derivative is negative, the tangent lines have negative slope, so f is decreasing. To find where f increases or decreases, test numbers in f′, not in f.
Making a sign chart
f′(x)=3(x+1)(x−1)
f′
+
−1
−
1
+
The derivative can only change sign where f′(x)=0, where f′(x) is undefined, or where f(x) is undefined. Mark those numbers on a number line to split it into intervals. Inside each interval, f′ keeps the same sign, so testing one value gives the sign on the entire interval.
The first derivative test
f(x)=x4−4x3
f′(x)=4x2(x−3)
f′
−
0
−
3
+
At a critical point c where f is continuous, look at the sign of f′ on each side. If f′ changes from positive to negative, f has a local maximum at c. If f′ changes from negative to positive, f has a local minimum at c. If f′ has the same sign on both sides, f has neither. For x4−4x3,f′(0)=0, but f′ is negative on both sides of 0, so f has neither at x=0.
The local maximum or minimum value is the output f(c), not c. When writing a reason, name the sign change of f′, like "f has a local minimum at x=3 because f′ changes from negative to positive at x=3."
When f is undefined at a point
f(x)=x+x4
decreasing on (−2,0),(0,2)
f(−1)=−5<5=f(1)
If f is undefined at c, mark c on the number line because f′ can change sign there, but c cannot be a local maximum or minimum. Keep the intervals on each side separate. For x+x4,f′ is negative on (−2,0) and on (0,2), but f is not decreasing on (−2,2) because f(−1)=−5 is less than f(1)=5.
Reading the graph of f′
2
−2
−4
x
y=f′(x)
4
−1
1
3
The graph shows the values of f′, which are the slopes of f. Where the graph of f′ is above the x-axis, f is increasing. Where it is below the axis, f is decreasing.
When f′ crosses the x-axis from above to below, f has a local maximum, and when it crosses from below to above, f has a local minimum. If the graph touches the axis without crossing it, f has neither a local maximum nor a local minimum there. A highest point on the graph of f′ is where the slope of f is largest, not a local maximum of f. When you give a reason, always name the sign of f′, not whether f′ is increasing or decreasing.
6
Practice
Enter intervals using interval notation, such as (a,b). Give exact values for local maximums and minimums.
1
Let f(x)=3x4−4x3−12x2+5. Find the intervals on which f is increasing and decreasing, and find the local maximum and minimum values of f.
local min values
Each term in 12x3−12x2−24x shares a factor of 12x. What remains when you factor out 12x?
If you got decreasing on (−1,2) Dividing f′(x)=0 by 12x loses the critical point x=0. Check the sign of f′ on (−1,0) and (0,2) separately.
Find the critical pointsTake the derivative and factor out 12x to find where f′(x)=0.
f′(x)=12x3−12x2−24x=12x(x2−x−2)=12x(x+1)(x−2)
f′(x)=0:x=−1,x=0,x=2
Test the sign of f′The three critical points divide the real line into four intervals, so we test one point in each.
The sign of f′ tells us where f is increasing and decreasing.
−−1+0−2+
decreasing on (−∞,−1) and (0,2)
increasing on (−1,0) and (2,∞)
Find the local extremaUse the first derivative test, and plug each critical point back into f(x) to get its value.
local min f(−1)=3+4−12+5=0
local max f(0)=5
local min f(2)=48−32−48+5=−27
2
The derivative of a function f is f′(x)=(x+1)(x−2)2ex. At which values of x does f have a local maximum or a local minimum?
x=−1
x=2
Can ex ever be negative? What about (x−2)2?
If you got a local maximum or minimum at x=2 Having f′(2)=0 only makes 2 a candidate. Check the sign of f′ on both sides of 2.
The factor ex is always positive, and (x−2)2 is never negative, so only x+1 can change the sign of f′.
ex>0,(x−2)2≥0
The factor x+1 is negative for x<−1 and positive for x>−1.
−−1+2+
At x=−1,f′ changes from negative to positive, so f has a local minimum. At x=2,f′ doesn't change sign, so f has neither a local maximum nor a local minimum there.
x=−1:−→+→local min
x=2:+ and +→neither
3
Let f(x)=x31(x+4). Find all critical points of f, and say whether each is a local maximum, a local minimum, or neither.
x=−1
x=0
Can 3x2 ever be negative?
If you got a local maximum or minimum at x=0 An undefined derivative only makes 0 a candidate. Check whether f′ changes sign across 0.
If you got local max at x=−1, local min at x=0 Check the sign of 3x2 when x<0. Squaring a negative number gives a positive number, so 3(−8)2=364=4>0.
Find the derivativeExpand f(x) first, then use the power rule and factor out 34x−32.
f(x)=x34+4x31
f′(x)=34x31+34x−32=34x−32(x+1)=33x24(x+1)
A critical point is where f′ is 0 or undefined, as long as f is defined there.
x+1=0:x=−1
3x2=0:x=0,f(0)=0
Because x2 is positive for x=0, the denominator 33x2 is always positive, so the sign comes from x+1.
At x=−1,f′ changes from negative to positive, so f has a local minimum. At x=0,f′ is positive on both sides, so f continues increasing.
−−1+0+
x=−1:−→+→local min f(−1)=(−1)(3)=−3
x=0:+ and +→neither
4
Let f(x)=x−1x2. Find the intervals on which f is increasing and decreasing, and find the local maximum and minimum values of f.
What is f(1)?
If you got decreasing on (0,2) Check the value of f(x) on either side of x=1. The function isn't defined at x=1, and f(21)=−21 is less than f(23)=29, so f doesn't decrease across x=1.
Find the derivative and domainUse the quotient rule to find f′(x), and note where f is undefined.
Find the intervals and local extremaBecause f(1) is undefined, we cannot say f decreases across 1. In fact, f(21)=−21 is less than f(23)=29, so f is decreasing on (0,1) and (1,2) separately.
f(21)=−21<29=f(23)
increasing on (−∞,0) and (2,∞)
decreasing on (0,1) and (1,2)
local max f(0)=0
local min f(2)=14=4
5
The graph of f′, the derivative of a function f, is shown for −4<x<4. (a) On what open intervals is f increasing? Give a reason for your answer. (b) At which values of x does f have a local maximum or a local minimum? Give a reason for your answer.
x
−4
−3
−2
−1
0
1
2
3
4
−1
0
1
y=f′(x)
(a)f increasing on
Where is the graph of f′ above the x-axis?
At which x-values does the graph of f′ cross from one side of the x-axis to the other?
If you got a local maximum or minimum at x=3 Check the sign of f′ on both sides of x=3. The graph touches the axis but stays below it, so f′ doesn't change sign.
If you got f decreasing on (0,1) Check whether f′ is positive or negative on (0,1). The graph of f′ is decreasing there, but it's still above the x-axis, so f′(x)>0.
If you got a local maximum of f on −2≤x≤0 That's where the derivative f′ has its highest value, not where f has a maximum. Because f′>0 there, f is increasing.
(b)
x=−3
x=1
x=3
Read the sign of f′Look at where the graph of f′ is above and below the x-axis.
f′>0 on (−3,1)
f′<0 on (−4,−3),(1,3),(3,4)
The function f is increasing wherever its derivative is positive, even where f′ itself is decreasing.
(a) fincreasing on (−3,1) because f′>0 there
0<x<1:f′ decreasing,f′>0→fincreasing
Find the local extremaA critical point gives a local extremum only when f′ changes sign from one side to the other. At x=3,f′ is 0 but does not change sign, so f has neither a local maximum nor a local minimum there.
(b) x=−3:local min, because f′ changes from negative to positive
x=1:local max, because f′ changes from positive to negative
x=3:f′(3)=0,f′<0 on both sides→neither
6
For which values of k is f(x)=x3−3x2+kx increasing for all x?
Complete the square on 3x2−6x+k by writing it as 3(x−1)2+?.
If you got k>3 Check what happens when k=3. If f′(1)=0 but f′>0 everywhere else, does f still increase for all x?
Complete the squareDifferentiate f(x) and complete the square to find the smallest value of f′.
f′(x)=3x2−6x+k=3(x2−2x+1)+k−3=3(x−1)2+(k−3)
The squared term 3(x−1)2 is at least 0, so f′(x) is smallest at x=1, where it equals k−3. If k<3, then f′(1)<0, which makes f decrease near 1. But if k=3,f′(1)=0 while f′ is positive everywhere else, so f still increases for all x. That means we need k≥3.