Show that $$\lim(M_n)=\sup\{f(x):x\in[a,b]\}$$ If $f$ is continuous on $[a,b]$, $f(x)\geq0$ for all $x\in[a,b]$, and $M_n=\left(\int_a^b f(x)^n dx\right)^{1/n}$.
I don't have any idea to solve this. What I know is that $\lim(M_n)\leq \sup\{f(x):x\in[a,b]\}$. I don't know how to prove that LHS and RHS are same. Could you give me any clue, please?
EDITED: After I saw comment form Chilango, I want to try to solve this:
I want to prove that $\lim(M_n)\geq\sup\{f(x):x\in[a,b]\}$. Let $M=\sup\{f(x):x\in[a,b]\}$ and $D=\{x:f(x)\geq M-\delta\}$ with $\delta>0$ be arbitrary. Then $$\left(\int_a^b f(x)^n dx\right)^{1/n} \geq \left(\int_D (M-\delta)^n d\mu\right)^{1/n}$$ $$M_n\geq(M-\delta)\mu(D)^{1/n}$$ Then we can say $$\lim(M_n)\geq\lim((M-\delta)\mu(D)^{1/n})=M-\delta$$ Because $\delta$ is arbitrary, It's proved. Is this way correct?
We can prove this without measure theory. Also we can avoid referring to properties of $\liminf$ or $\limsup$ since it appears you have not covered that yet.
Since $f$ is continuous it attains a maximum on $[a,b]$ at some point $c \in [a,b]$ where $f(c) = M = \sup\{f(x): x \in [a,b]\}.$ Again using continuity, given $\epsilon >0$ there exists an interval $[c_1,c_2] \subset [a,b]$ such that $f(x) > M - \epsilon/2$ for all $x \in [c_1,c_2]$.
Hence, with $f(x) \geqslant 0$ we have
$$(M-\epsilon/2)(c_2-c_1)^{1/n} \leqslant \left(\int_{c_1}^{c_2} [f(x)]^n \, dx\right)^{1/n} \leqslant \left(\int_a^b [f(x)]^n \, dx \right)^{1/n} \leqslant M(b-a)^{1/n}.$$
Since $(c_2 - c_1)^{1/n} \to 1$ and $(b-a)^{1/n} \to 1$ as $ n \to \infty$, for all $n$ sufficiently large we have $(c_2 - c_1)^{1/n} > (M - \epsilon)/(M - \epsilon/2)$ and $(b-a)^{1/n} \leqslant 1 + \epsilon/M,$ and, consequently,
$$M - \epsilon \leqslant \left(\int_a^b [f(x)]^n \, dx \right)^{1/n} \leqslant M + \epsilon.$$
Since $\epsilon$ can be arbitrarily small it follows that
$$\lim_{n \to \infty} \left(\int_a^b [f(x)]^n \, dx \right)^{1/n}= M$$