### Video Transcript

Find, if they exist, the local maximum and/or minimum values of the function π of π₯ equals nine π to the nine π₯ plus nine π to the negative nine π₯. Also specify what type of value they are.

We have a function, and we want to find its local maxima and minima. The local maxima and minima will occur at critical numbers of the function; that is, where the derivative of the function is zero or does not exist. So letβs differentiate. We differentiate term by term. What is the derivative of nine π to the nine π₯? Itβs nine times the derivative of π to the nine π₯, which is nine π to the nine π₯, and so we get 81π to the nine π₯.

Here weβve used a special case of the chain rule, the derivative of a function of a number π times π₯ is that number π times the derivative of π evaluated at ππ₯. In our application, π was nine and the function π was the exponential function π to the π₯. Using the same rule, we can differentiate the second term nine π to the negative nine π₯. Thatβs nine times negative nine π to the negative nine π₯, because the derivative of π to the negative nine π₯ is negative nine π to the negative nine π₯.

Simplifying, we get 81π to nine π₯ minus 81π to the negative nine π₯. Remember, weβre looking for local maxima and minima of our function, which occur at the critical numbers where the derivative is zero or doesnβt exist. We can see that our derivative exists for all real values of π₯. Thereβs no value of π₯ for which this is undefined. And so the local maxima and minima, if they exist, occur when the derivative is zero. So letβs solve this equation. We can divide through by 81, add π to the negative nine π₯ to both sides.

We divide through by π to the nine π₯ using laws of exponents to write π to the negative nine π₯ divided by π to the nine π₯ as π to the negative 18π₯. We take the natural logarithm on both sides and see that π₯ must be zero. So we have a critical number of zero. And this is the only place where the function can have a local maximum or a local minimum. But we donβt know which happens at zero; it could be a local maximum or a local minimum. And in fact it could be neither! So how do we tell?

One way to do this, though not the only way, is to use the second derivative test. Suppose that π prime of π, the derivative of π at π, is zero and π double prime, the second derivative of π, is continuous near π. In other words, itβs continuous in an open interval containing π. If the value of the second derivative of π at π is greater than zero, then π has a local minimum at π. But if the second derivative of π is less than zero at π, then π has a local maximum at π.

If, however, the second derivative of π at π is zero, then we canβt say anything. They could be a local maximum or a local minimum or neither. Letβs clear some room so we can apply our test. The second derivative test involves the second derivative of π, hence the name. So we need to differentiate π prime to get π double prime, the second derivative of π. And this is a very similar process to differentiating π.

The derivative of 81π to the nine π₯ is 81 times nine π to the nine π₯. And from this, we subtract the derivative of 81π to the negative nine π₯, which is 81 times negative nine times π to the negative nine π₯. And the two minus signs make a plus, so we get 729π to the nine π₯ plus 729π to the negative nine π₯. Okay, now that we have the second derivative of π, letβs apply the second derivative test.

Suppose that π prime of π is zero. Well thatβs true when π is the critical number zero and π double prime is continuous near π. Is our second derivative π double prime continuous near zero? Yes, itβs continuous, not just around the critical number zero, but everywhere. The conditions for the second derivative test are satisfied then. The test itself relies on the sign of π double prime at π.

Now what is the sign of π double prime at zero? We substitute zero for π₯ and see that we can simplify the exponents: nine times zero is zero as is negative nine times zero; thatβs also zero. So π double prime of zero is 729π to the zero plus 729π to the zero. And anything to the power of zero is one. So we have 729 times one plus 729 times one. And thatβs just 729 plus 729, which is 1458. The precise value of π double prime of zero isnβt important. What is important is the sign of this value.

And in our case, we see that itβs positive. Looking across at the second derivative test, we see that if π double prime of π is greater than zero, and weβve just seen that it is, then π has a local minimum at π. Now what is this local minimum value? Well itβs π of zero. So we substitute zero for π₯ in the expression for π of π₯ that we have. Itβs nine π to the nine times zero plus nine π to the negative nine times zero.

And as we saw before, both π to the nine times zero and π to the negative nine times zero are one. And so the value of our function at zero is nine plus nine equals 18. Whatβs our final answer: π of zero equals 18, and this is a local minimum value of our function π of π₯ equals nine π to the nine π₯ plus nine π to the negative nine π₯. This is the only local minimum of our function, and there are no local maxima.

Letβs recap! We differentiated π to find the critical number zero, which is the only place at which a local maximum or minimum can occur. And then we used the second derivative test to test this critical value, showing that there was a local minimum there. The second derivative test depends on the sign of the second derivative at π. You can understand the second derivative test intuitively by considering the second derivative π double prime as being the rate of change of the slope function π prime.

At a local minimum of a function π, the slope π prime is zero because the slope of the tangent to the curve at this point is zero. To the left of this point, the slope is negative. And to the right, it is positive. The slope, and therefore the slope function π prime, is increasing as we pass π. So the rate of change of the slope function π prime is positive, and the rate of change of the slope function π prime is just the second derivative: π double prime. So π double prime is positive at π.

Similarly, near a local maximum, the slope function π prime decreases as π₯ increases, starting positive but decreasing to zero as we reach the maximum and then decreasing further to become a negative as we pass this local maximum point. Hence at a local maximum, π double prime, which is the rate of change of the slope function π prime, is negative.