•

The geometric distribution is a discrete probability distribution with probability function given by:

$f\left(t\right)=\left\{\begin{array}{cc}0& t<0\\ p{\left(1p\right)}^{t}& \mathrm{otherwise}\end{array}\right.$

subject to the following conditions:

$0<p,p\le 1$
•

The geometric distribution has the lack of memory property: the probability of an event occurring in the next time interval of an exponential distribution is independent of the amount of time that has already passed.

•

The geometric variate is a special case of the NegativeBinomial variate with number of trials parameter $x=1$.

•

The continuous analog of the geometric variate is the Exponential variate.

•

Note that the Geometric command is inert and should be used in combination with the RandomVariable command.

•

There are two different but intimately related distributions that are frequently called geometric distributions, one of which is the distribution described on this help page. Let us call this the Maple definition. It is often defined by saying it describes the number of failures before the first success in a sequence of independent Bernoulli distributed trials. The other distribution often called the geometric distribution can then be defined as the number of trials up to and including the first success; let us call it the alternative definition. If $X$ is a random variable with the geometric distribution according to the Maple definition, then $X+1$ is a random variable with the geometric distribution (with the same value for the parameter p) according to the alternative definition. The alternative definition yields the following probability function:

$g\left(t\right)=\left\{\begin{array}{cc}0& t<1\\ p{\left(1p\right)}^{t1}& \mathrm{otherwise}\end{array}\right.$