Trying to derive the expectation for the geometric distribution. Can someone help me derive the identity of the series n(p)^(n-1) = 1/(1-p)^2?
I'm not convinced you have written what you want. Anyway, it's called "Geometric" for a reason. Everything you ever leared about Geometric Series applies, here.
Remember this?
You ALMOST have that. You're only additional concern is that pesky linearly increasing coefficient. It is easily removed by an old trick.
If
Then
Subtracting the second from the first gives:
Are we getting anywhere? Let's work with the left hand side - WAIT! That's just our friend the Geometric Series. We know its sum.
Solve for S, substitute p = 1-q, and I think you're done.
Note: Before solving for S and before finding the sum of the left hand side, one MAY notice that these are simply the probabiltiies of the possible outcomes of the Geometric Distribution. The sum of those had better be one (1).