Let $f$ be continuous on $[a,b]$, let $f(x) \geq 0$ for all $x \in [a,b]$ and let $M_n = (\int_{a}^{b} f^n )^{\frac{1}{n}}$. Show that $\lim(M_n) = \sup\{f(x):x\in [a,b]\}$
Here is what I have so far: Let $M = \sup(f)$ and $p \in [a,b]$ such that $M = f(p)$. Given $\epsilon > 0$, there exists an interval $[c,d]$ containing $p$ such that
$$M - \epsilon \leq f(x) \leq M, ~~~x \in [c,d]$$
Note that $0 \leq (d-c) \leq (b-a)$ so I raise everything to the power of $n$ and then add $(d-c)$ and $(b-a)$ to the inequality. $$ (M-\epsilon)^n(d-c) \leq \int_{c}^{d}f^n \leq \int_{a}^{b}f^n \leq M^n(b-a)$$
Then I take the $nth$ root to get
$$(M-\epsilon)(d-c)^{1/n} \leq M_n \leq M(b-a)^{1/n}$$
Then since $\lim(\alpha)^{1/n} \to 0$, by the squeeze theorem, $\lim(M_n) = \sup(f(x)) = 0$?