Let Y be a geometric random variable. Show that E(Y) = 1/P

Let Y be a geometric random variable. Show that E(Y) = 1/P . Write

Thus,

Then use the fact that

(The sum of this infinite series is given in most mathematical handbooks.)]