# 009A Sample Final 1, Problem 9

Given the function ${\displaystyle f(x)=x^{3}-6x^{2}+5}$,

a) Find the intervals in which the function increases or decreases.
b) Find the local maximum and local minimum values.
c) Find the intervals in which the function concaves upward or concaves downward.
d) Find the inflection point(s).
e) Use the above information (a) to (d) to sketch the graph of ${\displaystyle y=f(x)}$.
Foundations:
Recall:
1. ${\displaystyle f(x)}$  is increasing when ${\displaystyle f'(x)>0}$  and ${\displaystyle f(x)}$  is decreasing when ${\displaystyle f'(x)<0.}$
2. The First Derivative Test tells us when we have a local maximum or local minimum.
3. ${\displaystyle f(x)}$  is concave up when ${\displaystyle f''(x)>0}$  and ${\displaystyle f(x)}$  is concave down when ${\displaystyle f''(x)<0.}$
4. Inflection points occur when ${\displaystyle f''(x)=0.}$

Solution:

(a)

Step 1:
We start by taking the derivative of ${\displaystyle f(x).}$  We have
${\displaystyle f'(x)=3x^{2}-12x.}$
Now, we set ${\displaystyle f'(x)=0.}$  So, we have
${\displaystyle 0=3x(x-4).}$
Hence, we have ${\displaystyle x=0}$  and ${\displaystyle x=4.}$
So, these values of ${\displaystyle x}$ break up the number line into 3 intervals:  ${\displaystyle (-\infty ,0),(0,4),(4,\infty ).}$
Step 2:
To check whether the function is increasing or decreasing in these intervals, we use testpoints.
For ${\displaystyle x=-1,~f'(x)=15>0.}$
For ${\displaystyle x=1,~f'(x)=-9<0.}$
For ${\displaystyle x=5,~f'(x)=15>0.}$
Thus, ${\displaystyle f(x)}$  is increasing on ${\displaystyle (-\infty ,0)\cup (4,\infty ),}$  and decreasing on ${\displaystyle (0,4).}$

(b)

Step 1:
By the First Derivative Test, the local maximum occurs at ${\displaystyle x=0}$ and the local minimum occurs at ${\displaystyle x=4.}$
Step 2:
So, the local maximum value is ${\displaystyle f(0)=5}$ and the local minimum value is ${\displaystyle f(4)=-27.}$

(c)

Step 1:
To find the intervals when the function is concave up or concave down, we need to find ${\displaystyle f''(x).}$
We have
${\displaystyle f''(x)=6x-12.}$
We set ${\displaystyle f''(x)=0.}$
So, we have
${\displaystyle 0=6x-12.}$
Hence, ${\displaystyle x=2.}$ This value breaks up the number line into two intervals: ${\displaystyle (-\infty ,2),(2,\infty ).}$
Step 2:
Again, we use test points in these two intervals.
For ${\displaystyle x=0,}$  we have ${\displaystyle f''(x)=-12<0.}$
For ${\displaystyle x=3,}$  we have ${\displaystyle f''(x)=6>0.}$
Thus, ${\displaystyle f(x)}$  is concave up on the interval ${\displaystyle (2,\infty ),}$ and concave down on the interval ${\displaystyle (-\infty ,2).}$
(d)
Using the information from part (c), there is one inflection point that occurs at ${\displaystyle x=2.}$
Now, we have ${\displaystyle f(2)=8-24+5=-11.}$
So, the inflection point is  ${\displaystyle (2,-11).}$
(e)
(a) ${\displaystyle f(x)}$  is increasing on ${\displaystyle (-\infty ,0),(4,\infty ),}$ and decreasing on ${\displaystyle (0,4).}$
(b) The local maximum value is ${\displaystyle f(0)=5,}$  and the local minimum value is ${\displaystyle f(4)=-27.}$
(c) ${\displaystyle f(x)}$  is concave up on the interval ${\displaystyle (2,\infty ),}$ and concave down on the interval ${\displaystyle (-\infty ,2).}$
(d) ${\displaystyle (2,-11)}$