### Video Transcript

Given that π of π₯ equals π₯ squared plus two for values of π₯ less than or equal to three and six π₯ minus seven for values of π₯ greater than three, which of the following is true? Is it a) π of π₯ is not continuous at π₯ equals three? b) The limit as π₯ approaches three of π of π₯ does not exist? Is it c) π of π₯ is continuous at π₯ equals three but π prime of π₯ does not exist? Or d) π prime of three is equal to six?

Here, weβve been given a piecewise function and a number of statements about continuity and differentiability. Letβs recall what we know about continuity first. We say that continuity at a point exists when the left- and right-sided limits match the function evaluated at that point. In other words, a function is continuous at π if the limit as π₯ approaches π from the left of π of π₯ is equal to π of π, which is also equal to the limit as π₯ approaches π from the right of π of π₯. So letβs begin by evaluating the limit of our function as π₯ approaches three from the left.

We see that when π₯ is less than or equal to three, π of π₯ is equal to π₯ squared plus two. So we need to evaluate the limit as π₯ approaches three from the left of π₯ squared plus two. To achieve this, we can simply use direct substitution. The limit as π₯ approaches three from the left is three squared plus two, which is equal to 11. In fact, the function π of π₯ is equal to π₯ squared plus two at the point that weβre interested in, at π₯ equals three. So π of three is also 11. So far, so good. Next, we need to evaluate the limit as π₯ approaches three from the right of our function. This time for values of π₯ greater than three, the function π of π₯ is equal to six π₯ minus seven.

So weβre going to evaluate the limit as π₯ approaches three from the right of six π₯ minus seven, which we can once again evaluate using direct substitution. Itβs six times three plus seven, which is equal to 11. We have satisfied the criteria that the limit as π₯ approaches three from the left of our function is equal to π of three, which is equal to the limit as π₯ approaches three from the right of the function. So π of π₯ is continuous at π₯ equals three. Statement a cannot therefore be true. Weβll, now consider what it means for the limit as π₯ approaches three of the function to exist.

If the limit as π₯ approaches π from the left of the function is equal to the limit as π₯ approaches π from the right of a function, then we say that the limit exists. If the converse is true, if theyβre not equal, then the limit does not exist. Well, we just showed that the limit as π₯ approaches three from the left of the function is 11 and the limit as π₯ approaches from the right of the function is also 11. This means the limit of the function as π₯ approaches three does actually exist and statement b cannot be true. Part c says π of π₯ is continuous at π₯ equals three, but π prime of π₯ does not exist. π prime of π₯ is the derivative of our function.

Now, weβve already established that π of π₯ is actually continuous at π₯ equals three. So how do we establish whether the derivative exists. Well firstly, the function does need to be continuous. So that satisfied that criteria. So next we recall the definition of the derivative of a function at π. Itβs the limit as π₯ approaches π of π of π₯ minus π of π over π₯ minus π. For a function to be differentiable at π, the limit as π₯ approaches π from the left of π of π₯ minus π of π over π₯ minus π must be equal to the limit as π₯ approaches π from the right of π of π₯ minus π of π over π₯ minus π.

Letβs begin by evaluating the limit as π₯ approaches three from the left. Itβs of π of π₯ minus π of three over π₯ minus three. For values of π₯ less than three, the function is π₯ squared plus two. And we already calculated π of three to be 11. So weβre looking to find the limit of π₯ squared plus two minus 11 over π₯ minus three, which simplifies to π₯ squared minus nine over π₯ minus three. Weβre not yet going to use direct substitution. If we were to substitute π₯ equals three into this expression, we get zero over zero, which we know to be undefined. So instead we look to manipulate the expression by factoring the numerator. π₯ squared minus nine is the same as π₯ plus three times π₯ minus three. And then we spot that we can simplify by dividing through by π₯ minus three. And so weβre looking to find the limit as π₯ approaches three from the left of π₯ plus three.

Now, we use direct substitution. Itβs three plus three, which is equal to six. Weβre now going to evaluate. This limit as π₯ approaches three from the right. Once again, itβs the limit of π of π₯ minus π of three over π₯ minus three. Here, π of π₯ is equal to six π₯ minus seven. Weβre now interested in values of π₯ greater than three. π of three is still 11. And so we get six π₯ minus 18 over π₯ minus three. And this time, when we factor our numerator, we get six times π₯ minus three. Once again, we divide through by π₯ minus three. And we see that our limit is simply equal to six. We have shown that the limit as π₯ approaches three from the left of π of π₯ minus π of three of π₯ minus three is equal to the limit as π₯ approaches three from the right of π of π₯ minus π of three over π₯ minus three.

So in fact, π prime of π₯ a derivative does exist here. c cannot be true. Weβre now going to check d. This asks us whether π prime of three is equal to six. Well, we have actually just shown that that is indeed true. Remember, the definition for the derivative of the function at π is the limit as π₯ approaches π of π of π₯ minus π of π all over π₯ minus π. Weβve just shown that that derivative does indeed exist and that π of π₯ minus π of three over π₯ minus three from the left and the right side is six. So the statement thatβs true is d. π prime of three is equal to six.