Probability Generating Function of Negative Binomial Distribution/Second Form

Theorem
Let $X$ be a discrete random variable with the negative binomial distribution (second form) with parameters $n$ and $p$.

Then the p.g.f. of $X$ is:
 * $\ds \map {\Pi_X} s = \paren {\frac {p s} {1 - q s} }^n$

where $q = 1 - p$.

Proof
From the definition of p.g.f:


 * $\ds \map {\Pi_X} s = \sum_{k \mathop \ge 0} \map {p_X} k s^k$

From the definition of the negative binomial distribution (second form):
 * $\map {p_X} k = \dbinom {k - 1} {n - 1} p^n q^{k - n}$

where $q = 1 - p$.

So:

Hence the result.