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
\begin{align} & \operatorname{var}\left( \frac{X_1+\cdots+X_n} n \right) \\[8pt] = {} & \frac 1 {n^2} \operatorname{var}(X_1+\cdots +X_n) \\[8pt] = {} & \frac 1 {n^2} \left( \operatorname{var}(X_1)+\cdots+\operatorname{var}(X_n) \right) \\[8pt] & \text{and so on.} \\[10pt] \operatorname E\left( \overline X \right) = {} & \operatorname E\left( \frac{X_1+\cdots+X_n} n \right) \\[8pt] = {} & \frac 1 n \left( \operatorname E(X_1+\cdots+X_n) \right) \\[10pt] = {} & \frac 1 n \left( \operatorname E(X_1) + \cdots + \operatorname E(X_n) \right). \end{align}