The geometric distribution

Lessons and exercises follow the school system and stay in its language.Les leçons et les exercices suivent le système scolaire et restent dans sa langue.Lektionen und Übungen folgen dem Schulsystem und bleiben in seiner Sprache.

About this lesson

Statistics (AP-aligned) › Random variables

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

Sources and credits

Written with this source as a starting point:

sedifier rewrote the text and added its own examples and exercises.

Written with AI assistance; every answer is checked by our math engine. Not yet reviewed by a teacher.

This lesson: CC BY-SA 4.0, © sedifier · All credits

The geometric distribution

Random variables.

Warm-up

Three quick questions from earlier lessons.

  1. A free throw is made with probability 1/3. In 3 independent shots, find P(exactly one is made).
  2. A seed sprouts with probability 1/3, independently. 4 seeds are planted. Find P(exactly two sprout).
  3. Which situation fits a binomial model?
    1. The number of heads in 9 tosses of a fair coin
    2. The number of tosses until the first head
    3. The number of aces in 9 cards dealt from one deck

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/11, independently. Find P(the first success is on call 9).
  1. A die-like spinner shows 'win' with probability 1/3. On average, how many spins are needed to get the first win?

Watch out!

Practice ★★

  1. Each attempt succeeds with probability 1/4. Find P(the first success comes within the first two attempts).
  2. Each attempt succeeds with probability 1/15. 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/11, independently. Find P(the first success is on call 9).
  3. Each call reaches a customer with probability 1/3, independently. Find P(the first success is on call 3).

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.

One more step is optional: a challenge. Try it, or finish the lesson now.

Challenge ★★★

  1. Each trial succeeds with probability 16\dfrac{1}{ 6 }. Find the probability that the first success comes after trial 6.
Sources and credits

Written with this source as a starting point:

sedifier rewrote the text and added its own examples and exercises.

Written with AI assistance; every answer is checked by our math engine. Not yet reviewed by a teacher.

This lesson: CC BY-SA 4.0, © sedifier · All credits