# Find the almost sure limit

Let $X_1,X_2,...$ independent identically distributed (i.i.d.) random variables with $E(X_i)=2$ and $Var(X_i)=1$. Find the almost sure limit of:

$$Y_n={{\sum_{i=1}^nX_i\sum_{i=1}^n(X_i-2)^2}\over{n^2}}$$

-

Write $Y_n$ as a product:
$$Y_n = \frac{\sum_{i=1}^n X_i}{n} \cdot \frac{\sum_{i=1}^n (X_i-2)^2}{n}$$
$$\frac{\sum_{i=1}^n X_i}{n} \to \mathbb{E}X_i = 2 \quad \text{a.s.} \qquad (n \to \infty) \\ \frac{\sum_{i=1}^n (X_i-2)^2}{n} = \frac{\sum_{i=1}^n (X_i-\mathbb{E}(X_i))^2}{n} \to \mathbb{E}((X_i-\mathbb{E}(X_i))^2) = \text{Var}(X_i)=1 \quad \text{a.s.} \quad (n \to \infty)$$