How can I formally show that if $f:[0,1]\to \mathbb{R}$ continuous, $f'(x)$ exists for everything $x\in[0,1]$ y $\sup_x |f'(x)|=B<\infty$ then $\sup_{n,x} |g_n(x)|\leq B$ with $g_n(x)=\frac{f(x+1/n)-f(x)}{1/n}$
I know that $f'(x)=\lim_{h\to 0} \frac{f(x+h)-f(x)}{h}$ and here I do not know if it can be done immediately that $f'(x)=\lim_n g_n(x).$ In this way, the idea is to "turn that lim into a sup" but I do not know formally how to do it.
How would it be?
Also like to prove that if $f$ is continuous, for any $x_0\in [0,1]$ then
$\lim_n (\frac{1}{n})\int_{0}^{1/n}[f(x_0+x)]dx=f(x_0)$?
If $f(0)=0$. How proves that $f(y)=\int_{0}^{y}f'(x)dx$? I know that it must be obtained from the above but I can not see the trick
First part is immediate from Mean Value Theorem. For second part use the fact that $$| n \int_0^{1/n} f(x_0+x)dx-f(x_0)|=| n \int_0^{1/n} [f(x_0+x)-f(x_0)]dx|$$ $$\leq n \int_0^{1/n}|f(x_0+x)dx-f(x_0)|dx.$$ If $n$ is large enough then $|f(x_0+x)dx-f(x_0)| <\epsilon$ for all $x \in [0,1/n]$. Can you complete the proof now? [I have used the fact that $ n \int_0^{1/n} [f(x_0+x)-f(x_0)]dx=n \int_0^{1/n} f(x_0+x)dx-f(x_0)$ which follows from the fact that $f(x_0)$ is a constant].