### Video Transcript

Suppose π of π₯ equals negative six, if π₯ is not equal to negative three and six, if π₯ equals negative three. And π of π₯ equals nine π₯ plus 12, if π₯ is not equal to negative three and 15, if π₯ equals negative three. What can be said of the continuity of π of π of π₯ at π₯ equals negative three? We have four options here. Option A: The function is discontinuous at π₯ equals negative three because the limit of π of π of π₯, as π₯ approaches negative three, does not exist. Option B: The function is continuous at π₯ equals negative three. Option C: The function is discontinuous at π₯ equals negative three because π of π of negative three is undefined. And finally option D: The function is discontinuous at π₯ equals negative three because the limit of π of π of π₯, as π₯ approaches negative three, is not equal to π of π of negative three.

To summarise, weβre looking at the continuity of a composite function, π of π of π₯ at π₯ equals negative three. And there are two possibilities, either the function is continuous at π₯ equals negative three or it isnβt. But from the options we see that if the function is discontinuous, we have to explain why. Itβs for one of three reasons.

So now letβs clear the options from our screen, so we have space to actually answer the question. Weβre going to need the definition of continuity at a point. A function π is said to be continuous at a number π, if the limit of π of π₯, as π₯ approaches π, is just π of π. The function in our problem is π of π, or π composed with π. And weβre trying to see if this is continuous at π₯ equals negative three. So π is negative three. So asking if π of π of π₯ is continuous at π₯ equals negative three is the same as asking if the limit of π of π of π₯, as π₯ approaches negative three, is equal to π of π of negative three.

We note that there are essentially three different reasons why this equation could fail to hold. And hence, three reasons why our function could not be continuous at π₯ equals negative three. Firstly, it could happen that this limit doesnβt exist. Secondly, the value of π of π of negative three could be undefined. It could be that negative three is not in the domain of our function. Or thirdly, these two things could both have real values. But they could have different real values and so not be equal. And if you think back to the options of the question, these three cases were given as separate options. Of course, another possibility is that both the limit of π of π of π₯, as π₯ approaches negative three, and π of π of negative three are undefined.

Letβs start by trying to evaluate this limit. How do we do this? Well, this is the limit as π₯ approaches negative three. And so importantly, π₯ is never equal to negative three at any point. Itβs just getting closer and closer to that value. And we know what π of π₯ is when π₯ is not equal to negative three. Weβre told that it is negative six. So this limit is the limit of π of negative six, as π₯ approaches negative three. We now need to ask what is π of negative six? We have the definition of π of π₯. And negative six is not equal to negative three. So we can see how to evaluate π of negative six. Itβs nine times negative six plus 12. And evaluating this, we get negative 42. The limit of a constant function like negative 42 is just that constant. So our limit is negative 42. Letβs clear away our working and find π of π of negative three. We found the left-hand side of the equation that we need to be true for π of π of π₯ to be continuous at π₯ equals negative three. This limit exists and its value is negative 42.

Now we move on to finding the right-hand side of the equation. We want to find π of π of negative three. So our first step is to find π of negative three. And we can see from the definition of π in the question that π of π₯ is six, if π₯ is equal to negative three. In other words, that π of negative three is six. And so π of π of negative three is π of six. Now what is π of six? We look at the definition of π of π₯. And we see that π of π₯ is nine π₯ plus 12, if π₯ is not equal to negative three. And six is not equal to negative three. So π of six is nine times six plus 12.

Now weβre ready to answer our question. Is the limit of π of π of π₯, as π₯ approaches negative three, equal to π of π of negative three? In other words, is the function π of π continuous at π₯ equals negative three? Well, no. The left-hand side is negative 42. And the right-hand side is 66. What are our conclusions? The function is discontinuous at π₯ equals negative three. And why? Because although the limit of π of π of π₯, as π₯ approaches negative three, exists and although π of π of negative three is defined, the two values are not equal. And we need these two quantities not only to exist or be defined, but also to be equal to satisfy the definition of continuity. This was option D in our list of options.