Suppose $f \in L^p(\mathbb{R}) , 1 \leq p < \infty$. Prove that $$\lim_{h\rightarrow 0} \int_{\Bbb R} |f(x+h)-f(x)|^p = 0$$
I was thinking about showing that the sequence $\{f(x+\frac{1}{n}) - f(x)\}_n$ converges to zero in $L^p(\mathbb{R})$ so that I could pass the limit under the integral and conclude that the limit is zero, but I am having problems showing this convergence.
I'm also not sure what other approach to take/what other convergence theorems I could use.
Here's a more detailed version of the hint in my comment: the big theorem we shall use is $C_c(\Bbb R)$ is dense in $L^p(\Bbb R)$, by whose virtue we are entitled to choose some compactly supported continuous $g$ such that $\|f(x)-g(x)\|_{L^p}=\|f(x+h)-g(x+h)\|_{L^p}$ are both very small. Now we only care about small $h$, so we may assume both $g(x)$ and $g(x+h)$ are supported within $[-K,K]$ for some $K$. Thus, we see that $g(x)$ and $g(x+h)$ are continuous on the compact interval $[-K,K]$, so they must be uniformly continuous. By uniform continuity we immediately know that $\|g(x)-g(x+h)\|_{L^p}\to 0$ as $h\to 0$. Finally, combine the above results with the triangle inequality in $L^p(\Bbb R)$: $$\|f(x+h)-f(x)\|_{L^p}\le \|f(x+h)-g(x+h)\|_{L^p}+ \|g(x+h)-g(x)\|_{L^p}+ \|g(x)-f(x)\|_{L^p}.$$