### Video Transcript

Find the absolute maximum and
minimum values of the function π of π₯ equals π₯ cubed plus three π₯ squared if π₯
is less than or equal to zero, π₯ squared minus six π₯ if π₯ is greater than zero in
the closed interval negative 5 to 13.

To find the absolute maximum and
minimum values of a function, we need to consider a number of things. But firstly, weβll look for
critical points of the function. These are points where our first
derivative is equal to zero. They can indicate relative maxima
and relative minima. If weβre looking for absolute
extremer, we also need to consider the endpoints of our function. So, what weβll do is begin by
differentiating our function with respect to π₯.

Now, of course, our function is
piecewise. So, weβre going to do this for both
parts. Letβs begin by differentiating π₯
cubed plus three π₯ squared with respect to π₯. The derivative of π₯ cubed is three
π₯ squared. And then, when we differentiate
three π₯ squared, we multiply the entire term by the exponent and reduce the
exponent by one. So, we get two times three π₯,
which is six π₯. And so, when π₯ is less than or
equal to zero, the derivative is three π₯ squared plus six π₯.

Weβll now differentiate π₯ squared
minus six π₯ with respect to π₯. The derivative of π₯ squared is two
π₯ and the derivative of negative six π₯ is negative six. And so, we found the first
derivative. Weβre now going to set each part of
this function equal to zero and solve for π₯. Letβs set three π₯ squared plus six
π₯ equal to zero. Weβre going to factor that
expression on the left-hand side. But when we do, we see that three
π₯ times π₯ plus two is equal to zero. Now, of course, for this statement
to be true, either three π₯ is equal to zero, which means π₯ must itself be equal to
zero or π₯ plus two must be equal to zero, which means π₯ itself must be negative
two.

Letβs set the other part of our
derivative equal to zero. Thatβs two π₯ minus six equals
zero. This time, we solve by adding six
to both sides. And then, we divide through by
two. And we find that π₯ equals three is
the location of the third critical point. To establish the absolute minimum
and maximum values of our function. Weβre going to work out the value
of the function at each of the three critical points and at the two endpoints. So, we have critical points π₯
equals zero, negative two, and three and the endpoints of our intervals are π₯
equals negative five and π₯ equals 13.

We will need to be a little bit
careful which part of the function we use. Remember, itβs a piecewise
function. So, it has a different function
depending on the value of π₯. When π₯ is equal to zero, the
function we use is π₯ cubed plus three π₯ squared. π of zero is, therefore, zero
cubed plus three times zero squared, which is zero. Well, similarly, when π₯ is less
than zero, we use that same function. Here, π₯ is equal to negative
two. So, we get negative two cubed plus
three times negative two squared, which is equal to four. At our third critical point, π₯ is
equal to three. Thatβs greater than zero. So, we use the second part of our
piecewise function. We get three squared minus six
times three, which is negative nine.

We go back to the first function,
where π₯ is equal to negative five. And we substitute that into π₯
cubed plus three π₯ squared and we find that π of negative five is negative 50. Our final value to check is π₯
equals 13. Again, thatβs greater than
zero. So, we substitute that into π₯
squared minus six π₯. And that gives us 91.

We said that the absolute maximum
and minimum values of the function will either occur at the critical points or at
the endpoints. Well, here, we see that the
absolute minimum value is negative 50. That occurs when π₯ is equal to
negative five, whereas the absolute maximum is 91.

The absolute minimum value is
negative 50 and the absolute maximum value of our function is 91.