### Video Transcript

Consider the function π of π₯ is equal to π₯ cos of π₯ when π₯ is less than or equal to π over two and π of π₯ is equal to π₯ cot of π₯ when π₯ is greater than π over two. What type of discontinuity does the function π have at π₯ is equal to π over two, if it has any?

The question gives us the piecewise-defined function π of π₯. And it wants us to decide if the function is continuous or discontinuous at the point where π₯ is equal to π over two. And if itβs discontinuous, it wants us to find the type of discontinuity.

We recall that we call a function π continuous at the point π₯ is equal to π if it satisfies three conditions. And if any of these conditions fail, depending on which ones and how they fail, we can classify the discontinuity. So we need to check all three of these conditions for our piecewise-defined function π of π₯ at the point where π₯ is equal to π over two. So weβll set π equal to π over two.

First, we need to check that our function is defined at the point where π₯ is equal to π over two. From the piecewise definition of our function π of π₯, we see that when π₯ is less than or equal to π over two, π of π₯ is equal to π₯ cos of π₯. So we substitute π₯ is equal to π over two into the function π₯ cos of π₯. This gives us π over two multiplied by the cos of π over two, which is equal to zero. So our function π of π₯ is defined at the point where π₯ is equal to π over two. Another way of saying this is saying that π over two is in the domain of our function π of π₯.

Now we check the second condition. The limit as π₯ approaches π over two of π of π₯ must exist. We recall this is equivalent to saying the limit as π₯ approaches π from the right of π of π₯ and the limit as π₯ approaches π from the left of π of π₯ both exist and are equal. So to check our second condition of continuity, weβll check the left-hand and right-hand limit of our function π of π₯ as π₯ is approaching π over two.

Weβll start with the right-hand limit. Since π₯ is approaching π over two from the right, we must have that π₯ is greater than π over two. And we see from our piecewise definition, if π₯ is greater than π over two, then π of π₯ is exactly equal to the function π₯ cot of π₯. This means their limits will be equal in this case. This gives us the limit as π₯ approaches π over two from the right of π₯ cot of π₯.

We see weβre trying to evaluate the limit of π₯ multiplied by a standard trigonometric function. So we can try to evaluate this limit by using direct substitution. We substitute π₯ is equal to π over two into the function in our limit. This gives us that our limit is equal to π over two multiplied by the cot of π over two.

We can directly evaluate the cot of π over two to be equal to zero. Or we can rewrite it as the cos of π over two divided by the sin of π over two, which is equal to zero divided by one, which also gives us zero. So weβve shown the limit as π₯ approaches π over two from the right of our function π of π₯ is equal to zero.

Letβs now evaluate the limit as π₯ approaches π over two from the left of π of π₯. Since π₯ is approaching π over two from the left, we must have that π₯ is less than π over two. And we see from our piecewise definition of the function π of π₯, if π₯ is less than or equal to π over two, our function π of π₯ is exactly equal to π₯ cos of π₯.

So if the functions are equal when π₯ is less than π over two, their limits as π₯ approaches π over two from the left will also be equal. And we can evaluate the limit as π₯ approaches π over two from the left of π₯ cos of π₯ by using direct substitution. Substituting π₯ is equal to π over two into π₯ cos of π₯ gives us π over two times the cos of π over two, which we can evaluate to give us zero.

So weβve shown the limit as π₯ approaches π over two from the right exists and the limit as π₯ approaches π over two from the left exists. And both of these limits are equal. So weβve shown the second condition for continuity is also true. In fact, the limit as π₯ approaches π over two of π of π₯ is equal to zero.

Now we need to check our third condition. The limit as π₯ approaches π over two of π of π₯ should be equal to π evaluated at π over two. In fact, weβve already evaluated both of these. π evaluated at π over two is equal to zero. And our limit as π₯ approaches π over two of π of π₯ must be equal to the limit as π₯ approaches π over two from the right and the limit as π₯ approaches π over two from the left of π of π₯. These were both equal to zero. This means that our third condition for continuity is also true.

Since all three conditions for continuity are true, weβve shown that our piecewise function π of π₯ is continuous at the point π₯ is equal to π over two. Therefore, weβve shown that the function π does not have a discontinuity at the point where π₯ is equal to π over two.