# 5.5: Geometric Distribution

- Page ID
- 16252

\( \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}\)There are three main characteristics of a geometric experiment.

- There are one or more Bernoulli trials with all failures except the last one, which is a success. In other words, you keep repeating what you are doing until the first success. Then you stop. For example, you throw a dart at a bullseye until you hit the bullseye. The first time you hit the bullseye is a “success” so you stop throwing the dart. It might take six tries until you hit the bullseye. You can think of the trials as failure, failure, failure, failure, failure, success, STOP.
- In theory, the number of trials could go on forever. There must be at least one trial.
- The probability,
*p*, of a success and the probability,*q*, of a failure is the same for each trial. and . For example, the probability of rolling a three when you throw one fair die is , the probability of a failure. The probability of getting a three on the fifth roll is the number of independent trials until the first success.

### Example

You play a game of chance that you can either win or lose (there are no other possibilities) **until** you lose. Your probability of losing is . What is the probability that it takes five games until you lose?

[reveal-answer q=”416195″]Show Solution[/reveal-answer]

[hidden-answer a=”416195″]Let the number of games you play until you lose (includes the losing game). Then *X* takes on the values 1, 2, 3, … (could go on indefinitely). The probability question is .

[/hidden-answer]

### Try It

You throw darts at a board until you hit the center area. Your probability of hitting the center area is . You want to find the probability that it takes eight throws until you hit the center. What values does *X* take on?

[reveal-answer q=”129956″]Show Solution[/reveal-answer]

[hidden-answer a=”129956″]1, 2, 3, 4, … *n*. It can go on indefinitely.[/hidden-answer]

### Example

A safety engineer feels that 35% of all industrial accidents in her plant are caused by failure of employees to follow instructions. She decides to look at the accident reports (selected randomly and replaced in the pile after reading) **until** she finds one that shows an accident caused by failure of employees to follow instructions. On average, how many reports would the safety engineer **expect** to look at until she finds a report showing an accident caused by employee failure to follow instructions? What is the probability that the safety engineer will have to examine at least three reports until she finds a report showing an accident caused by employee failure to follow instructions?

[reveal-answer q=”885549″]Show Solution[/reveal-answer]

[hidden-answer a=”885549″]Let the number of accidents the safety engineer must examine **until** she finds a report showing an accident caused by employee failure to follow instructions. *X* takes on the values 1, 2, 3, …. The first question asks you to find the **expected value** or the mean. The second question asks you to find . (“At least” translates to a “greater than or equal to” symbol).[/hidden-answer]

### Try It

An instructor feels that 15% of students get below a C on their final exam. She decides to look at final exams (selected randomly and replaced in the pile after reading) until she finds one that shows a grade below a C. We want to know the probability that the instructor will have to examine at least ten exams until she finds one with a grade below a C. What is the probability question stated mathematically?

[reveal-answer q=”525801″]Show Solution[/reveal-answer]

[hidden-answer a=”525801″]

[/hidden-answer]

### Example

Suppose that you are looking for a student at your college who lives within five miles of you. You know that 55% of the 25,000 students do live within five miles of you. You randomly contact students from the college until one says he or she lives within five miles of you. What is the probability that you need to contact four people?

This is a geometric problem because you may have a number of failures before you have the one success you desire. Also, the probability of a success stays the same each time you ask a student if he or she lives within five miles of you. There is no definite number of trials (number of times you ask a student).

- Let the number of ____________ you must ask ____________ one says yes.
- What values does
*X*take on? - What are
*p*and*q*? - The probability question is
*P*(_______).

[reveal-answer q=”517250″]Show Solution[/reveal-answer]

[hidden-answer a=”517250″]

- Let the number of
**students**you must ask**until**one says yes. - 1, 2, 3, …, (total number of students)
- ;

[/hidden-answer]

### Try It

You need to find a store that carries a special printer ink. You know that of the stores that carry printer ink, 10% of them carry the special ink. You randomly call each store until one has the ink you need. What are *p *and *q*?

[reveal-answer q=”555609″]Show Solution[/reveal-answer]

[hidden-answer a=”555609″]

[/hidden-answer]

## Notation for the Geometric: Geometric Probability Distribution Function

Read this as “*X* is a random variable with a **geometric distribution**.” The parameter is *p*; the probability of a success for each trial.

### Example

Assume that the probability of a defective computer component is 0.02. Components are randomly selected. Find the probability that the first defect is caused by the seventh component tested. How many components do you expect to test until one is found to be defective?

Let the number of computer components tested until the first defect is found.

*X* takes on the values 1, 2, 3, … where .

Find . .

To find the probability that ,

- Enter 2nd, DISTR
- Scroll down and select geometpdf(
- Press ENTER
- Enter 0.02, 7); press ENTER to see the result:

To find the probability that , follow the same instructions EXCEPT select E:geometcdf(as the distribution function.

The probability that the seventh component is the first defect is 0.0177.

The graph of is:

The *y*-axis contains the probability of *x*, where the number of computer components tested.

The number of components that you would expect to test until you find the first defective one is the mean, .

The formula for the mean is

The formula for the variance is

The standard deviation is

### Try It

The probability of a defective steel rod is 0.01. Steel rods are selected at random. Find the probability that the first defect occurs on the ninth steel rod. Use the TI-83+ or TI-84 calculator to find the answer.

[reveal-answer q=”787284″]Show Solution[/reveal-answer]

[hidden-answer a=”787284″][/hidden-answer]

### Example

The lifetime risk of developing pancreatic cancer is about one in 78 (1.28%). Let the number of people you ask until one says he or she has pancreatic cancer. Then *X* is a discrete random variable with a geometric distribution:

- What is the probability of that you ask ten people before one says he or she has pancreatic cancer?
- What is the probability that you must ask 20 people?
- Find the (i) mean and (ii) standard deviation of
*X*.

[reveal-answer q=”556559″]Show Solution[/reveal-answer]

[hidden-answer a=”556559″]

[/hidden-answer]

### Try It

The literacy rate for a nation measures the proportion of people age 15 and over who can read and write. The literacy rate for women in Afghanistan is 12%. Let the number of Afghani women you ask until one says that she is literate.

- What is the probability distribution of
*X*? - What is the probability that you ask five women before one says she is literate?
- What is the probability that you must ask ten women?
- Find the (i) mean and (ii) standard deviation of
*X*.

[reveal-answer q=”935609″]Show Solution[/reveal-answer]

[hidden-answer a=”935609″]

[/hidden-answer]

## Concept Review

There are three characteristics of a geometric experiment:

- There are one or more Bernoulli trials with all failures except the last one, which is a success.
- In theory, the number of trials could go on forever. There must be at least one trial.
- The probability,
*p*, of a success and the probability,*q*, of a failure are the same for each trial.

In a geometric experiment, define the discrete random variable*X* as the number of independent trials until the first success. We say that X has a geometric distribution and write where *p* is the probability of success in a single trial.

The mean of the geometric distribution is .

## Formula Review

means that the discrete random variable *X* has a geometric probability distribution with probability of success in a single trial *p*.

the number of independent trials until the first success

*X* takes on the values x1, 2, 3, …

*p* the probability of a success for any trial

*q*the probability of a failure for any trial

The mean is

The standard deviation is

[reveal-answer q=”209699″]Show References[/reveal-answer]

[hidden-answer a=”209699″]

“Millennials: A Portrait of Generation Next,” PewResearchCenter. Available online at http://www.pewsocialtrends.org/files...-to-change.pdf (accessed May 15, 2013).

“Millennials: Confident. Connected. Open to Change.” Executive Summary by PewResearch Social & Demographic Trends, 2013. Available online at http://www.pewsocialtrends.org/2010/...pen-to-change/ (accessed May 15, 2013).

“Prevalence of HIV, total (% of populations ages 15-49),” The World Bank, 2013. Available online at http://data.worldbank.org/indicator/...last&sort=desc (accessed May 15, 2013).

Pryor, John H., Linda DeAngelo, Laura Palucki Blake, Sylvia Hurtado, Serge Tran.*The American Freshman: National Norms Fall 2011.* Los Angeles: Cooperative Institutional Research Program at the Higher Education Research Institute at UCLA, 2011. Also available online at http://heri.ucla.edu/PDFs/pubs/TFS/N...eshman2011.pdf (accessed May 15, 2013).

“Summary of the National Risk and Vulnerability Assessment 2007/8: A profile of Afghanistan,” The European Union and ICON-Institute. Available online at http://ec.europa.eu/europeaid/where/...summary_en.pdf (accessed May 15, 2013).

“The World FactBook,” Central Intelligence Agency. Available online at https://www.cia.gov/library/publicat...k/geos/af.html (accessed May 15, 2013).

“UNICEF reports on Female Literacy Centers in Afghanistan established to teach women and girls basic resading [sic] and writing skills,” UNICEF Television. Video available online at http://www.unicefusa.org/assets/vide...y-centers.html (accessed May 15, 2013).

[/hidden-answer]

- OpenStax, Statistics, Geometric Distribution.
**Provided by**: OpenStax.**Located at**: http://cnx.org/contents/30189442-6998-4686-ac05-ed152b91b9de@17.41:29/Introductory_Statistics.**License**:*CC BY: Attribution* - Introductory Statistics .
**Authored by**: Barbara Illowski, Susan Dean.**Provided by**: Open Stax.**Located at**: http://cnx.org/contents/30189442-6998-4686-ac05-ed152b91b9de@17.44.**License**:*CC BY: Attribution*.**License Terms**: Download for free at http://cnx.org/contents/30189442-699...2b91b9de@17.44