Limits Explained: Substitution, Factoring and L'Hôpital's Rule
On this page
A limit is the value a function approaches as gets close to some number, whether or not the function is defined there. Try direct substitution first. If that gives , factor and cancel or use L'Hôpital's rule. For limits at infinity, compare the highest powers.
Step 1: Try direct substitution
If the function is continuous at the point, just plug it in:
Polynomials, , and are continuous everywhere, so substitution always works for them.
Step 2: 0/0 means "do more work"
Substituting gives , which is indeterminate: it does not mean the limit fails to exist, only that you need another method.
Factor and cancel:
So the limit is . The graph is the line with a hole at .
Step 3: L'Hôpital's rule
If substitution gives (or ), differentiate the top and bottom separately:
The famous one:
Applying it twice:
Limits at infinity
For a rational function, compare the highest powers of :
| Degrees | Limit as |
|---|---|
| Top < bottom | |
| Top = bottom | Ratio of leading coefficients |
| Top > bottom |
When a limit does not exist
does not exist: from the right the values shoot up to , from the left down to . A two-sided limit only exists if both sides agree.
Common mistakes
- Saying "the limit is undefined" as soon as you see .
- Using L'Hôpital's rule when substitution already gives a number.
- Forgetting to check both sides for piecewise or -type functions.
Practice questions
Answers: 1) 2) 3)
The limit calculator tries substitution, then L'Hôpital's rule, and checks the answer by approaching from both sides. It uses the same differentiation engine as the derivative calculator. See also derivatives for beginners.
Frequently asked questions
Is 0/0 equal to 0 or 1?
Neither. 0/0 is indeterminate: the limit could be any number, or not exist, depending on the functions.
Can a function have a limit where it is undefined?
Yes. (x² − 4)/(x − 2) is undefined at x = 2, but its limit there is 4.
When can I use L'Hôpital's rule?
Only when direct substitution gives 0/0 or ∞/∞, and the derivatives exist near the point.
#calculus#limits
