Let $f$ be a real valued continuous function defined on $[0,1]$ so that $f(0) = 1,$ $f(1/2) = 2,$ $f(1) = 3.$ Show the limit, $\lim_{n \rightarrow \infty} \int_0^1 f(x^n)\,dx$ exists and compute its limit.
It seems as if we can use continuity to say if $x_n$ goes to $x,$ then $f(x_n) \rightarrow f(x) = f(0) = 1$, but I don't know why they give $f(1/2)$ and $f(1)$, plus $x^n$ is not uniformly continuous on $[0,1]$ so I'm a little unsure.
In both answers by sinbadh and Xander Henderson, I'm a little annoyed by the statement $\lim\limits_{n\to\infty} x^n=0$, this is only true for $x\in[0,1)$.
In fact I would prefer to introduce $f_n(x)=f(x^n)$ as a proper sequence of functions.
$\|f_n\|_{\infty}\le M$ since $f$ is continuous on $[0,1]$.
And now $f_n\to \ell:\begin{cases} f(0)=1& x\in[0,1)\\ f(1)=3&x=1\end{cases}$
With $\displaystyle \int_{[0,1]} \ell(x)\mathop{dx}=\int_{[0,1)} \ell(x)\mathop{dx}=1$ since $\ell(1)=3$ is finite.