Suppose $X_1, X_2, \ldots , X_n$ are $n$ independent r.v.s, with the same probability distribution and with mean $\mu$ and variance $\sigma^2$. Let $$ \bar{X}=\frac{X_1+X_2+\cdots+X_n}{n} $$ I know the expected value will be $\mu$ and variance will be $\frac{\sigma^2}{n}$, but I'm not sure on how to prove it. Thank you in advance :)
Edit: I'm sorry. I'm aware of how to expand $E(\bar{X})$ and $Var(\bar{X})$ using the formulae. The part that is tripping me up the most is the last step, i.e. why $\frac{1}{n}(E(X_1) + E(X_2) + \cdots + E(X_n))$ can be simplified as E($\bar{X}$), and similarly for variance