# 7.5: Geometric Distribution

- Page ID
- 5738

\( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

\( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

\( \newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\)

( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\)

\( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

\( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\)

\( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

\( \newcommand{\Span}{\mathrm{span}}\)

\( \newcommand{\id}{\mathrm{id}}\)

\( \newcommand{\Span}{\mathrm{span}}\)

\( \newcommand{\kernel}{\mathrm{null}\,}\)

\( \newcommand{\range}{\mathrm{range}\,}\)

\( \newcommand{\RealPart}{\mathrm{Re}}\)

\( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

\( \newcommand{\Argument}{\mathrm{Arg}}\)

\( \newcommand{\norm}[1]{\| #1 \|}\)

\( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

\( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\AA}{\unicode[.8,0]{x212B}}\)

\( \newcommand{\vectorA}[1]{\vec{#1}} % arrow\)

\( \newcommand{\vectorAt}[1]{\vec{\text{#1}}} % arrow\)

\( \newcommand{\vectorB}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

\( \newcommand{\vectorC}[1]{\textbf{#1}} \)

\( \newcommand{\vectorD}[1]{\overrightarrow{#1}} \)

\( \newcommand{\vectorDt}[1]{\overrightarrow{\text{#1}}} \)

\( \newcommand{\vectE}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash{\mathbf {#1}}}} \)

\( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

\( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

\(\newcommand{\avec}{\mathbf a}\) \(\newcommand{\bvec}{\mathbf b}\) \(\newcommand{\cvec}{\mathbf c}\) \(\newcommand{\dvec}{\mathbf d}\) \(\newcommand{\dtil}{\widetilde{\mathbf d}}\) \(\newcommand{\evec}{\mathbf e}\) \(\newcommand{\fvec}{\mathbf f}\) \(\newcommand{\nvec}{\mathbf n}\) \(\newcommand{\pvec}{\mathbf p}\) \(\newcommand{\qvec}{\mathbf q}\) \(\newcommand{\svec}{\mathbf s}\) \(\newcommand{\tvec}{\mathbf t}\) \(\newcommand{\uvec}{\mathbf u}\) \(\newcommand{\vvec}{\mathbf v}\) \(\newcommand{\wvec}{\mathbf w}\) \(\newcommand{\xvec}{\mathbf x}\) \(\newcommand{\yvec}{\mathbf y}\) \(\newcommand{\zvec}{\mathbf z}\) \(\newcommand{\rvec}{\mathbf r}\) \(\newcommand{\mvec}{\mathbf m}\) \(\newcommand{\zerovec}{\mathbf 0}\) \(\newcommand{\onevec}{\mathbf 1}\) \(\newcommand{\real}{\mathbb R}\) \(\newcommand{\twovec}[2]{\left[\begin{array}{r}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\ctwovec}[2]{\left[\begin{array}{c}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\threevec}[3]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\cthreevec}[3]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\fourvec}[4]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\cfourvec}[4]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\fivevec}[5]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\cfivevec}[5]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\mattwo}[4]{\left[\begin{array}{rr}#1 \amp #2 \\ #3 \amp #4 \\ \end{array}\right]}\) \(\newcommand{\laspan}[1]{\text{Span}\{#1\}}\) \(\newcommand{\bcal}{\cal B}\) \(\newcommand{\ccal}{\cal C}\) \(\newcommand{\scal}{\cal S}\) \(\newcommand{\wcal}{\cal W}\) \(\newcommand{\ecal}{\cal E}\) \(\newcommand{\coords}[2]{\left\{#1\right\}_{#2}}\) \(\newcommand{\gray}[1]{\color{gray}{#1}}\) \(\newcommand{\lgray}[1]{\color{lightgray}{#1}}\) \(\newcommand{\rank}{\operatorname{rank}}\) \(\newcommand{\row}{\text{Row}}\) \(\newcommand{\col}{\text{Col}}\) \(\renewcommand{\row}{\text{Row}}\) \(\newcommand{\nul}{\text{Nul}}\) \(\newcommand{\var}{\text{Var}}\) \(\newcommand{\corr}{\text{corr}}\) \(\newcommand{\len}[1]{\left|#1\right|}\) \(\newcommand{\bbar}{\overline{\bvec}}\) \(\newcommand{\bhat}{\widehat{\bvec}}\) \(\newcommand{\bperp}{\bvec^\perp}\) \(\newcommand{\xhat}{\widehat{\xvec}}\) \(\newcommand{\vhat}{\widehat{\vvec}}\) \(\newcommand{\uhat}{\widehat{\uvec}}\) \(\newcommand{\what}{\widehat{\wvec}}\) \(\newcommand{\Sighat}{\widehat{\Sigma}}\) \(\newcommand{\lt}{<}\) \(\newcommand{\gt}{>}\) \(\newcommand{\amp}{&}\) \(\definecolor{fillinmathshade}{gray}{0.9}\)## Geometric Distributions

The **geometric distribution** comes directly from our knowledge of the binomial distribution. The geometric distribution focuses on the number of trials before the first success occurs.

Suppose we play a game where we flip a coin until someone flips a tails and then the game is over. The probability that the game is over on the first flip is 50% because that is the probability that someone flips tails. After the first trial, if the game is not over then again the coin has 50% chance of getting a tails on the second flip. This means that the game has a 50% chance of being over on the first coin flip and a 25% chance of being over on the second coin flip.

The probability of performing **a** trials before the first success is the same has having **a-1** consecutive failures and then having one success.

P(a trials)=q^{(a−1)}×p

- is the number of trials ending in 1 success
- is the probability of success
- is the probability of failure

### Calculating Probability

1. Consider the coin game where the game ends once someone flips tails. What is the probability that the game ends on the 3rd flip?

a = 3 because there are 3 trials

q = 0.5

p = 0.5

P(a trials) = q^{(a-1)} x p

P(3 trials) = (0.5)^{(3-1)} x 0.5

P(3 trials) = (0.5)^{(2)} x 0.5

P(3 trials) = 0.125

2. Suppose a copy machine consistently has a 5% chance of breaking on any given day. Although it might work for many days in a row, it will inevitably break down. What is the probability that it lasts a whole five day work week and breaks down on the 6th day?

Although it is counter-intuitive “success” is defined in this problem to be the machine breaks down.

p = 0.05

q=.95

P(6 trials)=.95^{5}×.05=.039

3. Consider the coin game again and make a probability distribution for games lasting up to 8 coin flips.

a (number of flips) |
Probability |
---|---|

1 | .5^{0}×.5=.5 |

2 | .5^{1}×.5=.25 |

3 | .5^{2}×.5=.125 |

4 | .5^{3}×.5=.063 |

5 | .5^{4}×.5=.031 |

6 | .5^{5}×.5=.016 |

7 | .5^{6}×.5=.008 |

8 | .5^{7}×.5=.004 |

## Example

### Example 1

Jordan is a student who hates to be called on in class. His teacher randomly calls on students and Jordan knows that on any given day he has a 10% chance of being called on. What is the probability that on the first day Jordan is called on? The 2nd day? The 5th day?

Use the geometric distribution formula.

Number of Days |
Probability |
---|---|

1 | .9^{0}×.1=.1 |

2 | .9^{1}×.1=.09 |

5 | .9^{4}×.1=.059 |

## Review

- Identify whether or not each situation has probabilities which are geometrically distributed:
- The number of plane flights someone makes before they are in a plane crash.
- The number of times your car will turn on before the battery dies.
- The number of times you win at a slot machine out of 5 plays.
- The number of gold medals a country wins in the Olympics.

- If the probability of winning a game is .4, then what is the probability of losing 5 games in a row and winning on the 6th game?
- If the probability of rolling a 4 on a fair die is
^{1}/_{6}, what is the probability of rolling anything but fours for 10 rolls and then rolling a 4 on the 11th roll? - Suppose there is a game that is played until someone rolls a six, then the game ends. Create a probability distribution table for games ending in 8 or fewer rolls.
- If rain falls randomly with a 20% chance of rain on any given day, what is the probability that we suffer a drought for 8 days and then finally it rains on the 9th day?
- Suppose it rains like it does in question 5. What is the probability that we suffer a drought for 5 days and then get rain on any/all of the next 5 days?
- Suppose there is a jar of marbles. There are 10 red marbles and 2 green marbles. We randomly choose a marble and look at it. If it is red, we replace the marble into the jar and choose randomly again. If it is green, we stop. This process continues until we finally end with a green marble. What is the probability that the game ends just after the first draw?
- Using the same jar and game as question number 7, what is the probability that the game ends just after the second draw? What is the probability that the game ends just after the 3rd draw?
- Using the same jar and game as question number 7, what is the probability that the game takes more than 3 draws?
- Suppose you win blackjack 47% of the time. What is the probability that you lose 3 games in a row and then win on the 4th game?

## Vocabulary

Term | Definition |
---|---|

geometric distribution |
The geometric distribution focuses on the number of trials before the first success occurs. |

## Additional Resources

Video: Geometric Distributions Examples

Practice: Geometric Distributions