# Video: Finding Unknowns in a Piecewise-Defined Function That Make It Has a Limit at a Point

Given that the function 𝑓(𝑥) ={((𝑥²+ 𝑎𝑥 + 𝑏)/(𝑥² − 5𝑥 + 6)) if 𝑥 < 2, 𝑓(𝑥) ={(6𝑥) if 𝑥 > 2 has a limit when 𝑥 = 2, determine the values of 𝑎 and 𝑏.

05:50

### Video Transcript

Given that the function 𝑓 of 𝑥, which is equal to 𝑥 squared plus 𝑎𝑥 plus 𝑏 all divided by 𝑥 squared minus five 𝑥 plus six if 𝑥 is less than two and 𝑓 of 𝑥 is equal to six 𝑥 if 𝑥 is greater than two, has a limit when 𝑥 is equal to two. Determine the values of 𝑎 and 𝑏.

We’re told that the limit of the function 𝑓 of 𝑥 as 𝑥 approaches two exists. And so we are asked to find the values of 𝑎 and 𝑏, which allow this to be true. We can start by asking the question. What does it mean for the limit of our function 𝑓 of 𝑥 to exist as 𝑥 approaches two? The limit of a function as 𝑥 approaches 𝑐 exists if both the left-hand and right-hand limit of the function exist. And if these two limits are equal. This means there are three parts to checking that the limit in our question exists. We must have that the limit of 𝑓 of 𝑥 as 𝑥 approaches two from the left exists. We must also have that the limit of 𝑓 of 𝑥 as 𝑥 approaches two from the right exists. And finally, we should also have that both of these limits are equal.

Let’s start with the limit of 𝑓 of 𝑥 as 𝑥 approaches two from the right. Since the values of 𝑥 are approaching two from the right, we must have that 𝑥 is greater than two. From the question, we can see that our function 𝑓 of 𝑥 is equal to six 𝑥 when 𝑥 is greater than two. Since our function 𝑓 of 𝑥 is equal to six 𝑥 for all 𝑥 is greater than two, we can just replace the 𝑓 of 𝑥 in our right-hand limit with six 𝑥. We also know that we can evaluate the limit of any polynomial by using direct substitution. We substitute the value of two into our function six 𝑥 to get six multiplied by two. Which we can then evaluate to give us 12. So we have shown that the limit of 𝑓 of 𝑥 as 𝑥 approaches two from the right is equal to 12.

Now, since the question tells us that the limit of 𝑓 of 𝑥 as 𝑥 approaches two exists, we must have that all three parts of our limit definition are true. In particular, this means that the left-hand and right-hand limit of 𝑓 of 𝑥 as 𝑥 approaches two must be equal. And we have just shown that the limit of 𝑓 of 𝑥 as 𝑥 approaches two from the right is equal to 12. This means that the limit of 𝑓 of 𝑥 as 𝑥 approaches two from the left must be equal to 12. Now that we have that this limit is equal to 12, let’s try to evaluate this limit. Since our values of 𝑥 are approaching two from the left, we must have that 𝑥 is less than two. From the question, we can see that when 𝑥 is less than two, our function is equal to 𝑥 squared plus 𝑎𝑥 plus 𝑏 all divided by 𝑥 squared minus five 𝑥 plus six. Since our function 𝑓 of 𝑥 is exactly equal to this rational function, when 𝑥 is less than two, we can replace the function 𝑓 of 𝑥 in our limit with this rational function.

We also know that we can evaluate the limit of a rational function by using direct substitution. We substitute the value of two into the rational function. Giving us two squared plus 𝑎 multiplied by two plus 𝑏 all divided by two squared minus five times two plus six. Which we can simplify to give us four plus two 𝑎 plus 𝑏 all divided by zero. This is an indeterminate form. However, we’re told in the question that this limit exists. And we know that this limit must be equal to 12. We know that if our constant numerator of four plus two 𝑎 plus 𝑏 was positive, then this limit would be equal to positive infinity. Similarly, if this numerator was negative, then our limit would be equal to negative infinity. Since we know that this limit must be equal to 12, the only option is that our direct substitution of 𝑥 equals two must have given us the indeterminate form zero divided by zero. So our numerator is equal to zero when we substitute in 𝑥 is equal to two. Therefore, we can use the factor theorem to see that the numerator has a factor of 𝑥 minus two.

By equating the coefficients of 𝑥 squared, we can see that 𝑐 must be equal to one. Similarly, by equating the constants, we will have that 𝑑 is equal to negative 𝑏 divided by two. Finally, if we were to equate the coefficients of 𝑥, we would have that 𝑎 is equal to negative 𝑏 divided by two minus two. We can then rewrite the limit in our numerator with 𝑥 minus two multiplied by 𝑥 minus 𝑏 over two. Similarly, we could also factorize the denominator of our limit to get 𝑥 minus two multiplied by 𝑥 minus three. We can then cancel this shared factor of 𝑥 minus two. Which gives us the limit of 𝑥 minus 𝑏 over two all divided by 𝑥 minus three as 𝑥 approaches two from the left. Again, we can see that this is the limit of a rational function.

So we can solve this by using direct substitution. So we substitute two into our expression to give us two minus 𝑏 over two all divided by two minus three. Which we can simplify to give us 𝑏 over two minus two. Since our limit is equal to 12, we get an expression for 𝑏, which is 12 is equal to 𝑏 over two minus two. Which we can solve to give us that 𝑏 is equal to 28. We saw earlier that 𝑎 was equal to negative 𝑏 over two minus two. We can then substitute our value of 𝑏 equals 28 into this expression. To see that 𝑎 is equal to negative 28 over two minus two, which we can calculate to give us 𝑎 is equal to negative 16.

Therefore, we can conclude that the limit of the function 𝑓 of 𝑥 as 𝑥 approaches two will exist when 𝑎 is equal to negative 16. And 𝑏 is equal to 28.