Continuity of a Function
Quick answer Understand what it means for a function to be continuous at a point, and learn the algebra rules that let us combine continuous functions.
A function f is said to be continuous at a point x = a in its domain if the value of the function at that point equals the limit of the function as x approaches a. Formally, f is continuous at x = a if:
limx→a f(x) = f(a)
This single condition packs three separate requirements: (i) f(a) must be defined, (ii) the limit limx→a f(x) must exist, which means the left-hand limit (LHL) and right-hand limit (RHL) at a must be equal, and (iii) this common limit value must equal f(a). If even one of these fails, f is discontinuous at x = a.
A function is continuous on an interval if it is continuous at every point of that interval. Polynomial functions, sin x, cos x, ex, and ln x (wherever defined) are continuous everywhere on their domains. Functions such as the greatest integer function [x] and 1/x are examples of functions that fail to be continuous at certain points (integers, and x = 0, respectively).
Algebra of continuous functions: If f and g are both continuous at x = a, then so are f + g, f − g, f·g, and (provided g(a) ≠ 0) f/g. Also, if f is continuous at a and g is continuous at f(a), the composite function g∘f is continuous at a.
Worked Example: Examine whether the function f defined by f(x) = (x² − 9)/(x − 3) for x ≠ 3, and f(3) = 6, is continuous at x = 3.
For x ≠ 3, (x² − 9)/(x − 3) = (x − 3)(x + 3)/(x − 3) = x + 3. So limx→3 f(x) = limx→3 (x + 3) = 6. Since f(3) is also given as 6, we have limx→3 f(x) = f(3) = 6. Hence f is continuous at x = 3.
Worked Example (discontinuity): Let f(x) = x/|x| for x ≠ 0. As x → 0−, f(x) = x/(−x) = −1, so LHL = −1. As x → 0+, f(x) = x/x = 1, so RHL = 1. Since LHL ≠ RHL, the limit at x = 0 does not exist, so however f(0) is defined, f is discontinuous at x = 0.
- f is continuous at x=a only when LHL = RHL = f(a).
- Polynomials, sin x, cos x, e^x and ln x are continuous throughout their natural domains.
- Sum, difference, product and quotient (denominator ≠ 0) of continuous functions are continuous.
- The composite of continuous functions is continuous.
- The greatest integer function [x] is discontinuous at every integer.
