MathOverflow is a question and answer site for professional mathematicians. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to find the -1 moments of sum of N geometric random variable, i.e. $E[\frac{1}{\sum_{i=1}^N X_i}]$

Suppose the probability mass function is $f_X(x) = (1 - p)^{x - 1} p$

The moment generating function of $\sum_{i = 1}^N X_i$ will be

$E[e^{t \sum X_i}] = ( \frac{pe^t}{1 - (1-p)e^t})^N$

Let $h(t) = \frac{pe^t}{1 - (1-p)e^t}$, the -1 moments of $\sum_{i = 1}^N X_i$, will just be $\int h(t)^N dt |_{t = 0}$. This is where I got stuck....

share|cite|improve this question
Hmm, I am not sure why all the downvotes, is this too easy somehow? – Bjørn Kjos-Hanssen Apr 15 '14 at 18:23
up vote 1 down vote accepted

If you set $u=e^t$, we get $$ \int \left(\frac{pu}{1-(1-p)u}\right)^N\frac{du}{u} $$ According to Wolfram Alpha, with $p=1/2$, $$ \int \left(\frac{e^t}{2 (1-e^t/2)}\right)^N dt = \left(\frac{e^t}{2-e^t}\right)^N (1-e^t/2)^n \frac{{}_2F_1(n, n, n+1, e^t/2))}{n}+\text{constant} $$ where ${}_2F_1$ is the hypergeometric function.

share|cite|improve this answer
Bjørn, it works! Thank you! – Lei Yao Apr 15 '14 at 17:53

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.