I need to show that $U$, as defined below, is a consistent estimator for $\mu^{2}$.
$U=\bar{Y}^{2}-\frac{1}{n}$
By the continuous mapping theorem, which states that,
$X_{n} \stackrel{\mathrm{P}}{\rightarrow} X \Rightarrow g\left(X_{n}\right) \stackrel{\mathrm{P}}{\rightarrow} g(X)$
Then,
$\bar{Y} \stackrel{P}{\longrightarrow} \mu $ gives me $\bar{Y}^{2} \stackrel{P}{\longrightarrow} \mu^{2} .$
And since $\frac{1}{n} \rightarrow 0$ as $n \rightarrow \infty$ the result for conistency seems intuitively obvious.
But I have a confusion with how to show this formally, whether using only the mapping theorem, or if I need something else. Showing how the $\frac{1}{n} \rightarrow 0$ part leads to consistency is the part that I'm missing, since this is a standard limit and not a convergence in probability.
Any help in completing this is greatly appreciated.
You're missing two things. First of all, saying $1/n\to\infty$ is a 'standard limit' means that the convergence holds a.s. and hence also in probability. The next step is then to apply the continuous mapping theorem again with the function $g(x,y)=x-y$.