# Exercise on L^p spaces

Let $f$ be a function of $L^p([0,2]) \>\> \forall p \in [1, \infty )$ and suppose $||f||_p \leq 1$. Show that $f$ belongs to $L^{\infty}([0,2])$ and $||f||_{\infty} \leq 1$.

-

Suppose $|f| > 1$ on a subset of $[0,2]$ with positive measure, then since $\{x, |f(x)| > 1 \}= \cup_n \{x, |f(x)| > 1 +\frac{1}{n}\}$, there exists $n_0$, such that $A =\{x, |f(x)| > 1 +\frac{1}{n_0}\}$ is of positive measure, i.e. $\mu(A) >0$
Thus $\lim_{p\to \infty}||f||_p >\lim_{p\to \infty}(1+\frac{1}{n_0})\mu(A)^\frac{1}{p} = (1+\frac{1}{n_0})$. There exists some $N$ such that for all $p>N$, $||f||_p > 1+\frac{1}{2n_0}$. Thus contradiction with given conditions.
PS: if we know a priori $||f||_{\infty} < \infty$, we have $\lim_{p\to \infty}||f||_p = ||f||_{\infty}$. We have just proven this is also true when $||f||_{\infty} = \infty$