## Summary

- The geometric distribution has a single parameter (p) = X ~ Geo(p)
- Geometric distribution can be written as ,

where*q = 1 – p* - The mean of the geometric distribution is:
- The variance of the geometric distribution is:
- The standard deviation of the geometric distribution is:

The geometric distribution are the trails needed to get the first success in repeated and independent binomial trial. Each trial has two possible outcomes, it can either be a success or a failure. We can write this as:

- P(Success) = p (probability of success known as p, stays constant from trial to trial).
- P(failure) = q (probability of failure is a complement of success, thus for any trial it remains
*1 – p*).

Hence, we can write its probability density function as:

In other words:

For x = 1, 2, 3….

The geometric distribution has a single parameter, the probability of success (p). We can thus write this as:

X ~ Geo(p)

Moreover, the mean and variance are the functions of p.

- The mean of the geometric distribution is:

- The variance of the geometric distribution is:

- The standard deviation of the geometric distribution is:

#### Example #1

Q. In a large population of school students 30% have received karate training.

If students from this population are randomly selected, calculate:

a) what is the probability that the 6th person that was chosen at randomly was the first student to have received the karate training.

*Solution:*

Here we require the number of trials needed to get the first success. Since students are randomly selected from a large population, we can say that the trials are independent.

In addition, the fact that the first person has or has not received the karate training, does nothing to solve our query of whether the next randomly selected person has received the training or not.

To sum up what was said above:

- Independent trails have been repeated
- We want to know the number of trials required to get the first success
- The first student who got the karate training
- And lastly, the probability of success is constant

We can hence, say:

P = 0.3 (30%)

We want the probability of randomly selected 6 students thus we will write:

*Note: We want the first 5 students to not have received the karate training and the 6 to have.*

Thus, calculating the above equation we get:

(when rounded off)

We can thus conclude the answer by saying;

The probability that the 6th person that was chosen randomly was the first student to have received the karate training is 0.0504.

b) Find the mean, variance and the standard deviation of the example above.

*Solution:*

We will use the formulas required to find the three of them.

For mean:

For the variance:

Lastly, for the standard deviation:

c) What is the probability that the first student trained in karate occurs on or before the 3rd person was sampled.

*Solution:*

Now, we need to find the probability that the random variable X is less than equal to 3.

We will write this as:

Using, this formula, we can say:

= 0.657

In a nutshell, we can say that the probability that the first student trained in karate occurs on or before the 3rd person was sampled is 0.657.