The Geometric Distribution (Edexcel A Level Further Maths: Further Statistics 1): Revision Note

Exam code: 9FM0

Roger B

Written by: Roger B

Reviewed by: Dan Finlay

Updated on

Conditions for geometric models

What is the geometric distribution?

  • The geometric distribution models the number of trials needed to reach the first success

    • For example, how many times will you have to roll a dice until it lands on a '6' for the first time

  • The notation for the geometric distribution is Geo(p) 

    • For a random variable X that has the geometric distribution you can write X~Geo(p) 

    • X is the number of trials it takes to reach the first success

      • For example, X=8 means the first success occurred on the 8th trial

    • p is the fixed probability of success in any one trial

What are the conditions for using a geometric model?

  • A geometric model can be used for an experiment that satisfies the following conditions:

    • The experiment consists of an indefinite number of successive trials

    • The outcome of each trial is independent of the outcomes of all other trials

    • There are exactly two possible outcomes for each trial (success and failure)

    • The probability of success in any one trial (p) is constant 

  •  Note that these conditions are very similar to the conditions for the binomial distribution

    • But for a binomial distribution the number of trials (n) is fixed

      • And you count the number of successes

    • While for a negative binomial distribution the experiment continues until the first success is achieved

      • And you count the number of trials it takes to reach that first success

When might the conditions not be satisfied?

  • If asked to criticise a geometric model, you may be able to question whether the trials are really independent

    • For example, someone may be repeating an activity until they achieve a success

      • The trials may not be independent because the person gets better from practising the activity

      • This also means the probability of success, p, is not constant

    • In order to proceed using the model, you would have to assume that the trials are independent

Examiner Tips and Tricks

  • Replace the word "trials" with the context (e.g. "flips of a coin") when commenting on conditions and assumptions

Geometric probabilities

What are the probabilities for the geometric distribution?

  • If X ~ Geo(p) then X has the probability function:

    • P(X=x)=p(x)=p(1p)x1,    x=1, 2, 3, ...

    • the random variable X is the number of trials needed to get the first success

    • p is the constant probability of success in one trial

    • P(X=x) is the probability that the first success will occur on the xth trial

  • Note that that is the product of

    • the probability of first getting x1 failures,  (1p)x1,

    • and the probability of getting a success in the xth trialp

  • Also note that there is no greatest possible x

    • It could require any number of trials to reach the first success

    • However P(X=x) gets closer and closer to zero as x gets larger

  • Your calculator may allow you to calculate Geometric probabilities directly

    • i.e., without having to use the above formula

What are the properties of the geometric distribution?

  • Note that P(X=1), P(X=2), P(X=3), P(X=4), ...=p, p(1p), p(1p)2, p(1p)3, ... 

    • This means that the geometric probabilities form a geometric sequence

      • The first term is p

      • The common ratio is (1p)

    • This is where the geometric distribution gets its name!

  • Assuming that 0<p<1, then it is also true that 0<(1p)<1

    • This means that  P(X=1)>P(X=2)>P(X=3)>P(X=4)>...

      • i.e., the probabilities form a decreasing sequence

      • and P(X=1) is the largest probability in the sequence

      • Therefore X=1 is the mode of the distribution

3-2-3-cie-fig0-geo-dist-graphs
  • The geometric distribution has no 'memory'

    • It doesn't matter what has happened previously, or how many 'failures' in a row there have been

    • The probability of getting a 'success' in any trial is always p

    • This means that the number of additional trials needed for the first success is not dependent on the number of trials that have already occurred

      • e.g. if 5 (failed) trials have already occurred, the probability of the first success happening after 7 trials is simply the probability of success happening after 2 trials in the first place, i.e. p(1p)

What are the cumulative probabilities for the geometric distribution?

  • If X ~ Geo(p) then X has the cumulative geometric distribution:

    • P(Xx)=1(1p)x,    x=1, 2, 3, ...

    • the random variable X is the number of trials needed to get the first success

    • p is the constant probability of success in one trial

    • P(Xx) is the probability that the first success will occur on or before the xth trial

  • Your calculator may allow you to calculate Geometric probabilities directly

    • i.e., without having to use the above formula

  • The formula can be proved as follows

    • If the first success occurs on or before the xth trial, that means that the first x trials have not all been failures

      • The probability of getting x failures in a row is (1p)x

      • So the probability of that not happening is 1(1p)x

  • Alternatively, it can be proved algebraically

    • The geometric probabilities form a geometric sequence with first term p and common ratio 1p

    • Putting that into the geometric series formula Sn=a(1rn)1r gives

P(Xx)=r=1xP(X=r)=p(1(1p)x)1(1p)=p(1(1p)x)p=1(1p)x

  • Because limx(1p)x=0 (assuming 0<p<1), it follows that

r=1P(X=r)=10=1

  • So the sum of all probabilities is equal to 1

    • This is a requirement of any probability distribution

Examiner Tips and Tricks

  • If you forget the formulae in the exam, you can often still do questions using basic probability concepts and geometric series

Worked Example

Joshua is an inspector in a factory.  His job is to randomly sample widgets produced by a particular machine, until he finds a widget that has a defect.  If he finds a widget with a defect, then the machine must be stopped until a repair procedure has been completed.  Given that the probability of a widget being defective is 0.002, find the probability that:

a) the 10th widget that Joshua inspects is the first one that is defective

geo-probs-we-a

b) the 250th widget that Joshua inspects is the first one that is defective

geo-probs-we-b

c) the 250th widget that Joshua inspects is the first one that is defective, given that the first 240 were not defective

geo-probs-we-c

d) Joshua will inspect 250 or fewer widgets before finding the first one that is defective

geo-probs-we-d

e) Joshua will need to inspect more than 250 widgets before finding the first one that is defective.

geo-probs-we-e

f) State an assumption you have used in calculating the above probabilities.

geo-probs-we-f

Geometric mean & variance

What are the mean and variance of the geometric distribution?

  • If X ~ Geo(p), then

    • The mean of X is  E(X)=μ=1p

  • The variance of X is  Var(X)=σ2=1pp2

  • You need to be able to use these formulae to answer questions about the geometric distribution

Examiner Tips and Tricks

  • If a question gives you the value of the mean or variance, form an equation in p and solve it

Worked Example

Palamedes is rolling a biased dice for which the probability of the dice landing on a '6' is p.  The random variable X represents the number of times he needs to roll the dice until a '6' appears for the first time.  Given that the standard deviation of X is 23, find:

a) the value of p.

geo-mean-var-we-a

b) the mean of X

geo-mean-var-we-b

c) P(X3).

geo-mean-var-we-c

Unlock more, it's free!

Join the 100,000+ Students that ❤️ Save My Exams

the (exam) results speak for themselves:

Build on this topic

Roger B

Author: Roger B

Expertise: Development Editor

Roger's teaching experience stretches all the way back to 1992, and in that time he has taught students at all levels between Year 7 and university undergraduate. Having conducted and published postgraduate research into the mathematical theory behind quantum computing, he is more than confident in dealing with mathematics at any level the exam boards might throw at you.

Dan Finlay

Reviewer: Dan Finlay

Expertise: Portfolio Lead

Dan graduated from the University of Oxford with a First class degree in mathematics. As well as teaching maths for over 8 years, Dan has marked a range of exams for Edexcel, tutored students and taught A Level Accounting. Dan has a keen interest in statistics and probability and their real-life applications.