Let $(X_n)_{n\geq 1}$ be i.i.d. random variables with uniform distribution on the interval $(0,1)$.
I need to prove that the following sequence of random variables $(Y_n)_n$ defined by:
$$Y_n = \frac{X_1^2+\dots+X_n^2}{X_1+\dots+X_n}$$
converges almost surely, and then compute
$$\lim_{n\to\infty} \mathbb{E}(Y_n)$$
It does not seem to be a very difficult problem, but I am stuck.
Thanks a lot!
Hint: you can use the Strong Law of Large Numbers (SLLN) just write
$$ Y_n = \frac{X_1^2 + ... + X_n^2}{n} \frac{1}{ \frac{X_1+...+X_n}{n}}. $$ Now, both fractions converge a.s. in view of the SLLN, and hence so does the $Y_n$. You also get the expectation using in addition the boundedness of the sequences.