0% found this document useful (0 votes)
110 views6 pages

Section 1: Introducing The Binomial Distribution

Uploaded by

Varul Sinha
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
110 views6 pages

Section 1: Introducing The Binomial Distribution

Uploaded by

Varul Sinha
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

AS Mathematics The binomial distribution

Section 1: Introducing the binomial distribution

Notes and Examples

These notes contain subsections on:


 The binomial distribution
 When to use the binomial distribution
 Finding binomial probabilities
 The expectation of the binomial distribution
 Finding an unknown sample size

The binomial distribution


The binomial distribution is used to model situations where there are a
number of different trials, each with two possible outcomes.

To understand the formula for the binomial distribution, suppose you have five
trials, each with two possible outcomes, success (S) and failure (F). If you
want to find the probability of two successes, you need to think about the ten
possible cases
SSFFF SFSFF
SFFSF SFFFS
FSSFF FSFSF
FSFFS FFSSF
FFSFS FFFSS
What you are doing is choosing two trials out of the five, to be successes.
This is the same process as when you expand ( x  y)5 i.e.
( x  y )( x  y )( x  y )( x  y )( x  y ) - to find the coefficient of x2 y3 you need to
know how many ways you can choose an x from two of the brackets and a y
from the other three. In both these situations, you need to use the binomial
coefficient 5 C2 to find the number of ways.

So the if the probability of success is p, the probability of failure is 1 – p, and


so the probability of 2 successes from 5 trials is 5 C2 p 2 (1  p)3

In general, you need the binomial coefficient n Cr for r successes out of n


trials.
So for a random variable X ~ B(n, p):
P( X  r )  n Cr p r (1  p) n r

1 of 6 27/10/16 © MEI
AS Maths Binomial 1 Notes and Examples

When to use the binomial distribution


It is important that you can identify situations which can be modelled using the
binomial distribution.
 There are n independent trials
 There are just two possible outcomes to each trial, success and failure,
with fixed probabilities of p and q respectively, where q = 1 – p.
The discrete random variable X is the number of successes in the n trials. X is
modelled by the binomial distribution B(n, p). You can write X ~ B(n, p).

Some examples
 X is the number of heads when a coin is tossed 20 times.
Each coin toss represents a trials, so n = 20.
The probability of success (i.e. getting a head) is 12 so p = 1
2

X ~ B(20, 12 )

 X is the number of sixes when a die is thrown 10 times.


Each throw of the die represents a trial, so n = 10
The probability of success (i.e. getting a six) is 16 so p = 1
6

X ~ B(10, 16 )

You might think that there are six possible outcomes to throwing a
die. However, since you are only interested in whether or not you get
a six, there are two outcomes, getting a six and not getting a six.

 A particular test has a pass rate of 60%. X is the number of students


who fail the test out of a class of 30.
Each student represents a trial, so n = 30.
The probability of success (i.e. failing the test) is 40% so p = 0.4
X ~ B(30, 0.4)

It seems strange to talk about failing a test as


“success”! However, since X is the number of
failures, then a “successful” trial is a failure!

Be careful to identify the “trials” correctly. For example, suppose that you were
looking at the number of girls in families with three children. If X is the number
of girls in a family with three children, then there are 3 trials and the probability
of “success” (i.e. having a girl) is 12 , and so X ~ B(3, 12 ). However, if you look at
20 families each with three children, and X is the number of families with three
girls, then there are 20 trials and the probability of success (i.e. having three
girls) is 18 , and so X ~ B(20, 18 ).

The Explore resource Binomial distributions shows simulations of binomial


distributions, together with graphical representations of the binomial
distribution.

2 of 6 27/10/16 © MEI
AS Maths Binomial 1 Notes and Examples

Finding binomial probabilities


Your calculator should be able to work out binomial probabilities for you. It
should give you options for finding P( X  r ) or P( X  r ) - you need to enter
values of n, p and r.

Sometimes it is just as quick to work out P( X  r ) by using the formula


P( X  r )  n Cr p r (1  p) n r , rather than going through a calculator menu
system. Make sure you can do this either way. However, finding a cumulative
probability of the form P( X  r ) is usually best done using the calculator
function.

Sometimes you will need to find a probability of the form P( X  r ) . Since your
calculator will only give P( X  r ) , you need to use subtraction to work it out –
for example P( X  4)  1  P( X  3) .

In Example 1, the data is presented using the B(n, p) notation.

Example 1
X ~ B(10, 0.4).
Find the following probabilities:
(i) P(X = 1)
(ii) P(X = 0)
(iii) P(X  2)

Solution
X ~ B(10, 0.4). So: n = 10, p = 0.4, q = 0.6

(i) P(X = 1)  10 C1  0.41  0.69 Your calculator should be able


 10  0.4  0.6
1 9 to find these probabilities, but
you may feel it is just as quick
 0.0403 (3 s.f.) to write it out.

(ii) P(X = 0)  10 C0  0.40  0.610


 11 0.610
 0.00605 (3 s.f.)
You can find cumulative
(iii) P(X  2)  1  P( X  1) probabilities like P(X  1) from
your calculator.
 1  0.046
 0.954 (3 s.f.)

3 of 6 27/10/16 © MEI
AS Maths Binomial 1 Notes and Examples

Example 2
Using recent data provided by the low-cost airline Brianair, the probability of a flight
arriving on time is estimated to be 0.9.
On four different occasions I am taking a flight with Brianair.
(i) What is the probability that I arrive on time on all four flights?
(ii) What is the probability that I arrive on time on exactly two occasions?
(iii) What is the probability that I arrive on time on at least one occasion?

Solution
Let X be the number of times a flight is on time.
n = 4, p = 0.9, q = 0.1 so X ~ B(4, 0.9).

(i) P(all four flights arrive on time) = P(X = 4)  4 C4  0.94  0.10


 1 0.94 1
 0.656 (3 s.f.)
(ii) P(exactly two flights arrive on time) = P(X = 2)  4 C2  0.92  0.12
 6  0.92  0.12
 0.0486 (3 s.f.)

(iii) P(at least one flight arrives on time) = P(X  1) = 1 – P(X = 0)


P(X = 0)  4 C0  0.90  0.14  11 0.14  0.0001
P(X ≥ 1)  1  P( X  0)
 1  0.0001
 0.9999

The expectation of the binomial distribution


The expectation of X ~ B(n, p) is given by E(X) = np.

Example 3
X ~ B(10, 0.6).
(i) Find the expectation of X
(ii) What is the most likely outcome for X?

Solution
X ~ B(10, 0.6).
So n = 10, p = 0.6
(i) Expectation = np = 10  0.6 = 6

(ii) The most likely outcome for X is the value of X which has the highest
probability.

P(X = 6) = 10C6 0.6 6 0.4 4 = 0.251 to 3 sig. fig. It is a good idea to use the
mean as the starting point.
P(X = 5) = 10C5 0.6 5 0.4 5 = 0.201 to 3 sig. fig. Although the answer may not
be the mean itself, it will help
to narrow down the search.
4 of 6 27/10/16 © MEI
AS Maths Binomial 1 Notes and Examples

P(X = 7) = 10C7 0.6 7 0.4 3 = 0.215 to 3 sig. fig.

The most likely outcome is X = 6.

This must be the case because any binomial probability


distribution has only one peak. Since P(X = 5) and P(X = 7) are
less than P(X = 6), P(X = 6) must be the highest probability.

Example 4
Using recent data provided by the low-cost airline Lyingair, the probability of a flight
arriving on time is estimated to be 0.7.
Every week I take four flights with Lyingair.
(i) Find the expectation of the number of times that I will be on time.
(ii) In a particular week, what is the probability that I arrive at my destination on
time for all 4 flights?
(iii) What is the probability that in 3 weeks of travelling, exactly one of the weeks
has at least one late arrival?
(iv) What is the probability that in 3 weeks of travelling, at least one of the weeks
has at least one late arrival?

Solution
Let X be the number of times in a particular week that a flight is on time.
n = 4, p = 0.7, q = 0.3
X ~ (4, 0.7).
(i) What is the expected value? Do not round this value.
Expected value = np = 4 x 0.7 = 2.8 Although the flight cannot be on
time on 2.8 occasions, this gives
us an indication of what will
(ii) P(X = 4)  4 C4  0.7  0.3
4 0
happen over a long period of time,
 1 0.7 4 1 with repeated samples.

 0.2401

(iii) The probability that in one week all the flights are on time is 0.2401 from (ii).
Let Y be the number of weeks that all flights on time.
Y is binomial with n = 3 and p = 0.2401
Y ~B( 3, 0.2401). Note: the flights can be all on time
during a week, or there is at least one
delay, giving a Binomial situation.

Probability that in 3 weeks of travelling one of the weeks has at least one
late arrival is P(Y = 2).

P(Y = 2)  3 C2  0.24012  0.75991 P(Y = 2) is the probability that flights


are on time for two of the three
 0.131 (3 s.f.) weeks, which is the same as having
at least 1 late arrival in 1 week.

5 of 6 27/10/16 © MEI
AS Maths Binomial 1 Notes and Examples

(iv) First find the probability that there are no late arrivals for any of the weeks, i.e.
the probability that Y = 3.
P(Y = 3)  3 C3  0.24013  0.75990
 0.0138 (3 s.f.)

The probability that in 3 weeks of travelling at least one of the weeks has at
least one late arrival = 1 – 0.0138 = 0.986 (3 s.f.)

Very careful reading of the question is needed at this stage!!


In parts (iii) and (iv) you are using a previous answer as the probability in a
new binomial situation.

Finding an unknown sample size


Example 5
Of the students in a school, 25% travel to school by bus. Students are selected at
random. How many students must be selected so that the probability that there is at
least one student travelling to school by bus is greater than 0.95?

Solution
Let X be the number of students travelling by bus in the sample.
1 3
n = ?, p = , q =
4 4
This means “the probability that at least one
1 student travels by bus is greater than 0.95” –
X ~ B(n, ).
4 the statement in the question.

P(X  1) > 0.95


1 – P(X = 0) > 0.95
1 – 0.95 > P(X = 0)
P(X = 0) < 0.05 Notice that the inequality is
reversed here
n
3
P(X = 0) =  
4
n
3
    0.05
4

Using trial and improvement:


10
3
  = 0.0563 which is too big
4
11
3
  = 0.0422 which is smaller than 0.05.
4
So the required minimum number of students to be selected is 11.

6 of 6 27/10/16 © MEI

You might also like