$\textbf{The Problem:}$ Prove that if $f$ is continuous on $[0,1]$, then $$\lim_{n\to\infty}\int_0^1f(x^n)\,dx=f(0).$$ Note: Here we are using the Riemann integral.
$\textbf{My Thoughts and Attempt:}$ Choose $0<\delta<1$. Since $f$ is continuous on a compact interval, it follows that it is also uniformly continuous, on $[0,1]$ and hence, on $[0,\delta]$. Thus, $f(x^n)\to f(0)$ uniformly on $[0,\delta]$. Therefore, $$\lim_{n\to\infty}\int_0^\delta f(x^n)\,dx=f(0)\cdot\delta.$$ Since $0<\delta<1$ was arbitrary, it follows that $$\lim_{n\to\infty}\int_0^1f(x^n)\,dx=f(0).$$
$\textbf{My Concerns:}$ I am not entirely convinced that I have executed my $\delta$ trick, which turns the problem into a double limit, correctly. Could anyone please provide some feedback on my proof above and whether the introduction of $\delta$ is handled appropriately?
Thank you for your time and appreciate any feedback.