3.2 Uniform Continuity, Monotone Functions and Discontinuities
When one $\delta$ works at every point at once: uniform continuity, Lipschitz and Hölder functions, the Heine–Cantor theorem and continuous extension — then monotone functions, their jumps, the types of discontinuity and Froda's theorem.
Continuity is a local promise: at each point $c$, for each $\varepsilon$, some $\delta$ works — but that $\delta$ may depend on $c$. For $f(x)=x^2$ near $c=1000$ the graph is so steep that $\delta$ must be about $\varepsilon/2000$; for $\sin(1/x)$ near $0$ it must shrink faster still. In practice we often need a single $\delta$ that serves the whole domain at once: to approximate a continuous function by step functions or polynomials, to prove that continuous functions are Riemann integrable (§4.1), to pass limits through integrals, to control rounding errors in a computation. This stronger, global promise is uniform continuity. The Heine–Cantor theorem says that on compact sets the local promise automatically becomes global — another victory for compactness (§3.1).
The second half of the section studies the opposite phenomenon — how functions can fail to be continuous. A monotone function can only jump, and since the jumps of an increasing function on $[a,b]$ add up to at most $f(b)-f(a)$, there can be only countably many of them. A general function can also oscillate (like $\sin(1/x)$), and Froda's theorem shows that, once again, the "jump-like" discontinuities form a countable set. CSIR NET questions here are almost always of the form "which of these functions is uniformly continuous on this domain" or "what can the set of discontinuities of a monotone function be" — and every trap is one of the counterexamples collected below.
Uniform Continuity
Negating carefully: $f$ is not uniformly continuous on $A$ iff there is $\varepsilon_0\gt0$ such that for every $\delta\gt0$ there are $x,y\in A$ with $|x-y|\lt\delta$ and $|f(x)-f(y)|\ge\varepsilon_0$. Taking $\delta=\tfrac1n$ turns this into a test with sequences.
Proof. If $f$ is not UC, the negation above with $\delta=\tfrac1n$ gives $x_n,y_n$ with $|x_n-y_n|\lt\tfrac1n$ and $|f(x_n)-f(y_n)|\ge\varepsilon_0$. Conversely, suppose such sequences exist and $f$ were UC: for $\varepsilon=\varepsilon_0$ take $\delta$; for large $n$, $|x_n-y_n|\lt\delta$, so $|f(x_n)-f(y_n)|\lt\varepsilon_0$ — a contradiction. The "equivalently" is the same statement read the other way: if $|x_n-y_n|\to0$ but $|f(x_n)-f(y_n)|\not\to0$, then some subsequence has $|f(x_{n_k})-f(y_{n_k})|\ge\varepsilon_0$. ∎
Proof. (a) If $|x-y|\lt(\varepsilon/K)^{1/\alpha}$ then $|f(x)-f(y)|\le K|x-y|^\alpha\lt K\cdot\varepsilon/K=\varepsilon$. (b) For $x\lt y$ in $I$ the mean value theorem (§3.3) gives $c\in(x,y)$ with $f(y)-f(x)=f'(c)(y-x)$, so $|f(y)-f(x)|\le K|y-x|$. (c) Example 1(b) gives the Hölder bound. If $|\sqrt x-\sqrt y|\le K|x-y|$ held on $[0,1]$, then $y=0$, $x=\tfrac1{n^2}$ would give $\tfrac1n\le\tfrac K{n^2}$, i.e. $n\le K$ for every $n$ — impossible. ∎
Part (b) is the everyday test: $\sin$, $\cos$, $\arctan$ ($|f'|\le1$), $\tfrac{x}{1+x^2}$ ($|f'|\le1$), $e^x$ on $(-\infty,0]$ and $\log x$ on $[1,\infty)$ are all Lipschitz, hence UC. But an unbounded derivative does not rule out uniform continuity — $\sqrt x$ again.
Proof (by sequences). Suppose not. By Theorem 3.12 there are $\varepsilon_0\gt0$ and $x_n,y_n\in K$ with $|x_n-y_n|\to0$ and $|f(x_n)-f(y_n)|\ge\varepsilon_0$. By sequential compactness (Heine–Borel, §3.1) a subsequence $x_{n_k}\to p\in K$; then $y_{n_k}=x_{n_k}+(y_{n_k}-x_{n_k})\to p$ as well. By continuity at $p$, $f(x_{n_k})\to f(p)$ and $f(y_{n_k})\to f(p)$, so $|f(x_{n_k})-f(y_{n_k})|\to0$ — contradicting $|f(x_{n_k})-f(y_{n_k})|\ge\varepsilon_0$. ∎
Proof (by open covers). Fix $\varepsilon\gt0$. For each $c\in K$ continuity gives $\delta_c\gt0$ with $|f(x)-f(c)|\lt\varepsilon/2$ for $x\in K$, $|x-c|\lt\delta_c$. The intervals $I_c=(c-\tfrac12\delta_c,c+\tfrac12\delta_c)$ cover $K$; choose a finite subcover $I_{c_1},\dots,I_{c_m}$ and let $\delta=\tfrac12\min_j\delta_{c_j}\gt0$. If $x,y\in K$ and $|x-y|\lt\delta$, then $x\in I_{c_j}$ for some $j$, so $|x-c_j|\lt\tfrac12\delta_{c_j}$, and $|y-c_j|\le|y-x|+|x-c_j|\lt\delta+\tfrac12\delta_{c_j}\le\delta_{c_j}$. Hence $|f(x)-f(y)|\le|f(x)-f(c_j)|+|f(c_j)-f(y)|\lt\varepsilon$. ∎
The second proof shows exactly where compactness acts: the infinitely many local $\delta_c$ are replaced by the minimum of finitely many, which is positive. (The number $\delta$ is a Lebesgue number of the cover; §7.2.)
- Compact domain? Continuous on a closed bounded set ⇒ UC (Theorem 3.14). Done.
- Bounded derivative on an interval? ⇒ Lipschitz ⇒ UC (Theorem 3.13). Also check Hölder bounds such as $|\sqrt x-\sqrt y|\le\sqrt{|x-y|}$.
- Bounded open interval $(a,b)$? UC iff $f(a+)$ and $f(b-)$ exist and are finite (Theorem 3.16). So $x\sin\tfrac1x$ yes, $\sin\tfrac1x$ and $\tfrac1x$ no.
- Unbounded interval? Split it: compact piece + tail. A finite limit at $\infty$, or a bounded derivative on the tail, gives UC on the tail; glue with Theorem 3.17.
- Suspect failure? Look for points $x_n,y_n$ getting closer while $f$ changes by a fixed amount: where the slope blows up ($x^2$ at $\infty$, $1/x$ at $0$) or the oscillation speeds up ($\sin x^2$, $\sin\tfrac1x$). Then apply Theorem 3.12. Growth faster than linear always fails (Exercise II.4).
Cauchy Sequences, Boundedness and Continuous Extension
Proof. (a) Given $\varepsilon\gt0$, take $\delta$ from uniform continuity, then $N$ with $|x_n-x_m|\lt\delta$ for $n,m\ge N$; then $|f(x_n)-f(x_m)|\lt\varepsilon$ for $n,m\ge N$.
(b) Take $\delta$ for $\varepsilon=1$ and $A\subseteq[\alpha,\beta]$. Cut $[\alpha,\beta]$ into finitely many intervals $J_1,\dots,J_m$ of length $\lt\delta$. For each $J_i$ that meets $A$ pick $a_i\in A\cap J_i$. Every $x\in A$ lies in some $J_i$, so $|x-a_i|\lt\delta$ and $|f(x)|\le|f(a_i)|+1\le1+\max_i|f(a_i)|$.
(c) If $f$ is not UC, Theorem 3.12 gives $x_n,y_n\in A$ with $|x_n-y_n|\to0$ and $|f(x_n)-f(y_n)|\ge\varepsilon_0$. Since $A$ is bounded, Bolzano–Weierstrass (§2.2) gives a convergent subsequence $x_{n_k}\to p$; then also $y_{n_k}\to p$. The interleaved sequence $x_{n_1},y_{n_1},x_{n_2},y_{n_2},\dots$ converges to $p$, so it is Cauchy, but its image is not Cauchy, since consecutive terms $f(x_{n_k}),f(y_{n_k})$ differ by at least $\varepsilon_0$. ∎
Part (c) needs $A$ bounded: $x^2$ on $\mathbb{R}$ maps Cauchy sequences to Cauchy sequences (they converge, and $x^2$ is continuous) but is not UC. Part (b) explains Example 2(b) at a glance: $1/x$ is unbounded on the bounded set $(0,1)$, so it cannot be UC there.
Proof. (a) Definition of $F$. For $p\in\overline A$ choose $a_n\in A$ with $a_n\to p$. Then $(a_n)$ is Cauchy, so $(f(a_n))$ is Cauchy (Theorem 3.15(a)) and converges; put $F(p)=\lim f(a_n)$. If $b_n\to p$ is another such sequence, the interleaved sequence $a_1,b_1,a_2,b_2,\dots$ also converges to $p$, so its image converges, forcing $\lim f(a_n)=\lim f(b_n)$: $F$ is well defined. For $p\in A$ the constant sequence shows $F(p)=f(p)$.
$F$ is UC. Let $\varepsilon\gt0$ and take $\delta$ for $f$ and $\varepsilon$. Let $p,q\in\overline A$ with $|p-q|\lt\delta$, and choose $a_n\to p$, $b_n\to q$ in $A$. Then $|a_n-b_n|\to|p-q|\lt\delta$, so $|a_n-b_n|\lt\delta$ for large $n$ and $|f(a_n)-f(b_n)|\lt\varepsilon$; letting $n\to\infty$, $|F(p)-F(q)|\le\varepsilon$. So $\delta$ works for $2\varepsilon$, say, and $F$ is UC. Uniqueness: two continuous extensions agree on $A$, which is dense in $\overline A$, so they agree everywhere (sequential criterion).
(b) If $f$ is UC, part (a) extends it continuously to $[a,b]$, and continuity of the extension at $a$ and $b$ means $f(a+)$, $f(b-)$ exist. Conversely, if both limits exist, define $F(a)=f(a+)$, $F(b)=f(b-)$ and $F=f$ on $(a,b)$; $F$ is continuous on the compact interval $[a,b]$, hence UC there (Theorem 3.14), and so is its restriction $f$. ∎
Proof. (a) Given $\varepsilon$, take $\delta_1,\delta_2$ for $\varepsilon/2$ on the two pieces and $\delta=\min(\delta_1,\delta_2)$. Let $|x-y|\lt\delta$, $x\le y$. If both lie in the same piece we are done. Otherwise $x\le b\le y$, so $|x-b|\lt\delta$ and $|b-y|\lt\delta$, and $|f(x)-f(y)|\le|f(x)-f(b)|+|f(b)-f(y)|\lt\varepsilon$. (b) Given $\varepsilon$, choose $M\ge a$ with $|f(x)-L|\lt\varepsilon/2$ for $x\ge M$; then $|f(x)-f(y)|\lt\varepsilon$ for all $x,y\ge M$, so $f$ is UC on $[M,\infty)$ (any $\delta$ works). On $[a,M]$ it is UC by Theorem 3.14. Glue with (a). ∎
The common point $b$ in (a) is essential: $f=0$ on $(0,1)$ and $f=1$ on $(1,2)$ is UC on each piece but not on the union, since $1-\eta$ and $1+\eta$ are close while their values differ by $1$.
One-sided Limits and Types of Discontinuity
Let $f$ be defined on an open interval around $c$ and discontinuous at $c$ (or undefined at $c$). Write $f(c-)$, $f(c+)$ for the one-sided limits (Definition 3.2), when they exist in $\mathbb{R}$.
- Removable discontinuity: $f(c-)$ and $f(c+)$ exist and are equal, but differ from $f(c)$ (or $f(c)$ is undefined). Redefining $f(c)=f(c\pm)$ removes it.
- Jump discontinuity: $f(c-)$ and $f(c+)$ both exist and $f(c-)\ne f(c+)$; the number $f(c+)-f(c-)$ is the jump (saltus) of $f$ at $c$.
- Discontinuity of the second kind (essential discontinuity): at least one of $f(c-)$, $f(c+)$ does not exist as a real number (it oscillates, or is $\pm\infty$).
Removable and jump discontinuities together are the discontinuities of the first kind ("simple" discontinuities). At an end point of an interval only one one-sided limit is involved.
Monotone Functions and Their Discontinuities
Proof. The set $\{f(x):a\lt x\lt c\}$ is nonempty and bounded above by $f(c)$; let $\ell=\sup_{x\lt c}f(x)\le f(c)$. Given $\varepsilon\gt0$, the $\varepsilon$-characterisation of the supremum (§1.2) gives $x_0\lt c$ with $f(x_0)\gt\ell-\varepsilon$. For $x_0\lt x\lt c$, monotonicity gives $\ell-\varepsilon\lt f(x_0)\le f(x)\le\ell$. So $\delta=c-x_0$ works and $f(c-)=\ell$. The right-hand limit is the mirror argument with the infimum. If $x\lt y$, pick $z$ with $x\lt z\lt y$; then $f(x+)\le f(z)\le f(y-)$. Finally, $f$ is continuous at $c$ iff $f(c-)=f(c)=f(c+)$ (Theorem 3.3 of §3.1), and since $f(c)$ is squeezed between the two limits, this happens iff $f(c-)=f(c+)$. If not, both limits exist and differ: a jump. ∎
Proof. (a) Order the points $c_1\lt\cdots\lt c_k$ and choose $a=x_0\lt c_1\lt x_1\lt c_2\lt\cdots\lt c_k\lt x_k=b$. By Theorem 3.18, $f(x_{i-1})\le f(c_i-)$ and $f(c_i+)\le f(x_i)$, so $$f(c_i+)-f(c_i-)\le f(x_i)-f(x_{i-1}).$$ Summing, the right side telescopes to $f(b)-f(a)$. (b) If there were more than $(f(b)-f(a))/\eta$ such jumps, choosing that many of them would violate (a). (c) The discontinuities in $(a,b)$ are the union over $m\in\mathbb{N}$ of the sets of jumps of size $\ge\tfrac1m$, each finite by (b): a countable union of finite sets is countable (§1.1). Add the two end points. For a general interval $I$, write it as a countable union of closed bounded intervals. (Alternative proof: at each jump choose a rational in the open interval $(f(c-),f(c+))$; by Theorem 3.18 these intervals are disjoint for different $c$, so $c\mapsto$ rational is injective into $\mathbb{Q}$.)
(d) The series converges, $0\le\varphi\le1$, and $\varphi$ is increasing because for $y\lt x$, $$\varphi(x)-\varphi(y)=\sum_{n:\ y\le c_n\lt x}2^{-n}\ge0 .$$ Fix $x$ and $N$. Choose $h\gt0$ so small that no $c_n$ with $n\le N$ lies in $[x-h,x)$ or in $(x,x+h)$. Then $\varphi(x)-\varphi(x-h)$ is a sum over indices $n\gt N$ only, so it is $\le2^{-N}$; hence $\varphi(x-)=\varphi(x)$. Similarly $\varphi(x+h)-\varphi(x)=\sum_{x\le c_n\lt x+h}2^{-n}$ equals $2^{-m}$ (if $x=c_m$) plus at most $2^{-N}$, and equals at most $2^{-N}$ if $x\notin C$. Letting $N\to\infty$: $\varphi(x+)-\varphi(x)=2^{-m}$ if $x=c_m$, and $0$ if $x\notin C$. ∎
Proof. Let $J$ be the set of jump points and $R$ the set of removable discontinuities; it suffices to show each is countable. Split $J=J_+\cup J_-$ according as $f(c-)\lt f(c+)$ or $f(c-)\gt f(c+)$.
$J_+$ is countable. For $c\in J_+$ choose a rational $r$ with $f(c-)\lt r\lt f(c+)$. By the definition of one-sided limits there are rationals $p\lt c\lt q$ such that $f(x)\lt r$ for $p\lt x\lt c$ and $f(x)\gt r$ for $c\lt x\lt q$. Assign to $c$ the triple $(r,p,q)\in\mathbb{Q}^3$. If two points $c\lt c'$ of $J_+$ received the same triple, both would lie in $(p,q)$; pick $x$ with $c\lt x\lt c'$. Viewed from $c$, $x\in(c,q)$, so $f(x)\gt r$; viewed from $c'$, $x\in(p,c')$, so $f(x)\lt r$ — impossible. So $c\mapsto(r,p,q)$ is injective into the countable set $\mathbb{Q}^3$. The same argument (with the inequalities reversed) handles $J_-$.
$R$ is countable. For $c\in R$ let $L=f(c-)=f(c+)\ne f(c)$, say $f(c)\gt L$ (the other case is symmetric). Choose a rational $r$ with $L\lt r\lt f(c)$ and rationals $p\lt c\lt q$ with $f(x)\lt r$ for all $x\in(p,q)$, $x\ne c$. If $c\ne c'$ received the same triple $(r,p,q)$ (both with $f\gt L$ at the point), then $c'\in(p,q)\setminus\{c\}$ forces $f(c')\lt r$, while $f(c')\gt r$ by the choice of $r$ for $c'$ — impossible. Again an injection into $\mathbb{Q}^3$. ∎
So a function can be discontinuous at uncountably many points only through discontinuities of the second kind (Dirichlet's function), and Theorem 3.18 plus Froda give a second proof of Theorem 3.19(c). One more fact is often quoted (proved with the Baire category theorem, §7.1): the set of points of continuity of any $f:\mathbb{R}\to\mathbb{R}$ is a $G_\delta$ set, so there is no function continuous exactly on $\mathbb{Q}$, while Thomae's function is continuous exactly on $\mathbb{R}\setminus\mathbb{Q}$.
- Continuous but not UC: $x^2$ on $\mathbb{R}$ (slope unbounded); $1/x$ on $(0,1)$ (unbounded on a bounded set); $\sin\tfrac1x$ on $(0,1)$ and $\sin x^2$ on $\mathbb{R}$ (bounded, but faster and faster oscillation); $x\sin x$ on $[0,\infty)$ (growing amplitude).
- UC but not Lipschitz: $\sqrt x$ on $[0,1]$; $\sqrt{|x|}$ on $\mathbb{R}$ ($|f'|$ unbounded near $0$). An unbounded derivative does not rule out uniform continuity.
- Bounded and continuous does not imply UC ($\sin x^2$); unbounded can be UC ($x$ on $\mathbb{R}$). But UC on a bounded set does imply bounded.
- Products: $x\cdot x$ and $x\cdot\sin x$ are products of UC functions that are not UC. Products of bounded UC functions are UC.
- Reciprocals: $f(x)=x$ is UC and positive on $(0,1)$, but $1/f$ is not UC.
- Preserving Cauchy sequences is not UC on unbounded sets: $x^2$ on $\mathbb{R}$ maps Cauchy sequences to Cauchy sequences. On bounded sets the two notions coincide (Theorem 3.15(c)).
- Extension needs UC: $\sin\tfrac1x$ on $(0,1]$ is continuous with no continuous extension to $[0,1]$.
- Gluing needs a common point (or a positive gap): $0$ on $(0,1)$ and $1$ on $(1,2)$ is UC on each piece but not on the union.
- Monotone functions can be discontinuous on a dense set (Example 6), but never on an uncountable set; their discontinuities are jumps only.
- At a jump, $f(c)$ need not equal either one-sided limit: $f=0$ on $[0,\tfrac12)$, $f(\tfrac12)=\tfrac12$, $f=1$ on $(\tfrac12,1]$.
- Infinite limits are second-kind discontinuities: $e^{1/x}$ at $0$, even though $f(0-)$ exists.
- Froda counts only first-kind discontinuities: Dirichlet's function has uncountably many discontinuities, all of the second kind; Thomae's has countably many, all removable.
- The intermediate value property does not prevent discontinuity: $\sin\tfrac1x$ with value $0$ at $0$ — but its discontinuity is of the second kind; a function with the IVP cannot have a jump or removable discontinuity.
Exercises
- 1 Show that $f(x)=3x-5$ is UC on $\mathbb{R}$ and give $\delta(\varepsilon)$.
- 2 Find $\delta(\varepsilon)$ that shows $x^2$ is UC on $[0,5]$.
- 3 Find $\delta(\varepsilon)$ that shows $1/x$ is UC on $[2,\infty)$.
- 4 Find $\delta(\varepsilon)$ that shows $x^3$ is UC on $[-1,2]$.
- 5 Prove that $x^3$ is not UC on $\mathbb{R}$.
- 6 Is $x^{1/3}$ UC on $\mathbb{R}$? Justify.
- 7 Is $\cos\sqrt x$ UC on $[0,\infty)$? Justify.
- 8 Show that $e^x$ is UC on $(-\infty,0]$ but not on $\mathbb{R}$.
- 1 Prove that if $f$ is UC on $A$ then so is $|f|$, and that $\max(f,g)$ is UC when $f,g$ are.
- 2 Let $f,g$ be UC on $A$ and bounded. Prove that $fg$ is UC. Give an example showing that boundedness of only one factor is not enough.
- 3 Give an example of a bounded continuous function on a bounded interval that is not UC, and explain why it does not contradict Theorem 3.15(b).
- 4 Let $f$ be UC on $\mathbb{R}$. Prove that there are constants $A,B$ with $|f(x)|\le A|x|+B$ for all $x$. Deduce again that $x^2$ is not UC on $\mathbb{R}$.
- 5 Let $f:(0,1)\to\mathbb{R}$ be UC. Prove directly, with the Cauchy criterion, that $\lim_{x\to0+}f(x)$ exists.
- 6 Prove that a continuous periodic function $f:\mathbb{R}\to\mathbb{R}$ is UC.
- 7 Let $f:[0,\infty)\to\mathbb{R}$ be continuous with $f(x)-(ax+b)\to0$ as $x\to\infty$. Prove that $f$ is UC.
- 8 Prove that $|x^\alpha-y^\alpha|\le|x-y|^\alpha$ for $x,y\ge0$ and $0\lt\alpha\le1$. Deduce that $x^\alpha$ is UC on $[0,\infty)$, and decide for which $\alpha\gt0$ it is Lipschitz on $[0,1]$.
- 1 Classify the discontinuities of: (a) $\lfloor x\rfloor+\lfloor-x\rfloor$; (b) $\operatorname{sgn}x$; (c) $\cos(1/x)$ with value $1$ at $0$; (d) $\dfrac{x^2-4}{x-2}$ with value $0$ at $2$.
- 2 For $f(x)=\lfloor x\rfloor+x^2$, find $f(2-)$, $f(2)$, $f(2+)$ and the jump at $2$.
- 3 Let $f(x)=\sum_{n:\ 1/n\le x}2^{-n}$ on $[0,1]$. Find the points of discontinuity and the jumps, and show that $f$ is continuous at $0$.
- 4 Let $f:[a,b]\to\mathbb{R}$ be decreasing. Prove that it has at most $(f(a)-f(b))/\eta$ jumps of size $\ge\eta$.
- 5 Prove the right-hand half of Theorem 3.18: $f(c+)=\inf_{x\gt c}f(x)$ for increasing $f$.
- 6 Is there an increasing function on $\mathbb{R}$ that is discontinuous exactly at the integers? Exactly at $\{\tfrac1n:n\in\mathbb{N}\}$? Exactly on $[0,1]$?
- 7 Let $f:[0,1]\to\mathbb{R}$ be increasing with $f([0,1])$ dense in $[f(0),f(1)]$. Prove that $f$ is continuous.
- 8 Use Froda's theorem to show that no function $f:\mathbb{R}\to\mathbb{R}$ has a jump discontinuity at every irrational point. Does the indicator function of $[0,1]$ contradict Froda's theorem?
- 1 Let $f:\mathbb{R}\to\mathbb{R}$ be increasing with $f(x+y)=f(x)+f(y)$ for all $x,y$. Prove that $f(x)=cx$ with $c=f(1)$.
- 2 Let $f:\mathbb{Q}\to\mathbb{R}$ be UC. Prove that $f$ extends to a continuous function on $\mathbb{R}$. Give a continuous $g:\mathbb{Q}\to\mathbb{R}$ with no continuous extension to $\mathbb{R}$.
- 3 Let $f:\mathbb{R}\to\mathbb{R}$ be continuous with $f(x)\to0$ as $x\to\pm\infty$. Prove that $f$ is UC and that it attains its maximum or its minimum.
- 4 Prove or disprove: if $f$ is UC on $A$ and on $B$, and $A,B$ are at positive distance ($|a-b|\ge r\gt0$ for $a\in A$, $b\in B$), then $f$ is UC on $A\cup B$.
- 5 Let $f:[0,1]\to\mathbb{R}$ be continuous. Prove that for every $\varepsilon\gt0$ there is a step function $s$ (constant on each of finitely many subintervals) with $|f(x)-s(x)|\lt\varepsilon$ for all $x$.
- 6 Applied. The cumulative distribution function $F(x)=P(X\le x)$ of a random variable is increasing, right-continuous, and has $F(-\infty)=0$, $F(\infty)=1$. Show that $X$ has at most $10$ values $a$ with $P(X=a)\ge0.1$ (note $P(X=a)=F(a)-F(a-)$), and at most countably many values of positive probability.
E1. CSIR Part B GATE MA Which of the following functions is uniformly continuous on $(0,1)$? (A) $\dfrac1x$; (B) $\sin\dfrac1x$; (C) $x\sin\dfrac1x$; (D) $\log x$.
E2. CSIR Part B Let $f:\mathbb{R}\to\mathbb{R}$ be increasing. Then the set of points where $f$ is discontinuous is (A) necessarily finite; (B) at most countable; (C) possibly uncountable; (D) necessarily empty if $f$ is bounded.
E3. CSIR Part B For $\alpha\gt0$, the function $f(x)=x^\alpha$ is uniformly continuous on $[0,\infty)$ if and only if (A) $0\lt\alpha\le1$; (B) $\alpha\ge1$; (C) $\alpha=1$; (D) $\alpha\gt0$ is arbitrary.
E4. CSIR Part C Let $f:(0,1)\to\mathbb{R}$ be uniformly continuous. Which of the following are true? (One or more options may be correct.) (A) $f$ is bounded. (B) $\lim_{x\to0+}f(x)$ exists. (C) $f$ is Lipschitz. (D) $f^2$ is uniformly continuous on $(0,1)$.
E5. CSIR Part C Which of the following functions are uniformly continuous on $\mathbb{R}$? (A) $\sin(x^2)$; (B) $\dfrac{x}{1+x^2}$; (C) $\sqrt{|x|}$; (D) $x\sin x$.
E6. CSIR Part C Let $f:[0,1]\to\mathbb{R}$ be increasing. Which of the following are true? (A) The set of discontinuities of $f$ is countable. (B) $f$ can be discontinuous at every irrational point of $[0,1]$. (C) Every discontinuity of $f$ in $(0,1)$ is a jump discontinuity. (D) If $f$ is discontinuous at $c\in(0,1)$, then $f(c)$ equals $f(c-)$ or $f(c+)$.
Suggested plan — 2 lectures × 60 min.
- Uniform continuity. Write the definitions of continuity and uniform continuity one above the other and circle the swapped quantifiers. Example 2 (four ways to fail) and Theorem 3.12; project Interactive 1, comparing $x^2$ on $[0,2]$ (the $\delta$-curve has a positive floor) with $x^2$ on $[0,\infty)$ and $\sin(1/x)$ (the curve sinks to $0$). Lipschitz/Hölder and Example 1(b) for $\sqrt x$. Heine–Cantor with both proofs — the open-cover proof makes the role of compactness visible.
- Extension, monotone functions, discontinuities. Theorems 3.15–3.17 with the strategy box and Example 3; Example 4 as a quick quiz. Then Definition 3.8 and Example 5; Theorems 3.18 and 3.19 in full; Interactive 2 with $\eta$ moved slowly to see the count stay below $1/\eta$; Example 6. Froda's theorem: state it, prove the jump case on the board, assign the removable case.
Discussion questions. (1) Is the sum of a UC function and a continuous function UC? (2) Interactive 1 shows the smallest $\delta$ on a finite grid. Why can a picture never prove uniform continuity on $[0,\infty)$, and what replaces it? (3) Must an increasing function on $\mathbb{R}$ be continuous at some rational point?
Misconceptions to watch for. "Bounded continuous ⇒ UC"; "UC ⇒ bounded derivative"; "the product of UC functions is UC"; letting $\delta$ depend on $x$ in a UC proof; forgetting that a jump need not have $f(c)$ equal to a one-sided limit; thinking countable discontinuities must be isolated; applying Froda to second-kind discontinuities.
Suggested homework. I(4, 5, 6, 7), II(2, 4, 6, 8), III(1, 3, 6, 7), IV(1, 3, 6); Exam corner E3, E4, E6.
Research question. Why are square-root flow meters inaccurate at low flow — and how does the difference between Hölder and Lipschitz continuity quantify it?
Why it matters. Orifice-plate and Venturi meters, used in water supply, oil and gas pipelines and hospital gas lines worldwide, infer the flow rate from a pressure drop by a law of the form $Q=C\sqrt{\Delta p}$. A pressure sensor always has some absolute error. Because $\sqrt{\cdot}$ is uniformly continuous but not Lipschitz near $0$, a fixed pressure error produces a flow error that is small at high flow and relatively huge at low flow. Engineers summarise this in the meter's "turndown ratio" — the range of flows it can measure to a stated accuracy.
What to do.
- Take $C=2$ (litres per second per $\sqrt{\text{kPa}}$) and a sensor error of $0.1$ kPa. Using $|\sqrt x-\sqrt y|\le\sqrt{|x-y|}$, find the worst possible flow error over all pressures, and the $\delta(\varepsilon)$ that guarantees a flow error below $\varepsilon=0.05$ L/s.
- Find the Lipschitz constant of $Q$ on $[p_{\min},\infty)$, and compute the actual flow error caused by a $0.1$ kPa error at $\Delta p=100$ kPa and at $\Delta p=1$ kPa.
- Find the smallest $p_{\min}$ for which a $0.1$ kPa error causes a flow error of at most $2\%$ of the reading. What turndown ratio $Q(100)/Q(p_{\min})$ does this give if the maximum pressure drop is $100$ kPa?
- Compare with a meter obeying a linear law (e.g. a turbine meter). Which kind of continuity does each have?
Tools: A calculator or spreadsheet; optional plot of the relative error against $\Delta p$ on a logarithmic axis.
Hand in: A half-page table of your numbers and two sentences explaining, in the language of this section, why the meter cannot be accurate near zero flow.
Going further. Read about how flow engineers extend the range of such meters (stacked sensors of different ranges, or switching to a different meter type at low flow), and about Hölder exponents as a measure of roughness of signals in image and audio analysis.
🧪 Self-check quiz
Q1. If $f$ is continuous on a closed bounded interval $[a,b]$, then $f$ is
Q2. On $[0,\infty)$ the function $\sqrt x$ is
Q3. The set of discontinuities of an increasing function $f:\mathbb{R}\to\mathbb{R}$ is
Q4. $f(x)=e^{1/x}$ for $x\ne0$, $f(0)=0$, has at $0$
Q5. A continuous $f:(0,1)\to\mathbb{R}$ is uniformly continuous if and only if