Skip to content

Mathematics · Ch 9 — Differential Calculus – Limits and Continuity

Algebra of continuous functions

9.3.2

Algebra of continuous functions

Just as limits combine algebraically (Theorem 9.2), so does continuity — which should be unsurprising, since continuity is itself defined directly in terms of limits. If ff and gg are both continuous at x0x_0, then so are:

  1. f+gf+g,
  2. f−gf-g,
  3. f⋅gf\cdot g, and
  4. f/gf/g, provided g(x0)≠0g(x_0)\ne0.

A fifth, independent rule handles composition:

  1. Composite function rule. If gg is continuous at x0x_0 and ff is continuous at g(x0)g(x_0), then the composite f∘gf\circ g is continuous at x0x_0.

Continuity on a closed interval. Continuity "at a point" needs an open interval surrounding that point (so both sides can be approached) — but a closed interval [a,b][a,b] has no room to spare outside its endpoints aa and bb. This is handled with a one-sided adjustment:

Definition 9.9. f:[a,b]→Rf:[a,b]\to\mathbb R is continuous on [a,b][a,b] if it is continuous on the open interval (a,b)(a,b), and lim⁡x→a+f(x)=f(a)\lim_{x\to a^+}f(x)=f(a), and lim⁡x→b−f(x)=f(b)\lim_{x\to b^-}f(x)=f(b) — i.e. continuous from the right at aa and from the left at bb.

Illustration 9.7. f(x)=1−x2f(x)=\sqrt{1-x^2} has domain exactly [−1,1][-1,1] (since 1−x2≥01-x^2\ge0 only there). At any interior point c∈(−1,1)c\in(-1,1), lim⁡x→cf(x)=1−c2=f(c)\lim_{x\to c} f(x)=\sqrt{1-c^2}=f(c) by the continuity of the square-root and polynomial building blocks (or, equivalently, by the composite rule, since 1−x21-x^2 is a continuous polynomial and x\sqrt{\phantom x} is continuous on its domain). At the two endpoints, the one-sided limits also match the function value: lim⁡x→−1+f(x)=0=f(−1)\lim_{x\to-1^+}f(x)=0=f(-1) and lim⁡x→1−f(x)=0=f(1)\lim_{x\to1^-}f(x)=0=f(1). So ff is continuous on the entire closed interval [−1,1][-1,1].

Worked techniques (Example 9.37).

  • f(x)=tan⁡xf(x)=\tan x is continuous on each open interval between consecutive points where it is undefined, i.e. on each interval of the form ((n−12)π,(n+12)π)\left(\left(n-\tfrac12\right)\pi,\left(n+\tfrac12\right)\pi\right) for integer nn — continuity is a local property, so a function can be perfectly continuous "in pieces" even though it is undefined at isolated points scattered through its natural domain.
  • g(x)=sin⁡(1/x)g(x)=\sin(1/x) for x≠0x\ne0, with g(0)=0g(0)=0: away from 00 this is continuous (a composite of continuous functions), but at 00 it fails, because lim⁡x→0sin⁡(1/x)\lim_{x\to0}\sin(1/x) does not exist at all — the function oscillates through every value in [−1,1][-1,1] infinitely often as x→0x\to0 — so no choice of value at 00 could ever make it continuous there.
  • h(x)=xsin⁡(1/x)h(x)=x\sin(1/x) for x≠0x\ne0, with h(0)=0h(0)=0: this one is continuous even at 00, because although sin⁡(1/x)\sin(1/x) itself has no limit, it is always bounded between −1-1 and 11, so −∣x∣≤xsin⁡(1/x)≤∣x∣-|x|\le x\sin(1/x)\le|x|; both bounds tend to 00 as x→0x\to0, and the Sandwich Theorem forces lim⁡x→0h(x)=0=h(0)\lim_{x\to0}h(x)=0=h(0). This example nicely shows that multiplying an oscillating-but-bounded factor by a factor shrinking to 00 can restore continuity where the oscillating factor alone had none. …