The geometric distribution

About this lesson

Statistics (AP-aligned) › Random variables

To save a PDF, choose “Save as PDF” in the print dialog.

The geometric distribution

Random variables.

Warm-up

Three quick questions from earlier lessons.

Discover

You roll a die until the first six. What is the probability that the first six comes on roll 3?

  1. (56)216\left(\tfrac{5}{6}\right)^2 \tfrac{1}{6}
  2. (56)316\left(\tfrac{5}{6}\right)^3 \tfrac{1}{6}

Key idea

Waiting for the first success.

Geometric setting: independent trials with the same pp, repeated until the first success; XX = the number of the trial of the first success. P(X=k)=(1−p)k−1pP(X = k) = (1 - p)^{k - 1}p, μX=1p\mu_X = \dfrac{1}{p}.

Worked example

p=0.25p = 0.25.

P(X=2)=0.75×0.25=0.1875P(X = 2) = 0.75 \times 0.25 = 0.1875
First success on trial 2.
P(X≤2)=1−0.752=0.4375P(X \le 2) = 1 - 0.75^2 = 0.4375
Within 2 trials: complement of 2 failures.
μ=4\mu = 4
1/p.

Your turn, guided

Your turn: p=0.1p = 0.1. The mean number of trials.

1010
1/0.1.

Practice ★

  1. Each call reaches a customer with probability 1/2, independently. Find P(the first success is on call 2).
  2. Each call reaches a customer with probability 1/4, independently. Find P(the first success is on call 2).
  1. A die-like spinner shows 'win' with probability 1/10. On average, how many spins are needed to get the first win?

Watch out!

Practice ★★

  1. Each attempt succeeds with probability 1/7. Find P(the first success comes within the first two attempts).
  2. Each attempt succeeds with probability 1/9. Find P(the first success comes within the first two attempts).

Exit ticket

Three questions to check you have got it.

  1. Each call reaches a customer with probability 1/2, independently. Find P(the first success is on call 2).
  2. Each call reaches a customer with probability 1/4, independently. Find P(the first success is on call 2).
  3. Each call reaches a customer with probability 1/2, independently. Find P(the first success is on call 6).

Summary card

Geometric distribution

P(X=k)=(1−p)k−1pP(X = k) = (1 - p)^{k - 1}p, μ=1/p\mu = 1/p.

Watch out: k−1k - 1 failures before the first success.

End of the lesson

CC BY-SA 4.0