13

PROBLEM. Let $f:[a,b]\to\mathbb R$ be a continuous function, such that $f'(x)\ge 0$, for all $x\in [a,b]\setminus A$, where $A\subset [a,b]$ is a countable set. Show that $f$ is increasing.

Attention. In this problem, we DO NOT assume that $f$ is differentiable in the whole $[a,b]$.

Notes. (1) If we assume that $f$ is differentiable in the whole interval, then we can easily show that $f'(x)\ge 0$, everywhere. For otherwise, if $f'(x_0)=c<0$, for some $x_0\in [a,b]$, then by virtue of Darboux's Theorem, $(c,0)\subset f'([a,b])$, and hence, $f'(x)<0$, for uncountably many $x$'s.

(2) The conclusion of the problem does not hold if we replace the assumption $A$ is countable with $A$ is a set of measure zero. Take for example the Devil's staircase, with a negative sign in front.

(3) If the hypothesis $f'(x)\ge 0$, is replaced by $f'(x)=0$, then the conclusion becomes f is constant.

2 Answers2

4

Let $c,d\in [a,b]$, with $c<d$. It suffices prove that $$ f(d)-f(c)>-(4+d-c)\varepsilon, $$ for every $\varepsilon>0$.

We enumerate $A$ as $A=\{\alpha_n\}_{n\in\mathbb N}$ and choose $\delta_n>0$, such that $$ x\in(\alpha_n-\delta_n,\alpha_n+\delta_n)\quad\Longrightarrow\quad|f(x)-f(\alpha_n)| <\frac{\varepsilon}{2^n} $$ for all $n\in\mathbb N$. Finding such $\delta_n$'s is possible due to continuity of $f$. Set $I_n=(\alpha_n-\delta_n,\alpha_n+\delta_n)$. In particular $$ y_1,\,y_2\in I_n\,\,\,\Longrightarrow\,\,\, f(y_2)>f(y_1)-\frac{\varepsilon}{2^{n-1}} \tag{1} $$

Let $x\in [a,b]\setminus A$. Then there exists an $\eta_x>0$, such that $$ y\in(x-\eta_x,x+\eta_x)\quad\Longrightarrow\quad -\varepsilon |y-x|<f(y)-f(x)-(y-x)f'(x)< \varepsilon|y-x|, $$ and hence whenever $y_1,y_2\in J_x=(x-\eta_x,x+\eta_x)$, with $y_1\le x\le y_2$, we have that $$ f(y_2)-f(y_1)-(y_2-y_1)f'(x)\ge -\varepsilon(|y_1-x|+|y_2-x|) $$ and since $f'(x)\ge 0$, we finally obtain that

$$ f(y_2)>f(y_1)-\varepsilon(y_2-y_1). \tag{2} $$

We shall use the following result (for a proof see here):

Cousin's Lemma. Let $\mathcal C$ be a full cover of $[a, b]$, that is, a collection of closed subintervals of $[a, b]$ with the property that for every $x\in[a, b]$, there exists a $\delta>0$, so that $\mathcal C$ contains all subintervals of $[a, b]$ which contains $x$ and have length smaller than $\delta$. Then there exists a partition $\{I_1,\,I_2,\ldots,I_m\}\subset\mathcal C$ of non-overlapping intervals for $[a, b]$, where $I_i=[x_{i-1}, x_i]$ and $a=x_0 < x_1 <\cdots <x_n=b,$ for all $1\le i\le m$.

We define a $\mathcal C$ the collection of all closed subintervals $K$ of $[c,d]$, such that either $K\subset I_n$ and $\alpha_n\in K$, for some $\alpha_n\in A$ or $K\subset J_x$ and $x\in K$ for some $x\in [a,b]\setminus A$. Cousin's Lemma provides the existence of points $c=x_0<x_1<\cdots<x_m=d$, such that the closed intervals $$ K_1=[x_0,x_1],\, K_2=[x_1,x_2],\ldots,K_m=[x_{m-1},x_m] $$ belong to $\mathcal C$.

From the construction of $\mathcal C$, each $K_j$ is either a subinterval of some $I_n$ or some $J_x$, and possibly $K_j$ is a subset of more than one such intervals. To every $K_j$ we assign exactly one such interval. In particular, to every $j\in\{1,\ldots,m\}$ we assign either a unique $n\in\mathbb N$, such that $\alpha_n\in K_j\subset I_n$, which we denote as $n_j$, or a unique $x\in [a,b]\setminus A$, such that $x\in K_j\subset J_x$. This mapping is not necessarily $1-1$, since if $\alpha_n$ is the common endpoint of $K_j$ and $K_{j+1}$, it is possible that $n_j=n_{j+1}$. Thus, some of the $I_n$'s may have been assigned to two $K_j$'s (and no more than two).

We split $S=\{1,\ldots,m\}$ as a union of two disjoint sets. $S_1$ shall be the set of those $j\in S$, to which an $n\in\mathbb N$ has been assigned (i.e., $\alpha_n\in K_j\subset I_n=I_{n_j}$) while $S_2=S\setminus S_1$. If $j\in S_2$, then an $x\in [a,b]\setminus A$ has been assigned to $j$ and $x\in K_j\subset J_x$.

If $j\in S_1$, and $K_j\subset I_{n_j}$ then $(1)$ provides the $f(x_j)-f(x_{j-1})>-\dfrac{\varepsilon}{2^{n_j-1}}$, while if $j\in S_2$, then $(2)$ provides that $ f(x_j)-f(x_{j-1})>-\varepsilon (x_j-x_{j-1})$.

We now have that $$ f(d)-f(c)=\sum_{j=1}^m \big(f(x_j)-f(x_{j-1})\big)= \sum_{j\in S_1} \big(f(x_j)-f(x_{j-1})\big)+\sum_{j\in S_2} \big(f(x_j)-f(x_{j-1})\big) \\ \ge -\sum_{j\in S_1} \frac{\varepsilon}{2^{n_j-1}}-\sum_{j\in S_2}\varepsilon(x_j-x_{j-1}) > -4\varepsilon-\varepsilon(d-c)=-(4+d-c)\varepsilon. $$ The last inequality holds because in the first sum, $\sum_{j\in S_1} \dfrac{1}{2^{n_j-1}}< 2\sum_{n=1}^\infty \dfrac{1}{2^{n-1}}=4$, since the power $\dfrac{1}{2^{n-1}}$ may appear twice, if $\alpha_n$ is an endpoint of two neighboring $K_j$'s.

  • 1
    Did you see https://math.stackexchange.com/q/3313210/42969? That is a consequence of your result. But it seems to me that David's approach of choosing an “increasing non-overlapping cover” of intervals would work for your problem as well, and is simpler than using the Cousin's Lemma. I might be overlooking something, of course. – Martin R Aug 06 '19 at 09:00
  • 1
    Actually, that was my first idea. But it is not correct. (Possibly it could be corrected.) This is because the sum of $|x_j-y_j|$ is not less than 1. – Yiorgos S. Smyrlis Aug 06 '19 at 15:51
0

Here is an easier proof. One can show that if $f'(x) > 0$ for all $x\in [a, b]\setminus A$ (note the strict inequality), then $f$ is strictly increasing (look here for a proof). So we consider the collection of functions $\{f_{\varepsilon}(x) = f(x)+\varepsilon x\}_{\varepsilon > 0}$. It is clear that each $f_{\varepsilon}$ is continuous and $f_{\varepsilon}'(x) = f'(x)+\varepsilon > 0$ for all $x\in [a, b]\setminus A$. Thus, $f_{\varepsilon}$ is strictly increasing and for any $a\leq x_{1} < x_{2}\leq b$ we have $f(x_{2})-f(x_{1}) > \varepsilon(x_{1}-x_{2})$. We take the limit as $\varepsilon\rightarrow 0$ to conclude.

  • I'm not following. $0 + \epsilon$ is positive for all positive $\epsilon$, but the limt as $\epsilon$ goes to $0$ is not positive.... – Mike May 02 '25 at 20:43
  • @Mike We have $f(x_{2})-f(x_{1})\geq \lim_{\varepsilon\rightarrow 0}\varepsilon(x_{1}-x_{2}) = 0$. – Karthik Kannan May 02 '25 at 20:47
  • Wouldn't you have to show instead that $f(x)-\epsilon x$ [note the $-$ sign] is nondecreasing on $[a,b]$ for some $\epsilon > 0$? That would give you strictly increasing. – Mike May 02 '25 at 21:00
  • @Mike $f$ need not be strictly increasing. We only need to show that it is non-decreasing (i.e., we could have $f(x_{2}) = f(x_{1})$ for $x_{1} < x_{2}$). We cannot consider $f(x)-\varepsilon x$ since it need not have a positive derivative on $[a, b]\setminus A$. – Karthik Kannan May 02 '25 at 21:02
  • Oh, I think I see it now. You are assuming a previous result that states $f'(x)>0$ for all $x \in [a,b]\setminus A$ $\implies f$ strictly increasing. And then are using that previous result to show that $f'(x) \ge 0$ for all $x \in [a,b]\setminus A$ $\implies f$ nondecreasing, – Mike May 02 '25 at 21:08
  • @Mike, yes. The point is that the proof of the case $f' > 0$ seems to be easier than the argument given in the other answer. – Karthik Kannan May 03 '25 at 12:00