Continuity of real functions

At a Glance

Why This Chapter Matters

Continuity questions appear in Section A (compulsory) and are always 10 marks — meaning a clean, structured answer wins full marks in five minutes and frees time for harder problems. The two question types are narrow: either discuss one-sided limits to classify a discontinuity, or evaluate a 0/00/0 limit to assign a value that makes a function continuous. Both types reward a fixed three-step scaffold, and both appeared in recent papers (2019, 2024), making this a reliable source of easy marks.

Minimum Theory

Definition of continuity. A function ff is continuous at x=ax=a if: (i) f(a)f(a) is defined, (ii) lim⁡x→af(x)\lim_{x\to a}f(x) exists, and (iii) lim⁡x→af(x)=f(a)\lim_{x\to a}f(x)=f(a). Equivalently, lim⁡x→a−f(x)=lim⁡x→a+f(x)=f(a)\lim_{x\to a^-}f(x)=\lim_{x\to a^+}f(x)=f(a).

Types of discontinuity. If both one-sided limits exist but are unequal, ff has a jump discontinuity. If both one-sided limits equal a finite value L≠f(a)L\ne f(a) (or f(a)f(a) is undefined), the discontinuity is removable and ff can be redefined as f(a)=Lf(a)=L to make it continuous.

Standard limits. lim⁡h→0sin⁡hh=1\displaystyle\lim_{h\to 0}\frac{\sin h}{h}=1. For 0/00/0 limits, use factoring, substitution x=a+hx=a+h, or L’Hôpital’s rule. For functions involving e1/xe^{1/x}: as x→0+x\to 0^+, 1/x→+∞1/x\to+\infty and e1/x→+∞e^{1/x}\to+\infty; as x→0−x\to 0^-, 1/x→−∞1/x\to-\infty and e1/x→0e^{1/x}\to 0. The behaviour is asymmetric — always treat the two sides separately.

Question Archetypes

ArchetypeYou are seeing this when…
continuity-discussion”Discuss the continuity of f(x)f(x)…” at a point where a formula changes or involves e±1/xe^{\pm 1/x}
removable-limit”ff is continuous on [a,b][a,b] and given by a formula that is 0/00/0 at the endpoint — find ff at that endpoint”

continuity-discussion (1 question(s); 2024)

Recognition Cues

Solution Template

  1. Away from the special point. Show ff is continuous for x≠0x\ne 0 (usually: composition of continuous functions, denominator nonzero).
  2. Left-hand limit at x=0x=0. Determine the sign of the exponent as x→0−x\to 0^- and evaluate e±∞e^{\pm\infty}.
  3. Right-hand limit at x=0x=0. Same analysis for x→0+x\to 0^+.
  4. Compare limits with f(0)f(0). State whether left-/right-continuous, and classify the discontinuity (jump, removable, or continuity).

Worked Example

2024 Paper 1, 2024-P1-Q1c (10 marks)

Discuss the continuity of f(x)=11−e−1/xf(x)=\dfrac{1}{1-e^{-1/x}} for x≠0x\ne 0, f(0)=0f(0)=0, for all values of xx.

Step 1 — Away from x=0x=0. For x≠0x\ne 0, −1/x-1/x is finite and nonzero, so e−1/x≠1e^{-1/x}\ne 1, and the denominator is nonzero. Hence ff is a composition of continuous functions and is continuous at every x≠0x\ne 0.

Step 2 — Left-hand limit. As x→0−x\to 0^-, −1/x→+∞-1/x\to+\infty, so e−1/x→+∞e^{-1/x}\to+\infty, and

lim⁡x→0−f(x)=11−∞=0.\lim_{x\to 0^-}f(x)=\frac{1}{1-\infty}=0.

Step 3 — Right-hand limit. As x→0+x\to 0^+, −1/x→−∞-1/x\to-\infty, so e−1/x→0e^{-1/x}\to 0, and

lim⁡x→0+f(x)=11−0=1.\lim_{x\to 0^+}f(x)=\frac{1}{1-0}=1.

Step 4 — Compare with f(0)=0f(0)=0.

Left limit =0=f(0)=0=f(0): ff is left-continuous at 00.

Right limit =1≠f(0)=0=1\ne f(0)=0: ff is not right-continuous at 00.

  f is continuous for all x≠0;  f has a jump discontinuity at x=0 (jump =1).  \boxed{\;f\text{ is continuous for all }x\ne 0;\;f\text{ has a jump discontinuity at }x=0\text{ (jump }=1\text{).}\;}

Common Traps


removable-limit (1 question(s); 2019)

Recognition Cues

Solution Template

  1. Invoke continuity. State: since ff is continuous at x=ax=a, f(a)=lim⁡x→af(x)f(a)=\lim_{x\to a}f(x).
  2. Identify 0/00/0. Show numerator and denominator both vanish at x=ax=a.
  3. Substitute x=a+hx=a+h, h→0h\to 0. Rewrite numerator and denominator in terms of hh.
  4. Evaluate the limit. Factor, cancel, and use standard limits (e.g.\ sin⁡h/h→1\sin h/h\to 1).
  5. State the value and box the answer.

Worked Example

2019 Paper 1, 2019-P1-Q1a (10 marks)

Let f:[0,π2]→Rf:\left[0,\dfrac{\pi}{2}\right]\to\mathbb R be continuous and f(x)=cos⁡2x4x2−π2f(x)=\dfrac{\cos^2 x}{4x^2-\pi^2} for 0≤x<π20\le x<\dfrac{\pi}{2}. Find f ⁣(π2)f\!\left(\dfrac{\pi}{2}\right).

Step 1 — Invoke continuity. Since ff is continuous on [0,π2]\left[0,\frac{\pi}{2}\right],

f ⁣(π2)=lim⁡x→π2−cos⁡2x4x2−π2.f\!\left(\tfrac{\pi}{2}\right)=\lim_{x\to\frac{\pi}{2}^-}\frac{\cos^2 x}{4x^2-\pi^2}.

Step 2 — Identify 0/00/0. As x→π2x\to\frac{\pi}{2}: cos⁡x→0\cos x\to 0 so cos⁡2x→0\cos^2 x\to 0; 4x2−π2=(2x−π)(2x+π)→0⋅(2π)=04x^2-\pi^2=(2x-\pi)(2x+\pi)\to 0\cdot(2\pi)=0.

Step 3 — Substitute x=π2+hx=\frac{\pi}{2}+h, h→0h\to 0. Then cos⁡x=cos⁡ ⁣(π2+h)=−sin⁡h\cos x=\cos\!\left(\frac{\pi}{2}+h\right)=-\sin h, so cos⁡2x=sin⁡2h\cos^2 x=\sin^2 h. Also

4x2−π2=(2x−π)(2x+π)=2h⋅(2π+2h)=4h(π+h).4x^2-\pi^2=(2x-\pi)(2x+\pi)=2h\cdot(2\pi+2h)=4h(\pi+h).

Hence

cos⁡2x4x2−π2=sin⁡2h4h(π+h)=14(π+h)⋅(sin⁡hh) ⁣2⋅h.\frac{\cos^2 x}{4x^2-\pi^2}=\frac{\sin^2 h}{4h(\pi+h)}=\frac{1}{4(\pi+h)}\cdot\left(\frac{\sin h}{h}\right)^{\!2}\cdot h.

Step 4 — Evaluate. Using sin⁡h/h→1\sin h/h\to 1 as h→0h\to 0:

lim⁡h→014(π+h)⋅1⋅h=14π⋅0=0.\lim_{h\to 0}\frac{1}{4(\pi+h)}\cdot 1\cdot h=\frac{1}{4\pi}\cdot 0=0.

  f ⁣(π2)=0.  \boxed{\;f\!\left(\tfrac{\pi}{2}\right)=0.\;}

Common Traps


Marks-Aware Writing

Both exam questions are 10 marks. For the continuity-discussion type: the four steps (continuity away from special point, left limit, right limit, comparison with f(0)f(0)) together account for all marks — omitting the step that shows continuity away from zero costs 2 marks, and treating both one-sided limits identically costs 5 marks. Always name the discontinuity type. For the removable-limit type: stating “by continuity, f(π/2)=lim⁡⋯f(\pi/2)=\lim\cdots” is worth 2 marks; the substitution and limit evaluation account for the remaining 8. A student who writes 1/(4π)1/(4\pi) (first-order/first-order confusion) earns at most 3 marks.

Practice Set

Ready to drill what you just read?

Daily Practice turns these patterns into one adaptive set a day — practised daily until they're automatic, free for everyone.

See Daily Practice →

This chapter is part of the Maths Coverage Map — 14 years, mapped. Get the take-away PDF free.