Geometric Distribution

There are three main characteristics of a geometric experiment.

  1. 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.
  2. In theory, the number of trials could go on forever. There must be at least one trial.
  3. The probability, p, of a success and the probability, q, of a failure is the same for each trial. [latex]p+q=1[/latex] and [latex]q=1−p[/latex]. For example, the probability of rolling a three when you throw one fair die is [latex]\frac{1}{6}[/latex], the probability of a failure. The probability of getting a three on the fifth roll is [latex]X=[/latex] 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 [latex]p=0.57[/latex]. What is the probability that it takes five games until you lose?

Try It

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

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?

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?

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).

  1. Let [latex]X=[/latex] the number of ____________ you must ask ____________ one says yes.
  2. What values does X take on?
  3. What are p and q?
  4. The probability question is P(_______).

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 and q?

Notation for the Geometric: [latex]G=[/latex] Geometric Probability Distribution Function

[latex]X{\sim}G(p)[/latex]

Read this as “X is a random variable with a geometric distribution.” The parameter is p; [latex]p=[/latex] 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 [latex]X=[/latex] the number of computer components tested until the first defect is found.

X takes on the values 1, 2, 3, … where [latex]p = 0.02[/latex].

[latex]X{\sim}G(0.02)[/latex]

Find [latex]P(x=7)[/latex]. [latex]P(x=7)=0.0177[/latex].

To find the probability that [latex]x=7[/latex],

  • Enter 2nd, DISTR
  • Scroll down and select geometpdf(
  • Press ENTER
  • Enter 0.02, 7); press ENTER to see the result: [latex]P(x=7)=0.0177[/latex]

To find the probability that [latex]x\leq7[/latex], 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 [latex]X{\sim}G(0.02)[/latex] is:

This graph shows a geometric probability distribution. It consists of bars that peak at the left and slope downwards with each successive bar to the right. The values on the x-axis count the number of computer components tested until the defect is found. The y-axis is scaled from 0 to 0.02 in increments of 0.005.

The y-axis contains the probability of x, where [latex]X=[/latex] 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, [latex]\displaystyle{\mu}={50}[/latex].

The formula for the mean is [latex]\displaystyle{\mu}=\frac{{1}}{{p}}=\frac{{1}}{{0.02}}={50}\\[/latex]

The formula for the variance is [latex]\displaystyle{\sigma}^{{2}}={(\frac{{1}}{{p}})}{(\frac{{1}}{{p}}-{1})}={(\frac{{1}}{{0.02}})}{(\frac{{1}}{{0.02}}-{1})}={2},{450}\\[/latex]

The standard deviation is [latex]\displaystyle{\sigma}=\sqrt{{{(\frac{{1}}{{p}})}{(\frac{{1}}{{p}}-{1})}}}=\sqrt{{{(\frac{{1}}{{0.02}})}{(\frac{{1}}{{0.02}}-{1})}}}={49.5}\\[/latex]

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.

Example

The lifetime risk of developing pancreatic cancer is about one in 78 (1.28%). Let [latex]X=[/latex]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: [latex]\displaystyle{X}~{G}{(\frac{{1}}{{78}})}{\quad\text{or}\quad}{X}~{G}{({0.0128})}\\[/latex]

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

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 [latex]X=[/latex] the number of Afghani women you ask until one says that she is literate.

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

Concept Review

There are three characteristics of a geometric experiment:

  1. There are one or more Bernoulli trials with all failures except the last one, which is a success.
  2. In theory, the number of trials could go on forever. There must be at least one trial.
  3. 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 [latex]X{\sim}G(p)[/latex] where p is the probability of success in a single trial.

The mean of the geometric distribution [latex]X{\sim}G(p)[/latex] is [latex]\displaystyle{\mu}=\sqrt{{\frac{{{1}-{p}}}{{{p}^{{2}}}}}}=\sqrt{{\frac{{1}}{{p}}{(\frac{{1}}{{p}}-{1})}}}[/latex].

Formula Review

[latex]X{\sim}G(p)[/latex] means that the discrete random variable X has a geometric probability distribution with probability of success in a single trial p.

[latex]X=[/latex] the number of independent trials until the first success

X takes on the values x[latex]=[/latex]1, 2, 3, …

p[latex]=[/latex] the probability of a success for any trial

q[latex]=[/latex]the probability of a failure for any trial [latex]p+q=1[/latex]

[latex]q=1–p[/latex]

The mean is [latex]\displaystyle{\mu}=\frac{{1}}{{p}}\\[/latex]

The standard deviation is [latex]\displaystyle\sigma=\sqrt{{\frac{{{1}-{p}}}{{p}^{{2}}}}}=\sqrt{{\frac{{1}}{{p}}{(\frac{{1}}{{p}}-{1})}}}\\[/latex]