Partial sum of infinite series

67 Views Asked by At

In a probability excercise I concluded that the expected value is the following infinite series:

$\sum_{i=1}^{\infty} \frac{2i}{2^i}$

I wrote down the first few terms and saw that it converges to 4, however, how do I solve this properly?