Define as the following random variable
-
is simply a binomial distribution, where we want the success to happen at the th trial.
-
= number of tails before first success. Let the success be at . Defin as
Note that both and are random variables here. Using the formulae for random number of random variables,