A limit describes what a function approaches , not what it equals. That distinction is why x 2 − 4 x − 2 \dfrac{x^2-4}{x-2} x − 2 x 2 − 4 has a perfectly good limit at x = 2 x = 2 x = 2 even though the function is undefined there — and it is the idea the whole of calculus is built on.
The idea of a limit
lim x → a f ( x ) = L \lim_{x \to a} f(x) = L x → a lim f ( x ) = L
means: as x x x gets arbitrarily close to a a a (from either side), f ( x ) f(x) f ( x ) gets arbitrarily close to L L L .
The value f ( a ) f(a) f ( a ) is irrelevant to the limit. The function may be undefined at a a a , or defined with a completely different value, and the limit is unaffected.
For f ( x ) = x 2 − 4 x − 2 f(x) = \dfrac{x^2-4}{x-2} f ( x ) = x − 2 x 2 − 4 , substituting x = 2 x = 2 x = 2 gives 0 0 \frac00 0 0 — meaningless. But for every x ≠ 2 x \ne 2 x = 2 ,
x 2 − 4 x − 2 = ( x − 2 ) ( x + 2 ) x − 2 = x + 2 \frac{x^2-4}{x-2} = \frac{(x-2)(x+2)}{x-2} = x+2 x − 2 x 2 − 4 = x − 2 ( x − 2 ) ( x + 2 ) = x + 2
so as x → 2 x \to 2 x → 2 the function approaches 4 4 4 .
lim x → 2 x 2 − 4 x − 2 = 4 \lim_{x\to2}\frac{x^2-4}{x-2} = 4 x → 2 lim x − 2 x 2 − 4 = 4
Key result A limit asks where the function is heading , not where it arrives. The point x = a x = a x = a itself is deliberately excluded from the question.
One-sided limits
lim x → a − \lim_{x\to a^-} lim x → a − approaches from the left, lim x → a + \lim_{x\to a^+} lim x → a + from the right. The two-sided limit exists only if both agree .
For f ( x ) = ∣ x ∣ x f(x) = \dfrac{|x|}{x} f ( x ) = x ∣ x ∣ , the left limit at 0 is − 1 -1 − 1 and the right limit is + 1 +1 + 1 . They differ, so lim x → 0 f ( x ) \lim_{x\to0} f(x) lim x → 0 f ( x ) does not exist.
Limit laws
Provided the individual limits exist:
lim ( f ± g ) = lim f ± lim g \lim(f \pm g) = \lim f \pm \lim g lim ( f ± g ) = lim f ± lim g
lim ( f g ) = ( lim f ) ( lim g ) \lim(fg) = (\lim f)(\lim g) lim ( f g ) = ( lim f ) ( lim g )
lim f g = lim f lim g provided lim g ≠ 0 \lim\frac{f}{g} = \frac{\lim f}{\lim g} \quad \text{provided } \lim g \ne 0 lim g f = lim g lim f provided lim g = 0
lim ( k f ) = k lim f \lim(kf) = k\lim f lim ( k f ) = k lim f
For a polynomial, or any function continuous at a a a , the limit is simply the value:
lim x → 2 ( 3 x + 1 ) = 7 \lim_{x\to2}(3x+1) = 7 x → 2 lim ( 3 x + 1 ) = 7
Common mistake The quotient law fails when the denominator's limit is zero. That is exactly the case needing the algebraic work in the next section, and it is where most limit questions live.
Evaluating limits
Step 1: substitute. If you get a number, that is the answer.
Step 2: if you get 0 0 \frac00 0 0 — an indeterminate form — the expression must be simplified before substituting.
By factorising:
lim x → 3 x 2 − 9 x 2 − x − 6 = lim x → 3 ( x − 3 ) ( x + 3 ) ( x − 3 ) ( x + 2 ) = lim x → 3 x + 3 x + 2 = 6 5 \lim_{x\to3}\frac{x^2-9}{x^2-x-6} = \lim_{x\to3}\frac{(x-3)(x+3)}{(x-3)(x+2)} = \lim_{x\to3}\frac{x+3}{x+2} = \frac65 x → 3 lim x 2 − x − 6 x 2 − 9 = x → 3 lim ( x − 3 ) ( x + 2 ) ( x − 3 ) ( x + 3 ) = x → 3 lim x + 2 x + 3 = 5 6
By rationalising , when roots are involved:
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 \lim_{x\to0}\frac{\sqrt{x+4}-2}{x} = \lim_{x\to0}\frac{(x+4)-4}{x\left(\sqrt{x+4}+2\right)} = \lim_{x\to0}\frac{1}{\sqrt{x+4}+2} = \frac14 x → 0 lim x x + 4 − 2 = x → 0 lim x ( x + 4 + 2 ) ( x + 4 ) − 4 = x → 0 lim x + 4 + 2 1 = 4 1
Key result 0 0 \frac00 0 0 is not an answer — it is a signal that the offending factor is still present and must be cancelled. k 0 \frac{k}{0} 0 k with k ≠ 0 k \ne 0 k = 0 is different: that limit does not exist (the function runs off to infinity).
Limits at infinity
Divide every term by the highest power of x x x in the denominator , then use 1 x n → 0 \dfrac{1}{x^n} \to 0 x n 1 → 0 .
lim x → ∞ 3 x 2 + 2 x x 2 − 5 = lim x → ∞ 3 + 2 x 1 − 5 x 2 = 3 1 = 3 \lim_{x\to\infty}\frac{3x^2+2x}{x^2-5} = \lim_{x\to\infty}\frac{3 + \frac2x}{1 - \frac{5}{x^2}} = \frac{3}{1} = 3 x → ∞ lim x 2 − 5 3 x 2 + 2 x = x → ∞ lim 1 − x 2 5 3 + x 2 = 1 3 = 3
lim x → ∞ 2 x + 1 x 2 + 3 = lim x → ∞ 2 x + 1 x 2 1 + 3 x 2 = 0 \lim_{x\to\infty}\frac{2x+1}{x^2+3} = \lim_{x\to\infty}\frac{\frac2x + \frac{1}{x^2}}{1 + \frac{3}{x^2}} = 0 x → ∞ lim x 2 + 3 2 x + 1 = x → ∞ lim 1 + x 2 3 x 2 + x 2 1 = 0
The pattern for rational functions:
Degrees
Limit
top < bottom
0 0 0
top = bottom
ratio of leading coefficients
top > bottom
does not exist (grows without bound)
Exam tip These limits are exactly the horizontal asymptotes of the graph. Knowing the table lets you write down an asymptote without doing any work.
Special trigonometric limits
lim θ → 0 sin θ θ = 1 lim θ → 0 1 − cos θ θ = 0 \lim_{\theta\to0}\frac{\sin\theta}{\theta} = 1 \qquad \lim_{\theta\to0}\frac{1-\cos\theta}{\theta} = 0 θ → 0 lim θ sin θ = 1 θ → 0 lim θ 1 − cos θ = 0
with θ \theta θ in radians . The first says that for small angles sin θ ≈ θ \sin\theta \approx \theta sin θ ≈ θ — which is why radians are the natural unit for calculus.
Adapting the first result:
lim x → 0 sin 3 x x = lim x → 0 3 ⋅ sin 3 x 3 x = 3 ( 1 ) = 3 \lim_{x\to0}\frac{\sin 3x}{x} = \lim_{x\to0}\ 3 \cdot \frac{\sin 3x}{3x} = 3(1) = 3 x → 0 lim x sin 3 x = x → 0 lim 3 ⋅ 3 x sin 3 x = 3 ( 1 ) = 3
lim x → 0 sin 5 x sin 2 x = lim x → 0 sin 5 x 5 x ⋅ 5 x sin 2 x 2 x ⋅ 2 x = 5 2 \lim_{x\to0}\frac{\sin 5x}{\sin 2x} = \lim_{x\to0}\frac{\frac{\sin 5x}{5x}\cdot 5x}{\frac{\sin 2x}{2x}\cdot 2x} = \frac{5}{2} x → 0 lim sin 2 x sin 5 x = x → 0 lim 2 x s i n 2 x ⋅ 2 x 5 x s i n 5 x ⋅ 5 x = 2 5
Key result Manufacture a matching denominator. To use the rule on sin k x \sin kx sin k x , you need k x kx k x underneath — so multiply and divide by k k k .
Common mistake In degrees, lim θ → 0 sin θ θ = π 180 \lim_{\theta\to0}\frac{\sin\theta}{\theta} = \frac{\pi}{180} lim θ → 0 θ s i n θ = 180 π , not 1. Every calculus result involving trigonometric functions assumes radians.
Continuity
f f f is continuous at x = a x = a x = a if all three of these hold:
f ( a ) f(a) f ( a ) is defined;
lim x → a f ( x ) \lim_{x\to a} f(x) lim x → a f ( x ) exists;
lim x → a f ( x ) = f ( a ) \lim_{x\to a} f(x) = f(a) lim x → a f ( x ) = f ( a ) .
Informally: you can draw the graph through that point without lifting your pen.
x 2 − 4 x − 2 \dfrac{x^2-4}{x-2} x − 2 x 2 − 4 is not continuous at x = 2 x = 2 x = 2 — the limit exists but f ( 2 ) f(2) f ( 2 ) does not. This is a removable discontinuity: defining f ( 2 ) = 4 f(2) = 4 f ( 2 ) = 4 repairs it.
Polynomials are continuous everywhere. Rational functions are continuous except where the denominator vanishes.
Key result A limit existing is not the same as continuity. Continuity needs the limit and the function value and for them to agree — three conditions, all required.
The derivative from first principles
Every derivative rule you will meet comes from one limit:
f ′ ( x ) = lim h → 0 f ( x + h ) − f ( x ) h f'(x) = \lim_{h\to0}\frac{f(x+h) - f(x)}{h} f ′ ( x ) = h → 0 lim h f ( x + h ) − f ( x )
This is the gradient of a chord as its width shrinks to zero.
Differentiate f ( x ) = x 2 f(x) = x^2 f ( x ) = x 2 from first principles.
f ′ ( x ) = lim h → 0 ( x + h ) 2 − x 2 h f'(x) = \lim_{h\to0}\frac{(x+h)^2 - x^2}{h} f ′ ( x ) = h → 0 lim h ( x + h ) 2 − x 2
= lim h → 0 x 2 + 2 x h + h 2 − x 2 h = \lim_{h\to0}\frac{x^2 + 2xh + h^2 - x^2}{h} = h → 0 lim h x 2 + 2 x h + h 2 − x 2
= lim h → 0 2 x h + h 2 h = \lim_{h\to0}\frac{2xh + h^2}{h} = h → 0 lim h 2 x h + h 2
= lim h → 0 ( 2 x + h ) = \lim_{h\to0}(2x + h) = h → 0 lim ( 2 x + h )
= 2 x = 2x = 2 x
And f ( x ) = x 3 f(x) = x^3 f ( x ) = x 3 :
( x + h ) 3 − x 3 h = 3 x 2 h + 3 x h 2 + h 3 h = 3 x 2 + 3 x h + h 2 ⟶ 3 x 2 \frac{(x+h)^3 - x^3}{h} = \frac{3x^2h + 3xh^2 + h^3}{h} = 3x^2 + 3xh + h^2 \ \longrightarrow \ 3x^2 h ( x + h ) 3 − x 3 = h 3 x 2 h + 3 x h 2 + h 3 = 3 x 2 + 3 x h + h 2 ⟶ 3 x 2
Common mistake The h h h can only be cancelled after the numerator has been expanded and simplified. Cancelling early, or substituting h = 0 h = 0 h = 0 before cancelling, gives 0 0 \frac00 0 0 and no answer.
Key result Write lim h → 0 \lim_{h\to0} lim h → 0 on every line until the moment you substitute. Dropping the limit notation partway through loses marks in a "from first principles" question, where the method is what is being examined.