# Question Video: Determine the Type of Discontinuity in a Piecewise Defined Function Mathematics

Consider the function 𝑓(𝑥) = −𝑥² − 1 when 𝑥 ≤ 2, and 𝑓(𝑥) = 3𝑥 − 1 when 𝑥 > 2. Find the type of discontinuity that the function 𝑓 has at 𝑥 = 2, if it has any.

05:04

### Video Transcript

Consider the function 𝑓 of 𝑥 is equal to negative 𝑥 squared minus one when 𝑥 is less than or equal to two and 𝑓 of 𝑥 is equal to three 𝑥 minus one if 𝑥 is greater than two. Find the type of discontinuity that the function 𝑓 has at 𝑥 is equal to two, if it has any.

Since the question is asking us to classify the type of discontinuity of the function at 𝑥 is equal to two, if it has any, we can start by asking what does it mean for a function 𝑓 to be continuous at the point 𝑥 is equal to two. We recall that we say the function 𝑓 is continuous at the point 𝑥 is equal to 𝑎 if the following are true.

First, we must have that the function 𝑓 evaluated at 𝑎 must be defined. It’s worth noting that this is equivalent to saying that 𝑎 is in the domain of our function 𝑓. Secondly, we must have that the limit of 𝑓 of 𝑥 as 𝑥 approaches 𝑎 must exist. And finally, we must have that the limit of 𝑓 of 𝑥 as 𝑥 approaches 𝑎 is equal to the function 𝑓 evaluated at 𝑎.

If all three of these requirements are met, then we can say that the function 𝑓 is continuous at the point 𝑥 is equal to 𝑎. Similarly, if any of these three requirements fail, we can use these to classify our discontinuity. Since the question is asking us about the discontinuity of the function 𝑓 when 𝑥 is equal to two, we can replace 𝑎 in our definition of continuity as two.

Let’s now start with our first requirement that the function 𝑓 evaluated at two must be defined. We can see from the question that the function 𝑓 of 𝑥 is defined piecewise and the first piece has 𝑥 is less than or equal to two. Therefore, we have that the function 𝑓 evaluated at two is equal to two substituted into negative 𝑥 squared minus one. Giving us that 𝑓 evaluated at two is equal to negative one multiplied by two squared minus one, which we can calculate to be equal to negative five. Therefore, we can conclude that the function 𝑓 evaluated at two is in fact defined. So, we can now move on to our second requirement.

We recall that we say a limit of 𝑓 of 𝑥 as 𝑥 approaches 𝑎 exists if the left-hand and right limit of the function 𝑓 of 𝑥 as 𝑥 approaches 𝑎 both exist and if these two limits are equal. What this means is to check our second requirement, we must check that the limit of 𝑓 of 𝑥 as 𝑥 approaches two from the right and the limit of 𝑓 of 𝑥 as 𝑥 approaches two from the left both exist and we must check that both of these limits are equal.

We’ll start with the limit of 𝑓 of 𝑥 as 𝑥 approaches two from the right. Since 𝑥 is approaching two from the right, we must have that 𝑥 is greater than two. And we see from the question from our piecewise definition of the function 𝑓 of 𝑥 when 𝑥 is greater than two, we have that 𝑓 of 𝑥 is exactly equal to the function three 𝑥 minus one. Therefore, we can replace the 𝑓 of 𝑥 in our right-hand limit with the function there 𝑥 minus one.

Since three 𝑥 minus one is a linear function, we can evaluate this limit by direct substitution, giving us three multiplied by two minus one, which we can calculate to give us that the limit of 𝑓 of 𝑥 as 𝑥 approaches two from the right is equal to five. We can now do something similar with the left-hand limit. Since 𝑥 is approaching two from the left, we must have that 𝑥 is strictly less than two. We can again see from our piecewise definition of the function 𝑓 of 𝑥 when 𝑥 is less than two, our function 𝑓 of 𝑥 is exactly equal to negative 𝑥 squared minus one. So, we can replace the 𝑓 of 𝑥 in our left-hand limit with negative 𝑥 squared minus one.

Since we are now evaluating the limit of a polynomial, we can use direct substitution. Giving us negative one multiplied by two squared minus one, which we can calculate to give us the limit of 𝑓 of 𝑥 as 𝑥 approaches two from the left is equal to negative five. Therefore, what we have shown is that the left-hand and right-hand limit of our function 𝑓 of 𝑥 as 𝑥 approaches two both exist. However, these two limits are not equal. We call this a jump discontinuity.

To see this, let’s sketch a graph of our function 𝑓 of 𝑥 as defined in the question. In the sketch of this graph, we can see the first segment of our graph is the same as negative 𝑥 squared minus one and the second segment is three 𝑥 minus one. We can also see that our graph 𝑦 equals 𝑓 of 𝑥 is equal to negative five when 𝑥 is equal to two, which is represented by the solid dot.

We can also see that as 𝑥 approaches two from the left, we will get closer and closer to our output of negative five, and as 𝑥 approaches two from the right, we will get closer and closer to our output of five. This gap between our outputs of five and negative five at 𝑥 is equal to two is what we describe as our jump. Therefore, we can conclude that the function 𝑓 has a jump discontinuity at 𝑥 is equal to two.