If$|f(x)-f(y)|\le (x-y)^2$, prove that $f$ is constant

2k Views Asked by At

(Baby Rudin Chapter 5 Exercise 1)

Let $f$ be defined for all real $x$, and suppose that \begin{equation}\tag{1} |f(x)-f(y)|\le (x-y)^2 \end{equation} Prove that $f$ is constant.

My attempt:

Let $f$ be defined for all real-valued inputs. Let $x \in \mathbb{R}$ and $y \in \mathbb{R} \smallsetminus \{ x \}$, and suppose that (1) holds. Then, we have: \begin{align*} \left| \dfrac{f(x)-f(y)}{x-y}\right| \le (x-y) \end{align*} As $x\to y, \lim\limits_{x \to y}\left| \dfrac{f(x)-f(y)}{x-y}\right| \le 0$. Since it cannot be that $\left|f'(y)\right| < 0$, we have that $\left|f'(y)\right| = 0 \implies f'(y) = 0$.

Can someone please read over my proof and let me know if it is correct?

4

There are 4 best solutions below

0
On BEST ANSWER

Your deduction that $$\frac{|f(x)-f(y)|}{|x-y|}\le x-y$$ is incorrect because it would lead to $$|f(x)-f(y)|\le |x-y|\cdot(x-y)\ne (x-y)^2$$ To make it work, you may want to deduce that $$\frac{|f(x)-f(y)|}{|x-y|}\le |x-y|$$

Your solution is otherwise correct.

5
On

Technically there is a slight mistake.

You took $x\in \Bbb{R}$ and $y\in \Bbb{R}$ such that $y\neq x $, so you should $y\rightarrow x$. Then you arrive $f'(x)=0$ for all $x\in \Bbb{R}$, which gives $f$ is constant.

0
On

I stumbled upon this question on Functional Equation book by Christoper G. Small though the slight difference is merely that it is bounded by K(x–y)² for some K>0 instead.

So here's my two cents (from Functional Equation perspective)

\begin{align*} &\forall a,b \in \mathbb{R} \text{ and } a<b, \; \text{let } x_0=a; \, x_n=b \\ &x_k=x_0 + k \, \frac{b-a}{n} \end{align*}

Obviously, from the construction above, we see that: $$\forall k \in [1,n] \cap \mathbb{Z}, \; \, x_k-x_{k-1}=\frac{b-a}{n}$$

\begin{align*} |f(b)-f(a)| &= \left | \, \sum_{k=1}^n f(x_k)-f(x_{k-1}) \, \right | \\ &\leq \sum_{k=1}^n \left | \, f(x_k)-f(x_{k-1}) \, \right | = \sum_{k=0}^n K \left(x_k-x_{k-1}\right)^2 \\ &= \sum_{k=1}^n K \left( \frac{b-a}{n} \right)^2 = nK \left( \frac{b-a}{n} \right)^2 \\ &= \frac{K(b-a)^2}{n} \end{align*}

$$\text{As } \, n\to \infty, \, f(a)=f(b) \; \text{for all a,b in } \mathbb{R}$$

Therefore, f(x) is constant ∎

0
On

Late answer, but here is a slight generalization of this problem.

Let $X,Y\subseteq\mathbb{R}$ and suppose $f:X\to Y$ is a function. Suppose $f$ is $\alpha$-Holder continuous with $\alpha\in\mathbb{R}$ and $\alpha>1$. Then, there exists a $K\in\mathbb{R}$ such that for all $x,y\in X$, we have $|f(x)-f(y)|\leq K|x-y|^{\alpha}$. Now, consider $$0\leq \lim_{x\to y}\bigg|\frac{f(x)-f(y)}{x-y}\bigg|\leq \lim_{x\to y}K|x-y|^{\alpha-1} $$ Since $\alpha>1$, then $\alpha-1>0$, which implies $\lim\limits_{x\to y}|x-y|^{\alpha-1}=0$. By the squeeze theorem, we have $\lim\limits_{x\to y}\bigg|\frac{f(x)-f(y)}{x-y}\bigg|=0$ which implies $f'(x)=0$. Since the only functions whose derivatives are identically zero are the constant functions, then we must have $f(x)=c$ for some $c\in\mathbb{R}$.