### Video Transcript

Find the limit of three 𝑥 squared minus 18𝑥 plus 24 all over 𝑥 squared minus 16 as 𝑥 approaches four.

This is a rational function. And we know that we can evaluate the limit of a rational function as 𝑥 approaches some value in this domain by just directly substituting. We can write this fact out slightly more formally. Just as an aside, when the limit of 𝑓 of 𝑥 as 𝑥 approaches 𝑐 is just equal to 𝑓 of 𝑐, we say that 𝑓 of 𝑥 is continuous at 𝑐. And so the entire statement can be rephrased as a rational function is continuous on its domain.

Anyway, how does the statement help us with the limit that we want to evaluate? The function we have is a rational function. So if four is in the domain of this function, to find the limit, we can just directly substitute four into the function.

Okay, great! So how do we know if four is in the domain? Well, we try to evaluate 𝑓 of four and we see if anything goes wrong. If four is in the domain, then 𝑓 of four will be defined and its value will be the value of the limits that we’re looking for. If four is not in the domain, then we’ll find that 𝑓 of four is not defined and we’ll have to use a different method to evaluate the limit.

We substitute four for 𝑥 in the algebraic rule for 𝑓 of 𝑥. And simplifying, we get the indeterminant form zero over zero. So 𝑓 of four is undefined and four is not in the domain of our function 𝑓. Okay, what do we do now? It looks like directly substituting didn’t work. We got the value zero over zero when we try to find 𝑓 of four because the polynomials in the numerator and denominator of our function are both zero when 𝑥 is four. And if you remember the factor theorem that suggests they both have a factor of 𝑥 minus four.

So let’s try to factorize the polynomials in the numerator and denominator of our rational function. We can recognize the denominator 𝑥 squared minus 16 as the difference of two squares. And we see the factor of 𝑥 minus four that we expected from our knowledge of the factor theorem.

How about the numerator? Well, as evaluating the numerator at 𝑥 equals four gives a zero, we know it has a factor of 𝑥 minus four. The question is, what is the other factor? Well, to have three 𝑥 squared here, the 𝑥 term of our other factor must be three 𝑥. And to have a constant term of 24 here, the value of 𝑏 must be 24 divided by negative four, which is negative six.

Of course, there are other methods we could have used to factor this numerator, for example, taking the common factor of three out of the coefficients. But in the end, we get the same answer. We see that there’s a common factor of 𝑥 minus four here. We’d like to cancel this common factor of 𝑥 minus four.

Of course, this changes the domain of our function. These two functions are equal. That is they give the same output for a given input apart from four 𝑥 equals four when the function three 𝑥 squared minus 18𝑥 plus 24 all over 𝑥 squared minus 16 is undefined.

Another way of saying this is if we let 𝑔 of 𝑥 be three 𝑥 minus six over 𝑥 plus four — the simplified version of 𝑓 of 𝑥 in some sense — then 𝑓 of 𝑥 is 𝑔 of 𝑥 if 𝑥 is not equal to four and undefined if 𝑥 equals four.

What we’re looking for is the limit of 𝑓 of 𝑥 as 𝑥 approaches four. This is the same as the limit of 𝑔 of 𝑥 as 𝑥 tends to four. Why? Well, because the limit of 𝑓 of 𝑥 as 𝑥 approaches four depends on values of 𝑥 near four, but importantly not 𝑥 equals four. And for all values of 𝑥 and so in particular all values of 𝑥 near four, 𝑓 of 𝑥 and 𝑔 of 𝑥 are identical.

We now focus on finding the limit of 𝑔 of 𝑥 as 𝑥 approaches four. 𝑔 of 𝑥 is a rational function. And so if four is in its domain, then the value of this limit is just 𝑔 evaluated at 𝑥 equals four. As before the way to see if four is in the domain of 𝑔 is just to try evaluating 𝑔 at 𝑥 equals four. Using the definition of 𝑔 of 𝑥, we get three times four minus six over four plus four, which is six over eight. And that simplifies to three over four or three-fourths.

Four therefore is in the domain of 𝑔. And so we can get rid of this question mark of the equal sign. The limit of 𝑔 of 𝑥 as 𝑥 approaches four is 𝑔 of four. And so following the chain of equal signs and remembering how we defined 𝑓 of 𝑥, we see that the limit of three 𝑥 squared minus 18𝑥 plus 24 all over 𝑥 squared minus 16 as 𝑥 approaches four is three- fourths.