I am having a hard time with the following real analysis qual problem. Any help would be awesome.
Suppose that $f \in L^p(\mathbb{R})$, where $1\leq p< + \infty$. Let $T_r(f)(t)=f(t−r)$. Show that $\lim_{r \to 0} \|T_rf−f\|_{L_p} =0$, that is $$ \lim_{r\to 0} \left( \int_{\mathbb R} |f(t-r) - f(t)|^p \mathrm d t\right)^{1/p} =0.$$
This can be handled using the definition of the Lebesgue integral plus some facts about Lebesgue measure like regularity.
First, we prove the result when $f$ is the characteristic function of an open set $O$ of finite measure. When $O$ is an interval, this is clear. It is also the case when it's a finite disjoint union of open intervals. In the general case, for a fixed $\varepsilon$, we take $O_\varepsilon$ which is a finite disjoint union of open intervals of finite measure such that $O_\varepsilon\subset O$ and $\lambda(O\setminus O_\varepsilon)\lt \varepsilon$. Then $$ \lVert \chi_{O+r}-\chi_O\lVert_p\leqslant \underbrace{\lVert\chi_{O+r}-\chi_{O_\varepsilon+r}\lVert_p}_{=\lVert\chi_{O}-\chi_{O_\varepsilon}\lVert_p}+\lVert \chi_{O_\varepsilon+r}-\chi_{O_\varepsilon}\rVert_p+\varepsilon^{1/p}, $$ hence $$ \limsup_{r\to 0}\lVert \chi_{O+r}-\chi_O\lVert_p\leqslant 2\varepsilon^{1/p}. $$ Once this is done for an open set, we obtain by outer regularity that the result holds when $f$ is the characteristic function of any Borel subset of finite measure.
Then we approximate by simple functions, noticing that $\lVert T_r\rVert_{L^p\to L^p}=1$ for each $r$.