Informally, a function is continuous if you can draw its graph without lifting your pencil from the paper. Limits make this precise: f is continuous at a when the limit at a exists and equals the value f(a). Continuous functions on closed intervals cannot skip values; that is the Intermediate Value Theorem.
01 · Continuity at a point
A function f is continuous at a if and only if all three conditions hold:
- f(a) is defined;
- limx→a f(x) exists;
- limx→a f(x) = f(a).
If any condition fails, f is discontinuous at a. For example, f(x) = (sin x)/x for x ≠ 0 with f(0) = 1 is continuous at 0, because limx→0 (sin x)/x = 1 = f(0).
02 · Types of discontinuity
Example: f(x) = (x² − 2x)/(x² − 4) = x(x − 2)/((x + 2)(x − 2)) has domain x ≠ ±2. At x = −2, lim f(x) = ±∞ from the two sides: an infinite discontinuity. At x = 2, lim f(x) = 1/2 but f(2) is undefined: a removable discontinuity.
03 · Continuity on an interval
f is continuous on an interval if it is continuous at every point of the interval. At an included endpoint only one side is available: f is continuous from the right at a if limx→a⁺ f(x) = f(a), and continuous from the left at b if limx→b⁻ f(x) = f(b).
For example, f(x) = √(x − 4) on [4, 7): at x = 4 we check limx→4⁺ √(x − 4) = 0 = f(4); at an interior point t, limx→t √(x − 4) = √(t − 4) = f(t). So f is continuous on [4, 7) (the point 7 is not included).
Everywhere: polynomials (such as x⁵ + 7x + 5), |x|, exponential functions (eˣ, e−(x + 4)), sin x and cos x.
On their domains: tan x, cot x, sec x, csc x, logₐ x and ln x, √x and ⁿ√x, rational functions. Sums, differences, products, quotients (where the denominator is not 0), and compositions of continuous functions are continuous.
04 · The Intermediate Value Theorem
If f is continuous on [a, b] and C is any number between f(a) and f(b), then there is at least one x₀ in [a, b] with f(x₀) = C. (A continuous curve from (a, f(a)) to (b, f(b)) must cross every height in between.)
Example: is there an x in (0, π/2) with cos x = x? Let f(x) = cos x − x, continuous on [0, π/2]. Then f(0) = 1 > 0 and f(π/2) = −π/2 < 0, so by the IVT some θ in (0, π/2) has f(θ) = 0, that is, cos θ = θ.
The IVT says a solution exists; halving the interval again and again (keeping the half where the sign changes) locates it.
Guided problems · Continuity
Original problems on the definition of continuity, types of discontinuity, and the Intermediate Value Theorem. Open a hint if you need one, check your answers, then try another set.
Check your understanding · Continuity
Answer each question on paper first, then open the answer to check yourself.
State the three conditions for f to be continuous at x = a.
Show answer
f(a) is defined, limx→a f(x) exists, and limx→a f(x) = f(a).
Find and classify the discontinuities of f(x) = (x² − 2x)/(x² − 4).
Show answer
f is undefined at x = ±2. At x = −2 the one-sided limits are ±∞: an infinite discontinuity. At x = 2, f(x) = x/(x + 2) for x ≠ 2, so the limit is 1/2 while f(2) is undefined: a removable discontinuity.
Show that x³ − x − 1 = 0 has a solution between 1 and 2.
Show answer
f(x) = x³ − x − 1 is a polynomial, so it is continuous on [1, 2]. f(1) = −1 < 0 and f(2) = 5 > 0, so by the IVT there is x₀ in (1, 2) with f(x₀) = 0 (x₀ ≈ 1.3247).
