What happens to (x² − 4)/(x − 2) as x gets closer and closer to 2? At x = 2 itself the expression is 0/0, which is meaningless, yet the values approach 4 very smoothly. The idea of a limit describes exactly this: the value a function approaches. Limits are the foundation of calculus: derivatives and integrals are both defined using them. This lesson introduces limits, the main methods for finding them, one-sided limits, limits at infinity and continuity.
In this lesson you will learn
- What a limit means, with tables of values
- Finding limits by substitution, factorising and rationalising
- The special limit of sin x / x
- One-sided limits and limits at infinity
- What it means for a function to be continuous
You should know functions, factorising polynomials and radians.
Want to go deeper? Our step-by-step Calculus course covers this topic in more detail, starting with Introduction to Limits.
The Idea of a Limit
We write limx→a f(x) = L if f(x) gets as close as we like to L when x is close enough to a (but not equal to a).
f(x) = (x² − 4)/(x − 2)
x 1.9 1.99 1.999 | 2.001 2.01 2.1
f(x) 3.9 3.99 3.999 | 4.001 4.01 4.1
As x → 2 from either side, f(x) → 4, so lim (x→2) f(x) = 4,
even though f(2) itself is undefined.
Methods for Finding Limits
1. Direct substitution (works when the function is defined and continuous there)
lim (x→3) (x² + 2x) = 9 + 6 = 15
2. Factorise and cancel (for 0/0)
lim (x→3) (x² − 9)/(x − 3) = lim (x→3) (x + 3)(x − 3)/(x − 3)
= lim (x→3) (x + 3) = 6
3. Rationalise (for 0/0 with square roots)
lim (x→0) (√(x + 4) − 2)/x
= lim (x→0) (x + 4 − 4) / [x(√(x + 4) + 2)]
= lim (x→0) 1/(√(x + 4) + 2) = 1/4
0/0 is called an indeterminate form: it tells you to simplify, not that the limit does not exist.
The Special Trigonometric Limit
With x in radians
limx→0 (sin x)/x = 1
x 0.1 0.01 0.001
sin x/x 0.998334 0.999983 0.99999983
lim (x→0) (sin 3x)/x = lim (x→0) 3 × (sin 3x)/(3x) = 3 × 1 = 3
This limit is why the derivative of sin x is cos x, and why radians are used in calculus.
One-Sided Limits and Infinity
- limx→a⁻ means x approaches a from the left (values less than a); limx→a⁺ means from the right. The limit exists only if both one-sided limits exist and are equal.
- For f(x) = |x|/x, the left limit at 0 is −1 and the right limit is 1, so limx→0 f(x) does not exist.
- For limits as x → ∞ of a fraction of polynomials, divide every term by the highest power of x:
lim (x→∞) (3x² + 2x)/(x² + 1) = lim (x→∞) (3 + 2/x)/(1 + 1/x²) = 3/1 = 3
x = 10: 3.168 x = 100: 3.0197 x = 1000: 3.0020
Continuity
f is continuous at x = a if
- f(a) is defined,
- limx→a f(x) exists, and
- limx→a f(x) = f(a).
Informally, you can draw the graph near a without lifting your pen. Polynomials, sin x and cos x are continuous everywhere; 1/x is not continuous at x = 0.
f(x) = x² for x ≤ 1
f(x) = 2x − 1 for x > 1
Left limit at 1: 1² = 1 Right limit: 2(1) − 1 = 1 f(1) = 1
All three agree, so f is continuous at x = 1.
Common Mistakes
- Writing 0/0 = 1 or 0. It is indeterminate; simplify first.
- Thinking the limit must equal f(a). The limit can exist when f(a) is undefined or different.
- Using degrees in lim sin x / x; the result 1 needs radians.
- Ignoring one side for piecewise or absolute-value functions.
Practice Exercises
Exercise 1. Find limx→1 (x³ − 1)/(x − 1).
Show answer
x³ − 1 = (x − 1)(x² + x + 1), so the limit is 1 + 1 + 1 = 3.
Exercise 2. Find limx→∞ (5x − 2)/(2x + 7).
Show answer
Divide by x: (5 − 2/x)/(2 + 7/x) → 5/2.
Exercise 3. Find limx→0 (sin 5x)/(sin 2x).
Show answer
Write it as [5 × (sin 5x)/(5x)] / [2 × (sin 2x)/(2x)] → 5/2.
Frequently Asked Questions
Can a limit be infinity?
We write limx→0 1/x² = ∞ to say the values grow without bound, but strictly the limit does not exist as a real number. The graph has a vertical asymptote there.
Why do limits matter?
The slope of a curve at a point and the exact area under a curve can only be defined as limits. That is the whole basis of differential and integral calculus.
Summary
- A limit is the value f(x) approaches as x approaches a.
- Try substitution; for 0/0, factorise, cancel or rationalise.
- limx→0 sin x / x = 1 in radians; at infinity, divide by the highest power.
- Continuity at a means f(a) exists and equals the limit there.
Next: Differentiation: The Basics.
