A monotone function has left and right limits everywhere, so every discontinuity is a jump. Only finitely many jumps can exceed 1/n, so the discontinuities are at most countable — no matter how many there are.
f(x−)=t<xsupf(t),f(x+)=t>xinff(t)
#{x:f(x+)−f(x−)>1/n}≤n(f(b)−f(a))
Examples & Exercises
Let f be increasing on [a,b]. Show that the left limit f(x−)=sup{f(t):t<x} exists at every x∈(a,b], and the right limit f(x+)=inf{f(t):t>x} exists at every x∈[a,b).
f(x−)=sup{f(t):t<x},f(x+)=inf{f(t):t>x}
f(x−)≤f(x)≤f(x+)(left limit is left-continuous)
At x=q1=21: f(21−)=f(21)≈0.8373474478721619, and the jump f(21+)−f(21)=2−1=21 — the left limit equals the value; the rise is only from the right.Show proof
For every t<x, monotonicity gives f(t)≤f(x). So {f(t):t<x} is a nonempty bounded set with upper bound f(x), and by completeness its supremum f(x−):=sup{f(t):t<x} exists as a real number.
This supremum is indeed the left limit. Given ε>0, the definition of the supremum yields t0<x with f(t0)>f(x−)−ε. By monotonicity, t0<t<x implies f(t0)≤f(t)≤f(x−)<f(x−)+ε, so ∣f(t)−f(x−)∣<ε — i.e. limt↑xf(t)=f(x−).
The right side is symmetric: {f(t):t>x} is bounded with lower bound f(x), so its infimum f(x+):=inf{f(t):t>x} exists, and the same ε argument gives limt↓xf(t)=f(x+). Hence a monotone function has both one-sided limits at every point.
Moreover f(x−)≤f(x)≤f(x+) always holds: taking the supremum of f(t)≤f(x) over t<x gives f(x−)≤f(x), and similarly on the right. In the example, at x=q1=21 the left equality holds (f(21−)=f(21)≈0.8373474478721619) while the right jumps by 21.
Show that a monotone function f on [a,b] has at most countably many discontinuities. Hint: show the jumps j(x)=f(x+)−f(x−)≥0 sum to at most f(b)−f(a), and that {x:j(x)>1/n} is finite with at most n(f(b)−f(a)) points.
j(x):=f(x+)−f(x−)≥0,x∑j(x)≤f(b)−f(a)
D=n=1⋃∞{x:j(x)>n1}countable union of finite sets
n=4 (threshold 41): exactly one jump exceeds 41 — k=1 (size 21) — within the bound 4(f(1)−f(0))≈7.999999761581421 (2−2=41 is not >41).Show proof
First, discontinuities can only be jumps. By problem 1, f(x−) and f(x+) always exist, so failure of limt→xf(t)=f(x) forces f(x−)<f(x+) — neither removable nor oscillatory discontinuities are possible; only a jump j(x)=f(x+)−f(x−)>0 remains.
For finitely many points x1<⋯<xm, the jump intervals [f(xi−),f(xi+)] are disjoint (monotonicity orders them) and all lie inside [f(a),f(b)]. Hence ∑i=1mj(xi)≤f(b)−f(a), and since m is arbitrary, the total of all jumps satisfies ∑xj(x)≤f(b)−f(a).
Fix n: if j(x)>n1 at mn points, then ∑j(x)≥mn⋅n1, so mn≤n(f(b)−f(a)) — a finite set. But the discontinuity set D={x:j(x)>0}=⋃n=1∞{x:j(x)>n1} is a countable union of finite sets, hence at most countable.
Numerical check (terms=24, n=4): the jumps are 2−k (k=1,…,24), and the only one exceeding 41 is 2−1=21 (2−2=41 is not a strict exceedance). Against the bound 4(f(1)−f(0))≈7.999999761581421, we get 1≤7.999… — exactly as the theorem predicts.
Let (qk) enumerate the rationals of (0,1) and g(x)=∑k:qk<x2−k. Show that g is increasing on [0,1], discontinuous exactly at the rationals, and continuous at every irrational.
g(x)=k:qk<x∑2−k,g(qm+)−g(qm)=2−m
if x∈/Q and N large, k>N∑2−k<ε and δ=dist(x,{q1,…,qN})>0
At x=q3=32: g(32)≈0.841285169124603, jumping up by 2−3=81=0.125 — g(32+)≈0.966285169124603.Show proof
The series always converges: 0≤∑k:qk<x2−k≤∑k=1∞2−k=1, so g(x) is well defined with values in [0,1]. If x<y then {k:qk<x}⊆{k:qk<y}, so the sum only gains terms and g(x)≤g(y) — g is increasing.
Let x=qm. The sum defining g(qm) excludes k=m (the condition qk<qm leaves out qm itself), but as t↓qm, eventually qm<t for all t>qm, adding 2−m. Hence g(qm+)=g(qm)+2−m — g jumps by 2m1 at qm, so it is discontinuous there.
Now let x be irrational. Given ε>0, pick N with ∑k>N2−k<ε (possible since the tail tends to 0). Since x is irrational, δ:=min1≤k≤N∣x−qk∣>0. If ∣t−x∣<δ, none of q1,…,qN lies strictly between x and t, so the difference g(t)−g(x) comes only from the tail: ∣g(t)−g(x)∣<ε. Hence g is continuous at x.
So g is discontinuous at every rational and continuous at every irrational — a concrete example of a monotone function discontinuous on a dense countable set (and, by problem 2, on no larger a set than dense). Numerically, at q3=32: g(32)≈0.841285169124603, g(32+)≈0.966285169124603 — the gap 0.125=2−3 matches the caption's jump.