# Video: Discussing the Continuity of a Piecewise-Defined Function Involving Trigonometric Ratios at a Point

Discuss the continuity of the function 𝑓, given 𝑓(𝑥) = 3 + sin 𝑥, if 0 ≤ 𝑥 < 𝜋/2 and 𝑓(𝑥) = 4 + (𝑥 − (𝜋/2))⁸, if 𝑥 ≥ 𝜋/2.

04:40

### Video Transcript

Discuss the continuity of the function 𝑓, given that 𝑓 of 𝑥 is equal to three plus the sin of 𝑥 if 𝑥 is greater than or equal to zero and 𝑥 is less than 𝜋 by two and 𝑓 of 𝑥 is equal to four plus 𝑥 minus 𝜋 by two to the eighth power if 𝑥 is greater than or equal to 𝜋 by two.

The question wants us to discuss the continuity of a function 𝑓. And we can see that this function is defined piecewise. To discuss the continuity of our function 𝑓, let’s recall what it means for our function to be continuous at a point 𝑥 is equal to 𝑎. We say 𝑓 is continuous at 𝑥 is equal to 𝑎 if 𝑓 evaluated at 𝑎 is equal to the limit as 𝑥 approaches 𝑎 of 𝑓 of 𝑥. And, of course, both 𝑓 evaluated at 𝑎 and this limit must exist.

Because we’re dealing with the continuity of a piecewise-defined function, we can check this in the following three steps. First, we want to find the domain of our function 𝑓 of 𝑥, since a function can only be continuous on its domain. Second, we check the continuity on each interval of our piecewise-defined function. Finally, we just need to check that the endpoints of these intervals, our functions, match.

Let’s start by checking the domain of our function 𝑓 of 𝑥. To do this, we need to check the values of 𝑥 for which our piecewise-defined function is defined. We see when 𝑥 is greater than or equal to zero and 𝑥 is less than 𝜋 by two, our function 𝑓 of 𝑥 is equal to three plus the sin of 𝑥. And three plus the sin of 𝑥 has a domain of the entire set of real numbers. So in particular, this means it’s defined for all values of 𝑥 greater than or equal to zero and less than 𝜋 by two. So our function 𝑓 of 𝑥 is defined in this interval.

Next, we can do the same when 𝑥 is greater than or equal to 𝜋 by two. We get 𝑓 of 𝑥 is equal to four plus 𝑥 minus 𝜋 over two to the eighth power. And this is a polynomial. So its domain is, again, the entire set of real numbers. And, in particular, this means it’s defined for all values of 𝑥 greater than or equal to 𝜋 by two. So we’ve shown our function 𝑓 of 𝑥 is defined on both of these intervals. So the domain of our function 𝑓 of 𝑥 is both of these intervals combined. That’s 𝑥 greater than or equal to zero. We now want to check the continuity of our function 𝑓 of 𝑥 on each of these intervals.

Let’s start by checking the continuity for 𝑥 greater than or equal to zero and 𝑥 less than 𝜋 by two. On this interval, our function 𝑓 of 𝑥 is equal to three plus the sin of 𝑥. And we know the sin of 𝑥 is continuous on the set of real numbers because all trig functions are continuous on their domains and the sin of 𝑥 is defined for all real numbers. Next, constant functions are just polynomials. So they’re continuous on the set of real numbers. Finally, this means three plus the sin of 𝑥 is the sum of two continuous functions, which means that it’s continuous. And this means our function 𝑓 of 𝑥 is continuous over this interval. However, we must be careful to remove any endpoints where our function 𝑓 of 𝑥 changes definition.

We can now do the same for values of 𝑥 greater than or equal to 𝜋 by two. We can see, for these values of 𝑥, 𝑓 of 𝑥 is a polynomial. And, of course, we know all polynomials are continuous on the set of real numbers. And we must be careful at this point, since this only tells us our function 𝑓 of 𝑥 is continuous when 𝑥 is strictly greater than 𝜋 by two. Since our function 𝑓 of 𝑥 changes definition when 𝑥 is less than 𝜋 by two and when 𝑥 is greater than 𝜋 by two.

So we now have our third and final step. We need to check that the endpoints of our function 𝑓 of 𝑥 match. And we can see the only endpoint where our function changes definition is at 𝑥 is equal to 𝜋 by two. Let’s start with the endpoint of three plus the sin of 𝑥 when 𝑥 is less than 𝜋 by two. This is just a constant plus a trigonometric function. So we can do this by direct substitution. We get three plus the sin of 𝜋 by two, which we can evaluate to just give us four.

The endpoint of our second interval is even easier. Since 𝑥 must be greater than or equal to 𝜋 by two, our endpoint would just be where 𝑥 is equal to 𝜋 by two. So we just directly substitute 𝑥 is equal to 𝜋 by two into four plus 𝑥 minus 𝜋 by two to the eighth power. This gives us four plus 𝜋 by two minus 𝜋 by two to the eighth power, which we can evaluate to give us four. And we can see, in this case, that these endpoints match. They’re both equal to four. So this tells us that 𝑓 is continuous at 𝑥 is equal to 𝜋 by two. So when we check the entire domain of our function 𝑓 of 𝑥, we actually show that 𝑓 of 𝑥 was continuous on its entire domain.

Therefore, we’ve shown that the function 𝑓 of 𝑥, which is equal to three plus the sin of 𝑥 if 𝑥 is greater than or equal to zero and 𝑥 is less than 𝜋 by two. And 𝑓 of 𝑥 is equal to four plus 𝑥 minus 𝜋 by two to the eighth power if 𝑥 is greater than or equal to 𝜋 by two. Is continuous for all values of 𝑥 greater than or equal to zero.