What series is this? Is there a formula? Also, is there a quick way to calculate $E(X^2)$?
$E(X) = \sum _{k=1}^{\infty \:}\left(\frac{1}{2}\right)^k$*k
I've tried using
$E(X) = 0.5+0.5^2+0.5^3 + ...$
$ 0.5 E(X) = 0.5^2+0.5^3 * 2 + 0.5^4 *3 + ...$
$ 0.5 E(X) = 0.5 + 0.5^2 + 0.5^3 + ... $
The third line is the difference of the first two lines here. Using geometric series, the third line gives 0.5 E(X) = 1, so E(X) = 2, but is there a faster way?
Thank you!