Before I ask, I want to tell you that I am beginner in limits, so you may find some problems in my understanding.
Let's assume a function $f(x) = 15-2x^2$. We want to know how the function behaves at $x=1$. Specifically, we want to know the slope of tangent line at $x=1$.
Simply, we get a good formula for that by doing this: $$m=\frac{f(1)-f(x)}{x-1}.$$ Then we get the equation $$m=\frac{2-2x^2}{x-1}.$$
Now we have to take the limit to find the slope of the tangent line, $$\lim_{x\to 1} \frac {2-2x^2}{x-1}.$$
To solve this we simplify it like this :\begin{align} \lim_{x\to 1} \frac {2-2x^2}{x-1} =& \lim_{x\to 1}\frac {-2(x-1)(x+1)}{(x-1)} \\ =& \lim_{x\to 1}-2(x+1) \\ =& -2(1)-2 \\ =& -4 \end{align}
In algebra class when we had a fraction and we wanted to cancel something we always say $x \ne a$. For instance $\frac {1}{x-1}$. Here $x \ne 1$, because $x-1$ would be zero.
But here in limits I found something unbelievable: here we are dividing by zero and that's forbidden.
$$\lim_{x\to 1}\frac {-2(1-1)(1+1)}{(1-1)}.$$
We are just canceling zero in this fraction. Can anyone explain this?
$\endgroup$ 52 Answers
$\begingroup$Intuitively, what the limit is doing is finding the behavior of the fraction $$\frac{-2(x-1)(x+1)}{(x-1)}$$ as $x$ approaches $1$. The actual value of the fraction at $1$ is irrelevant, and in this case undefined. Therefore you can 'cancel' out the terms $(x-1)$ because everywhere other than $x = 1$ $$\frac{-2(x-1)(x+1)}{(x-1)} \quad \text{and}\quad -2(x+1)$$ are equal, and so their limit as $x$ approaches $1$ will also be equal.
Another way to think about it is that the function $$f(x) = \frac{-2(x-1)(x+1)}{(x-1)}$$ has a hole in the graph at $x = 1$, whereas the graph of the function $$g(x) = -2(x+1)$$ looks exactly the same except that the hole has been filled in.
$\endgroup$ 2 $\begingroup$You are actually canceling the factor $x-1$ from numerator and denominator. This works as long as $x \ne 1$. Keep in mind that in the limit, $x$ is approaching $1$; never actually equal to $1$.
$\endgroup$ 4