# Discontinuities of monotone functions

In the mathematical field of analysis, a well-known theorem describes the set of discontinuities of a monotone real-valued function of a real variable; all discontinuities of such a (monotone) function are necessarily jump discontinuities and there are at most countably many of them.
Usually, this theorem appears in literature without a name. It is called Froda's theorem in some recent works; in his 1929 dissertation, Alexandru Froda stated that the result was previously well-known and had provided his own elementary proof for the sake of convenience. Prior work on discontinuities had already been discussed in the 1875 memoir of the French mathematician Jean Gaston Darboux.

## Definitions

Denote the limit from the left by $f\left(x^{-}\right):=\lim _{z\nearrow x}f(z)=\lim _{\stackrel {h\to 0}{h>0}}f(x-h)$ and denote the limit from the right by $f\left(x^{+}\right):=\lim _{z\searrow x}f(z)=\lim _{\stackrel {h\to 0}{h>0}}f(x+h).$
If $f\left(x^{+}\right)$ and $f\left(x^{-}\right)$ exist and are finite then the difference $f\left(x^{+}\right)-f\left(x^{-}\right)$ is called the jump of $f$ at $x.$
Consider a real-valued function $f$ of real variable $x$ defined in a neighborhood of a point $x.$ If $f$ is discontinuous at the point $x$ then the discontinuity will be a removable discontinuity, or an essential discontinuity, or a jump discontinuity (also called a discontinuity of the first kind). If the function is continuous at $x$ then the jump at $x$ is zero. Moreover, if $f$ is not continuous at $x,$ the jump can be zero at $x$ if $f\left(x^{+}\right)=f\left(x^{-}\right)\neq f(x).$

## Precise statement

Let $f$ be a real-valued monotone function defined on an interval $I.$ Then the set of discontinuities of the first kind is at most countable.
One can prove that all points of discontinuity of a monotone real-valued function defined on an interval are jump discontinuities and hence, by our definition, of the first kind. With this remark the theorem takes the stronger form:
Let $f$ be a monotone function defined on an interval $I.$ Then the set of discontinuities is at most countable.

## Proofs

This proof starts by proving the special case where the function's domain is a closed and bounded interval $[a,b].$ The proof of the general case follows from this special case.

### Proof when the domain is closed and bounded

Two proofs of this special case are given.

#### Proof 1

Let $I:=[a,b]$ be an interval and let $f:I\to \mathbb {R}$ be a non-decreasing function (such as an increasing function). Then for any $a<x<b,$ $f(a)~\leq ~f\left(a^{+}\right)~\leq ~f\left(x^{-}\right)~\leq ~f\left(x^{+}\right)~\leq ~f\left(b^{-}\right)~\leq ~f(b).$ Let $\alpha >0$ and let $x_{1}<x_{2}<\cdots <x_{n}$ be $n$ points inside $I$ at which the jump of $f$ is greater or equal to $\alpha$: $f\left(x_{i}^{+}\right)-f\left(x_{i}^{-}\right)\geq \alpha ,\ i=1,2,\ldots ,n$
For any $i=1,2,\ldots ,n,$ $f\left(x_{i}^{+}\right)\leq f\left(x_{i+1}^{-}\right)$ so that $f\left(x_{i+1}^{-}\right)-f\left(x_{i}^{+}\right)\geq 0.$ Consequently, ${\begin{alignedat}{9}f(b)-f(a)&\geq f\left(x_{n}^{+}\right)-f\left(x_{1}^{-}\right)\\&=\sum _{i=1}^{n}\left[f\left(x_{i}^{+}\right)-f\left(x_{i}^{-}\right)\right]+\sum _{i=1}^{n-1}\left[f\left(x_{i+1}^{-}\right)-f\left(x_{i}^{+}\right)\right]\\&\geq \sum _{i=1}^{n}\left[f\left(x_{i}^{+}\right)-f\left(x_{i}^{-}\right)\right]\\&\geq n\alpha \end{alignedat}}$ and hence $n\leq {\frac {f(b)-f(a)}{\alpha }}.$
Since $f(b)-f(a)<\infty$ we have that the number of points at which the jump is greater than $\alpha$ is finite (possibly even zero).
Define the following sets: $S_{1}:=\left\{x:x\in I,f\left(x^{+}\right)-f\left(x^{-}\right)\geq 1\right\},$ $S_{n}:=\left\{x:x\in I,{\frac {1}{n}}\leq f\left(x^{+}\right)-f\left(x^{-}\right)<{\frac {1}{n-1}}\right\},\ n\geq 2.$
Each set $S_{n}$ is finite or the empty set. The union $S=\bigcup _{n=1}^{\infty }S_{n}$ contains all points at which the jump is positive and hence contains all points of discontinuity. Since every $S_{i},\ i=1,2,\ldots$ is at most countable, their union $S$ is also at most countable.
If $f$ is non-increasing (or decreasing) then the proof is similar. This completes the proof of the special case where the function's domain is a closed and bounded interval. $\blacksquare$

#### Proof 2

For a monotone function $f$, let $f\nearrow$ mean that $f$ is monotonically non-decreasing and let $f\swarrow$ mean that $f$ is monotonically non-increasing. Let $f:[a,b]\to \mathbb {R}$ is a monotone function and let $D$ denote the set of all points $d\in [a,b]$ in the domain of $f$ at which $f$ is discontinuous (which is necessarily a jump discontinuity).
Because $f$ has a jump discontinuity at $d\in D,$ $f\left(d^{-}\right)\neq f\left(d^{+}\right)$ so there exists some rational number $y_{d}\in \mathbb {Q}$ that lies strictly in between $f\left(d^{-}\right){\text{ and }}f\left(d^{+}\right)$ (specifically, if $f\nearrow$ then pick $y_{d}\in \mathbb {Q}$ so that $f\left(d^{-}\right)<y_{d}<f\left(d^{+}\right)$ while if $f\searrow$ then pick $y_{d}\in \mathbb {Q}$ so that $f\left(d^{-}\right)>y_{d}>f\left(d^{+}\right)$ holds).
It will now be shown that if $d,e\in D$ are distinct, say with $d<e,$ then $y_{d}\neq y_{e}.$ If $f\nearrow$ then $d<e$ implies $f\left(d^{+}\right)\leq f\left(e^{-}\right)$ so that $y_{d}<f\left(d^{+}\right)\leq f\left(e^{-}\right)<y_{e}.$ If on the other hand $f\searrow$ then $d<e$ implies $f\left(d^{+}\right)\geq f\left(e^{-}\right)$ so that $y_{d}>f\left(d^{+}\right)\geq f\left(e^{-}\right)>y_{e}.$ Either way, $y_{d}\neq y_{e}.$
Thus every $d\in D$ is associated with a unique rational number (said differently, the map $D\to \mathbb {Q}$ defined by $d\mapsto y_{d}$ is injective). Since $\mathbb {Q}$ is countable, the same must be true of $D.$ $\blacksquare$

### Proof of general case

Suppose that the domain of $f$ (a monotone real-valued function) is equal to a union of countably many closed and bounded intervals; say its domain is $\bigcup _{n}\left[a_{n},b_{n}\right]$ (no requirements are placed on these closed and bounded intervals). It follows from the special case proved above that for every index $n,$ the restriction $f{\big \vert }_{\left[a_{n},b_{n}\right]}:\left[a_{n},b_{n}\right]\to \mathbb {R}$ of $f$ to the interval $\left[a_{n},b_{n}\right]$ has at most countably many discontinuities; denote this (countable) set of discontinuities by $D_{n}.$ If $f$ has a discontinuity at a point $x_{0}\in \bigcup _{n}\left[a_{n},b_{n}\right]$ in its domain then either $x_{0}$ is equal to an endpoint of one of these intervals (that is, $x_{0}\in \left\{a_{1},b_{1},a_{2},b_{2},\ldots \right\}$) or else there exists some index $n$ such that $a_{n}<x_{0}<b_{n},$ in which case $x_{0}$ must be a point of discontinuity for $f{\big \vert }_{\left[a_{n},b_{n}\right]}$ (that is, $x_{0}\in D_{n}$). Thus the set $D$ of all points of at which $f$ is discontinuous is a subset of $\left\{a_{1},b_{1},a_{2},b_{2},\ldots \right\}\cup \bigcup _{n}D_{n},$ which is a countable set (because it is a union of countably many countable sets) so that its subset $D$ must also be countable (because every subset of a countable set is countable).
In particular, because every interval (including open intervals and half open/closed intervals) of real numbers can be written as a countable union of closed and bounded intervals, it follows that any monotone real-valued function defined on an interval has at most countable many discontinuities.
To make this argument more concrete, suppose that the domain of $f$ is an interval $I$ that is not closed and bounded (and hence by Heine–Borel theorem not compact). Then the interval can be written as a countable union of closed and bounded intervals $I_{n}$ with the property that any two consecutive intervals have an endpoint in common: $I=\cup _{n=1}^{\infty }I_{n}.$ If $I=(a,b]{\text{ with }}a\geq -\infty$ then $I_{1}=\left[\alpha _{1},b\right],\ I_{2}=\left[\alpha _{2},\alpha _{1}\right],\ldots ,I_{n}=\left[\alpha _{n},\alpha _{n-1}\right],\ldots$ where $\left(\alpha _{n}\right)_{n=1}^{\infty }$ is a strictly decreasing sequence such that $\alpha _{n}\rightarrow a.$ In a similar way if $I=[a,b),{\text{ with }}b\leq +\infty$ or if $I=(a,b){\text{ with }}-\infty \leq a<b\leq \infty .$ In any interval $I_{n},$ there are at most countable many points of discontinuity, and since a countable union of at most countable sets is at most countable, it follows that the set of all discontinuities is at most countable. $\blacksquare$

## Jump functions

Examples. Let x$_1$ < x$_2$ < x$_3$ < ⋅⋅⋅ be a countable subset of the compact interval [a,b] and let μ$_1$, μ$_2$, μ$_3$, ... be a positive sequence with finite sum. Set
    $f(x)=\sum _{n=1}^{\infty }\mu _{n}\chi _{[x_{n},b]}(x)$
where χ$_A$ denotes the characteristic function of a compact interval A. Then f is a non-decreasing function on [a,b], which is continuous except for jump discontinuities at x$_n$ for n ≥ 1. In the case of finitely many jump discontinuities, f is a step function. The examples above are generalised step functions; they are very special cases of what are called jump functions or saltus-functions.
More generally, the analysis of monotone functions has been studied by many mathematicians, starting from Abel, Jordan and Darboux. Following Riesz & Sz.-Nagy (1990), replacing a function by its negative if necessary, only the case of non-negative non-decreasing functions has to be considered. The domain [a,b] can be finite or have ∞ or −∞ as endpoints.
The main task is to construct monotone functions — generalising step functions — with discontinuities at a given denumerable set of points and with prescribed left and right discontinuities at each of these points. Let x$_n$ (n ≥ 1) lie in (a, b) and take λ$_1$, λ$_2$, λ$_3$, ... and μ$_1$, μ$_2$, μ$_3$, ... non-negative with finite sum and with λ$_n$ + μ$_n$ > 0 for each n. Define
    $f_{n}(x)=0\,\,$ for $\,\,x<x_{n},\,\,f_{n}(x_{n})=\lambda _{n},\,\,f_{n}(x)=\lambda _{n}+\mu _{n}\,\,$ for $\,\,x>x_{n}.$
Then the jump function, or saltus-function, defined by
    $f(x)=\,\,\sum _{n=1}^{\infty }f_{n}(x)=\,\,\sum _{x_{n}\leq x}\lambda _{n}+\sum _{x_{n}<x}\mu _{n},$
is non-decreasing on [a, b] and is continuous except for jump discontinuities at x$_n$ for n ≥ 1.
To prove this, note that sup |f$_n$| = λ$_n$ + μ$_n$, so that Σ f$_n$ converges uniformly to f. Passing to the limit, it follows that
    $f(x_{n})-f(x_{n}-0)=\lambda _{n},\,\,\,f(x_{n}+0)-f(x_{n})=\mu _{n},\,\,\,$ and $\,\,f(x\pm 0)=f(x)$
if x is not one of the x$_n$'s.
Conversely, by a differentiation theorem of Lebesgue, the jump function f is uniquely determined by the properties: (1) being non-decreasing and non-positive; (2) having given jump data at its points of discontinuity x$_n$; (3) satisfying the boundary condition f(a) = 0; and (4) having zero derivative almost everywhere.
As explained in Riesz & Sz.-Nagy (1990), every non-decreasing non-negative function F can be decomposed uniquely as a sum of a jump function f and a continuous monotone function g: the jump function f is constructed by using the jump data of the original monotone function F and it is easy to check that g = F − f is continuous and monotone.