TITLE: Show that $\lim((\int_{a}^{b}f^{n})^\frac{1}{n})=\sup\{f(x):x\in[a,b]\}$
QUESTION [6 upvotes]: Another exercise (this one is 7.2.18) from "Introduction to Real Analysis" by Bartle and Sherbert that I'm struggling with:
Let $f$ be continuous on $[a,b]$, let $f(x)>=0$ for $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]\}$.
I think that as $f$ is continuous, thus bounded, on given interval, one should start with representing $M_{n}$ as $(M^{n}\int_{a}^{b}(\frac{f}{M})^{n})^\frac{1}{n}$, where $M$ is essential supremum of $f$ on given interval, and then proceed from there; however, I'm not sure how to formalize further steps...
Note that this particular exercise is following exercises on MVT for integrals. So another approach I tried was to follow from the fact that there exists $c_{1},\ldots,c_{n}\in[a,b]$ such that $M_{n}=(f(c_{1})\int_{a}^{b}f^{n-1})^\frac{1}{n}=\ldots=(f(c_{1})\ldots f(c_{n})(b-a))^\frac{1}{n}$, but to no avail.

REPLY [2 votes]: Fix $\varepsilon>0$, and let $x_0\in [a,b]$ such that $f(x_0)=M$ like in the OP. Take $\delta>0$ such that if $|x-x_0|\leqslant \delta$ and $x\in [a,b]$ then $$M-\varepsilon< f(x)<M+\varepsilon .$$
Call $I:=[a,b]\cap (x_0-\delta,x_0+\delta)$; then the length of $I$ is at least $\delta$ and smaller than $2\delta$. Hence 
$$M^n(b-a)\geqslant \int_a^bf(x)^ndx\geqslant \int_I f(x)^ndx\geqslant \delta (M-\varepsilon)^n.$$
Taking the power $\frac 1n$, this gives that 
$$M(b-a)^{\frac 1n}\geqslant \left(\int_a^bf(x)^ndx\right)^{\frac 1n}\geqslant \delta^{\frac 1n}(M-\varepsilon).$$
The first inequality gives that 
$$\limsup_{n\to +\infty}\left(\int_a^bf(x)^ndx\right)^{\frac 1n}\leqslant M,$$
and the second one that for each $\varepsilon>0$,
$$\liminf_{n\to +\infty}\left(\int_a^bf(x)^ndx\right)^{\frac 1n}\geqslant M-\varepsilon.$$
The conclusion follows.