Probability,Discrete Random Variables & Normal Distribution.
Probability,Discrete Random Variables & Normal Distribution.
Probability is a measure of the expectation that an event will occur or a statement is true.
Probabilities are given a value between 0 (will not occur) and 1 (will occur). The higher the
probability of an event, the more certain we are that the event will occur.
When dealing with experiments that are random and well-defined in a purely theoretical setting (like
tossing a fair coin), probabilities describe the statistical number of outcomes considered divided by the
number of all outcomes (tossing a fair coin twice will yield HH with probability 1/4, because the four
outcomes HH, HT, TH and TT are possible). When it comes to practical application, however, the
word probability does not have a singular direct definition.
The probability of an event A is written as P(A), p(A) or Pr(A). This mathematical definition of
probability can extend to infinite sample spaces, and even uncountable sample spaces, using the
concept of a measure.
The opposite or complement of an event A is the event [not A] (that is, the event of A not
occurring); its probability is given by P(not A) = 1 - P(A). As an example, the chance of not rolling a
six on a six-sided die is 1 – (chance of rolling a six) = 1 – 1/6 = 5/6
If both events A and B occur on a single performance of an experiment, this is called the intersection
or joint probability of A and B, denoted as P(A∩B)
Notes:
Probability is a value that represents the occurrence of an event when compared with the total number
of trials. If P(A) represents the probability of A then P(A) lies in the interval from 0 to 1.
∴ 0 ∠ P(A) ≤ 1
Number of trials for event A
P(A) =
Total number of trials in samples
n (A)
=
n (S)
Where A is an event with S possibilities.
If P(A) = 1, we are absolutely sure that event A will happen.
If P(A) = 0, then event A can never happen.
n( A )
From P(A) =
n(S)
n(A)
n(S)
P(A or B) = P(A + B)
= P(AUB)
= P(A) + P(B)
It can be extended to three events A, B and C
P(A or B or C) = P(A) + P(B) + P(C) for events A1, A2, A3, ……….., And then
You too can acquire knowledge and skills!
2 03/12/2023
Authorised by: 0777 023 444
KAMPALA MATHEMATICS CLUB
Suppose someone told you they had a nice conversation with someone on the bus. Not knowing
anything else about this conversation, the probability that they were speaking to a woman is 50%.
Now suppose they also told you that this person had long hair. It is now more likely they were
speaking to a woman, since most long-haired people are women. Bayes' theorem can be used to
calculate the probability that the person is a woman.
W represent the event that the conversation was held with a woman, and
L denote the event that the conversation was held with a long-haired person.
It can be assumed that women constitute half the population for this example. So, not knowing
anything else, the probability that W occurs is
P(W) = 0.5
Suppose it is also known that 75% of women have long hair, which we denote as
P(L/M) = 0.30 ,
where M is the complementary event of W, i.e., the event that the conversation was held with a man
(assuming that every human is either a man or a woman).
Our goal is to calculate the probability that the conversation was held with a woman, given the fact
that the person had long hair, or, in our notation, P(W/L) . Using the formula for Bayes' theorem, we
have:
P( L / W ) P( W ) P( L / W ) P( W )
P(W/L) = =
P ( L) P( L / W ) P( W ) + P( L / M ) P( M )
where we have used the law of total probability. The numeric answer can be obtained by substituting
the above values into this formula. This yields
P(W/L) ≈ 0.714
i.e., the probability that the conversation was held with a woman, given that the person had long hair,
is about 71%.
Mathematically, Bayes' theorem gives the relationship between the probabilities of A and B, P(A)and
P(B), and the conditional probabilities of A given Band B given A, P(A/B)
and P(B/A)
In its most common form, it is:
P(B / A) P(A)
P(A/B) =
P(B)
The meaning of this statement depends on the interpretation of probability ascribed to the terms
Generally:
If A1, A2 ,An are n non-mutually exclusive and exhaustive events in a same face S. If B is another
event in S then,
P(B / A k )
P(Ak/B) = n
∑
i =1
For k = 1, 2, 3,…,n.
TREE DIAGRAM
A
A
D
E
How to Use a Probability Tree for Probability Questions
Sometimes, you’ll be faced with a probability question that just doesn’t have a simple solution.
Drawing a probability tree (or a tree diagram) is a way for you to visually see all of the possible
choices, and to avoid making mathematical errors. Below is a step-by-step process of using a decision
tree.
Example “An airplane manufacturer has three factories A B and C which produce 50%, 25%,
and 25%, respectively, of a particular airplane. Seventy percent of the airplanes produced in
factory A are passenger airplanes, 25% of those produced in factory B are passenger airplanes,
and 25% of the airplanes produced in factory C are passenger airplanes. If an airplane
produced by the manufacturer is selected at random, calculate the probability the airplane will
be a passenger plane.”
Step 1:Draw lines to represent the first set of options in the question (in our case, 3 factories). Label
them (our question list A B and C so that is what we’ll use here).
Step 2: Convert the percentages to decimals, and place those on the appropriate branch in the
diagram. For our example, 50% = 0.5, and 25% = 0.25.
A
0.5
0.25
B
0.25
C
Step 3: Draw the next set of branches. In our case, we were told that 70% of factory A’s output was
passenger. Converting to decimals, we have 0.7 P (“P” is just my own shorthand here for “Passenger”)
and 0.3 NP (“NP” = “Not Passenger”).
0.7P
A
0.5 0.3NP
0.25
B
0.25
C
0.7P
A
0.3NP
0.5
0.25P
0.25
B
0.75NP
0.25 0.25P
C
0.75NP
Step 5: Multiply the probabilities of the first branch that produces the desired result together. In our
case, we want to know about the production of passenger places, so we choose the first branch that
leads to P.
0.5 × 0.7
0.7 P
= 0.35
A
0.3NP
0.5
0.25P
0.25
B
0.75NP
0.25 0.25P
C
0.75NP
0.25P
0.25 × 0.25
0.25 = 0.0625
B
0.75NP
Note:
It solves problems that are mutually exclusive events and exclusive. The sum of probabilities from the
same point on the tree diagram adds up to one. It solves two cases of problems.
(i) Picking with replacement, here the sample size in the second stage does not change since it is
replaced.
(ii) Picking without replacement, the sample size in the second stage reduces by one since it is not
replaced.
Example 1: Given the P(A) = 0.3, P(B) = 0.4 and P(A ∩ B) = 0.1
Find: (i) P(AUB)
(ii) P(AUB)1
(iii) P(A1UB)
Solution:
(i) It’s a non-mutually excusive event.
P(AUB) = P(A) + P(B) - P(A ∩ B)
P(AUB) = 0.3 + 0.4 - 0.1
= 0.6
(ii) Are exhaustive events.
P(AUB)1 + P(AUB) = 1
1
P(AUB) = 1 – P(AUB)
= 1 – 0.6
= 0.4
(iii) Intersection = 0.3
P(A1 ∩ B) = 0.3
P(A1UB) = P(A1) + P(B) – P(A1 ∩ B)
= 0.7 + 0.4 – 0.3
= 0.8
2
Example 2: The probability that two events occur together is
15
Solution:
Let the two events be A and B.
P(A ∩ B) = P(A) .P(B)
2
P(A).P(B) =
15
2
P(A) =
15P(B)
P(AUB) = P(A) + P(B) – P(A ∩ B)
3
∴ P(A) + P(B) – P(A ∩ B) =
5
2
P(A∩B) =
15
3 2
P(A) + P(B) = +
5 15
11
=
15
Substitute (i) into (ii)
2 11
+ P(B) =
15P(B) 15
2
2 + 15P(B) = 11P(B)
15P(B)2 - 11P(B) + 2 = 0
2 1
P(B) = or
5 3
2
When P`(B) = ;
5
2 5
P(A) = .
15 2
5
=
15
1
=
3
1
When P(B) = ;
3
2 3
P(A) = .
15 1
2
=
5
Example 3: A die is tossed three times, what is the probability of getting.
exactly one 2
At least one 2.
Solution:
P (exactly one 2) = P(2). P(2).P(2) + P (2) . P(2) .P (2) + P (2) . P (2) .P(.2)
1 5
But, P(2) = , P (2) =
6 6
Solution:
We have
P(A) = 0.5 , P(B) = 0.7 and P(A∪B) = 0.8
(i) P(A∩B) = P(A)+P(B) - P(A∪B)
= 0.5 + 0.7 - 0.8
∴ P(A∩B) = 0.4
(ii)P(A∩ B) = P(A) - P(A∩B)
= 0.5 - 0.4
= 0.1
∴ P(A∩ B) = 0.1
Example 6:
A bag contains 3 black and 5 white balls. Two balls are drawn at random one at a time without
replacement.
Find. (i)the probability that the second ball is white.
(ii)the probability that the first ball is white given the second is white.
Solution:
(b)
B W
3 5
Defining events,
B1: a black ball is drawn first
W1: a white ball is drawn first
B2: ablack ball is drawn second,
and W2: a white ball is drawn second
(i) we are interested in the union of the mutually exclusive events ( W1 ∩ W2 ) and ( B1 ∩ W2 )
Note the existence of W2 in the two events above !
So P(W2 ) = P[(W1 ∩ W2 )] ∪ [(B1 ∩ W2 )]
= P( W1 ∩ W2 ) +P ( B1 ∩ W2 )
= P(W1) .P(W2/W1)+P(B1).P(W2/ B1)
5 3
But P(W1) = , P(B1) =
8 8
4 5
P(W2/W1) = and P(W2/ B1) =
7 7
5 4 3 5
Hence P(W2) = x + x
8 7 8 7
35
=
56
( )
∴ P W2 = 0.625 #
Example 7:
The probability that a student X can solve a certain problem is 2/ 3 and that student y can solve it is ½
. Find the probability that the problem will be solve if both X and Y try to solve it independently.
Solution:
The problem shows two independent events
Defining events
X1 ‘student x can solve the problem’
Y1 : ‘student y can solve the problem’
we are given
2
P(X1) =
5
1
P(Y1) =
2
we are asked P(X 1 ∪ Y )
Now P(X1 ∪ Y1 ) = P(X1 )+P(Y1 )- P( X1 ∩ Y1 )
Now for independent events ,
P( X1 ∩ Y1 ) = P(X1 ) x P(Y1)
∴ P(X1 ∩ Y1 )
2 1 2 1
= + − x
5 2 5 2
∴ P(X1 ∩ Y1 ) = 0.7 #
Example 8 :
The probability that I have to wait at the traffic lights on my way to school is 1 4 .
Find the probability that, on two consecutive mornings, I have to wait on at least one morning.
Solution:
. Let W1 be the event “waiting on traffic lights
on first day”
W2 be the event “waiting on the traffic
lights on 2nd day”
Now , P(W1) = 1/4 , and
P(W2) = 1/4 .
W1 and W2 are independent events.
We are asked to find P(W1 ∪ W2 ) .
∴ P(W1 ∪ W2 ) = P( W1 ) + P(W2 ) − P(W1 ∩ W2 )
1 1 1 1
= + − .
4 4 4 4
1 1
= −
2 16
Solution:
Let R1 be the event “a red ball is drawn first’
R2 be the event “a red ball is drawn second’
W1 be the event “a red ball is drawn first’
W2 be the event “a red ball is drawn second’
W R
10 6
1
Now , P(R1) =
16
10
P(W1) =
16
6 2
(i) P (R2/W1) = = #
15 5
(ii) P(W2) = P (W2 ∩ W1) or P (W2 ∩ R1)
= P(W1) ×P(W2/W1)+ P(R1) × P (W2/R1)
10 9 6 10
= × + ×
16 15 16 15
5 3 3 2
= × + ×
8 5 8 3
3 2 5
= × =
8 8 8
5
∴ P (W2) = #
8
Example 10:
Two events A and B a neither nor mutually exclusive. Given that P(B) = 1/3,
P(A ∩ B) = 1/3, find
(i) P(A ∪ B)
(ii) P(A / B)
Solution:
Given that
P(A) = ½ , P(B) = 1/3
1
P(A∩B) = /3
(
(i) P A ∪ B ) = P (A∩B)′
= 1 – P (A∩B)
Now P (A∩ B ) = P (A) – P (A∩B)
⇒ P (A∩B) = P(A) – P A∩ B
= ½ - 1/3 = 1/6
(
Hence P A ∪ B ) = 1- 1/6 = 5/6
(
Hence P A / B ) = P
A ∩B ( )
P(B)
=
(1 − 2 3 )
(1 − 13 )
1
3
= =½
2
3
∴P A / B( ) = ½ #
Example 11
A bag A contains 2 green and 2 blue balls, while bag B contains 2 green and 3 blue balls. A bag is
selected at random and two balls from it without replacement. Find the probability that the balls
drawn are of different colours
Solution
P(G2/G1∩A)=1/3
P(G1/A) =2/4
7G P(B2/G1∩A) = 2/3
A 2G P(B2/B1∩A)= 1/3
P(B1/A)=2/4
P(G2/B1AA)= 3/4
2G P(B2/G1∩B) = 3/4
B 3G P(B2/B1∩B)
Solution:
We define the events :
Let ,
I : event that the suspect is innocent
G : the serum indicates guilt
Then we are asked P(I/G)
P(I ∩ G )
ie P(I/G) =
P(G )
Using Baye’s rule
P(G) = P[(G ∩ I) + (G ∩ I)]
= P ( I) P (G / I) + P ( I) P (G / I)
From the given information
95 1
P(I) = , P(G/I) =
100 100
5 90
P ( I) = , P (G / I) =
100 100
1 95 90 5
So P(G) = × + ×
100 100 100 100
109
=
2000
Also P(I ∩ G ) = P(I)P(G/I)
95 1
= ×
100 100
19
=
2000
19 109
Hence P(I/G) = ÷
2000 2000
19
=
109
∴ P(I/G) = 0.174 . #
x 1
Example 13: A die is loaded so that the chance of throwing 91 is , the chance of a 6 is (1 – x
4 4
1
) and the chance of a 3, 4 0r 5 is . The die is thrown twice.
6
9 x − 9 x 2 + 10
(i)Prove that the chance of throwing a total 7 is
72
(ii)Find the value of X which make this chance a maxium and find this maximum probability.
Solution:
Sum 1 2 3 4 5 6
1 11 12 13 14 15 16
2 21 22 23 24 25 26
3 31 32 33 34 35 36
4 41 42 43 44 45 46
5 51 52 53 54 55 56
6 61 62 63 64 65 66
P(B)=0.7
P(W)=0.3
P(B)=0.7
P(B)=0.7
P(B)=0.7 P(W)=0.3 P(W)=0.3
P(B)=0.7
P(B)=0.7
P(W)=0.3
P(W)=0.3
P(W)=0.3 P(B)=0.7
P(W)=0.3
Solution:
You too can acquire knowledge and skills!
16 03/12/2023
Authorised by: 0777 023 444
KAMPALA MATHEMATICS CLUB
EITHER
W2 = 3/8
R2= 3/8
P(W1)=4/9 G2= 2/8
W2=4/8
P(R1)=3/9
R2= 2/8
G2= 2/8
P(G1)=2/9
W2= 4/8
R2= 3/8
G2= 1/8
P(W)=5/10
W2= 4/8
R2= 2/8
P(W1)=5/9 G2= 2/8
W2= 4/8
R2= 3/8
P(W1)=5/9 G2= 1/8
W2= 5/8
P(R1)=3/9
R2= 2/8
G2= 1/8
5 4 3 5 4 3 5 3 4 5 3 2 3 5
(i)P (no green counter) = x x + x x + x x + x x + x
10 9 8 10 9 8 10 9 8 10 9 8 10 9
4 3 5 2 3 2 5 3 2 1
x + x x + x x + x x
8 10 9 8 10 9 8 10 9 8
180 + 90 + 66
=
720
336
=
720
7
=
15
8 7 6
P (G ) = P (G 2 ) = P (G 3 ) =
10 9 8
P (no green) = P P (G 1 ) . P (G 2 ) . P (G 3 )
8 7 6
= x x
10 9 8
336
=
720
7
=
15
P(2W and G) = P(WWG or WGW or GWW)
5 2
P(W) = , P(G) =
10 10
5 4 2 5 2 4 2 5 4
= x x + x x + x x
10 9 8 10 9 8 10 9 8
120
=
720
12
=
72
1
=
6
Example 16.
(a) A box contains 7 red balls and 6 blue balls. Three balls are selected at random without
replacement. Find the probability that:
(i) they are of the same colour.
(ii) at most two are blue.
(b) Two boxes P and Q contain white and brown cards. P contains 6 white cards and 4 brown
cards. Q contains 2 white cards and three brown cards. A box is selected at random and a card
is selected.
Find the probability that:
(i) a brown card is selected.
(ii) box Q is selected given that the card is white.
Solution
(a) (i) P(All are of same colour) = P(R1 ∩R2 ∩R3) + P(B1 ∩B2 ∩B3)
You too can acquire knowledge and skills!
18 03/12/2023
Authorised by: 0777 023 444
KAMPALA MATHEMATICS CLUB
Example19.
A good football striker is nursing an injury in his leg. The probability that his team will win the
next match when he is playing is 4/5, otherwise it is 2/3. The probability that he will have
recovered by the time of the match is ¼.
Find the probability that his team will win the match
Solution:
Let W be event that the team wins the match and R be the event that the striker recovers.
Now P W R( ) = 45
P W = 23
R
P (R) = 14
R ∩W
R ∩W
P (W) = P (R ∩ W) + P ( R ∩ W)
= P (R) x P (W R) + P ( R ) x P (W R )
1 4 3 2
= x + x
4 5 4 3
1 1
= +
5 2
2+5
=
10
7
=
10
7
Hence the probability that his team will win the match is .
10
Example 20.
1
A and B two independent events with A twice as likely to occur as B.If P (A) = , find
2
(i) P(A ∪ B),
(ii) P[(A ∩ B)/A)],
Solution:
⇒ P (A) = 2x
Example22.
On certain day, fresh fish from lakes: Kyoga, Victoria, Albert and George were supplied to one
of the central markets of Kampala in the ratios 30%, 40%, 20% and 10% respectively. Each
lake had an estimated ratio of poisoned fish of 2%, 3% and 1% respectively. If a healthy
inspector a fish at random,
i) What is the probability that the fish was poisoned?
ii) Given that the fish was poisoned, what was the probability that it was from Albert?
Solution:
i). Defining the event,
K = event, fish from Lake Kyoga
V = event, fish from Victoria
A = event, fish from Lake Albert
G = event, fish from Lake George
Also P = Fish is poisoned
Given
30 3
P(K) = =
100 10
40 4
P(V) = =
100 10
20 2
P(A) = =
100 10
10 1
P(G) = =
100 10
Also;
2 3
P(P/K) = , P(P/V) =
100 100
3 1
P(P/A) = , P(P/G) =
100 100
We are interested in the union of the mutually exclusive events
P∩K, P∩V, and P∩G
Or P(P) = P(P∩K) or P(P∩V) or P(P∩A) or P(P∩G)
= P(P∩K) + P(P∩V) + P(P∩A) + P(P∩G)
= P(K)xP(P/K) + P(V) x P(P/V) +P(A)xP(P/A) + P(G)xP(P/G)
3 2 4 3 2 3 1 1
= × + × + × + ×
10 100 10 100 10 100 10 100
You too can acquire knowledge and skills!
23 03/12/2023
Authorised by: 0777 023 444
KAMPALA MATHEMATICS CLUB
A B
x y z
0.15
Solution:
We are given
A
B
x y z
0.15
P(A) = 0.6
5
P(A/B) = /7
and P(A∪B) = 0.85
(i) From the Venn – diagram
x + y = P(A) = 0.6
⇒ x + y = 0.6 ……………..(1)
also x + y + z = P (A∪B) = 0.85
x + y + z = 0.85 ….………….(2)
Solving equations (1) and (2)
0.6 + z = 0. 85
z = 0.85 – 060
∴ z = 0.25 #
Also P(A1/B) =
(
P A ∩B 1
) = 5
/7 ……(3)
P(B)
Now P(A1 ∩ B) = z (from the Venn diagram)
And P(B) = y + z
From above
z 5
=
y+z 7
Solving for y
7z = 5y + 5z
5y = 2z
2 2
y = z = × 0.25
5 5
∴ y = 0. 1
From x + y = 0.6
⇒ x = 0.6 – y
= 0.6 – 0.1
= 0.5
Hence ; x = 0.5, y = 0.1 and z = 0.2.5
P(A ∩ B)
(ii) P(A/B) =
P(B)
x
= (from Venn diagram)
x + 0.15
0.50
=
0.50 + 0.15
50 10
= =
65 13
∴ P(A/B) = 10
/13 #
(b)
You too can acquire knowledge and skills!
25 03/12/2023
Authorised by: 0777 023 444
KAMPALA MATHEMATICS CLUB
W B W B
4 1 1 4
Bag 1 Bag 2
Solution
Let A be the event “Abel will take the job”
Let B be the event “Bob will take the job”
Let C be the event “Charles will take the job”
A, B and C are independent events and we are given.
P(A) = ¾ ⇒ P (A1) = ¼
P(B) = ½ ⇒ P (B1) = ½
P(C) = 1 – P (C1 )
= (1 – 1/3)
2
= /3
(i) P (none of the will take the job)
= P (A ∩B ∩ C)
= P (A) × P (B) × P (C)
= ¼ × ½ × 2/3 = 2/24 #
1
x
/4 y
Z
Given P (A ∩B ) = ¼
And P (A/B) = 1 /6
Let P (A∩B) = x
P (A∩B) = y
and P ( A∪B)' = Z
P(A ∩ B) 1
Now P (A/B) = =
P(B) 6
y 1
= =
x+y 6
⇒ 6y = x+y
5y = x
Also (PA∩ B) = P (A) × P(B)
⇒ x = (x + ¼ ) × (x + y )
x
But y = /5
⇒ x = (x + ¼ )(x + x/5)
You too can acquire knowledge and skills!
27 03/12/2023
Authorised by: 0777 023 444
KAMPALA MATHEMATICS CLUB
A B
1 7
7
4 60
12
1
20
(i) P(A) = ¼ + x
3+7
= ¼ + 7/12 =
12
10 5
= /12 = /6
∴ P (A) = 5
/6 #
(ii) P(B) = x + y
7 7 35 + 7
/12 + /60 =
60
42
=
60
7
= /10
∴ P(B) = 7
/10
Example 25:
In a survey of newspaper reading habits of members of staff of a university, it
Solution: N
0.6 M
0.2 - x 0.4
0.2 = 0.15
0.1 + x
x = 0.05 = 0.15 Let y = read none
0.15-x of the
= 0.1 0.1 - x three
= 0.05
0 05 + x = 0 1
Y=01
0.3 E
Solution:
Let the two events be A and B
Given
3
P(A ∪ B) =
5
2
P(A ∩ B) =
15
Since A and B are independent
2
P(A ∩ B) = P(A) × P(B) =
15
For clarity in computation, let P( A) = x and P(B) = y
and using
P((A ∪ B) = P ( A) + P(B) - P(A ∩ B)
3 2
⇒ = x + y- (1)
5 15
2
But Also P(A) × P(B) =
15
2
⇒ x× y =
15
2
⇒ y = (2)
15x
Substituting for y in (1)
3 2 2
= x+ − (3)
5 15x 15
9x = 15x2 + 2 – 2x
2
15x – 11x + 2 = 0 (4)
Solving for x in equation (4)
15x2 – 6x – 5x + 2 = 0
3x(5x – 2) – 1(5x – 2) = 0
(5x – 2) (3x – 1) = 0
2 1
Thus x = /5 or x = /3
2 2 1
When x = , y= =
5 15x 3
1 2 2
When x = , y = =
3 15x 5
Hence
2 1
P(A) = and `P(B) =
5 3
1 2
or P(A) = and P(B) =
3 5
i.e. the probabilities are interchangeable
Solution:
1
P(A∩B) = /8 (i)
5
P(A∪B) = /8 (ii)
A and B are independent
P (A∩B) = P(A) x P (B)
1
= /8
Now , P (A∪B) = P (A) + P(B) – P(A∩B)
5
/8 = P(A) + P(B) – P(A) .P(B)
= P(A) + P(B) – 1/8
5
P(A) + P(B) = /8 + 1/8 = 6
/8 = 3/4
= ¾ (iii)
Let P(A) = x and P(B) = y
x + y = ¾ (iv)
xy = 1 /8 (v)
3
x( /4 –x) = 1 /8
3
/4x – x2 = 1 /8
2
6x – 8x = 1
8x2 – 6x +1 = 0
8x2 – 4x – 2x + 1 = 0
4x (2x-1) -1(2x-1) = 0
(2x - 1)(4x-1) = 0
x = 1/2 or x = ¼
If x = ½, y = ¼
If x = ¼, y = ½
Example 28:
A survey of 500 students taking one or more courses in algebra, physics and Statistics during
one of the semester revealed the following numbers of students in the indicated subjects.
Algebra 329, Algebra and Physics 83
Physics 186, Algebra and Statistics 217
Statistics 295 ,Physics and Statistics 63
Determine the probability that a student takes:
(a)all 3 subjects
(b)algebra but not statistics
(c)physics but not algebra
(d)statistics but not physics
(e)algebra or statistics but not physics
(f)algebra but not physics or statistics.
Solution:
(a) Let A = Algebra,
B = Physics and
C = Statistics.
n(AUBUC) = n(A) + n(B) + n(C) – n(A∩B) – n(B∩C) - n(C∩A) + n(A∩B∩C)
n(AUBUC) = 500,
n(A) = 329,
n(B) = 186,
You too can acquire knowledge and skills!
31 03/12/2023
Authorised by: 0777 023 444
KAMPALA MATHEMATICS CLUB
Algebra
Physics
82
30 93
53
164 10
68
Statistics
Example29.
Events A and B are such that P(A) = ½ , P(B) = 3/8 and P(A/B) = 7/12.Find the
(i) P(A∩B
(
(ii) P B / A )
Solution:
P(A) = ½ , P (B) = 3/8 P(A/B) = 7/12
(i) P (A∩B) = ?
P(A ∩ B
P(A/B) =
P(B)
P(A∩B) = P(A/B) x P(B)
Solution:
(a) (i) P(Passing only one subject ) = P(Passing math only)
+ P(Passing Chemistry only ) + P (Passing Physics only)
= 0.8 x 0.4 x 0.25 + 0.2 x 0.75 x 0.4 + 0.6 x 0.25 x 0.2
= 0.08 + 0.06 + 0.03
= 0.17
P(Failed Chemistry only)
(ii)P(failed Chemistry / Passed at least two subjects) =
P(Passed at least two subjects
0.25 x 0.6 x 0.8
=
0.8 x 0.75 x 0.6 + 0.2 x 0.75 x 0.6 + 0.4 x 0.6 x 0.75 + 0.25
0.12
= `
0.36 + 0.09 + 0.24 + 0.12
0.12
=
0.81
4
=
7
= 0.1481
1 k
(b) P(x) α P(x) =
x x
k
at x = 1 P(1) = k, at x = 2 P(2) =
2
k k
at x = 3 P(3) = , at x = 4 P(4) =
3 4
k k k
∴ k+ + + = 1
2 3 4
You too can acquire knowledge and skills!
33 03/12/2023
Authorised by: 0777 023 444
KAMPALA MATHEMATICS CLUB
Number of 1 2 3 4
tetrahedrons
Probabilities 12 6 4 3
25 25 25 25
2 2 2 2
12 6 4 3
∴ P( Same number) = + + +
25 25 25 25
205
=
625
41
=
125
= 0.328
EXERCISE 2
1.A stack of 20 cards contains 4 cards of each of 5 different colours, namely white, black, green, red
and blue. A part from the colour the cards are indistinguishable. A set of 3 cards is draw at random
from the stack. Find the chances that the 3 cards are:
(i)all white
(ii)all of one colour
(iii) of different colours
2. Box A contains 3 white and 3 black balls and box B contains 4 white and 3 black balls.
One ball is transferred from A to B. One ball is then drawn from B and is found to be white. What
is the probability that the transferred ball was white?
3.A sample poll of 200 Voters revealed the following information concerning three candidates A, B
and C of a certain party who were running for three different offices. 28 in favour of both A and B,
122 in favour of B or C but not A, 98 in favour of A or B but not C, 64 in favour of C but not A or B,
42 in favour of B but not C, 14 in favour of A and C but not B.
Find the probability of voters who were in favour of :
(a) all the three candidates
(b) A irrespective of B or C
(c) B irrespective of A or C
(d) C irrespective of A or B
(e) A and B but not C
(f) only one of the candidates.
4.Three cards are drawn from a deck of 52 cards. Find the probability that:
(a) two are jacks and one is a King
(b) all cards are of one suit.
You too can acquire knowledge and skills!
34 03/12/2023
Authorised by: 0777 023 444
KAMPALA MATHEMATICS CLUB
5.. If 10% of the rivets produced by a machine are defective, what is the probability that out of 5
rivets chosen at random:
(a) none will be defective
(b) one will be defective
(c) at least two will be defective?
6.. Two marbles are drawn in succession from the box containing 10 red, 30 white, 20 blue 15
orange marbles. Replacement being made after each drawing. Find the probability that:
(a)both are white.
(b)the first is red and the second is white.
(c)neither is orange
(d)they are either red or white or both (red and white)
(e)the second is not blue.
(f)the first is orange.
(g)at least one is blue.
(h)at most one is red.
(i)the first is white but the second is not.
(j)only one is red.
7..A factory has three machines 1,2 and 3 producing a particular type of item. One item is drawn at
random from the factory is production. Let B denote the event that the chosen item is defective and
let AK denote the event that the item was produced on machine K, where K = 1,2 or 3. Suppose
that the machines 1,2 and 3 produce respectively 35%, 45% and 20% of the total production of
items and that P(B/A1) = 0.02, P(B/A2) = 0.01
P(B/A3) = 0.03, Given that an item chosen at random is defective. Find which machine was the
most likely to have produced it.
8..Three events A, B and c are defined in the sample space. The events A and C are mutually
exclusive. The events A and B are independent.
1 1 2
Given that P(A) = , P(C) = , P(AUB) = Find:
3 5 3
(a)P(AUC)
(b)P(B)
(c)P(A∩B)
3
Given also that P(BUC) = , determine whether or not B are independent.
5
9.. A die with faces numbered 1 to 6 is biased so that P( score is r ) =Kr
(r = 1, ……, 6). Find:
(i) the value of k
(ii) if the die is thrown twice, calculate the probability that the total score exceeds 10 .
10…The probabilities that a man make a certain dangerous journey by car, motor cycle or on foot are
1 1 1
, and respectively. If the probabilities of an accident when he uses these means of transport are
2 6 3
1 2 1
, and respectively, Find the probability of an accident occurring in a single journey . If an
5 5 10
accident is known to have happened. Calculate the probabilities that the man was traveling:
(a)by car
(b)by motor cycle
(c)on foot
11..In a workshop three machines produce compression springs of a certain size Machine A produces
40% of the total, Machine B 25% and Machine the remainder. On average 6% of the springs produced
14.Two cards are drawn successively from an ordinary deck of 52 well –shuffled cards. Find the
probability that:
(a) the first card is not a ten of clubs or an ace.
(b) the first card is an ace but the second is not
(c) at least one card is a diamond
(d) the cards are not of the same sit
(e) not more than one card is a picture card (Jack, Queen, King)
(f) the second card is not a picture card
(g) the second card is not a picture card given that the first was a picture card
(h) the cards are picture cards or spade or both.
ANSWERS
1 1 32
1. (i) (ii) (iii)
285 57 57
5
2.
9
1 39 43 51 1 71)
3. (a) (b) (c) (d) (e) (f)
25 100 100 100 10 100
6 22 169 73
4. (a) (b) (c) (d)
5525 425 425 5525
5.( (a) 0.59049 (b) 0.32805 (c) 0.08866 )
6.(a) 4/25 (b) 4/75 (c) 16/25 (d) 64/225
(e) 11/15 (f) 1/5 (g) 104/225 (h) 221/225
(i) 6/25 (j) 52/225 )
7.(Machine C probability = 0.4 )
8 1 1
8.(a) (b) (c) Independent
15 2 6
1 32
9. (i) (ii) )
21 147
3. DISCRETE PROBABILITY
DISTRIBUTION.
Introduction:
∑ (X = x ) = 1
i =1
as x runs through the set of all possible values of X. It follows that such a random variable can assume
only a finite or countably infinite number of values.
In cases more frequently considered, this set of possible values is a topologically discrete set in the
sense that all its points are isolated points. But there are discrete random variables for which this
countable set is dense on the real line (for example, a distribution over rational numbers).
Among the most well-known discrete probability distributions that are used for statistical modeling are
the Poisson distribution, the Bernoulli distribution, the binomial distribution, the geometric
distribution, and the negative binomial distribution. In addition, the discrete uniform distribution is
commonly used in computer programs that make equal-probability random selections between a
number of choices.
Mathematically:
A discrete random variable X is defined as a probability function P(X = x), which gives the probability
that X takes on values of x as a probability denoted by P(X = x) or Pi
n
Where ∑ P =1
i =1
i
If we replace P(X = x) with Pi and for which X takes on the value xi for i = 1, 2, … S, n then,
Mean( µ ) = E(X)
n
= ∑
i =1
Pi X i for i = 1, 2, , , , n
= E (X 2 ) –[E(X)]2
∑P x
2
= i i for i = 1,2, …, n
i =1
Cumulate the probabilities from the top downwards until a value of 0.5 or slightly above 0.5 is
obtained, also cumulate the probabilities from the bottom upwards until a value of 0.5 or slightly
above 0.5 is obtained, for the values obtained read off the corresponding X values. If they are
different find the average of the two. This explained as below.
M N
1
∑ Pi ≥
2
≤ ∑ Pi
i =1 i=M
If the two different values that satisfy the inequality are X m and X m +1 then the median (m) =
X m + X m +1
2
The mode of a discrete random variable is the value of X with the highest probability.
Mean ( µ ) = ∑ X i Pi
= 0 x 0.1 + 1 x 0.3 + 2 x 0.4 + 4x0.2
Mean ( µ ) = 1.9
Standard deviation = ( )
E X2 − µ2
∑X
2
E( X 2 ) = i Pi = 02 x 0.1 +12 x 0.3 + 22 x 0.4 + 42 x 0.2
= 5.1
5.1 − (1.9 )
2
Standard deviation =
= 1∙2207
Example 2: The number of times a machine breaks down every month is a discrete random
variable X with probability distribution.
1 x
k x = 0, 1, 2, 3,....
P(x = x) = 4
0
otherwise
Where k is a constant.
Determine the probability that the machine will break down not more than two times a month.
Solution:
1 0 1
1
1
2
1
n
k + + + ⋅⋅⋅ + = 1
4 4 4 4
k[ 1+ + ]
1 1 1
2
+ ... + n = 1 ……………. *
4 4 4
1
It’s a geometric progression (G.P) with a =1 and common ratio r =
4
a
Sum of a G.P. =
1− r
1
=
1− 1
4
1 4
= = …………… **
3 3
4
Substitute ** into *
4k
= 1
3
3
:. k =
4
Probability that the machine will break down not more than two times.
P (X ≤ 2) = P (X = 0) + P(X = 1) + P(X = 2)
3 3 3
= + +
4 4 2 43
48 + 12 + 3
=
43
63
= = 0.9844
64
Example 3. A discrete random variable X has the following probability
distribution.
X 1 2 3 4 5
P(X = x) 1 1 3 4 5
15 15 15 15 15
1 2 3 4 5
= × 1+ ×2 + × 3+ ×4 + ×5
15 15 15 15 15
55 11
= =
15 3
= 3.6667
X Pi Cumulative probability
1 1 1
15 15
2 2 3
15 15
3 3 6
Location
15of 15
median
4 4 10 9
15 15 15
5 5 5
15 15
Median = 4
5
The highest frequency =
15
:. Mode = 5
Standard deviation = ∑ X 2 i Pi − (µ) 2
2
1 2 3 4 5 11
12 x + 2 2 x + 32 x + 4 2 x + 5 2 x −
= 15 15 15 15 15 3
(ii) P0 + P1 + P2 + P3 = 1
P0 + 0.3 +0.4 +0.1 = 1
P0 = 0.2
P(x = 0) = 0.2
(iii)
X P Cumulative probability
0 0.2 0.2
1 0.3 0.5 Location of
2 0.4 0.6
median
3 0.5 0.1
1+ 2 3
Median = =
2 2
= 1.5
The highest probability is 0.5
Mode = 2
(iv) Standard deviation = ∑ X 2 Pi − (µ) 2
= (0 2 x 0.2 + 12 x 0.3 + 2 2 x 0.5 + 3 2 x 0.1 − (1.4) 2
= 3.2 −1.96 = 1.1136
x 1 2 3 4 5 6
x2 1 4 9 16 25 36
P(x = x) 1 1 1 1 1 1
6 6 6 6 6 6
Solution.
This is a discrete random variable.
The number of ways of choosing 3 committee members from a total of 11 people is
11 11!
= = 165
3 3!8!
The probability that the committee contains only x girls is
4 7 4 7
P(X = x) = x 3 − x = x 3 − x
11 165
3
When x = 0
35 84 42 4
= 0 + 1 + 2 + 3
165 165 165 165
12
E(X) = .
11
Example 8. A random variable X has the probability function.
k 2 x ; x = 0, 1, 2, ...., 6
f(x) =
0 , else where
Determine: (i) the value of k
(ii) E(X)
(iii) P(X < 4/ X > 1)
Solution:
(i) k { 20 + 21 + 2 2 + 23 + 24 + 2 4 + 26 = 1
k {1 + 2 + 4+ 8+ 16 + 32 + 64} = 1
127k = 1
1
k =
127
(ii) E(X) = ∑ Pi X i
1 2 4 8 16 32 64
= 0× + 1× + 2× + 3× + 4× + 5× + 6×
127 127 127 127 127 127 127
642
=
127
= 5.0551
(iii) Let A = x<4 B=x>1
P( A ∩ B )
P(A/B) =
P(B)
You too can acquire knowledge and skills!
44 03/12/2023
Authorised by: 0777 023 444
KAMPALA MATHEMATICS CLUB
Example 9. A random variable X has probability density function P(X = x) given below.
x
, x = 1, 2, 3, …. n
P(X = x) = 2k
0 , else where
Given that E(X) = 3, Find:
(i) the value of k
(ii) the value of n
(iii) the median and mode
(iv) variance
Solution:
X 1 2 3 ….. n
P(X = x) 1 2 3 n
2K 2K 2K 2k
From ∑ Pi = 1
1 2 3 n
+ + + … + = 1
2k 2k 2k 2k
1
(1 + 2 + 3 + … + n) = 1
2k
n
n
∑n 1
=
2
(n + 1)
n (n + 1)
= 1 ,
4k
n (n +1)
k = ………….. (i)
4
E(X) = ∑ Pi X i
1 22 32 n2
= + + + ….. +
2k 2k 2k 2k
n
n
∑n2 =
6
(n + 1) (2n + 1) …………………….. *
n
E(X) = (1 + 22 + 32 + … + n 2 ) = 3 …. **
2k
Substitute * into **
You too can acquire knowledge and skills!
45 03/12/2023
Authorised by: 0777 023 444
KAMPALA MATHEMATICS CLUB
n (n + 1) (2n + 1)
= k ………….(ii)
36
n (n + 1) n (n + 1) (2n + 1)
=
4 36
36
= 2n + 1
4
2n + 1 = 9
2n = 8
n = 4
n (n + 1)
k =
4
4×5
=
4
= 5
(i) k = 5
(ii)
X 1 2 3 4
P(X =x) 1 2 3 4
10 10 10 10
X Pi Cumulative probability
1 1 1
10 10
2 2 3
10 10 Location of
3 3 6 7 median
10 10 10
4 4 4
10 10
Median = 3
:. Median = 2
8
Highest probability =
16
:. Mode = 2
(iii) Var(X) = ∑ x 2 P(X) − (E(X)) 2
2
3 8 4 1 35
= 1 × 16 + 4 × 16 + 9 × 16 + 16 × 16 –
16
2
87 35
= -
16 16
167
=
256
= 0.6523
Example 11: A discrete random variable X is represented by the probability function
From ∑P i =1
2 3 4 5 6 7
+ + + + + = 1
k k k k k k
1 120 + 90 + 80 + 75 + 72 + 70
= 1
k 60
507
= 1
60k
507
k =
60
X 1 2 3 4 5 6
P(X = x) 120 90 90 75 72 70
507 507 507 507 507 507
Location of
median
Median = 3
155
P(X ≥ 3 / X ≤ 4) = 507
365
507
155
=
365
= 0.4247
Example
12. The table below shows a random variable X with the following probability distribution.
X 1 2 3 4 5
P(X = x) 1 1 1 1 1
5 5 5 5 5
(i) Construct tables for the distributions W and Z, such that W = 3x and Z = 2x + 4.
(ii) Find the expectations of W and Z
(iii) Calculate the variance of Z.
Solution:
E(Z) = ∑Z P i i
1 1 1 1 1
= x 6 + x 8 + x 10 + x 12 + x 14
5 5 5 5 5
6 + 8 + 10 + 12 + 14
=
5
50
=
5
= 10
Example 13. A random variable X has a probability density function f (X)
given as
X -1 0 1
P(X = x) a 1 b
2
Where a and b are the probability of P(x = -1) and P(x = 1) respectively.
1
Given that E(X) = , Determine
6
(i) the value of a and b
(ii) the variance and standard deviation
(iii) P(x > -1)
Solution
(i) ∑ Pi = 1
1
a+ +b = 1
2
1
:. a + b =
2
or 2a + 2b = 1 (i) x3
6a +6b = 3 (ii)
1
E(X) = ∑ Pi X i = 6
1
-a + 0 + b =
6
You too can acquire knowledge and skills!
50 03/12/2023
Authorised by: 0777 023 444
KAMPALA MATHEMATICS CLUB
(ii) Var(x) = ∑X 2
Pi − ( E( X )) 2
2
1 3 1 1
= (-1) 2
x + 02 x + 12 x -
6 6 2 6
3 1
= -
6 36
17
=
36
= 0.4722
Standard deviation = Var(X)
= 0.4722
= 0.6872
(iii) P(x > -1) = P(X = 0) + P(X= 1)
3 2
= +
6 6
5
=
6
= 0.83
Example 14: The probability mass function P(X) of the random variable X is given by:
kx + d ; x = − 2, − 1, 0, 1, 2
P(X) =
0 , elsewhere
Where k and d are constants.
(i) If P(x = 2) = 2P(x = -2), determine the values of k and d.
(ii) Compute the mean and variance of x.
(iii) What is the probability that x ≠ 0?
Solution:
n
(i) ∑ P =1
i =1
i
At x = -2 P(-2) = -2k + d
x = -1 P(-1) = -k + d
You too can acquire knowledge and skills!
51 03/12/2023
Authorised by: 0777 023 444
KAMPALA MATHEMATICS CLUB
X -2 -1 0 1 2
P 0.1333 0.1666 0.2 0.2333 0.2666
∑ X i Pi = 1
i =1
3k + 2k + k + k + 2k + 3k = 1
12k = 1
1
k =
12
Xi -3 -2 -1 0 1 2 3
n
(b) E(X) = ∑ X i Pi
i =1
3 2 1 1 2 3
E(X) = -3 × −2 × − × 1 + 0 + 1× +2 × + 3×
12 12 12 12 12 12
9 − 4 −1 + 0 + 1 + 4 + 9
E(X) =
12
0
=
12
E(X) = 0
( )
n
(c) E X2 = ∑
i =1
X 2 i Pi
( )
E X2 = (− 3)2 x 3
12
+ (− 2 ) x + (− 1) x
2 2
12
2 1
12
+0 + 12 x
1
12
+ 22 x
2
12
+ 32 x
3
12
27 8 1 1 8 27
= + + + + +
12 12 12 12 12 12
= 6
(d) Standard deviation = Variance
Variance = E (X 2 ) - (E (X ) ) 2
= 6 – (0 ) 2
= 6
Standard deviation = 6
= 2.4445
Example 16. The probability distribution for the number of heads that show up when a coin is tossed
1 3
3 times is given by P(X = x) = , x = 0, 1,2, 3,.
k x
Find:
(i) The value of k,
(ii) E(X).
Solution:
We have
1 3
P(X = x) = , x = 0,1,2,3.
k x
This is a discrete random variable.
‘It should be noted that
n n!
=
x (n − x )!x !
Hence when
1 3! 1
X = 0, P(x = 0) = =
k 3!0! k
1 3! 3
X = 1, P(x = 1) = =
k 2!1! k
1 3! 3
X = 2, P(x = 2) = =
k 1!2! k
X 0 1 2 3
P(x = 1 3 3 1
x) 8 8 8 8
Now
3
E(x) = ∑ xP(x = x)
x =0
n 0 1 2 3
Event (TTT) HHT,HTT,TH
H
P(X=n) 1/8
EXERCISE 3
1.. A discrete random variable X has distribution function F(X) where
x
x
F(X) = 1 - 1 − for x = 1, 2, 3, 4
4
63 3
(a)Show that F(3) = and F (2) =
64 4
(b)Obtain a probability distribution of x
(c)Find E(X) and Var(X).
(d)Find P(X > E(X))
2. The random variable X takes integer values only and has p d f
P(X = x) = kx x = 1, 2, 3, 4, 5
P(X = x) = k(10 – x) x = 6, 7, 8, 9
Find a) the value of the constant k.
b) E(X)
c) Var(X)
d) E(2x – 3)
e) Var(2x – 3)
3. If X is a random variable on “a biased die” and the probability density function of X is as
shown.
X 1 2 3 4 5 6
P(X = x) 1 1 1 y 1 1
6 6 5 5 6
9. A curiously shaped six-faced die produces a score X, for which the probability distribution is given
in the following table.
R 1 2 3 4 5 6
P(X = r) C c c c c c
2 3 4 5 6
20
(i)Show that the constant c is
49
(ii)Find the mean and variance
(iii)The die is thrown twice. Show that the probability of obtaining equal scores is approximately
1
4
10. A discrete random variable has a probability density function of
P(x = r) = k(n – r) for r = 1, 2, 3 …, n where K is a constant.
show that
2
(i) k is
n (n − 1)
1
(ii) E(X) = ( n + 1)
3
EXERCISE 3
1.. (b)
X 1 2 3 4
P(X = x) 1 1 15 1
4 2 64 16
1 1
(c) 2 (d)
16 4
2. (a) 0.04 (b) 5 (c) 4 (d) 7 (e) 16)
1 1 7 59 11
3. (a) (b) 3 (c) 15 (d) 2 (e) 47 )
10 2 30 60 15
1
4. (a) (b) 3.4 (c) 1.25)
28
1 12
5. (a) (b) 2 )
31 13
1 31
6.((i) (ii) 1 (iii) 1 )
32 32
24 61 50 9
7. (a) (b) (c) (d) 16
11 11 11 11
120
9. (a) (b) 2.57)
49
10.Proof.
11. (a) 28.5 (b) 721.05
12. (a) 14 (b) 20p
The normal distribution (bell shaped structure ) is considered the most prominent probability
distribution in statistics. There are several reasons for this:
f(x)
Normal
curve
µ(mean)
First, the normal distribution arises from the central limit theorem, which states that under mild
conditions, the mean of a large number of random variables independently drawn from the same
distribution is distributed approximately normally, irrespective of the form of the original distribution.
This gives it exceptionally wide application in, for example, sampling.
Secondly, the normal distribution is very tractable analytically, that is, a large number of results
involving this distribution can be derived in explicit form.
For these reasons, the normal distribution is commonly encountered in practice, and is used throughout
statistics, the natural sciences, and the social sciences as a simple model for complex phenomena. For
example, the observational error in an experiment is usually assumed to follow a normal distribution,
and the propagation of uncertainty is computed using this assumption.
• Note that a normally distributed variable has a symmetric distribution about its mean
Mathematically:
This is a continuous random variable that is equally skewed on both sides, resulting into a bell shaped
structure usually referred to as a normal curve and the variable is called the normal random variable.
A convenient way of denoting that X is normally distributed with mean µ and variance S2 is X ~N( n,
S2)
f(x)
f(x)
µ=0
σ=1
STANDARDISATION
This is a process of transforming a normal variable into a standard normal variable following a normal
distribution with mean (µ) and standard deviation (So, the corresponding standard normal variable is
X−µ
given by Z =
σ
If X1 and X2 are two normal variable with mean ( µ) and standard deviation ( σ ) to obtain the
probability of a random variable X that lies betweens X1 and X2
P(X1 < X < X2) = P(X < X2) – P(X < X1)
Standardizing X1 and X2, where Z1 is the standard normal variable for X1 and Z2 is the standard
X −µ
normal variable for X2 then from Z =
σ
X1 − µ
at X = X1, Z1 =
σ
P(X1 <X<X2) = P(Z1 < Z < Z2)
f(x)
-Z1 Z1
Also P(Z > Z1) + P(Z < Z1) = Total area under the curve
P(Z > Z1) + P(Z < Z1) = 1
P(Z >Z1) = 1 – P (Z < Z1) (ii)
NOTE: Normal distribution tables values of Z that in the form of less than.
That is P(Z< |Z1|)
DE-STANDARDISING
Sometimes it is necessary to find a value X which corresponds to the standardized value Z.
X−µ
If Z= then X = µ + σZ .
S
In some cases a Z value may be needed when the area (Probability) is given.
P(Z < Z1) = 0.6772.
You too can acquire knowledge and skills!
60 03/12/2023
Authorised by: 0777 023 444
KAMPALA MATHEMATICS CLUB
Normal distribution is used in estimation of discrete random variable. These include approximation of
normal distribution to Binomial distribution. Normal distribution is used to estimate Binomial
distribution when.
(i).. if the number of independent trials in a binomial distribution is large.
1
(ii) When the probability of success p is close to .
2
Let X be a random variable following a binomial distribution.
E(X) = µ
= np
Var(X) = npq
Standard deviation = npq
If n is large, the value of Z changes from
x−µ (X ± 0.5) − np
Z = to Z = (1)
S npq
0.5 included in (1) is called the continuity collection. Since we are approximating a discrete
distribution function to a continuous distribution function.
If X1 and X2 correspond to Z1 and Z2.
X1 or Z1
(X 1 + 0.5) − np
Z1 = for at most X cases.
npq
(ii)
X2 or Z2
σ = 0.15
X1 = 0.79 µ = 1
(0.79 − 1))
P(X > 0.79) = P(Z >
0.15
= P(Z > - 1.4)
P(Z > -1.4) = P(Z < 1.4)
NOTE:
f(x) f(x)
σ σ=1
-X1 X1
σ = 0.15
µ=1 X = 1.13
1.13 − 1
P(X < 1.13) = PZ∠
0.15
= P (Z < 0.8667)
= 0.8097
The expected number of cabbages = np
n = 800 p = 0.8078
= 800 x 0.8078 = 646 cabbages.
(c) P(0.85 < X < 1.15)
f(x)
σ = 0.15
X1 = 0.05 µ = 1 X2 = 1.15
/
P(0.85 < X < 1.15) = P (X < 1.15) – P(X < 0.85)
(1.15 −1) - P(Z < 0.85 − 1
P( - 1 < Z < 1) = P(Z <
0.15 0.15
= P(Z < 1) - P(Z < -1)
= P(Z < 1) – P(Z > 1))
= P(Z < 1) – (1 – P(Z < 1 ))
= 2P(Z < 1) – 1
= 2 x 0.8413 – 1
P(-1 < Z < 1) = 0.6826
The expected number of cabbages = np.
n = 800, p = 0.6826
= 800 x 0.6826
= 546 cabbages
(e)P(0.75 < X < 1.29).
Solution:
f(x)
0.75 1.29
P(0.75 < X < 1.29) = P(X < 1.29) - P(X < 0.75)
(1.29 − 1) (0.75 −1)
P(-1.6667 < Z < 1.9333) = P(Z< - P Z <
0.15 0.15
= P(Z < 1.9333) – P(Z < -1.6667)
= 0.9734 – (P(Z >1.6667)
= 0.9734 – ( 1 – P(Z < 1.6667))
= 0.9734 – 1 + 0.9522
= 0.9256
Expected number of cabbages = np
n = 800 , p = 0.9256
= 800 x 0.9256
= 740 cabbages
Example 2: A certain firm sells maize flour in bags of mean weight 40Kg and standard deviation
of 2kg, Given that the weight is normally distributed, find:
(i) the probability that the weight of any bay taken at random will lie between 410 and 42.5Kg.
(ii) the percentage of bags whose weight exceeds 43 Kg.
(iii)the number of bags rejected out of a 500 bags purchased by a retailer whose consumers
cannot accept a bag whose weight is below 38 5Kg.
Solution: (i) P(41.0 < X < 42.5), µ = 40, σ = 2
f(x)
σ=2
41 42.5
µ = 40
µ = 40, X= 43
P(X >43) = 1 – P(X < 43)
43 − 40
= 1 – P Z∠
2
= 1 – P( X < 1.5) = 1 – 09332
P(X > 43) = 0.0668
Percentage of P(X > 43) = 0.0668 x 100%
= 6.68%
You too can acquire knowledge and skills!
65 03/12/2023
Authorised by: 0777 023 444
KAMPALA MATHEMATICS CLUB
σ=2
X = 38.5, µ = 40
38.5 − 40 )
P(X<38.5) = P(Z < = P(Z - 0.75)
2
P(Z < -0.75) = P(Z > 0.75)
= 1 – P(Z < 0.75)
= 1 – 0.7734
= 0.2266
Number of bags rejected = nP.
n = 500, P = 0.2266
= 500 x 0.2266
= 113.3 bags
~ 113 bags
Example 3: A machine which automatically packs potatoes into bags is known to operate with
mean 25Kg and standard deviation 0.5Kg. Assuming it’s a normal distribution find the
percentage of bags which weigh:
(a) more than 26Kg.
(b) between 24 and 25Kg
To what new target mean weight should the machine be set so that 90% of the bags weigh more
than 26Kg? In this case what weight would be exceeded by 0.1% of the bags?
Solution: (a) µ = 25 σ = 0.5Kg.
26 − 25
P(X > 25 ) = P z >
0.5
= P( Z > 2 )
= 1 – P( Z < 2)
= 1 – 0.9772
= 0.0228
Percentage of P(X > 25) = 0.0228 x 100%
= 2.28%
(b) P(24 < X < 25) = P(X < 25) – P(X <24)
26 − 25 24 − 25
= P z > - P z >
0.5 0.5
= P(Z < 0 ) - P(Z < -2)
= 0.5 - (P(Z > 2 )
= 0.5 - {1 – P(Z < 2)}
= P(Z < 2) – 0.5
= 0.9772 – 0.5
= 0.4772
Percentage of P (24 < X < 25) = 0.4772 x 100%
= 47.72%
Let the new mean = µ
P(X > 26 ) = 0.9
26 − µ
P z > = 0.9
0.5
x − 26.64
P z > = 0.001
0.5
X − 26.64
= 3.01
0.5
x = 26.64 + 3.01 x 0.5 = 28.145
Problem: A certain type of cabbage has a mass which is normally distributed with mean 1
kg and standard deviation 0.15 kg. In a lorry of 800 of these cabbages, estimate how many will
be
(a). Greater than 0.79 kg
(b). Less than 1.13 kg
(c). Between 0.85 kg and 1.15 kg
10.
σ = 0.15 kg
800 cabbages
0.75
µ = 1 kg
(a) The number of cabbages that will weigh greater than 0.79 kg is given by;
P (x > 0.79) x 800
But P (x > 0.79) = 1 - P (x ≤ 0.79)
Using z - values,
0.79 − 1
z = = -1.4
0.15
P (x > 0.79) = 1 - P (z ≤ 0.79)
= P (z > -1.4)
= 0.5 + 0.4192
P (x > 0.79) = 0.9192
Hence the number of cabbages that weigh greater than 0.79 kg are;
= 800 x 0.9192
= 735.36
So, the number of cabbages that will weigh more than 0.79 kg are approximately 735.
(b)
1.13 kg
µ = 1 kg
The number of cabbages that will weigh less than 1.13 kg are;
0.7794 x 800 = 623 cabbages.
(c) Those that will weigh between 0.85 kg and 1.15 kg are;
P (0.85 ≤ x ≤ 1.15) x 800
Using z values,
0.85 − 1
z1 = = -1
0.15
1.15 − 1
& z2 = = 1
0.15
σ = 0.15
we find P (z < z < z )
1 2
0.85 1.15
µ =1
Example 4: A total population of 700 students sat an examination for which the pass mark was
50. Their marks were normally distributed. 28 students scored below 40 marks while 35 scored
above 60.
(a) Find the mean mark and standard deviation of the students.
(b) What is the probability that a student chosen at random passed the examination ?
Solution: (a)
f(x)
35
28
= 0.04 = 0.05
700 700
X = 40 X = 60
40 − µ 40 − µ
P( X < 40 ) = P z > = 0.04. Let = Z1
σ σ
40 − µ 40 − µ
P( z < − = P z >
σ σ
40 − µ
= - P z >
σ
40 − µ
∴ P z < = 0.96
σ
Z1 = 1.75 -Z1 = -1.75
40 − µ
∴ = -1.75
σ
40 - µ = -1.75 S (i)
P(X > 60) = 1 - P(X < 60) = 0.05
40 − µ
P z < = 0.95
σ
Z2 = 1.645
60 − µ
= 1.645
σ
60 – µ = 1.645 σ (ii)
40 – µ = - 1.75 σ
20 = 3.395 σ
σ = 5.89
µ = 60 – 1.645 × 5.89 = 50.31
µ = 50.31.
(b) P(X > 50) = 1 – P(X < 50)
50 − 50.31
= 1 – P Z <
5.89
= 1 – P(Z < -0.0526)
= 1 – P(Z > 0.0526)
f(x)
σ = 15
σ = 15
µ = 151 X = 185
σ = 15
X = 128 µ = 151
128 − 151
(X < 128) = P z <
15
= P(Z < -1.53)
= P(Z > 1.53)
= 1 – P(Z < 1.53)
= 1 – 0.9370
= 0.063
Number of leaves having the length less than 128 = nP
n = 500, P = 0.063
= 500 x 0.063
= 32.
(d) P(X = 128) = P(X<128.5) - P(X <127.5)
128 .5 − 151 127 .5 − 151
= P z < - P z <
15 15
= P(Z < - 1.5) – P(Z < - 1.57).
= P(Z > 1.5) – P(Z > 1.57)
= 1 – P(Z < 1.5) – 1 + P(Z < 1.57)
You too can acquire knowledge and skills!
71 03/12/2023
Authorised by: 0777 023 444
KAMPALA MATHEMATICS CLUB
Diameter (cm) 8 9 10 11 12 13 14
Frequency 9 15 21 32 19 13 11
Solution: x f fx fx2
8 9 72 576
9 15 135 1215
10 21 210 2100
11 32 352 3872
12 19 228 2736
13 13 169 2197
14 11 154 2156
∑ f = 120
∑ f x = 1320 , ∑ fx 2
= 14,852
Standard deviation σ =
∑ fx 2 − µ2
∑f
14852
= − (11) 2
120
= 1.6633
(iii) 10% being too small.
σ = 1.66
0.1
-Z µ = 11
P(Z<-Z1) = 0.1
You too can acquire knowledge and skills!
72 03/12/2023
Authorised by: 0777 023 444
KAMPALA MATHEMATICS CLUB
f(x)
850 − 1,000
P(X < 850) = P Z ∠
σ = 150 150
= P(Z < -1)
= P(Z > 1)
= 1 – P(Z < 1)
= 1 – 0.3413
X1 = 850 µ = 1,000 = 0.1587
(b)
f(x)
σ = 150
P(750 < X < 1200) = P(X < 1200) – P(X < 750)
1200 − 1000 750 − 1000
= P Z 〈 - P Z 〈
150 150
= P(Z < 1.33) - P(Z < -1.67)
= 0.9082 – 1 + P(Z < 1.67)
= 0.9082 – 1 + 0.9525
= 0.8607
µ = 1000 X1 = 1375
1375 − 1000
P(X > 1375) = P Z ∠
150
= P( Z > 2.5)
= 1 - P(Z < 2.5 )
= 1 – 0.9938
= 0.0062
Expected number of AIDS victims = np, n = 62,000 P = 0.0062
6. On a certain farm 20% of the cows are infected by a tick disease. If a random sample of 50
cows is selected from the farm, find the probability that not more than 10% of the cows are
infected.
Solution:
Let x be the random variable for the number of cows infected.
⇒ x ˜ B (n, p)
n = 50
p = P (A) = 0.2
q = 1 – q = 0.8
Since n > 30 X – N (np. npq)
Mean = np = 50 × 0.2 = 10
S.d = npq = 50 × 0.2 × 0.8 = 8
10% of 50 cows = 5 cows
⇒ P(x ≤ 5) = 1 – P (x ≥ 6).
⇒ P (x ≥ 6) = P (x > 6 – 0.5)
= P (x > 5.5)
Standardizing
5.5 − 10
⇒ We have P Z >
8
− 4.5
⇒ P(Z > ) = P (x > - 1.591)
2.828
P (Z > - 1.591) = 0.5 + P(-1.591 < z < 0)
= 0.5 + P(0<z<1.591
= 0.5 + 0.4442
= 0.9442.
⇒ P(x≥5) = 0.9442
Thus p (x≤ 5) = 1- 0.9442
= 0.0558
The probability that not more than 10% of the cows are infected is 0.0558. (4dps)
Example 8:
The distribution of the volumes of Mirinda fruity in a bottle is normally
Distributed with mean 300mls and variance 4. If a random sample of 4 bottles is taken, find the
probability that one of the bottles has a volume of less than 302mls but more than 298mls.
Solution:
You too can acquire knowledge and skills!
74 03/12/2023
Authorised by: 0777 023 444
KAMPALA MATHEMATICS CLUB
P(298 < X < 302) = P(X < 302) - P(X < 298)
302 − 300 298 − 300
= P Z ∠ - P Z ∠
2 2
= P(Z < 1) – P( Z < 1)
= P(Z < 1 ) – P(Z < 1 )
= P(Z < 1 ) – 1 + P(Z < 1)
= 2P( Z < 1) – 1
= 2 x 0.8413 – 1
= 0.6826
P = 0.6826 q = 0.3174
P(X = 1 ) = 4 C1 P1 q3 = 4 C1 (0.6826)1 (0.3174)3
1 1 1
X = np = 200 x = 100 p = q = n = 200
2 2 2
δ = npq
1 1
= 200 x x
2 2
= 7.0711
114.5 − 100
= P Z ∠
7.0711
= P(Z < 2.05)
= 0.9798
94.5 − 100
(iii) P(X > 95) = P Z ∠
7.0711
= P(Z > -0.78)
= P(Z < 0.78)
= 0.7823
P(92 < X < 112) = P(X < 112) - P(X < 92)
112.5 − 100 92.5 − 100
= P Z ∠ - P Z ∠
7.0711 7.0711
= P(Z < 1.77) – P(Z < -1.06)
= P(Z < 1.77) - P(Z > 1.06)
= P(Z < 1.77) – 1 + P(Z < 1.06)
= 0.9616 – 1 + 0.8554
= 0.817
(iv) P(100 < X < 115)
σ = 7.0711
X1 = 100 X2 = 115
P(100 < X < 115) = P(X < 115) – P(X < 100)
115.5 − 100 100.5 − 100
= P Z 〈 - P Z 〈
7.0711 7.0711
= P(Z < 2.19) - P(Z < 0.07)
= 0.9857 – 0.5279
= 0.4578
Example 10:
A sub-committee of European Economic Community has 15% of the members from Belgium,
25% from Germany, 10% from Spain, 30% from England and 20% from Holland attend a
conference sample of 100 members is randomly selected from the conference, determine the
probability that
(i) Exactly 25 members come from Holland.
(ii) At most 30 members are from England
(iii) Between 10 and 15 members are from Spain.
(iv) At least 12 members are from Belgium.
Solution:
X2 = 25.5
µ = 20,X1=24.5
P(24.5 < X < 25.5) = P(X < 25.5) - P(X < 24.5)
26 − 20 25 − 20
= P Z 〈 - P Z 〈
4 4
= P(Z < 1.5) – P( Z < 1.25)
= 0.9332 - 0.8944
= 0.0388
(ii) P(X < 30) from England
You too can acquire knowledge and skills!
76 03/12/2023
Authorised by: 0777 023 444
KAMPALA MATHEMATICS CLUB
µ = 30
σ = 4.58
P(X < 30 ) = P Z 〈
(30 + 0.5 ) − 30
= P(Z < 0.11)
4 . 58
(iii) P(10 < X < 15) from Spain.
10
P(S) =
100
= 0.1 = p
q = 0.9
E(S) = 0.1 x 100
= 10
σ = 10 x 0.9
= 3
f(x)
σ=3
X1 = 10 X2 = 15
(12 − 0.5) − 15
P(X > 12) = P Z >
3.57
= P( Z > -0.98)
= P(Z < 0.98)
= 0.8365
Example 11: Boxes in a factory have weights which are normally distributed with a mean of
4.5Kg and a standard deviation of 2.0Kg. Find the probability of there being a box with a weight
of more than 5.4Kg when a box is chosen at random. If a sample of 16 boxes is drawn, find the
probability that the mean is between:
(i) 4.6 and 4.7Kg.
(ii) 4.3 and 4.7Kg.
Solution: u = 4.5 σ =2 P(X > 5.4 )
f(x)
σ = 2
Example 12: Certain tubes manufactured by a company have a mean life time of 800 hours and
standard deviation of 60 hours. Find the probability that a random sample of 16 tubes taken
from the group will have a mean life time.
(a) between 790 and 810 hours.
(b) Less than 785 hours
(c) more than 820 hours
(d) between 770 and 830 hours
Solution:
(a) Sample size (n) = 16 is small, µ = 800, σ = 60
σ
E(X) = µ = 800 Standard deviation =
n
60 60
= = = 15
16 4
f(x)
σ = 15
f(x)
σ = 15
µ = 800, X= 820
820 − 800
PZ > = P( Z > 1.33)
15
= 1 – P(Z < 1.33)
= 1- 0.9082
= 0.0918
f(x)
Determine:
(i) the mean and standard deviation of these diameters.
(ii) Assume the distribution is approximately normal with this mean and standard deviation if
5% are to be rejected as too small and 5% are to be rejected as too large.
Solution:
(i) Mean ( µ ) =
∑fx
∑f
800
= = 8
100
σ = 1.1576
0.05
µ=8 X2
f(x)
σ = 7.5
f(x)
σ = 7.5
X1 = 785 µ = 800
σ = 7.5
µ = 800 X1 = 820
820 − 800
P(X > 820) = P Z ≤ = P(Z > 2.67)
7.5
= 1 – P(Z < 2.67)
= 1 – 09962
= 0.0038
(d) P(770 ≤ X ≤ 830) = P(X ≤ 830) – P(X ≤ 770)
f(x)
σ = 7.5
EXERCISE
1… The weights of Broilers are normally distributed with mean 1.55Kg and standard deviation 0.2kg.
Determine the percentage of Broilers with weights.:
(i) less than or equal to 1 kg.
(ii) between 1.2 and 1.3kg.
(iii) between 1.5 and 1.75kg.
(iv) greater than or equal to 2Kg.
2. The marks obtained by 500 candidates by 500 candidates in an examination are normally
distributed with mean of 45 marks and a standard deviation of 20 marks.
(i) Given that the pass mark is 41, estimate the number of candidates who passed the examination.
(ii) If 5% of the candidates obtain a distinction by scoring x marks or more, estimate the value of x.
(iii) Estimate the interquartile range of the distribution.
3. A horse can jump and clear a height of 1.68m once in five attempts and a height of 1.52m nine
times out of ten attempts. Assuming the heights the horse clears are normally distributed estimate:
(i) the mean
(ii) standard deviation of the distribution.
4. A sample of 100 passion fruits is taken from a load. The passion fruits have distribution of size
that are as follows.
Diameter to nearest cm 6 7 8 9 10
Frequency 11 21 38 17 13
5. The distribution of the length mm of 717 eggs of hens was found to i.e as below.
Length central value ) 19.25 20.25 21.25 22.25 23.25
Frequency 3 22 123 300 201
Show that
(i) mean is 22.49
(ii) standard deviation is 1,00
The eggs are classified into three categories described as long, medium and short in such away that
one third of the eggs might be expected to fall in each category. Determine where the divisions on the
length scale should be made.
8. The diameters x of 110 iron rods were measured in centimeters and the results were summarized
as follows ∑ x = 36.5 and ∑ x 2 = 12.49
Find: (i) mean
(iii) standard deviation of these measurements.
Assuming these measurements are a sample from a normal distribution with this mean and this
standard deviation find:
(iii) the probability that the mean diameter of a sample of size 110 is greater than 0.345cm
9. A bus arrives at Mbarara at 09.30 daily . On ten successive days the number of minutes by which
the train was late were as follows:
3, 0, 4, -2, -3, 13, 8, -2, 6, 3.
Show that: (i) the mean of arrival is 09.33
(ii) Calculate the standard deviation.
Assuming the time of arrival is normally distributed with the above mean and standard deviation
estimate the probability that the bus will arrive.
(i) on or before 09.30
(ii)more than 8 minutes late.
10. In a subsidiary Mathematics U.N.E.B. examination last year 30% of the candidates failed and
10% obtained distinctions, the pass mark was 84 out of 200 and the minimum mark required for the
distinction was 154 out of 200. Assuming the candidates marks were normally distributed determine.
(i) mean
(ii) standard deviation.
11. If an unbiased coin is tossed 1000 times what is the probability that:
(a) there will be more than 600 heads?
(b) there will be at least 450 and at most 550 heads?
(c) there will be fewer than 520 heads?
12. A confectionary firm produces there types of toffees, liquorices, nut and plain, and mixes them
together in the ratio 1:2:5 before packing them into boxes. If there are 80 toffees in a box what
percentage of boxes will contain:
(i) more than 25 nut toffees?
(ii) fewer than 58 Plain toffees?
(iii) more nut and liquorices than plain toffees?
13. (a) The heights of applicants to the police force are normally distributed with mean 170cm and
standard deviation 3.8cm, if 30% of applicants are rejected because they are too short, what is the
minimum height for the police force
(c) The diameter of washers produced by a machine has standard deviation of 0.1mm. What should
the mean diameter be if there is to be probability of only 3% that diameter exceeds 2.0mm?
14. The volume in litres of whisky in bottles filled by a machine is N(1.01, 0.012)
(a) What is the probability that a bottle contains less than 1 litre?
(b) To what value must the mean be altered to reduce the probability in (a) to 1% assuming the
standard deviation is unaltered?
You too can acquire knowledge and skills!
85 03/12/2023
Authorised by: 0777 023 444
KAMPALA MATHEMATICS CLUB
ANSWERS
1. (i) 0.3% (ii) 6.6% (iii) 44% (iv) 1.2%)
2.(i) 290 (ii) 78 (iii) 27 )
3.(i) µ = 1.616 (ii) S = 0.075
4.(i) 8 (ii) 1.16 (iii) 6.1 (iv) 9.9)
5.22.92, 22.06mm
6.(a) 78.7 (b) 0.0090 )
7.(0.1056)
8.(i) 0.332 (ii) 0.0587 (iii) 0.0092
9.(ii) 4.8min (iii) 0.27 (iv) 0.15
10. (i) µ = 104 (ii) σ = 38.8
11.(a) 0 (b) 0.999 (c) 0.89 )
12. (i) 7.8% (ii) 95.8% (iii) 0.8% )
13.(a) 168cm (b) 1.8119mm )
14.(a) 0.1587 (b) 1.023 litres ).
15.(a) (i) 0.1056 (ii) 0.7734 (iii) 0.6678
(b) (i) µ = 50.154 (iii) σ = 4 )