Calculus3Analyzing Functions3 of 6
Analyzing Functions · 3

First Derivative Test

1

Where a function increases and decreases

We want to find where f(x)=x3−3x\fb{f(x)} = \fb{x^3 - 3x} is increasing and where it's decreasing.

f\fb{f} is increasing where f(x)\fb{f(x)} increases as xx increases, and decreasing where f(x)\fb{f(x)} decreases. The slope of the tangent line at any xx is the derivative f′(x)\fd{f'(x)}. So when the tangent slope is positive, f\fb{f} is increasing, and when the tangent slope is negative, f\fb{f} is decreasing.

xx
xx
f(x)=x3−3x\htmlClass{lc-blue}{f(x)=x^3-3x}
f′(x)=3x2−3\htmlClass{lc-violet}{f'(x)=3x^2-3}
−1\htmlClass{lc-orange}{-1}
1\htmlClass{lc-orange}{1}
f′(x)>0 on an interval\displaystyle \inc{f'(x) > 0}\text{ on an interval}
→    f is increasing there\displaystyle \to\;\; \fb{f}\text{ is }\inc{\text{increasing}}\text{ there}
f′(x)<0 on an interval\displaystyle \dec{f'(x) < 0}\text{ on an interval}
→    f is decreasing there\displaystyle \to\;\; \fb{f}\text{ is }\dec{\text{decreasing}}\text{ there}

Without a graph, we find the sign of f′(x)\fd{f'(x)} from its formula. The places to watch are the critical points of f\fb{f}, where f′(x)=0\fd{f'(x)} = 0, because a continuous f′\fd{f'} can only change sign by passing through 00.

Find where f(x)=x3−3x\fb{f(x)} = \fb{x^3 - 3x} is increasing and decreasing
xx
f\htmlClass{lc-blue}{f}
Text solution
Where f′\fd{f'} can change signf′\fd{f'} is a polynomial, so it's continuous, and by the Intermediate Value Theorem it can only change sign where it's 00.
f′(x)\displaystyle \fd{f'(x)} =3x2−3\displaystyle = \fd{3x^2 - 3} =3(x+1)(x−1)\displaystyle = \fd{3(x+1)(x-1)} =0:x=−1, x=1\displaystyle = 0:\quad \spt{x = -1},\ \spt{x = 1}
One test value per intervalInside each of (−∞,−1)(-\infty, -1), (−1,1)(-1, 1) and (1,∞)(1, \infty), f′\fd{f'} is never 00, so one value gives the sign on the whole interval.
f′(−2)\displaystyle \fd{f'(-2)} =9>0\displaystyle = \inc{9 > 0}
f′(0)\displaystyle \fd{f'(0)} =−3<0\displaystyle = \dec{-3 < 0}
f′(2)\displaystyle \fd{f'(2)} =9>0\displaystyle = \inc{9 > 0}
Read off f\fb{f}f\fb{f} follows the sign of f′\fd{f'}.
increasing on (−∞,−1) and (1,∞)\displaystyle \inc{\text{increasing}}\text{ on } (-\infty, -1) \text{ and } (1, \infty)
decreasing on (−1,1)\displaystyle \dec{\text{decreasing}}\text{ on } (-1, 1)

We keep track of these signs on a number line, called a sign chart.

f′\htmlClass{lc-violet}{f'}
+\htmlClass{lc-green}{+}
−1\htmlClass{lc-orange}{-1}
−\htmlClass{lc-pink}{-}
1\htmlClass{lc-orange}{1}
+\htmlClass{lc-green}{+}
2

The first derivative test

For f(x)=x3−3x\fb{f(x)} = \fb{x^3 - 3x}, the derivative is 00 at x=−1\spt{x = -1} and x=1\spt{x = 1}, so the tangent line is horizontal at both points. But does f\fb{f} have a local maximum, a local minimum, or neither there?

Remember, f\fb{f} has a local maximum at c\spt{c} if f(c)≥f(x)\fb{f(}\spt{c}\fb{)} \ge \fb{f(x)} for all xx near c\spt{c}, and a local minimum if f(c)≤f(x)\fb{f(}\spt{c}\fb{)} \le \fb{f(x)} near c\spt{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\fb{x^4 - 4x^3}, to see whether every point where f′(x)=0\fd{f'(x)} = 0 gives a local maximum or a local minimum.

Find the local maxima and local minima of f(x)=x3−3x\fb{f(x)} = \fb{x^3 - 3x} and f(x)=x4−4x3\fb{f(x)} = \fb{x^4 - 4x^3}
xx
f\htmlClass{lc-blue}{f}
f′\htmlClass{lc-violet}{f'}
+\htmlClass{lc-green}{+}
−1\htmlClass{lc-orange}{-1}
−\htmlClass{lc-pink}{-}
1\htmlClass{lc-orange}{1}
+\htmlClass{lc-green}{+}
Text solution
x3−3x\fb{x^3 - 3x}: the signs on each sidef\fb{f} increases up to −1\spt{-1} and decreases after it, so f(−1)\fb{f(}\spt{-1}\fb{)} is the largest value nearby. At 1\spt{1} it's the other way round.
x=−1:\spt{x = -1}:+→−\inc{+} \to \dec{-}
→    local max f(−1)\displaystyle \to\;\; \text{local max } \fb{f(}\spt{-1}\fb{)} =−1+3\displaystyle = -1 + 3 =2\displaystyle = 2
x=1:\spt{x = 1}:−→+\dec{-} \to \inc{+}
→    local min f(1)\displaystyle \to\;\; \text{local min } \fb{f(}\spt{1}\fb{)} =1−3\displaystyle = 1 - 3 =−2\displaystyle = -2
x4−4x3\fb{x^4 - 4x^3}: factor f′\fd{f'}For any xx other than 0\spt{0}, the factor 4x2\fd{4x^2} is positive, so the sign of f′\fd{f'} comes entirely from x−3\fd{x - 3}.
f′(x)\displaystyle \fd{f'(x)} =4x3−12x2\displaystyle = \fd{4x^3 - 12x^2} =4x2(x−3)\displaystyle = \fd{4x^2(x-3)}
The same sign on both sides of 0\spt{0}f′\fd{f'} is negative just left and just right of 0\spt{0}, so f\fb{f} keeps decreasing through 0\spt{0}.
x=0:\spt{x = 0}:− and −\dec{-} \text{ and } \dec{-}
→    neither\displaystyle \to\;\; \text{neither}
x=3:\spt{x = 3}:−→+\dec{-} \to \inc{+}
→    local min f(3)\displaystyle \to\;\; \text{local min } \fb{f(}\spt{3}\fb{)} =81−108\displaystyle = 81 - 108 =−27\displaystyle = -27

On the graph, the tangent at x=0\spt{x = 0} is flat, but the curve falls on both sides of it, so f\fb{f} is decreasing on all of (−∞,3)(-\infty, 3).

2020
1010
−10-10
−20-20
xx
f(x)=x4−4x3\htmlClass{lc-blue}{f(x)=x^4-4x^3}
(0,0)\htmlClass{lc-blue}{(0,0)}
(3,−27)\htmlClass{lc-blue}{(3,-27)}
f′\htmlClass{lc-violet}{f'}
−\htmlClass{lc-pink}{-}
0\htmlClass{lc-orange}{0}
−\htmlClass{lc-pink}{-}
3\htmlClass{lc-orange}{3}
+\htmlClass{lc-green}{+}

At a critical point c\spt{c} where f\fb{f} is continuous, the signs of f′\fd{f'} on the two sides tell us whether f\fb{f} has a local maximum, a local minimum, or neither. This is called the first derivative test.

+→−\displaystyle \inc{+} \to \dec{-}
local max at c\displaystyle \text{local max at } \spt{c}
−→+\displaystyle \dec{-} \to \inc{+}
local min at c\displaystyle \text{local min at } \spt{c}
same sign\displaystyle \text{same sign}
neither\displaystyle \text{neither}

When you write a reason, name the change in sign. For example, f\fb{f} has a local minimum at x=3\spt{x = 3} because f′\fd{f'} changes from negative to positive at x=3\spt{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\fd{f'(}\spt{c}\fd{)} = 0, or where f′(c)\fd{f'(}\spt{c}\fd{)} is undefined while f(c)\fb{f(}\spt{c}\fb{)} is defined. This time we'll meet both kinds.

Find the local extrema of f(x)=x23(x−5)\fb{f(x)} = \fb{x^{\frac23}(x - 5)}
f(x)=x23(x−5)\displaystyle \fb{f(x)=x^{\frac23}(x-5)}
local max ?local min ?\displaystyle \text{local max } ?\qquad \text{local min } ?
Text solution
Multiply out, then factor f′\fd{f'}Multiplying out first lets us use the power rule on each term. Factoring out the smallest power of xx shows where f′\fd{f'} is 00 or undefined.
f(x)\displaystyle \fb{f(x)} =x53−5x23\displaystyle = \fb{x^{\frac53} - 5x^{\frac23}}
f′(x)\displaystyle \fd{f'(x)} =53x23−103x−13\displaystyle = \fd{\frac53 x^{\frac23} - \frac{10}{3}x^{-\frac13}} =5(x−2)3x3\displaystyle = \fd{\frac{5(x-2)}{3\sqrt[3]{x}}}
Two critical pointsThe top is 00 at x=2\spt{x = 2}. The bottom is 00 at x=0\spt{x = 0}, where f′\fd{f'} is undefined but f(0)=0\fb{f(}\spt{0}\fb{)} = 0 is defined. f′\fd{f'} isn't continuous at 0\spt{0}, so its sign can change there too, and both go on the number line.
f′(−1)\displaystyle \fd{f'(-1)} =5>0\displaystyle = \inc{5 > 0}
f′(1)\displaystyle \fd{f'(1)} =−53<0\displaystyle = \dec{-\frac53 < 0}
f′(8)\displaystyle \fd{f'(8)} =5>0\displaystyle = \inc{5 > 0}
Read the sign changes
x=0:\spt{x = 0}:+→−\inc{+} \to \dec{-}
→    local max f(0)\displaystyle \to\;\; \text{local max } \fb{f(}\spt{0}\fb{)} =0\displaystyle = 0
x=2:\spt{x = 2}:−→+\dec{-} \to \inc{+}
→    local min f(2)\displaystyle \to\;\; \text{local min } \fb{f(}\spt{2}\fb{)} =223(−3)\displaystyle = 2^{\frac23}(-3) =−343\displaystyle = -3\sqrt[3]{4}

Here's the sign chart, with both 0\spt{0} and 2\spt{2} on it.

f′\htmlClass{lc-violet}{f'}
+\htmlClass{lc-green}{+}
0\htmlClass{lc-orange}{0}
−\htmlClass{lc-pink}{-}
2\htmlClass{lc-orange}{2}
+\htmlClass{lc-green}{+}

As xx approaches 0\spt{0} from the left, f′(x)\fd{f'(x)} goes to ∞\infty, and from the right it goes to −∞-\infty. This makes a sharp point at (0,0)\fb{(0, 0)}, called a cusp. Even though f′\fd{f'} is undefined at 0\spt{0}, f(0)=0\fb{f(}\spt{0}\fb{)} = 0 is still greater than f\fb{f} at the nearby points on both sides.

xx
f(x)=x23(x−5)\htmlClass{lc-blue}{f(x)=x^{\frac23}(x-5)}
(0,0)\htmlClass{lc-blue}{(0,0)}
(2,−343)\htmlClass{lc-blue}{(2,-3\sqrt[3]{4})}
f′\htmlClass{lc-violet}{f'}
+\htmlClass{lc-green}{+}
0\htmlClass{lc-orange}{0}
−\htmlClass{lc-pink}{-}
2\htmlClass{lc-orange}{2}
+\htmlClass{lc-green}{+}
4

When the function is undefined at a point

What if f\fb{f} itself has no value at a point? Let's find where f(x)=x+4x\fb{f(x)} = \fb{x + \frac4x} is increasing and decreasing, and find its local extrema.

Find where f(x)=x+4x\fb{f(x)} = \fb{x + \frac4x} is increasing and decreasing, and find its local extrema
f(x)=x+4x\displaystyle \fb{f(x)=x+\frac{4}{x}}
increasing on ?decreasing on ?\displaystyle \begin{array}{l}\inc{\text{increasing}}\text{ on } ?\\[2pt] \dec{\text{decreasing}}\text{ on } ?\end{array}
local max ?local min ?\displaystyle \text{local max } ?\qquad \text{local min } ?
Text solution
Write f′\fd{f'} as one fractionThe top is 00 at x=−2\spt{x = -2} and x=2\spt{x = 2}, the critical points. The bottom is 00 at x=0\spt{x = 0}, but f(0)\fb{f(}\spt{0}\fb{)} is undefined, so 0\spt{0} isn't a critical point. It still goes on the number line, with an open circle, because f′\fd{f'} can change sign across it.
f′(x)\displaystyle \fd{f'(x)} =1−4x2\displaystyle = \fd{1 - \frac{4}{x^2}} =x2−4x2\displaystyle = \fd{\frac{x^2 - 4}{x^2}}
Test the four intervals
f′(−3)\displaystyle \fd{f'(-3)} =59>0\displaystyle = \inc{\frac59 > 0}
f′(−1)\displaystyle \fd{f'(-1)} =−3<0\displaystyle = \dec{-3 < 0}
f′(1)\displaystyle \fd{f'(1)} =−3<0\displaystyle = \dec{-3 < 0}
f′(3)\displaystyle \fd{f'(3)} =59>0\displaystyle = \inc{\frac59 > 0}
Keep the two sides of 0\spt{0} apartf′\fd{f'} is negative on both sides of 0\spt{0}, but f\fb{f} isn't decreasing on (−2,2)(-2, 2), since f(−1)=−5<5=f(1)\fb{f(-1)} = -5 < 5 = \fb{f(1)}.
increasing on (−∞,−2) and (2,∞)\displaystyle \inc{\text{increasing}}\text{ on } (-\infty, -2) \text{ and } (2, \infty)
decreasing on (−2,0) and on (0,2)\displaystyle \dec{\text{decreasing}}\text{ on } (-2, 0) \text{ and on } (0, 2)
local max f(−2)\displaystyle \text{local max } \fb{f(}\spt{-2}\fb{)} =−4\displaystyle = -4
local min f(2)\displaystyle \text{local min } \fb{f(}\spt{2}\fb{)} =4\displaystyle = 4

On the sign chart, 0\spt{0} gets an open circle to show that f\fb{f} has no value there.

f′\htmlClass{lc-violet}{f'}
+\htmlClass{lc-green}{+}
−2\htmlClass{lc-orange}{-2}
−\htmlClass{lc-pink}{-}
0\htmlClass{lc-orange}{0}
−\htmlClass{lc-pink}{-}
2\htmlClass{lc-orange}{2}
+\htmlClass{lc-green}{+}

The graph shows why the two decreasing intervals can't be joined. At the vertical asymptote x=0x = 0, f(x)\fb{f(x)} drops to −∞-\infty from the left and comes back from ∞\infty on the right. It also shows a local maximum, −4-4, below a local minimum, 44. That's fine, because a local maximum only has to be the largest value nearby.

xx
f(x)=x+4x\htmlClass{lc-blue}{f(x)=x+\frac{4}{x}}
(−1,−5)\htmlClass{lc-blue}{(-1,-5)}
(1,5)\htmlClass{lc-blue}{(1,5)}
(−2,−4)\htmlClass{lc-blue}{(-2,-4)}
(2,4)\htmlClass{lc-blue}{(2,4)}

Earlier, x4−4x3\fb{x^4 - 4x^3} was defined and continuous at x=0x = 0, so it kept decreasing across all of (−∞,3)(-\infty, 3). Here, the discontinuity at 0\spt{0} splits the interval, so we must write (−2,0)(-2, 0) and (0,2)(0, 2) separately.

5

Reading the graph of f′f'

Sometimes we're given only the graph of f′\fd{f'}, without the graph of f\fb{f}, and asked what f\fb{f} does. The y-values on that graph are the slopes of f\fb{f}, not its values.

Given the graph of f′\fd{f'}, find where f\fb{f} is increasing, where f\fb{f} is decreasing, and where f\fb{f} has a local maximum or minimum
xx
44
22
−2-2
−4-4
f′\htmlClass{lc-violet}{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\inc{f'(x) > 0}, and below it, f′(x)<0\dec{f'(x) < 0}. At x=1\spt{x = 1} the graph only touches the axis.
f increasing on (−1,3)\displaystyle \fb{f}\ \inc{\text{increasing}}\text{ on } (-1, 3)
f decreasing on (−1.2,−1), (3,3.2)\displaystyle \fb{f}\ \dec{\text{decreasing}}\text{ on } (-1.2, -1),\ (3, 3.2)
The highest point of f′\fd{f'} isn't a maximum of f\fb{f}At x=1±2x = 1 \pm \sqrt2, the slope of f\fb{f} is 44, which is positive, so f\fb{f} is increasing there, at its fastest. After x=1+2x = 1 + \sqrt2, f′\fd{f'} decreases but stays positive, so f\fb{f} keeps increasing.
Where f′\fd{f'} changes signWe use the first derivative test at the three zeros of f′\fd{f'}.
x=−1:\spt{x = -1}:−→+\dec{-} \to \inc{+}
→    local min\displaystyle \to\;\; \text{local min}
x=1:\spt{x = 1}:+ and +\inc{+} \text{ and } \inc{+}
→    neither\displaystyle \to\;\; \text{neither}
x=3:\spt{x = 3}:+→−\inc{+} \to \dec{-}
→    local max\displaystyle \to\;\; \text{local max}

Shaded by its sign, the graph of f′\fd{f'} shows each answer at a glance: green where f\fb{f} increases, pink where it decreases.

22
−2-2
−4-4
xx
y=f′(x)\htmlClass{lc-violet}{y=f'(x)}
44
−1\htmlClass{lc-orange}{-1}
1\htmlClass{lc-orange}{1}
3\htmlClass{lc-orange}{3}

When a test asks for a reason, name the sign of f′\fd{f'} or its change in sign, like this.

f increasing on (−1,3)\fb{f}\ \inc{\text{increasing}}\text{ on } (-1, 3)←    f′>0 on (−1,1)\leftarrow\;\; \inc{f' > 0}\text{ on } (-1, 1) and (1,3),\text{and } (1, 3), f′(1)=0\fd{f'(}\spt{1}\fd{)} = 0
f decreasing on\fb{f}\ \dec{\text{decreasing}}\text{ on} (−1.2,−1), (3,3.2)(-1.2, -1),\ (3, 3.2)←    f′<0\leftarrow\;\; \dec{f' < 0}
local min at x=−1\text{local min at } \spt{x = -1}←    f′ changes from\leftarrow\;\; \fd{f'} \text{ changes from} negative to positive\dec{\text{negative}} \text{ to } \inc{\text{positive}}
local max at x=3\text{local max at } \spt{x = 3}←    f′ changes from\leftarrow\;\; \fd{f'} \text{ changes from} positive to negative\inc{\text{positive}} \text{ to } \dec{\text{negative}}
x=1: neither\spt{x = 1}:\ \text{neither}←    f′(1)=0,\leftarrow\;\; \fd{f'(}\spt{1}\fd{)} = 0, f′>0 on both sides\inc{f' > 0}\text{ on both sides}

Writing "because f′f' is decreasing" isn't enough, because f′\fd{f'} is also decreasing on intervals where f\fb{f} has no maximum.

What does the graph of the derivative tell us about the function?

Summary

The sign of f′\fd{f'} and the direction of f\fb{f}
xx
xx
f(x)=x3−3x\htmlClass{lc-blue}{f(x)=x^3-3x}
f′(x)=3x2−3\htmlClass{lc-violet}{f'(x)=3x^2-3}
−1\htmlClass{lc-orange}{-1}
1\htmlClass{lc-orange}{1}
f′(x)>0 on an interval\displaystyle \inc{f'(x) > 0}\text{ on an interval}
→    f is increasing there\displaystyle \to\;\; \fb{f}\text{ is }\inc{\text{increasing}}\text{ there}
f′(x)<0 on an interval\displaystyle \dec{f'(x) < 0}\text{ on an interval}
→    f is decreasing there\displaystyle \to\;\; \fb{f}\text{ is }\dec{\text{decreasing}}\text{ there}

Where the derivative is positive, the tangent lines have positive slope, so f\fb{f} is increasing. Where the derivative is negative, the tangent lines have negative slope, so f\fb{f} is decreasing. To find where f\fb{f} increases or decreases, test numbers in f′\fd{f'}, not in f\fb{f}.

Making a sign chart
f′(x)=3(x+1)(x−1)\displaystyle \fd{f'(x) = 3(x+1)(x-1)}
f′\htmlClass{lc-violet}{f'}
+\htmlClass{lc-green}{+}
−1\htmlClass{lc-orange}{-1}
−\htmlClass{lc-pink}{-}
1\htmlClass{lc-orange}{1}
+\htmlClass{lc-green}{+}

The derivative can only change sign where f′(x)=0\fd{f'(x)} = 0, where f′(x)\fd{f'(x)} is undefined, or where f(x)\fb{f(x)} is undefined. Mark those numbers on a number line to split it into intervals. Inside each interval, f′\fd{f'} keeps the same sign, so testing one value gives the sign on the entire interval.

The first derivative test
f(x)\displaystyle \fb{f(x)} =x4−4x3\displaystyle = \fb{x^4 - 4x^3}
f′(x)=4x2(x−3)\displaystyle \fd{f'(x) = 4x^2(x-3)}
f′\htmlClass{lc-violet}{f'}
−\htmlClass{lc-pink}{-}
0\htmlClass{lc-orange}{0}
−\htmlClass{lc-pink}{-}
3\htmlClass{lc-orange}{3}
+\htmlClass{lc-green}{+}

At a critical point c\spt{c} where f\fb{f} is continuous, look at the sign of f′\fd{f'} on each side. If f′\fd{f'} changes from positive to negative, f\fb{f} has a local maximum at c\spt{c}. If f′\fd{f'} changes from negative to positive, f\fb{f} has a local minimum at c\spt{c}. If f′\fd{f'} has the same sign on both sides, f\fb{f} has neither. For x4−4x3\fb{x^4 - 4x^3}, f′(0)=0\fd{f'(}\spt{0}\fd{)} = 0, but f′\fd{f'} is negative on both sides of 0\spt{0}, so f\fb{f} has neither at x=0\spt{x = 0}.

The local maximum or minimum value is the output f(c)\fb{f(}\spt{c}\fb{)}, not c\spt{c}. When writing a reason, name the sign change of f′\fd{f'}, like "f\fb{f} has a local minimum at x=3\spt{x = 3} because f′\fd{f'} changes from negative to positive at x=3\spt{x = 3}."

When f\fb{f} is undefined at a point
f(x)\displaystyle \fb{f(x)} =x+4x\displaystyle = \fb{x + \frac4x}
decreasing on (−2,0), (0,2)\displaystyle \dec{\text{decreasing}}\text{ on } (-2, 0),\ (0, 2)
f(−1)\displaystyle \fb{f(-1)} =−5<5\displaystyle = -5 < 5 =f(1)\displaystyle = \fb{f(1)}

If f\fb{f} is undefined at c\spt{c}, mark c\spt{c} on the number line because f′\fd{f'} can change sign there, but c\spt{c} cannot be a local maximum or minimum. Keep the intervals on each side separate. For x+4x\fb{x + \frac4x}, f′\fd{f'} is negative on (−2,0)(-2, 0) and on (0,2)(0, 2), but f\fb{f} is not decreasing on (−2,2)(-2, 2) because f(−1)=−5\fb{f(-1)} = -5 is less than f(1)=5\fb{f(1)} = 5.

Reading the graph of f′\fd{f'}
22
−2-2
−4-4
xx
y=f′(x)\htmlClass{lc-violet}{y=f'(x)}
44
−1\htmlClass{lc-orange}{-1}
1\htmlClass{lc-orange}{1}
3\htmlClass{lc-orange}{3}

The graph shows the values of f′\fd{f'}, which are the slopes of f\fb{f}. Where the graph of f′\fd{f'} is above the x-axis, f\fb{f} is increasing. Where it is below the axis, f\fb{f} is decreasing.

When f′\fd{f'} crosses the x-axis from above to below, f\fb{f} has a local maximum, and when it crosses from below to above, f\fb{f} has a local minimum. If the graph touches the axis without crossing it, f\fb{f} has neither a local maximum nor a local minimum there. A highest point on the graph of f′\fd{f'} is where the slope of f\fb{f} is largest, not a local maximum of f\fb{f}. When you give a reason, always name the sign of f′\fd{f'}, not whether f′\fd{f'} is increasing or decreasing.

6

Practice

Enter intervals using interval notation, such as (a,b)(a, b). Give exact values for local maximums and minimums.

1
Let f(x)=3x4−4x3−12x2+5\fb{f(x)} = \fb{3x^4 - 4x^3 - 12x^2 + 5}. Find the intervals on which f\fb{f} is increasing and decreasing, and find the local maximum and minimum values of f\fb{f}.
local min values\text{local min values}

Each term in 12x3−12x2−24x12x^3 - 12x^2 - 24x shares a factor of 12x12x. What remains when you factor out 12x12x?

If you got decreasing on (−1,2)(-1, 2) Dividing f′(x)=0f'(x) = 0 by 12x12x loses the critical point x=0x = 0. Check the sign of f′f' on (−1,0)(-1, 0) and (0,2)(0, 2) separately.

Find the critical pointsTake the derivative and factor out 12x\fd{12x} to find where f′(x)=0\fd{f'(x)} = 0.
f′(x)\displaystyle \fd{f'(x)} =12x3−12x2−24x\displaystyle = \fd{12x^3 - 12x^2 - 24x} =12x(x2−x−2)\displaystyle = \fd{12x(x^2 - x - 2)} =12x(x+1)(x−2)\displaystyle = \fd{12x(x+1)(x-2)}
f′(x)\displaystyle \fd{f'(x)} =0:x=−1,x=0,x=2\displaystyle = 0:\quad \spt{x = -1},\quad \spt{x = 0},\quad \spt{x = 2}
Test the sign of f′\fd{f'}The three critical points divide the real line into four intervals, so we test one point in each.
f′(−2)=12(−2)(−1)(−4)=−96<0f′ ⁣(−12)=12(−12)(12)(−52)=152>0f′(1)=12(1)(2)(−1)=−24<0f′(3)=12(3)(4)(1)=144>0\displaystyle \begin{aligned} \fd{f'(-2)} &= 12(-2)(-1)(-4) = \dec{-96 < 0}\\[4pt] \fd{f'\!\left(-\tfrac12\right)} &= 12\left(-\tfrac12\right)\left(\tfrac12\right)\left(-\tfrac52\right) = \inc{\tfrac{15}{2} > 0}\\[4pt] \fd{f'(1)} &= 12(1)(2)(-1) = \dec{-24 < 0}\\[4pt] \fd{f'(3)} &= 12(3)(4)(1) = \inc{144 > 0} \end{aligned}
The sign of f′\fd{f'} tells us where f\fb{f} is increasing and decreasing.
−    ∣−1    +    ∣0    −    ∣2    +\displaystyle \dec{-} \;\;\big|_{\spt{-1}}\;\; \inc{+} \;\;\big|_{\spt{0}}\;\; \dec{-} \;\;\big|_{\spt{2}}\;\; \inc{+}
decreasing on (−∞,−1) and (0,2)\displaystyle \dec{\text{decreasing}}\text{ on } (-\infty, -1) \text{ and } (0, 2)
increasing on (−1,0) and (2,∞)\displaystyle \inc{\text{increasing}}\text{ on } (-1, 0) \text{ and } (2, \infty)
Find the local extremaUse the first derivative test, and plug each critical point back into f(x)\fb{f(x)} to get its value.
local min f(−1)\displaystyle \text{local min } \fb{f(}\spt{-1}\fb{)} =3+4−12+5\displaystyle = 3 + 4 - 12 + 5 =0\displaystyle = 0
local max f(0)\displaystyle \text{local max } \fb{f(}\spt{0}\fb{)} =5\displaystyle = 5
local min f(2)\displaystyle \text{local min } \fb{f(}\spt{2}\fb{)} =48−32−48+5\displaystyle = 48 - 32 - 48 + 5 =−27\displaystyle = -27
2
The derivative of a function f\fb{f} is f′(x)=(x+1)(x−2)2ex\fd{f'(x) = (x+1)(x-2)^2 e^x}. At which values of xx does f\fb{f} have a local maximum or a local minimum?
x=−1x = -1
x=2x = 2

Can exe^x ever be negative? What about (x−2)2(x - 2)^2?

If you got a local maximum or minimum at x=2x = 2 Having f′(2)=0f'(2) = 0 only makes 22 a candidate. Check the sign of f′f' on both sides of 22.

The factor ex\fd{e^x} is always positive, and (x−2)2\fd{(x - 2)^2} is never negative, so only x+1\fd{x + 1} can change the sign of f′\fd{f'}.
ex>0,(x−2)2\displaystyle \fd{e^x} > 0, \qquad \fd{(x-2)^2} ≥0\displaystyle \ge 0
The factor x+1\fd{x + 1} is negative for x<−1x < -1 and positive for x>−1x > -1.
−    ∣−1    +    ∣2    +\displaystyle \dec{-} \;\;\big|_{\spt{-1}}\;\; \inc{+} \;\;\big|_{\spt{2}}\;\; \inc{+}
At x=−1\spt{x = -1}, f′\fd{f'} changes from negative to positive, so f\fb{f} has a local minimum. At x=2\spt{x = 2}, f′\fd{f'} doesn't change sign, so f\fb{f} has neither a local maximum nor a local minimum there.
x=−1:−→+→local min\displaystyle \spt{x = -1}:\quad \dec{-} \to \inc{+} \quad\to\quad \text{local min}
x=2:+ and +→neither\displaystyle \spt{x = 2}:\quad \inc{+} \text{ and } \inc{+} \quad\to\quad \text{neither}
3
Let f(x)=x13(x+4)\fb{f(x)} = \fb{x^{\frac13}(x + 4)}. Find all critical points of f\fb{f}, and say whether each is a local maximum, a local minimum, or neither.
x=−1x = -1
x=0x = 0

Can x23\sqrt[3]{x^2} ever be negative?

If you got a local maximum or minimum at x=0x = 0 An undefined derivative only makes 00 a candidate. Check whether f′f' changes sign across 00.

If you got local max at x=−1x = -1, local min at x=0x = 0 Check the sign of x23\sqrt[3]{x^2} when x<0x < 0. Squaring a negative number gives a positive number, so (−8)23=643=4>0\sqrt[3]{(-8)^2} = \sqrt[3]{64} = 4 > 0.

Find the derivativeExpand f(x)\fb{f(x)} first, then use the power rule and factor out 43x−23\fd{\frac43 x^{-\frac23}}.
f(x)\displaystyle \fb{f(x)} =x43+4x13\displaystyle = \fb{x^{\frac43} + 4x^{\frac13}}
f′(x)\displaystyle \fd{f'(x)} =43x13+43x−23\displaystyle = \fd{\frac43 x^{\frac13} + \frac43 x^{-\frac23}} =43x−23(x+1)\displaystyle = \fd{\frac43 x^{-\frac23}(x + 1)} =4(x+1)3x23\displaystyle = \fd{\frac{4(x+1)}{3\sqrt[3]{x^2}}}
A critical point is where f′\fd{f'} is 00 or undefined, as long as f\fb{f} is defined there.
x+1\displaystyle \fd{x + 1} =0:x=−1\displaystyle = 0:\quad \spt{x = -1}
x23\displaystyle \fd{\sqrt[3]{x^2}} =0:x=0,  f(0)\displaystyle = 0:\quad \spt{x = 0},\ \ \fb{f(}\spt{0}\fb{)} =0\displaystyle = 0
Because x2x^2 is positive for x≠0x \ne 0, the denominator 3x23\fd{3\sqrt[3]{x^2}} is always positive, so the sign comes from x+1\fd{x + 1}.
x23>0 for x≠0\displaystyle \fd{\sqrt[3]{x^2}} > 0 \text{ for } x \ne 0
f′(−8)=4(−7)3(4)=−73<0f′ ⁣(−18)=4(78)3(14)=143>0f′(1)=4(2)3(1)=83>0\displaystyle \begin{aligned} \fd{f'(-8)} &= \frac{4(-7)}{3(4)} = \dec{-\frac73 < 0}\\[4pt] \fd{f'\!\left(-\tfrac18\right)} &= \frac{4\left(\frac78\right)}{3\left(\frac14\right)} = \inc{\frac{14}{3} > 0}\\[4pt] \fd{f'(1)} &= \frac{4(2)}{3(1)} = \inc{\frac83 > 0} \end{aligned}
At x=−1\spt{x = -1}, f′\fd{f'} changes from negative to positive, so f\fb{f} has a local minimum. At x=0\spt{x = 0}, f′\fd{f'} is positive on both sides, so f\fb{f} continues increasing.
−    ∣−1    +    ∣0    +\displaystyle \dec{-} \;\;\big|_{\spt{-1}}\;\; \inc{+} \;\;\big|_{\spt{0}}\;\; \inc{+}
x=−1:  −→+  →  local min f(−1)\displaystyle \spt{x = -1}:\ \ \dec{-} \to \inc{+} \;\to\; \text{local min } \fb{f(}\spt{-1}\fb{)} =(−1)(3)\displaystyle = (-1)(3) =−3\displaystyle = -3
x=0:  + and +  →  neither\displaystyle \spt{x = 0}:\ \ \inc{+} \text{ and } \inc{+} \;\to\; \text{neither}
4
Let f(x)=x2x−1\fb{f(x)} = \fb{\dfrac{x^2}{x - 1}}. Find the intervals on which f\fb{f} is increasing and decreasing, and find the local maximum and minimum values of f\fb{f}.

What is f(1)f(1)?

If you got decreasing on (0,2)(0, 2) Check the value of f(x)f(x) on either side of x=1x = 1. The function isn't defined at x=1x = 1, and f(12)=−12f\left(\frac12\right) = -\frac12 is less than f(32)=92f\left(\frac32\right) = \frac92, so ff doesn't decrease across x=1x = 1.

Find the derivative and domainUse the quotient rule to find f′(x)\fd{f'(x)}, and note where f\fb{f} is undefined.
f′(x)\displaystyle \fd{f'(x)} =2x(x−1)−x2(x−1)2\displaystyle = \fd{\frac{2x(x-1) - x^2}{(x-1)^2}} =x2−2x(x−1)2\displaystyle = \fd{\frac{x^2 - 2x}{(x-1)^2}} =x(x−2)(x−1)2\displaystyle = \fd{\frac{x(x-2)}{(x-1)^2}}
f′(x)\displaystyle \fd{f'(x)} =0:x=0,  x=2\displaystyle = 0:\quad \spt{x = 0},\ \ \spt{x = 2}
x=1:f(1) undefined\displaystyle \spt{x = 1}:\quad \fb{f(}\spt{1}\fb{)} \text{ undefined}
The denominator (x−1)2\fd{(x - 1)^2} is positive for all x≠1x \ne 1, so the numerator gives the sign of f′\fd{f'}.
f′(−1)=(−1)(−3)4=34>0f′ ⁣(12)=(12)(−32)14=−3<0f′ ⁣(32)=(32)(−12)14=−3<0f′(3)=(3)(1)4=34>0\displaystyle \begin{aligned} \fd{f'(-1)} &= \frac{(-1)(-3)}{4} = \inc{\frac34 > 0}\\[4pt] \fd{f'\!\left(\tfrac12\right)} &= \frac{\left(\frac12\right)\left(-\frac32\right)}{\frac14} = \dec{-3 < 0}\\[4pt] \fd{f'\!\left(\tfrac32\right)} &= \frac{\left(\frac32\right)\left(-\frac12\right)}{\frac14} = \dec{-3 < 0}\\[4pt] \fd{f'(3)} &= \frac{(3)(1)}{4} = \inc{\frac34 > 0} \end{aligned}
Find the intervals and local extremaBecause f(1)\fb{f(}\spt{1}\fb{)} is undefined, we cannot say f\fb{f} decreases across 1\spt{1}. In fact, f(12)=−12\fb{f\left(\frac12\right)} = -\frac12 is less than f(32)=92\fb{f\left(\frac32\right)} = \frac92, so f\fb{f} is decreasing on (0,1)(0, 1) and (1,2)(1, 2) separately.
f ⁣(12)\displaystyle \fb{f\!\left(\tfrac12\right)} =−12<92\displaystyle = -\frac12 < \frac92 =f ⁣(32)\displaystyle = \fb{f\!\left(\tfrac32\right)}
increasing on (−∞,0) and (2,∞)\displaystyle \inc{\text{increasing}}\text{ on } (-\infty, 0) \text{ and } (2, \infty)
decreasing on (0,1) and (1,2)\displaystyle \dec{\text{decreasing}}\text{ on } (0, 1) \text{ and } (1, 2)
local max f(0)\displaystyle \text{local max } \fb{f(}\spt{0}\fb{)} =0\displaystyle = 0
local min f(2)\displaystyle \text{local min } \fb{f(}\spt{2}\fb{)} =41\displaystyle = \frac41 =4\displaystyle = 4
5
The graph of f′\fd{f'}, the derivative of a function f\fb{f}, is shown for −4<x<4-4 < x < 4. (a) On what open intervals is f\fb{f} increasing? Give a reason for your answer. (b) At which values of xx does f\fb{f} have a local maximum or a local minimum? Give a reason for your answer.
xx
−4-4
−3-3
−2-2
−1-1
00
11
22
33
44
−1-1
00
11
y=f′(x)\htmlClass{lc-violet}{y=f'(x)}
(a)    f increasing on\text{(a)}\;\; f \text{ increasing on}

Where is the graph of f′f' above the x-axis?

At which x-values does the graph of f′f' cross from one side of the x-axis to the other?

If you got a local maximum or minimum at x=3x = 3 Check the sign of f′f' on both sides of x=3x = 3. The graph touches the axis but stays below it, so f′f' doesn't change sign.

If you got ff decreasing on (0,1)(0, 1) Check whether f′f' is positive or negative on (0,1)(0, 1). The graph of f′f' is decreasing there, but it's still above the x-axis, so f′(x)>0f'(x) > 0.

If you got a local maximum of ff on −2≤x≤0-2 \le x \le 0 That's where the derivative f′f' has its highest value, not where ff has a maximum. Because f′>0f' > 0 there, ff is increasing.

(b)\text{(b)}
x=−3x = -3
x=1x = 1
x=3x = 3
Read the sign of f′\fd{f'}Look at where the graph of f′\fd{f'} is above and below the x-axis.
f′>0 on (−3,1)\displaystyle \inc{f' > 0}\text{ on } (-3, 1)
f′<0 on (−4,−3), (1,3), (3,4)\displaystyle \dec{f' < 0}\text{ on } (-4, -3),\ (1, 3),\ (3, 4)
The function f\fb{f} is increasing wherever its derivative is positive, even where f′\fd{f'} itself is decreasing.
(a) f increasing on (−3,1) because f′>0 there\displaystyle \text{(a) } \fb{f}\ \inc{\text{increasing}}\text{ on } (-3, 1) \text{ because } \inc{f' > 0} \text{ there}
0<x<1:f′ decreasing,f′>0  →  f increasing\displaystyle 0 < x < 1:\quad \fd{f'} \text{ decreasing}, \quad \inc{f' > 0} \;\to\; \fb{f}\ \inc{\text{increasing}}
Find the local extremaA critical point gives a local extremum only when f′\fd{f'} changes sign from one side to the other. At x=3\spt{x = 3}, f′\fd{f'} is 0 but does not change sign, so f\fb{f} has neither a local maximum nor a local minimum there.
(b) x=−3: local min, because f′ changes from negative to positive\displaystyle \text{(b) } \spt{x = -3}:\ \text{local min, because } \fd{f'} \text{ changes from } \dec{\text{negative}} \text{ to } \inc{\text{positive}}
x=1: local max, because f′ changes from positive to negative\displaystyle \spt{x = 1}:\ \text{local max, because } \fd{f'} \text{ changes from } \inc{\text{positive}} \text{ to } \dec{\text{negative}}
x=3: f′(3)\displaystyle \spt{x = 3}:\ \fd{f'(}\spt{3}\fd{)} =0,f′<0 on both sides  →  neither\displaystyle = 0, \quad \dec{f' < 0}\text{ on both sides} \;\to\; \text{neither}
6
For which values of kk is f(x)=x3−3x2+kx\fb{f(x)} = \fb{x^3 - 3x^2 + kx} increasing for all xx?

Complete the square on 3x2−6x+k3x^2 - 6x + k by writing it as 3(x−1)2+?3(x-1)^2 + {?}.

If you got k>3k > 3 Check what happens when k=3k = 3. If f′(1)=0f'(1) = 0 but f′>0f' > 0 everywhere else, does ff still increase for all xx?

Complete the squareDifferentiate f(x)\fb{f(x)} and complete the square to find the smallest value of f′\fd{f'}.
f′(x)\displaystyle \fd{f'(x)} =3x2−6x+k\displaystyle = \fd{3x^2 - 6x + k} =3(x2−2x+1)+k−3\displaystyle = \fd{3(x^2 - 2x + 1) + k - 3} =3(x−1)2+(k−3)\displaystyle = \fd{3(x-1)^2 + (k - 3)}
The squared term 3(x−1)2\fd{3(x-1)^2} is at least 00, so f′(x)\fd{f'(x)} is smallest at x=1x = 1, where it equals k−3\fd{k - 3}. If k<3k < 3, then f′(1)<0\dec{f'(1) < 0}, which makes f\fb{f} decrease near 11. But if k=3k = 3, f′(1)=0\fd{f'(1)} = 0 while f′\fd{f'} is positive everywhere else, so f\fb{f} still increases for all xx. That means we need k≥3k \ge 3.
k<3:f′(1)\displaystyle k < 3:\quad \fd{f'(1)} =k−3<0\displaystyle = \dec{k - 3 < 0}
k\displaystyle k =3:f′(x)\displaystyle = 3:\quad \fd{f'(x)} =3(x−1)2\displaystyle = \fd{3(x-1)^2}
f′(1)\displaystyle \fd{f'(1)} =0,f′>0 on both sides of 1\displaystyle = 0, \quad \inc{f' > 0}\text{ on both sides of } 1
k\displaystyle k ≥3\displaystyle \ge 3