Continuity has three faces: the ε-δ argument, the sequential test, and preimages of open sets. Placing f(x)=x2 next to a jump function shows the three faces saying the same thing.
∀ε>0∃δ>0:∣x−x0∣<δ⇒∣f(x)−f(x0)∣<ε
xn→x0⇒f(xn)→f(x0)
f continuous⟺f−1(V) open for every open V
Examples & Exercises
Prove completely that ε-δ continuity of f at x0 implies sequential continuity: f(xn)→f(x0) for every sequence xn→x0.
∀ε>0∃δ>0:∣x−x0∣<δ⇒∣f(x)−f(x0)∣<ε
xn→x0⟹f(xn)→f(x0)
f(x)=x2, ε=0.3: δmax≈0.54 (=0.3) keeps every x inside the band — this δ is the heart of the proof below.Show proof
Assume f is ε-δ continuous at x0: for every ε>0 there is δ>0 with ∣x−x0∣<δ⇒∣f(x)−f(x0)∣<ε.
Take a sequence xn→x0 and ε>0. Fetch the δ for this ε from above; since xn→x0, there is N with n>N⇒∣xn−x0∣<δ.
For all n>N, ∣f(xn)−f(x0)∣<ε, so f(xn)→f(x0). Since ε>0 was arbitrary, sequential continuity holds.
Prove by contrapositive: if f is not ε-δ continuous at x0, one can build a sequence (xn) with xn→x0 but f(xn)→f(x0).
∃ε0>0∀δ>0∃x:∣x−x0∣<δ and ∣f(x)−f(x0)∣≥ε0
∣xn−x0∣<n1,∣f(xn)−f(x0)∣≥ε0
The jump function, ε=0.3: xn=(−1)n/n→0, yet f(xn) bounces near 0 and 1 and never settles at f(0)=1 — the proof below builds this sequence in general form.Show proof
Assume f is not ε-δ continuous at x0. Negating the definition: some ε0>0 exists such that for every δ>0 there is x with ∣x−x0∣<δ and ∣f(x)−f(x0)∣≥ε0.
For each natural n, plug in δ=1/n and pick xn: ∣xn−x0∣<1/n and ∣f(xn)−f(x0)∣≥ε0.
By the squeeze theorem, ∣xn−x0∣<1/n→0, so xn→x0. But ∣f(xn)−f(x0)∣≥ε0 for every n, so f(xn)→f(x0) — if f(xn)→f(x0) there would have to be n with ∣f(xn)−f(x0)∣<ε0/2, a contradiction. Hence sequential continuity fails.
Prove completely in both directions that f is continuous on its whole domain if and only if the preimage f−1(V) of every open set is open.
f continuous⟺f−1(V) open for every open V
V=(f(x0)−ε,f(x0)+ε),U=f−1(V)∋x0 open
The jump function, ε=0.3: the preimage of V=(0.7,1.3) contains no interval around 0 (on the left only ∣x∣≈0.84 and beyond qualifies) — the preimage of an open set is not open.Show proof
(⇒) Let f be continuous and V open. Take x0∈f−1(V); then f(x0)∈V, and since V is open there is ε>0 with (f(x0)−ε,f(x0)+ε)⊂V.
Continuity at x0 gives δ>0 with ∣x−x0∣<δ⇒∣f(x)−f(x0)∣<ε. Then every x in (x0−δ,x0+δ) satisfies f(x)∈(f(x0)−ε,f(x0)+ε)⊂V, so x∈f−1(V). Thus x0 is an interior point of f−1(V); x0 was arbitrary, so f−1(V) is open.
(⇐) Assume the preimage of every open set is open. For x0 and ε>0, V=(f(x0)−ε,f(x0)+ε) is open, so U=f−1(V) is open with x0∈U. Hence some δ>0 has (x0−δ,x0+δ)⊂U, and ∣x−x0∣<δ gives f(x)∈V, i.e. ∣f(x)−f(x0)∣<ε. Since x0 was arbitrary, f is continuous.