Continuity on an interval, and the standard continuous functions: polynomials, rational functions, sine, cosine and tangent
A function is continuous on an open interval ]a, b[ when it is continuous at every point of it. On a closed interval [a, b] we also ask for one-sided continuity at the ends: the right-hand limit at a equals f(a), and the left-hand limit at b equals f(b). Example: f(x) = 9 − x² on [−3, 3] is continuous inside, f(−3) = 0 = lim from the right, f(3) = 0 = lim from the left. We do not test every point, because the standard functions are known to be continuous: every polynomial on R; a rational function f/g on R minus the zeros of g; sin x and cos x on R; tan x on R − {π/2 + nπ}; and √f(x) wherever f(x) ≥ 0, with one-sided continuity at an end where f(x) = 0 (so √(x − 5) is continuous on [5, ∞[). Sums, products and quotients (where the denominator is not 0) of continuous functions are continuous. So x² − 5x + 4 is continuous on R, (x − 2)/(x + 3) on R − {−3}, (sin x + cos x)/(x² − 4) on R − {−2, 2}, and tan x/(x² + 1) on R − {π/2 + nπ}. The root √(x² + 2x + 3) is continuous on R because x² + 2x + 3 has discriminant 4 − 12 = −8 < 0, so it is always positive. A piecewise function is continuous on R when each piece is continuous and the pieces join at the cut. Take f(x) = sin x + 1 for 0 ≤ x < π and cos x + 2 for x ≥ π. At π: f(π) = cos π + 2 = 1, f(π⁻) = sin π + 1 = 1, f(π⁺) = 1, so it is continuous at π. At 0 it is continuous from the right with f(0) = 1. Hence f is continuous on [0, ∞[.
| Function | Continuous on |
|---|---|
| polynomial | R |
| rational f/g | R minus the zeros of g |
| sin x, cos x | R |
| tan x | R − {π/2 + nπ} |
| √f(x) | where f(x) ≥ 0 |
Sort them. Put each into a group (continuous on R, or not): x³ − 2x, 1/x, cos x, tan x, √(x² + 1), |x|. Give the reason for each in one phrase.