Calculus
Limits & continuity
Approach a point from both sides. Compare a hole, a jump and an asymptote.
f(x) = (x² − 4)/(x − 2), x ≠ 2
Both sides approach 4, so the limit is 4. The hole remains: f(2) is undefined. The coloured points may overlap visually as h gets small; compare the table.
| Distance h | x from left | f(x) from left | x from right | f(x) from right |
|---|---|---|---|---|
| 1 | 1 | 3 | 3 | 5 |
| 0.1 | 1.9 | 3.9 | 2.1 | 4.1 |
Explore and compare
Choose the investigation above. Predict what will change before you move a control.
Try it in the simulation. Change one thing at a time.
Notes and saved values stay in this tab. They disappear when you reload.
Hints, self-check and connections
Try a self-check
Fixed values, separate from the diagram controls.
A function equals −1 for x < 0 and 1 for x > 0. Does its two-sided limit at 0 exist?
Hint
Compare the left-hand and right-hand limits.
Reveal answer
No. The left-hand limit is −1 and the right-hand limit is 1.
Build an explanation
Hint 1
A limit describes what f(x) approaches as x gets close to a point.
Hint 2
Compare values just to the left and just to the right.
Hint 3
A finite two-sided limit exists only when both sides approach the same finite value.
Worked example
This example uses fixed values, separate from the diagram controls.
Find the limit of (x² − 4)/(x − 2) as x approaches 2.
- For x ≠ 2, factor the numerator: (x − 2)(x + 2).
- Cancel x − 2 only when x ≠ 2, giving x + 2.
- Values from both sides approach 4, although the original expression is undefined at x = 2.
Answer: The limit is 4. The function value at 2 remains undefined.
Connect this idea
Watch out: Substituting 0/0 does not give zero. It tells you direct substitution has not determined the limit.