Factorise and cancel
When putting the value in gives 0 over 0, the top and the bottom have a factor in common that is 0 at that value. The way on is to find it, cancel it, and then put the value in.
An example
In What a limit is, we met
The top is a difference of two squares: x squared minus 9 is the quantity x minus 3, the quantity x plus 3. So
The factor x minus 3 is on both the top and the bottom, so it cancels, and x plus 3 is left. Now we can put 3 in:
Why cancelling is allowed
Cancelling x minus 3 means dividing the top and the bottom by x minus 3, and we may never divide by 0. At x equals 3 itself, x minus 3 is 0. But a limit never looks at x equals 3 itself, only at values close to it, and there x minus 3 is not 0. That is why the graph has a hole at 3, and why the limit is still 6.
Why there is always a factor to find
If a polynomial is 0 at x equals 3, then x minus 3 is one of its factors. So when both the top and the bottom are 0 at 3, both have the factor x minus 3, and the job is to factorise them until it shows:
Both are 0 at 2. The top is the quantity x minus 2, the quantity x plus 3 and the bottom is the quantity x minus 2, the quantity x plus 2, so after cancelling x minus 2:
When the value is 0, the common factor is x itself, and taking it out is enough:
which is 5 over 2.
Cubes can be factorised too. x cubed minus 8 is 0 at x equals 2, and
so in the quantity x cubed minus 8, over the quantity x squared minus 4, the x minus 2 cancels, and the limit at 2 is 12 over 4, which is 3.
Roots
With a square root, the difference of two squares turns up in disguise. x is the square of the square root of x, so x minus 9 is the quantity the square root of x minus 3, the quantity the square root of x plus 3:
which is 6.
When putting the value in gives 0/0: factorise the top and the bottom, cancel the factor they share, and then put the value in.