Discontinuities of Monotone Functions

This scene inspects the discontinuities of a monotone function. It only ever climbs, so every break is a jump.

Big jumps are few. The total climb is fixed, and that bounds them. Set a threshold: only finitely many jumps exceed it. Lowering the threshold step by step counts all discontinuities.

For example, take a πŸͺœ staircase three meters tall in total. Steps higher than 30 cm number at most nine. Counting steps down to 3 cm changes nothing: many steps, still countable one by one.

f(xβˆ’)=sup⁑t<xf(t),f(x+)=inf⁑t>xf(t)f(x-) = \sup_{t<x} f(t), \qquad f(x+) = \inf_{t>x} f(t)
#{x:f(x+)βˆ’f(xβˆ’)>1/n}≀n (f(b)βˆ’f(a))\#\{x : f(x+) - f(x-) > 1/n\} \le n\,(f(b) - f(a))

Examples & Exercises

Let ff be increasing on [a,b][a, b].

Show that the left limit f(xβˆ’)=sup⁑{f(t):t<x}f(x-) = \sup\{f(t) : t < x\} exists at every x∈(a,b]x \in (a, b], and the right limit f(x+)=inf⁑{f(t):t>x}f(x+) = \inf\{f(t) : t > x\} exists at every x∈[a,b)x \in [a, b).

f(xβˆ’)=sup⁑{f(t):t<x},f(x+)=inf⁑{f(t):t>x}f(x-) = \sup\{f(t) : t < x\}, \qquad f(x+) = \inf\{f(t) : t > x\}
f(xβˆ’)≀f(x)≀f(x+)(leftΒ limitΒ isΒ left-continuous)f(x-) \le f(x) \le f(x+) \quad \text{(left limit is left-continuous)}
At x=q1=12x = q_1 = \frac{1}{2}: f(12βˆ’)=f(12)β‰ˆ0.8373474478721619f(\frac{1}{2}-) = f(\frac{1}{2}) \approx 0.8373474478721619, and the jump f(12+)βˆ’f(12)=2βˆ’1=12f(\frac{1}{2}+) - f(\frac{1}{2}) = 2^{-1} = \frac{1}{2} β€” the left limit equals the value; the rise is only from the right.
Show proof
  1. For every t<xt < x, monotonicity gives f(t)≀f(x)f(t) \le f(x). So {f(t):t<x}\{f(t) : t < x\} is a nonempty bounded set with upper bound f(x)f(x), and by completeness its supremum f(xβˆ’):=sup⁑{f(t):t<x}f(x-) := \sup\{f(t) : t < x\} exists as a real number.

  2. This supremum is indeed the left limit. Given Ξ΅>0\varepsilon > 0, the definition of the supremum yields t0<xt_0 < x with f(t0)>f(xβˆ’)βˆ’Ξ΅f(t_0) > f(x-) - \varepsilon.

    By monotonicity, t0<t<xt_0 < t < x implies f(t0)≀f(t)≀f(xβˆ’)<f(xβˆ’)+Ξ΅f(t_0) \le f(t) \le f(x-) < f(x-) + \varepsilon, so ∣f(t)βˆ’f(xβˆ’)∣<Ξ΅|f(t) - f(x-)| < \varepsilon β€” i.e. lim⁑t↑xf(t)=f(xβˆ’)\lim_{t \uparrow x} f(t) = f(x-).

  3. The right side is symmetric: {f(t):t>x}\{f(t) : t > x\} is bounded with lower bound f(x)f(x), so its infimum f(x+):=inf⁑{f(t):t>x}f(x+) := \inf\{f(t) : t > x\} exists, and the same Ξ΅\varepsilon argument gives lim⁑t↓xf(t)=f(x+)\lim_{t \downarrow x} f(t) = f(x+). Hence a monotone function has both one-sided limits at every point.

  4. Moreover f(xβˆ’)≀f(x)≀f(x+)f(x-) \le f(x) \le f(x+) always holds: taking the supremum of f(t)≀f(x)f(t) \le f(x) over t<xt < x gives f(xβˆ’)≀f(x)f(x-) \le f(x), and similarly on the right. In the example, at x=q1=12x = q_1 = \frac{1}{2} the left equality holds (f(12βˆ’)=f(12)β‰ˆ0.8373474478721619f(\frac{1}{2}-) = f(\frac{1}{2}) \approx 0.8373474478721619) while the right jumps by 12\frac{1}{2}.

Show that a monotone function ff on [a,b][a, b] has at most countably many discontinuities.

Hint: show the jumps j(x)=f(x+)βˆ’f(xβˆ’)β‰₯0j(x) = f(x+) - f(x-) \ge 0 sum to at most ∣f(b)βˆ’f(a)∣|f(b) - f(a)|, and that {x:j(x)>1/n}\{x : j(x) > 1/n\} is finite with at most n∣f(b)βˆ’f(a)∣n|f(b) - f(a)| points.

j(x):=f(x+)βˆ’f(xβˆ’)β‰₯0,βˆ‘xj(x)β‰€βˆ£f(b)βˆ’f(a)∣j(x) := f(x+) - f(x-) \ge 0, \qquad \sum_{x} j(x) \le |f(b) - f(a)|
D=⋃n=1∞{x:j(x)>1n}countableΒ unionΒ ofΒ finiteΒ setsD = \bigcup_{n=1}^{\infty} \left\{x : j(x) > \frac{1}{n}\right\} \quad \text{countable union of finite sets}
n=4n = 4 (threshold 14\frac{1}{4}): exactly one jump exceeds 14\frac{1}{4} β€” k=1k = 1 (size 12\frac{1}{2}) β€” within the bound 4(f(1)βˆ’f(0))β‰ˆ7.9999997615814214(f(1) - f(0)) \approx 7.999999761581421 (2βˆ’2=142^{-2} = \frac{1}{4} is not >14> \frac{1}{4}).
Show proof
  1. Reduction and endpoints: if ff is decreasing, βˆ’f-f is increasing with the same discontinuity set and jump sizes (βˆ’f)(x+)βˆ’(βˆ’f)(xβˆ’)=f(xβˆ’)βˆ’f(x+)=∣f(x+)βˆ’f(xβˆ’)∣(-f)(x+) - (-f)(x-) = f(x-) - f(x+) = |f(x+) - f(x-)|; the conclusion for βˆ’f-f (bound (βˆ’f)(b)βˆ’(βˆ’f)(a)=∣f(b)βˆ’f(a)∣(-f)(b) - (-f)(a) = |f(b) - f(a)|) is then the conclusion for ff. So assume ff is increasing from here, with bound f(b)βˆ’f(a)f(b) - f(a).

    At the endpoints only the inward one-sided limit exists, so read f(aβˆ’):=f(a)f(a-) := f(a) and f(b+):=f(b)f(b+) := f(b): the endpoint jumps are j(a)=f(a+)βˆ’f(a)j(a) = f(a+) - f(a) and j(b)=f(b)βˆ’f(bβˆ’)j(b) = f(b) - f(b-), and j(x)β‰₯0j(x) \ge 0 at every point with this convention. First, discontinuities can only be jumps. By problem 1, f(xβˆ’)f(x-) and f(x+)f(x+) always exist, so failure of lim⁑tβ†’xf(t)=f(x)\lim_{t \to x} f(t) = f(x) forces f(xβˆ’)<f(x+)f(x-) < f(x+) β€” neither removable nor oscillatory discontinuities are possible; only a jump j(x)=f(x+)βˆ’f(xβˆ’)>0j(x) = f(x+) - f(x-) > 0 remains.

  2. Take finitely many points x1<β‹―<xmx_1 < \cdots < x_m. If xi<xi+1x_i < x_{i+1} then for any tt with xi<t<xi+1x_i < t < x_{i+1}, monotonicity gives f(xi+)=inf⁑s>xif(s)≀f(t)≀sup⁑s<xi+1f(s)=f(xi+1βˆ’)f(x_i+) = \inf_{s > x_i} f(s) \le f(t) \le \sup_{s < x_{i+1}} f(s) = f(x_{i+1}-). Hence f(xi+)≀f(xi+1βˆ’)f(x_i+) \le f(x_{i+1}-) β€” the interiors of the jump intervals [f(xiβˆ’),f(xi+)][f(x_i-), f(x_i+)] and [f(xi+1βˆ’),f(xi+1+)][f(x_{i+1}-), f(x_{i+1}+)] are pairwise disjoint (they may share an endpoint).

    The endpoint positions also hold: for a<t<x1a < t < x_1, f(a+)≀f(t)≀f(x1βˆ’)f(a+) \le f(t) \le f(x_1-), so f(a+)≀f(x1βˆ’)f(a+) \le f(x_1-), and likewise f(xm+)≀f(bβˆ’)f(x_m+) \le f(b-). Chaining everything: f(a+)≀f(x1βˆ’)≀f(x1+)≀f(x2βˆ’)≀⋯≀f(xm+)≀f(bβˆ’)f(a+) \le f(x_1-) \le f(x_1+) \le f(x_2-) \le \cdots \le f(x_m+) \le f(b-). The jump intervals are therefore disjoint subintervals of [f(a+),f(bβˆ’)][f(a+), f(b-)], and the sum of the lengths of disjoint subintervals is at most the length of the containing interval β€” telescoping along this chain gives the inequality below.

    Every jump interval lies in [f(a+),f(bβˆ’)]βŠ†[f(a),f(b)][f(a+), f(b-)] \subseteq [f(a), f(b)], so βˆ‘i=1mj(xi)=βˆ‘i=1m(f(xi+)βˆ’f(xiβˆ’))≀f(bβˆ’)βˆ’f(a+)≀f(b)βˆ’f(a)\sum_{i=1}^{m} j(x_i) = \sum_{i=1}^{m} \big(f(x_i+) - f(x_i-)\big) \le f(b-) - f(a+) \le f(b) - f(a). Since mm is arbitrary, the sum over all jumps satisfies βˆ‘xj(x)≀f(b)βˆ’f(a)\sum_x j(x) \le f(b) - f(a).

  3. Fix nn: if j(x)>1nj(x) > \frac{1}{n} at mnm_n points, then βˆ‘j(x)β‰₯mnβ‹…1n\sum j(x) \ge m_n \cdot \frac{1}{n}, so mn≀n(f(b)βˆ’f(a))m_n \le n(f(b) - f(a)) β€” a finite set. But the discontinuity set D={x:j(x)>0}=⋃n=1∞{x:j(x)>1n}D = \{x : j(x) > 0\} = \bigcup_{n=1}^{\infty} \{x : j(x) > \frac{1}{n}\} is a countable union of finite sets, hence at most countable.

  4. Numerical check (terms=24terms = 24, n=4n = 4): the jumps are 2βˆ’k2^{-k} (k=1,…,24k = 1, \dots, 24), and the only one exceeding 14\frac{1}{4} is 2βˆ’1=122^{-1} = \frac{1}{2} (2βˆ’2=142^{-2} = \frac{1}{4} is not a strict exceedance). Against the bound 4(f(1)βˆ’f(0))β‰ˆ7.9999997615814214(f(1) - f(0)) \approx 7.999999761581421, we get 1≀7.999…1 \le 7.999\ldots β€” exactly as the theorem predicts.

Let (qk)(q_k) enumerate the rationals of (0,1)(0, 1) and g(x)=βˆ‘k:qk<x2βˆ’kg(x) = \sum_{k : q_k < x} 2^{-k}.

Show that gg is increasing on [0,1][0, 1], discontinuous exactly at the rationals, and continuous at every irrational.

g(x)=βˆ‘k:qk<x2βˆ’k,g(qm+)βˆ’g(qm)=2βˆ’mg(x) = \sum_{k : q_k < x} 2^{-k}, \qquad g(q_m+) - g(q_m) = 2^{-m}
ifΒ xβˆ‰QΒ andΒ NΒ large,Β βˆ‘k>N2βˆ’k<Ρ andΒ Ξ΄=dist⁑(x,{q1,…,qN})>0\text{if } x \notin \mathbb{Q} \text{ and } N \text{ large, } \sum_{k > N} 2^{-k} < \varepsilon \text{ and } \delta = \operatorname{dist}(x, \{q_1, \dots, q_N\}) > 0
At x=q3=23x = q_3 = \frac{2}{3}: g(23)β‰ˆ0.841285169124603g(\frac{2}{3}) \approx 0.841285169124603, jumping up by 2βˆ’3=18=0.1252^{-3} = \frac{1}{8} = 0.125 β€” g(23+)β‰ˆ0.966285169124603g(\frac{2}{3}+) \approx 0.966285169124603.
Show proof
  1. The series always converges: 0β‰€βˆ‘k:qk<x2βˆ’kβ‰€βˆ‘k=1∞2βˆ’k=10 \le \sum_{k : q_k < x} 2^{-k} \le \sum_{k=1}^{\infty} 2^{-k} = 1, so g(x)g(x) is well defined with values in [0,1][0, 1]. If x<yx < y then {k:qk<x}βŠ†{k:qk<y}\{k : q_k < x\} \subseteq \{k : q_k < y\}, so the sum only gains terms and g(x)≀g(y)g(x) \le g(y) β€” gg is increasing.

  2. Let x=qmx = q_m. The sum defining g(qm)g(q_m) excludes k=mk = m (the condition qk<qmq_k < q_m leaves out qmq_m itself). For t>qmt > q_m, g(t)βˆ’g(qm)=2βˆ’m+βˆ‘kβ‰ m: qm<qk<t2βˆ’kg(t) - g(q_m) = 2^{-m} + \sum_{k \ne m:\, q_m < q_k < t} 2^{-k}: the 2βˆ’m2^{-m} term switches on, plus contributions from other rationals in (qm,t)(q_m, t).

    The extra sum tends to 00 as t↓qmt \downarrow q_m: given Ξ΅>0\varepsilon > 0, choose KK with βˆ‘k>K2βˆ’k<Ξ΅\sum_{k > K} 2^{-k} < \varepsilon; the finitely many qkq_k with k≀Kk \le K, kβ‰ mk \ne m, stay a positive distance from qmq_m, so for Ξ΄>0\delta > 0 smaller than all those distances and qm<t<qm+Ξ΄q_m < t < q_m + \delta, no k≀Kk \le K with kβ‰ mk \ne m has qk∈(qm,t)q_k \in (q_m, t), and the extra sum is at most βˆ‘k>K2βˆ’k<Ξ΅\sum_{k > K} 2^{-k} < \varepsilon. Hence g(t)β†’g(qm)+2βˆ’mg(t) \to g(q_m) + 2^{-m}, i.e. g(qm+)=g(qm)+2βˆ’mg(q_m+) = g(q_m) + 2^{-m} β€” gg jumps by 12m\frac{1}{2^m} at qmq_m, so it is discontinuous there.

  3. Now let xx be irrational. Given Ξ΅>0\varepsilon > 0, pick NN with βˆ‘k>N2βˆ’k<Ξ΅\sum_{k > N} 2^{-k} < \varepsilon (possible since the tail tends to 0). Since xx is irrational, Ξ΄:=min⁑1≀k≀N∣xβˆ’qk∣>0\delta := \min_{1 \le k \le N} |x - q_k| > 0.

    If ∣tβˆ’x∣<Ξ΄|t - x| < \delta, none of q1,…,qNq_1, \dots, q_N lies strictly between xx and tt, so the difference g(t)βˆ’g(x)g(t) - g(x) comes only from the tail: ∣g(t)βˆ’g(x)∣<Ξ΅|g(t) - g(x)| < \varepsilon. Hence gg is continuous at xx.

  4. So gg 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=23q_3 = \frac{2}{3}: g(23)β‰ˆ0.841285169124603g(\frac{2}{3}) \approx 0.841285169124603, g(23+)β‰ˆ0.966285169124603g(\frac{2}{3}+) \approx 0.966285169124603 β€” the gap 0.125=2βˆ’30.125 = 2^{-3} matches the caption's jump.

4. Continuity