Here I have I have a perfect square trinomial:
$x^2 - 6x + 9$
Here I have a perfect square binomial:
$x^2 - 9$
I am asked to find the limit as x approaches 3 of $\frac{x^2 - 6x + 9}{x^2 - 9}$. The full equation is illustrated below:
$\lim \limits_{x \to 3} \frac{x^2 - 6x + 9}{x^2 - 9}$
If we plug 3 in for x, you'll notice the result is $\frac{0}{0}$. In other words, the value is undefined and that's typically how it is with these limit problems. We now need to find the values approaching 3 from both the negative and positive end.
But this is where it gets weird for me. The polynomials can be simplified through factoring.
$x^2 - 6x + 9$ can be factored into $(x - 3)(x - 3)$
$x^2 - 9$ can be factored into $(x + 3)(x - 3)$
Since there is a $(x - 3)$ in the numerator and denominator, we can cancel them out to get the following equation:
$\frac{x - 3}{x + 3}$
That means the limit can be rewritten as:
$\lim \limits_{x \to 3} \frac{x - 3}{x + 3}$
But now if we plug in 3, we get $\frac{0}{6}$ which is 0.
How is this possible? How does rewriting the equation give a different answer? More importantly, how does simply rewriting the question make an undefined value suddenly defined?