### Video Transcript

Evaluate the rate of change of π of π₯ equals two π₯ squared plus nine at π₯ equals negative three.

Weβre looking for the rate of change of a function and not the average rate of change of the function over an interval, but the instantaneous rate of change of the function at π₯ equals negative three.

You might know that the average rate of change of an arbitrary function, like the one graphed over the interval from π₯ to π₯ plus β, is given by π of π₯ plus β minus π of π₯ all over β, that is, the slope of the line segment shown.

Clearly, the slope of the line segment and hence the average rate of change of the function will depend on the size of the interval that weβre averaging over, and hence on the value of β. But as both β and the interval get smaller and smaller, the slopes of the cords get closer and closer to the slope of the tangent line. And itβs the slope of this tangent line that is the instantaneous rate of change of the function at the given value of the input.

The expression π of π₯ plus β minus π of π₯ all over β gives the average rate of change of the function on the interval from π₯ to π₯ plus β. To find the instantaneous rate of change, we take the limit as β approaches zero, making the intervals smaller and smaller and the slopes of those chords closer and closer to the slope of the tangent, that is, the instantaneous rate of change.

Now we just need to evaluate this limit. Weβre looking for the instantaneous rate of change at π₯ equals negative three. So we substitute negative three for π₯. So our numerator becomes π of negative three plus β minus π of negative three.

We now use the definition of π of π₯ that we have. We find π of negative three by substituting negative three for π₯ and the expression we have for π of π₯. That is, wherever we see an π₯, we replace it by negative three.

Now how about the other term, π of negative three plus β? How do we find that? Well, in the same way, we just replace π₯ in our definition of π of π₯ by negative three plus β. And so we get two times negative three plus β squared plus nine. And the denominator β completes the expression inside the limit.

Our numerator is quite messy. So letβs see if we can simplify it. We start off with two times negative three plus β squared, which we can expand to get β squared minus six β plus nine. We add nine and subtract 27, which is what π of negative three turns out to be, before again dividing by β.

We can simplify further, distributing the two over the terms in the parentheses and then dealing with the other constant terms. We find we have to subtract 18. And so the constant terms cancel. And weβre left with just two β squared minus 12β in the numerator and as ever β in the denominator.

We can see now that the numerator has a factor of β, which we can cancel with the denominator. Canceling the factor, we get the limit of two β minus 12 as β approaches zero, which we can evaluate using direct substitution. Itβs just two times zero minus 12, which is negative 12.

The instantaneous rate of change of the function π of π₯ equals two π₯ squared plus nine at π₯ equals negative three is, therefore, negative 12. This is the limit of the average rate of change of the function on the interval from π₯ to π₯ plus β as β approaches zero.