A Level Math Paper 2 Discrete Probability Distribution
A Level Math Paper 2 Discrete Probability Distribution
∑ 𝑃(𝑋 = 𝑥) = 1 𝑜𝑟
∑ 𝑓(𝑥) = 1 (ii) P(X=x)≥0
(i)
Examples 1
A discrete random variable has a probability function 𝑃(𝑋 = 𝑥) =0 𝑥 =
𝑐𝑥 2 0, 1, 2, 3, 4
{
𝑜𝑡ℎ𝑒𝑟𝑤𝑖𝑠𝑒
Find the value of c and draw the graph of P(X = x)
Solution
∑ 𝑃(𝑋 = 𝑥) = 1
c + 4c + 9c + 16c = 2
1
30
c=
Example 2
Solution
∑ 𝑓(𝑥) = 1
k + 2k + 3k + 4k = 1
1
10
k=
Example 3
Find the value of the constant c and draw the graph of P(X = x)
Solution
∑ 𝑃(𝑋 = 𝑥) = 1
Example 4
𝑜𝑡ℎ𝑒𝑟𝑤𝑖𝑠𝑒
Solution
0 1 2 3
𝑘 ( ) + 𝑘 ( ) + 𝑘 ( ) + 𝑘 ( ) + ⋯.= 1
2 2 2 2
3 3 3 3
1 2 3
𝑘 (1 + ( ) + ( ) + ( ) + ⋯ . ) = 1
2 2 2
3 3 3
Sum to infinity = 𝑆∞ = 𝑎
1−𝑟
2
3
𝑘( ) = 1; k =
1
1
1−
3
Finding probabilities
Example 5
y -3 -2 -1 0
P(Y=y) 0.1 1 0.25 0.3 0.15
Find a
(i) value of a (ii) P(-3≤ 𝑌 < 0) (iii) P(Y>-1) (iv) P(-1<Y<1) (v) mode
Solution
(i) ∑ 𝑃(𝑌 = 𝑦) = 1
(ii) P(-3≤ 𝑌 < 0) = P(Y= -3) + P(Y = -2) + P(Y = -1) = 0.1 + 0.25 + 0.3 = 0.65
X 1 2 3 4 5
P(X = x) 0.15 0.20 0.15 c 0.1
Find
Solution
(i) ∑ 𝑃(𝑋 = 𝑥) = 1
(iii) P(X<4) = P(X=1) + P(X= 2) + P(X = 3) + P(X= 4) = 0.15 + 0.20 + 0.15 + 0.4 = 0.9
Example 7
Find (i) the value of k (ii) P(X = 3) (iii) P(X≥3) (iv) P(X≤ 3) (v) P(1< 𝑋 ≤3) (vi) P( )
𝑋≥
1
𝑋<4
Solution
(i) ∑ 𝑃(𝑋 = 𝑥) = 1
1
15
k + 2k + 3k + 4k + 5k = 1; k =
=
1
3
15 5
(ii) P(X=3) = 3k =
Find (i) value of a = 0.1 (ii) P(1≤ 𝑥 ≤ 3)=0.85 (iii) P(X>2) =0.55 (iv) P(2<X<5) = 0.5 (v) mode =3
P(X=x) 0.2 0.25 0.4 a 0.05
(b) The number of tails, X obtained when three fair coins are tossed.
x 0 1 2 3
P(X=x) 0.125 0.375 0.375 0.125
6. A drawer contains 8 brown socks and 4 blue shocks. A sock is taken from the drawer at random,
its colour is noted and it is then replaced. The procedure is performed twice more. X is the
random variable for the number of brown socks taken. Find the probability distribution for X.
1 2 4 8
x 0 1 2 3
P(X=x)
27 9 9 27
7. The discrete random variable R has a p.d.f is given by P(R=r) = c(3 – r), r = 0, 1, 2, 3
1
6
Find (i) value of c = (ii) P(1≤R<3) = 0.5
8. A discrete random variable𝑥has probability function
𝑘4 ( ) , 𝑥 = 1, 2,3, … .
𝑃(𝑋 = 𝑥) = { 5
k = 0.2. 0, 𝑜𝑡ℎ𝑒𝑟𝑤𝑖𝑠𝑒
, find the value
(b) The number of tails, X obtained when three fair coins are tossed.
number of heads, x 0 1 2 3
1 3 3 1
P(X=x)
8 8 8 8
= 0.125 = 0.375 =0.375 = 0.125
6. A drawer contains 8 brown socks and 4 blue shocks. A sock is taken from the drawer at random,
its colour is noted and it is then replaced. The procedure is performed twice more. X is the
random variable for the number of brown socks taken. Find the probability distribution for X.
Let X’ represent blue shocks
𝑥 𝑥 =
4 4 4 1
12 12 12 27
P(X = 0) = P(X’∩X’∩X’) =
4 4 4 8 4 4 4 8 2
8 𝑥 𝑥 + 𝑥 𝑥 + 𝑥
12 12 12 12 12 12 12 12
P(X=1) = P(X∩X’∩X’)+ P(X’∩X∩X’) + P(X’∩X’∩X) =
8 4 4 8 8 8 4 8 4
𝑥 8 𝑥 𝑥 + 𝑥 𝑥 +
12 9 12 12 12 12 12 12
= P(X=2) = P(X∩X∩X’)+ P(X’∩X∩X) + P(X∩X’∩X) =
8 8 8 8
𝑥 𝑥
12 12 12 9
=
1 2 4 8
x 0 1 2 3
P(X=x)
27 9 9 27
7. The discrete random variable R has a p.d.f is given by P(R=r) = c(3 – r), r = 0, 1, 2, 3
∑ 𝑃(𝑋 = 𝑥)
Find (i) value of c
= 1 3c +2c + c =
3 1
6
c=
Solution
0 1 2 3
𝑘 ( ) + 𝑘 ( ) + 𝑘 ( ) + 𝑘 ( ) + ⋯.= 1
4 4 4 4
5 5 5 5
1 2 3
𝑘 (1 + ( ) + ( ) + ( ) + ⋯ . ) = 1
4 4 4
5 5 5
Sum to infinity = 𝑆∞ = 𝑎
1−𝑟
𝑘( ) = 1; k =
1 1
=0.2
1−4 5
5
Expectation of x, E(x) or mean
The expected value of x is given by E(x) = ∑ 𝑥𝑃(𝑋 = 𝑥)
Example 8
x -2 -1 0 1 2
P(X = x) 0.3 0.1 0.15 0.4 0.05
Find expectation, E(x)
Solution
Example 9
P(Y = y) = c(8-y), y = 4, 5, 6, 7
Solution
y 1 2 3 4 5 6
7 P(Y = y) c 2c 3c 4c 3c 2c
∑ 𝑃(𝑌 = 𝑦) = 1
c
(i)
c + 2c + 3c + 4c + 3c +2c + c = 1
c= 1
E(Y) = ∑ 𝑦(𝑌 = 𝑦) = 1 x c + 2 x 2c + 3 x 3c + 4 x 4c + 5 x 3c + 6 x 2c + 7x c = 64c
16
(ii)
1
16
= 64 x =4
Example 10
A fair coin is tossed three times write out the probability distribution for the number of heads, X,
obtained and hence obtain the expected number of heads
Solution
1 3 3 1
number of heads, x 0 1 2 3
8 8 8 8
P(X=x)
Example 11
A family plans to have 4children. Given that X is the number of girls in the family. Find the expected
number of girls
Solution
S = (BBBB, BBBG, BBGB, BGBB, GBBB, BBGG, BGGB, BGBG, GGBB, BGGB, GBBG, BGGG, GBGG, GGBG,
GGGB GGGG)
1 4 6 4 1
Number of girls, x 0 1 2 3 4
P(X=x)
16 16 16 16 16
E(X) = ∑ 𝑥(𝑋 = 𝑥) = (0 𝑥 +1𝑥 +2𝑥 +3𝑥 +4𝑥 ) =2
1 4 6 4 1
16 16 16 16 16
Example 12
A box A contains 4 red sweets and 3 green sweets. Box B contains 5 red sweets and 6 green sweets.
Box A is twice more likely to be picked as Box B. If a box is chosen at random and two sweets are
removed from it, one at a time without replacement.
(a) Find the probability that two sweets removed are of the same colour.
P(same colour) = P(A∩R1∩R2) + P(A∩G1∩G2) + P(B∩R1∩R2) + P(B∩B1∩B2)
= 𝑥 𝑥 + 𝑥 𝑥 + 𝑥 𝑥 + 𝑥 𝑥
2 4 3 2 3 2 1 5 4 1 6 5
3 7 6 3 7 6 3 11 10 3 11 10
12 20 30 42 50
+
= 24 + + = + = 0.4372
126 126 330 330 126 330
(b) (i) construct a probability distribution table for the number of red sweets removed
Let x = number of red sweets removed
2 3 2 1 6 5
P(X =0) = P(A∩G1∩G2) + P(B∩G1∩G2) = 𝑥 𝑥 + 𝑥 𝑥
3 7 6 3 11 10
=
0.1861 P(X=1) = P(A∩R1∩G2) + P(A∩G1∩R2) + P(B∩R1∩G2) +
P(B∩G1∩R2)
2 4 3 2 3 4 1 5 6 1 6 5
= 𝑥 𝑥 + 𝑥 𝑥 + 𝑥 𝑥 +
𝑥 𝑥
3 7 6 3 7 6 3 11 10 3
+ 10
= 11 + 24
+ 24
= 30
+ 30 48
60
126 126 330 330 126 330
= 0.5628
P(X=2) = P(A∩R1∩R2)+ P(B∩R1∩R2) = 𝑥 𝑥 + 𝑥 𝑥 = +
2 4 3 1 5 4 24 20
3 7 6 3 11 10 126 330
= 0.2511
Revision exercise 2
1. A discrete random variable X has a probability distribution.
1 1 1 1 1
x 0 1 2 3 4
P(X= x)
6 12 4 3 6
Find E(X) = 2.25
3 2 1 2 3
x 5 6 7 8 9
P(X=x)
11 11 11 11 11
Find the mean = 7
3. A discrete random variable X has a probability distribution
2) = 0.9 and P(X≤1) = 0.5. Find (i) P(X=1) = 0.3 (ii) P(X =0) = 0.2
11. A discrete random variable X can take on values 0, 1, 2, and 3 only. If E(X) = 1.4, P(X≤
(ii) E(X) = 3
P(Y=y) = cy, y = 1, 2, 3, 4
Find (i) value of c = 0.1
𝑘2𝑥 , 𝑥 =
13. A discrete random variable has p.d.f
𝑃(𝑋 = 𝑥) =0,{1, 2, 3, 4, 5, 6 ,
0, 𝑜𝑡ℎ𝑒𝑟𝑤𝑖𝑠𝑒
1
127
Find (i) value of k = , (ii) mean = 5
14. A discrete random variable X has a probability distribution
x 0 1 2 3 4 5
P(X= x) 0.11 0.17 0.2 0.13 p 0.09
Find (i) the value of p = 0.3 (ii) Expected value of X (= 2.6)
10. A discrete random variable X can take on values 10 and 20 only. If E(X) = 16. Write out the
probability distribution for X
Let P(X=10) = a and P(X=20) = b
a+b = 1
a = (1-b)………………. (i)
10a + 20b = 16 ……. (ii)
Eqn. (i) and eqn. (ii)
10(1-b) + 20b = 16
10 + 20b = 16
b = 0.6
a = 1- 0.6 = 0.4
P(X≤ 2) = a + b+ c = 0.9 …
a + b + c + d = 1 ……………. (i)
∑ 𝑃(𝑋 = 𝑥) = 1
Find (i) value of c = 0.1 (ii) E(X) =
(i)
c + 2c + 3c + 4c = 1
10c = 1; c= 0.1
𝑃(𝑋 = 𝑥) =𝑘2{ , 𝑥 =
13. A discrete random variable has p.d.f
𝑥
0,1, 2, 3, 4, 5, 6 0,
,
𝑜𝑡ℎ𝑒𝑟𝑤𝑖𝑠𝑒
Find
1
∑ 𝑃(𝑋 = 𝑥) = 1
127
(i) (i) value of k = ,
k(20 + 21 + 22 + 23 + 24 + 25 +26) = 1
1
127
k=
1
Mean = ∑ 𝑃𝑥(𝑋 = 𝑥) =
127
(ii) (0 x 1 + 2 x 2 + 3 x 8 + 4 x 16 + 4 x 32 + 6 x 64) =
5.01 14. A discrete random variable X has a probability distribution
x 0 1 2 3 4 5
P(X= x) 0.11 0.17 0.2 0.13 p 0.09
Find
∑ 𝑃(𝑋 = 𝑥) =
(i) the value of p
1
0.11 + 0.17 + 0.2 + 0.13 + p + 0.09 = 1
p = 0.3
(i) E(a) = a
(ii) E(ax) = aE(x)
(iii) E(ax + b) = aE(x) + b
(iv) E(ax - b) = aE(x) - b
Example 13
x 1 2 3 4
P(X=x) 0.1 0.2 0.3 0.4
Find
Example 14
x -1 0 1 2
P(X= x) 0.25 0.10 0.45 0.20
Find
Variance, Var(x)
Example 15
x 1 2 3 4 5
P(X=x) 0.1 0.3 0.2 0.3 0.1
Find
The discrete random variable Y has a probability distribution is given by P(Y =y), y= -3, -2, -1, 0, 1, 2,3
y -3 -2 -1 0 1 2 3
∑ 𝑃(𝑋 = 𝑥) = 1
P(Y= y) 3c 2c c 0 c 2c 3c
(i)
1
Mean = ∑ 𝑃𝑥(𝑋 = 𝑥) = -3 x 3c + -2 x 2c + -1 x c + 0 x 0 + 1 x c + 2 x 2c + 3 x 3c = 0
12
+2c + c+ c + 2c + 3c = 1; c =
3c
(ii)
1
(iii)
12
E(X2) = (-3)2 x 3c + (-2)2 x 2c + (-1)2 x c + (0)2 x 0 + (1)2 x c + (2)2 x 2c +(3)2 x 3c = 72 x =
6 Var (x) = E(X2) – (E(x))2 = 6 – (0)2 = 6
S.D = √𝑉𝑎𝑟 (𝑋) = √6 = 2.45
Example 17
Two marbles are drawn without replacement from a box containing 3 red marbles and 4 white
marbles. The marbles are randomly drawn. If X is the random variable for the number of red marble
drawn find
2 4 1
x 0 1 2
P(X=x)
7 7
∑ 𝑃 𝑥 ( 𝑋 = 𝑥7 ) = 𝑥 0 + 𝑥
2 4
E (x ) = 7 7
7 7
1 + 𝑥 2
1 6
=
(ii) Standard deviation of X
E(x2) = ∑ 𝑃𝑥 2 (𝑋 = 𝑥) 7== 𝑥 70 + 𝑥 712 + 𝑥 22 =
2 4 1 8
7
8 6 2 20
−( ) =
7 7 49
(x) = E(x2) – (E(X))2 =
Var
S.D = √𝑉𝑎𝑟 (𝑋) = √
2
49
= 0.6389
Example 19
A vendor stocks 12 copies of a magazine each week and the probability for each possible total
number of copies sold is shown below
Number of copies 9 10 11 12
probability 0.2 0.35 0.30 0.15
10.4 E(X2) = 92 x 0.2 + 102 x 0.35 + 112 x 0.3 + 122 x 0.15 =109.1
Var(x) = 109.1 – (10.4)2 = 0.94
(b) The vendor buys the magazine at 8,500/= and sells at 14,500/=. Any copies not sold are
destroyed. Construct a probability distribution table for vendor’s weekly profit and hence
find the expected weekly profit
Profit = S.P – C.P
Profit for 9 copies = 9 x 14,500 – 12 x 8500 = 28500
Profit for 10 copies= 10 x 14,500 – 12 x 8500 =43000
Profit for 11 copies= 11 x 14,500 – 12 x 8500 = 57500
Profit for 12 copies= 12 x 14,500 – 12 x 8500 = 72000
Example 20
The table below shows the number of red and green balls put in three identical boxes A, B and C.
Boxes A B C
Red balls 4 6 3
Green balls 2 7 5
A box is chosen at random and two balls are then drawn from it successively without
replacement. If the random variable X is “the number of green balls drawn”.
(a) Draw a probability distribution table for X (06marks)
Using combination
4 6 3
1 𝐶 2 𝐶2
P(X = 0) = [ 62 + 𝐶
13 +
3 𝐶 𝐶2 2
= 8 [ ]+ 1 2+
2
5]= 2
𝐶
1273
3 5 26 28 5460
1 2𝐶1 𝑥 4𝐶1 7
𝐶1 𝑥
6
𝐶1
3
𝐶1 𝑥
3
𝐶1
[ 6𝐶2 +13 +
8𝐶 ]
3 2 𝐶 2
P(X = 1) =
= [ + + ]=
1 1 7 5 946
3 15 26 14 4095
Example 21
x 1 2 3 4 5
P(X = x) 0.2 0.25 0.4 0.1 0.05
Find
Example 22
x 10 20 30
P(X = x) 0.2 0.3 0.5
Find
Revision exercise 3
1. A random variable X of discrete probability distribution is given by
x 1 2 3
P(X = x) 0.2 0.3 0.5
Find (i) E(X) = 2.3 (ii) E(X2) = 5.9 (iii) Var (X) = 0.61
x -1 0 1 2
P(X = x) 0.25 0.1 0.45 0.2
Find: (i) P(-1≤ X < 2) = 0.8 (ii) E(X) = 0.6 (iii) E(2x + 3) = 4.2
𝑘𝑥, 𝑥 = 1, 2, 3, 4, 5
8. The discrete random variable X has a probability distribution given by
𝑃( 𝑋 = )𝑥
𝑘(10 − 𝑥), 𝑥 = 6, 7,8, 9
={
Find (i) constant, k = 0.04, (i) E(X) = 5 (iii) Var(X) = 4
9. The discrete random variable X has a probability distribution is given by
P(X =x) = kx, x = 1, 2, 3,…..n ; where k is a constant
(2𝑛 +
2 1
𝑛(𝑛+1) 3
Show that k = , hence find in terms of n the mean X =
1) 10. A random variable X of a discrete probability distribution given by
P(X = 0) = P(X=1) = 0.1, P(X = 2) = 0.2, P(X= 3) = P(X = 4) = 0.3. Find Var (X) = 1.64
11. A random variable X of a discrete probability distribution given by
P(X = 2) = 0.1; P(X= 4) = 0.3; P(X = 6) = 0.5; P(X = 8) = 0.1. Find Var (X) 2.56
Example23
x 1 2 3 4 5
P(X = x) 0.2 0.25 0.4 0.1 0.05
Find the cumulative distribution function
Solution
x 1 2 3 4
F(X)) 0.2 5 0.45 0.85 0.95
1
Example 24
X -1 0 1 2
F(X) 0.25 0.1 0.45 0.2
Example 25
x 1 2 3 4
5 F(X) 0.2 0.32 0.67 0.91
1
Find (i) probability distribution function
x 1 2 3 4 5
F(X) 0.2 0.12 0.35 0.24 0.09
(ii) P(X = 3) =0.35
Example 26
X 1 2 3
F(X) 0.1 4 0.5 0.8
Find (i) mean (ii) Var(X) 1
(iii) mode
Solution
X 1 2 3 4
Revision Exercise 4
1. A discrete random variable has a cumulative distribution
x 0 1 2 3 4
F(X) 01 0.3 0.6 0.8
Find (i) E(X) = 15.2 1
(ii) Var(X)=1.56 (iii) Var(6X + 2) = 56.16
2. The random variable X has a cumulative function below
x 1 2 3
4 F(X) 0.13 0.54 0.75
1
Find (i) P(X=2) = 0.41 (ii) P(X>1) = 0.87 (iii) P(X ≥ 3) = 0.46 (iv) P(X<2) = 0.13 (V)E(X) = 2.58
3. A discrete random variable X has a cumulative distribution
x 3 4 5 6
7 F(X) 0.01 0.23 0.64 0.85
1
Find (i) probability distribution function (ii) Var (X) = 0.9724)
2
�
�
9
4. A discrete random variable has a cumulative probability function F(X) = , x = 1, 2, 3.
4 1 17
9 3 9
Find (1) F(2) = (ii) P(X = 2)= (iii) E(2X -3) =
5. A discrete random variable has a cumulative probability function. F(X) = k, x = 1, 2,3
Find the
1
3
(i) constant k =
2
3
P(X<3) =
(ii)
(iii) Standard deviation, σ = 0.816
6. A discrete random variable has a cumulative probability function
𝑥
F(X) = 1 − (1 −� ) x = 1, 2, 3, 4
�
4
Find the
6
F(3) = 3
64
(i)
3
4
F(2) =
(ii)
(iii) Var (X) = 0.547
Thank you
Dr. Bbosa Science