Binomial Distribution
Binomial Distribution
X x1 x2 x3 …………… xn
p(X) p1 p2 p3 …………… pn
Bernoulli’s Theorem
Let there are n independent trials in an experiment and let the random variable X denotes the
number of success in these trials. Let the probability of getting a success in a single trial be p
and that of getting a failure be q so that p q 1 . Then
( nr )
p( X r ) = Cr p q
n r
X 0 1 2 3
p(X ) 125 25 5 1
216 72 72 216
(c) Find the probability distribution of the number of doublets in 4 throws of a pair of dice.
Solution. When a pair of dice is thrown, there are 36 possible outcomes. All possible outcomes
are (1, 1), (2, 2), (3, 3), (4, 4), (5, 5), (6, 6)
6 1 1 5
Then, p(doublet) p , q 1 .
36 6 6 6
Let X denotes the number of doublets. In 4 throws, we can have 0 or 1 or 2 or 3 or 4 doublets.
0 4 1 3
1 5 625 1 5 125
p(X 0) C0 p(X 1) C1
4 4
., .
6 6 1296 6 6 324
2 2 3 11
1 5 25 1 5 5
p(X 2) C2 p(X 3) C3
4 4
., .
6 6 216 6 6 324
4 0
1 5 1
p(X 4) C4
4
.
6 6 1296
Hence, the required probability distribution is given by
X 0 1 2 3 4
Example 2 (a) Determine the Binomial Distribution for which the mean is 4 and standard
deviation is 3 .
Solution (a) For the Binomial Distribution,
Mean = np 4 (1)
and Standard Deviation npq 3 or npq 3 ( 2)
3 1 1
Substituting np 4 in (2), we get q and hence, p . Substituting p in (1), we
4 4 4
get n 16.
Therefore, the required probability function of Binomial Distribution is
n x
f (x) Cx . p q , where q 1 p
n x
x 16 x
1 3
, where x 0,1,2,3,......,16.
16
= Cx .
4 4
(b) Point out the fallacy if any in the following statement; “The mean of a Binomial Distribution
is 10 and its standard deviation is 4”.
Solution. For the given Binomial Distribution, np 10 and npq 16 . Solving these two
equations we get,
16
q 1.6 >1, which is absurd. Hence the statement is not true.
10
(c)A Binomial random variable X satisfies the relation 9 p( X 4) p( X 2) when n 6 .
Find the value of the parameter p .
Solution. For a Binomial Distribution, the probability function is
nx 6 n x
f (x) Cx . p q Cx . p q , where q 1 p
n x 6 x
64
p( X 4) f (4) C4 . p q C4 . p q
6 4 6 4 2
62
p( X 2) f (2) C2 . p q C2 . p q
6 2 6 2 4
and
By the given condition, 9 p( X 4) p( X 2)
6 4 2 6 2 4
9. C4 . p q = C2 . p q
9p q
2 2
or
9 p (1 p) 1 2 p p
2 2 2
or
8 p 2 p 1 0
2
or
8 p 4 p 2 p 1 0
2
4 p(2 p 1) 1(2 p 1) 0
or (2 p 1)(4 p 1) 0
1 1
p ,
2 4
1
Since p can not negative. Therefore, p .
4
Example 3(a) In a Binomial Distribution consisting of 5 independent trials, the probabilities of
1 and 2 successes are 0.4096 and 0.2048 respectively. Find the parameter p of the distribution.
Solution (a) For a Binomial Distribution, the probability of x success is series of n independent
x n x x 5 x
trials is given by f (x) Cx . p q . Here n 5 , f (x) Cx . p q
n 5
51 52
f (1) C1. p.q 5 pq f (2) C2 . p .q 10 p q where q 1 p . It is given
5 4 5 2 2 3
and
that f (1) 0.4096 and f (2) 0.2048 . Then 5 pq 4 0.4096 and 10 p q 0.2048 .
2 3
2 2 32 64 64
(c) An unbiased coin is tossed 8 times. Find, by using binomial distribution, the probability of
getting at least 3 heads.
Solution. In a single throw of a coin the sample space S ={H, T}.
1 1
p (getting ahead) = and q (getting not a head) = .
2 2
r (8r ) 8
( nr ) 1 1 1
p ( X r ) Cr p q Cr . Cr .
n r 8 8
8 1 8 8 1 8 8 1 8
= 1 C0 C1 C2
2 2 2
= 1
1
1 8 28 1 37 219 .
256 256 256
Example 4 (a) Six coins are tossed simultaneously. Find the probability of getting
(i) 3 head (ii) no head (iii) at least 1 head (iv) not more than 3 heads
Solution (a) The experiment may be taken as throwing a single coin 6 times. In a single throw
of a coin the sample space S = {H, T}.
1 1
p (getting ahead) = and q (getting not a head) = .
2 2
Let X be the random variable showing the number of heads.
r ( 6 r ) 6
( nr ) 1 1 1
p ( X r ) Cr p q Cr Cr
n r 6 6
2 2 32 32 16
(c) In 4 throws with a pair of dice, what is the probability of throwing doublets at least twice.
Solution. In a single throw of a pair of dice, the numbers of all possible outcomes are 36. The
total numbers of doublets are (1, 1), (2, 2), (3, 3), (4, 4), (5, 5), (6, 6).
1 5
p (getting a doublet) = and q (not getting a doublet) = .
6 6
Let X be the random variable denoting the number of doublets. Then,
r ( 4 r )
( nr ) 1 5
p ( X r ) Cr p q Cr
n r 4
6 6
p (at least 2 doublets) = p( X 2) p( X 3) p( X 4)
2 ( 4 2 ) 3 ( 43) 4 ( 4 4 )
4 1 5 1 5
4 4 1 5
= C2 + C3 + C4
6 6 6 6 6 6
2 2 3 1 4 0
1 5 1 5 1 5
= 6 4
6 6 6 6 6 6
25 5 1 171
= .
216 324 1296 1296
Example 5(a) The bulbs produced in a factory are supposed to contain 5% defective bulbs.
What is the probability that a sample of 10 bulbs will contain not more than 2 defective bulbs?
5 1
Solution (a) p (getting a defective bulb) = , p (getting a non-defective bulb)
100 20
1 19 1 19
1 . Then p and q . Let X denote the number of defective bulbs.
20 20 6 20
r (10r )
( nr ) 1 19
p( X r ) C r p q Cr
n r 10
20 20
p (getting not more than 2 defective bulbs) = p( X 0) p( X 1) p( X 2)
0 10 1 9 2 8
10 1 19 10 1 19 10 1 19
C0 + C1 + C2
20 20 20 20 20 20
10 9 8 8
1 1 19 9 19 19 149
= + + .
20 2 20 80 20 20 100
8
19 149
Let A= . Then,
20 100
log A 8(log 19 log 20) log 149 log 100
8(1.2788 1.3010) 2.1732 2
_
0.0044 1.9956
_
A = antilog (1.9956) 0.99
99
Hence the required probability = .
100
(b) If on an average, out of 10 ships, one gets drowned then what is the probability that out of
5 ships at least 4 reach the shore safely.
9
Solution. The probability of a ship to reach the shore safely .
10
9 1
The probability that a ship gets drowned 1 .
10 10
Let X be the random variable showing the number of ships reaching the shore safely.
p (at least 4 reaching safely) = p (4 reaching safely or 5 reaching safely)
= p(4 reaching safely) + p(5 reaching safely)
= p( X 4) p( X 5)
4 ( 54 ) 5 0
5 9 1 5 9 1
= C4 + C5
10 10 10 10
4 5 4 4
1 9 9 9 1 9 7 9
= .
2 10 10 10 2 10 5 10
7 (9)
4 4
7 9
Let A .
4 Then
5 10 5 (10)
log A log 7 4 log 9 log 5 4 log 10
(.8451 4 0.9542 0.6990 4
_
0.0371 1.9629
_
A = antilog (1.9629) 0.9181
Example 6(a) A box contains 100 transistors. 20 of which are defective, 10 are selected for
inspection. Indicate what is the probability that:
(i) all 10 are defective (ii) all 10 are good (iii) at most 03 are defective.
Solution (a) The probability of defective transistors in a sample = 0.2. The probability of non-
defective transistors in the sample = 0.8
(i) p (getting all 10 defective transistors) = p( X 10) 10C10 (0.2)10 (0.8) 0 = (0.2)10
(c)The probability that an evening college student will graduate is 0.4. Determine the
probability that out of 05 students (i) none (ii) one (iii) at least one will be graduate.
Solution. p (graduate) =0.4 and p (not graduate) =0.6
(i) Probability that none will graduate = 5
C 0 (0.6) 5 0.08
(iii) Probability that at least one will graduate = 1 p(none will graduate) = 1 0.08 0.92
Mean and Variance of a Binomial Distribution
If a random variable X assumes the values x1, x2 , x3.........., xn with their corresponding
probabilities p1 , p2 , p3 .........., pn respectively then the mean of the random variable X is
n
defined as, xi pi x1 p1 x2 p2 x3 p3 ...................xn pn
i 1
n1 n 2
2. C2 . p .q ................ n. Cn . p q
n n 2 n n 0
= C1. p.q
( n 1) n 1 ( n 1) n2
0 1
= np[ C0 . p .q C1. p .q
( n 1) n 1 0
........... Cn 1. p q ]
( n1)
= (np).(q p) (np)
Hence, the mean is given by np. The variance 2 is given by
n n n
r . p ( r ) = r . Cr p q (np) = r . Cr p q
2 r ( nr ) 2 r ( nr )
(np)
2 2 n 2 2 n 2
r 0 r 0 r 0
{r r (r 1)}. C
( nr )
(np)
n r 2
= r
pq
r 0
n n
= r. C r p q r (r 1). C
( nr ) ( nr )
(np)
n r n r 2
r
pq
r 0 r 0
n
n(n 1)
r (r 1). r (r 1) .
( n2 ) ( r 2 ) ( nr )
= np (np)
2 2
Cr 2 . p p q
r 2
2 ( r 2) ( n r )
n
( n 2)
n p
2 2
= np n ( n 1). p C( r 2) p q
r 2
( n 2 )
= np n(n 1) p (q p) n p
2 2 2
= np n(n 1) p n p
2 2 2
[ p q 1]
= np np np(1 p) npq
2
4 4
(b) If the sum of the mean and variance of a binomial distribution for 5 trials is 1.8, find the
distribution.
Solution. If the sum of the mean and variance of a binomial distribution for 5 trials is 1.8, find
the distribution.
We know that mean = np and the variance = npq.
It is being given that n =5 and the mean + variance = 1.8
np npq 1.8
5 p 5 pq 1.8
p p (1 p ) 0.36
p 2 p 0.36 0
2
100 p 200 p 36 0
2
25 p 50 p 9 0
2
25 p 45 p 5 p 9 0
2
5 p (5 p 9) (5 p 9) 0
(5 p 9)(5 p 1) 0
1
p 0.2 [ p can not more than 1]
5
Thus, n 5 , p 0.2 and q (1 p) (1 0.2) 0.8
Let X denotes the binomial variate. Then, the required distribution is
p( X r ) Cr 0.2 0.8
( 5r )
, where r 0,1,2,3,4,5.
5 r
(c) What is the probability of guessing correctly at least six of the ten answers in a true false
objective test.
n x
Solution. We have f ( x) Cx p q , where q 1 p.
n x
1 1
Here n 10 , p , q , x 6,7,8,9,10 .
2 2
The required probability f (6) f (7) f (8) f (9) f (10)
6 106 7 107 8 10 8
1 1 1 1 1 1
C7 C8
10 10 10
= C6
2 2 2 2 2 2
9 109 10 1010
1 1 1 1
C9 C10
10 10
2 2 2 2
10 10
1 10 1 10
C6 C7 C8 C9 C10 = C4 C3 C2 C1 1
10 10 10 10 10 10 10
=
2 2
=
1
210 120 45 10 1 386 193 .
1024 1024 512
Example 3 (a) The sum and the product of the mean and variance of a binomial distribution are
24 and 128 respectively, find the distribution.
Solution (a) We have , np npq 24 and np npq 128.
np(1 q) 24 and n p q 128
2 2
576
n p
2 2 2 2
and n p q 128
(1 q)
2
576 128
2(1 q 2q) 9q
2
(1 q)
2
q
2q 5q 2 0 (2q 1)(q 2)) 0
2
1
q [q 0]
2
1 1
p (q 1) 1 .
2 2
1 1
Now, np(1 q) 24 n 1 24 n 32.
2 2
32
1
Hence, the required probability distribution is given by p( X r ) Cr .
32
2
(b) In a binomial distribution prove that mean > variance.
Solution. Let X be the binomial variate with parameters n and p. Then mean = np and the
variance = npq.
mean – variance np npq np(1 q) np 0
2
6 6
Example 5. The screw produced by a certain machine were checked by examining samples of
12. The following table shows the distribution of 128 samples according to the number of
defective items they contained
Fit a binomial distribution and find the expected frequencies if the chance of screw being
defective is 1/2. Find the mean and variance of fitted distribution.
Solution Computation of frequencies
No. of Probabilities Expected Observed
defectives frequency frequency
0 7
1 1 1
0 p( X 0) 7 C 0 . 1 7
2 2 128
1 6
1 1 7
1 p( X 1) 7 C1 . 7 6
2 2 128
2 5
2 1 1 21
p( X 2) 7 C 2 .
2 2 128 21 19
3 3
1 1 35
4
p( X 3) 7 C 3 . 35 35
2 2 128
4 4 3
1 1 35 35 30
p( X 4) 7 C 4
2 2 128
5 5
1 1 21
2 21 23
p( X 5) 7 C 5 .
2 2 128
6 1 7 7
1 1 7
6 p( X 6) C 6
7
.
2 2 128 1 1
7 0
7 1 1 1
p ( X 7) 7 C 7 .
2 2 128
r 7r
1 1
Probabilities = p( X r ) C r
7
, Expected frequencies 128 p( X r )
2 2
1
Arithmetic Mean = np 7 3.5 , Variance = npq 7 1 1 1.75
2 2 2