Elementary Probability Theory: Chapter Three
Elementary Probability Theory: Chapter Three
3.1 Introduction
The term probability can be defined as the chance that a certain event will occur. It ranges
between zero and one. It can be represented as a decimal, percentage or fraction. For
instance, according to Tanzania Meteorological Authority (TMA), the probability that
there will be a rain tomorrow is 0.65.
Example 3.1
A football team has to play two matches to qualify for the second round. There is 0.7
chances that it will win the first match and 0.8 chance of winning the second match. By
assuming that winning or losing the first match does not affect the second match, find the
probability that the team will win
(a) Only one match.
(b) At least one matches.
Solution
First step is to define the outcomes
Let W1 = a team wins the first match
L1 = a team loses the first match
W2 = a team wins the second match
L2 = a team loses the second match
From the given information we find that
PW1 0.7 , PL1 0.3 , PW2 0.8 , PL2 0.2
The sample space can be obtained from the tree diagram as shown below:
(a) If B is the event that a team wins at least one match, we have
B W1W2 , W1 L2 , L1W2
then, PB PW1 PW2 PW1 PL2 PL1 PW2
0.7 0.7 0.38 0.56 0.38 0.94
Example 3.2
Given the following information P A 0.6 , PB 0.5 , P A B 0.4
(a) Find the following i P A B ii P A' iii PB ' iv P A B'
(b) Show that P A B ' P A 'B '
Solution
a i P A B P A PB P A B 0.6 0.5 0.4 0.7
ii P A ' 1 P A 1 0.6 0.4
iii PB ' 1 PB 1 0.5 0.5
iv P A B ' 1 P A B 1 0.4 0.6
Definition 3.1 The conditional probability of an event A to occur given that event B has
already occurred denoted by P A / B is given by
P A B
P A / B , PB 0
P B
P B A
Similarly, P B / A , p A 0
P A
Example 3.3
An individual is picked at random from a group of 52 athletes. Suppose that 26 of the
athletes are female of which 6 are swimmers. Also, there are 10 swimmers among male
athletes.
(a) Given that the individual picked is a female, find the probability that she is a
swimmer.
(b) Given that the individual picked is a swimmer, find the probability that he is a male.
Solution
Let M = male, F = female, S = swimmer
The formula for the conditional probability gives that general multiplication rule of
probability.
Example 3.4
The probability that the stock market goes up on Monday is 0.6. Given that it goes up on
Monday, the probability that it goes up on Tuesday is 0.3. Find the probability that the
market will go up on both days.
Solution
Let M = market goes up on Monday, T = market goes up on Tuesday
Given PM 0.6 , PT / M 0.3 . Required to find PM T
From the rule, PM T PM .PT / M 0.6 0.3 0.18
Example 3.5
A bag contains 2 white and 3 red balls. If two balls are picked one at a time with
replacement, find the probability that,
(a) Both balls are red
(b) Balls are of different colors.
Solution
Let R = red ball, W = white ball
The sample space is S RR, RW , WR , WW . Given that PR 3 / 5, PW 2 / 5
(a) Required: PRR
Example 3.6
A certain machine is operated using three components C1 , C 2 and C 3 . The probabilities
of these three components to perform well are respectively 0.80, 0.96 and 0.91. Suppose
that these components work independently, find the probability that
(a) All three components work properly.
(b) Only two components work properly.
Solution
(a) PAll three components work PC1 C 2 C3
PC1 PC 2 PC3
0.80 0.96 0.91 0.69888
H 1H
T 1T
1
H 2H
2 T 2T
H 3H
3 T 3T
H 4H
4
T 4T
5 H 5H
T 5T
6
H 6H
T 6T
3.6.2 Permutation
Permutation is an ordered arrangement of objects (letters or numbers). These n objects
could be distinct or not distinct.
The number of permutations of n distinct objects taken r at a time denoted by n Pr is
given by
n!
n Pr
n r !
where n! nn 1n 22 1 .Note that 0! 1 and nPn n!
Example 3.7
How many numbers with three distinct digits are possible using the digits 3, 4, 5, 6, 7, 8?
Solution
We need to find , where n 6 and r 3
6! 6!
Then, 6 P3 120 possible numbers.
6 3! 3!
Five of these numbers are 345, 356, 347, 378, 567.
Example 3.8
In how many ways can 5 people be arranged in a line?
Solution:
There are 5! 120 ways of arranging five people in a line.
Solution:
The word ESSENTIAL consists of nine letters of which S repeats 2 times and E repeats 2
times.
9!
Thus, the possible number of ways = 90720 .
2! 2!
3.6.4 Combination
Unlike permutation, in the case of combination, the order is not important.
We can define a combination as a selection of r objects in a group of n objects. It is
denoted by
n n n!
or nCr , where
r r r !n r !
Example 3.10
How many ways are there of choosing a set of three books from a set of eight books?
Solution
n 8
Since the order is not important, the answer is 56 ways.
r 3
Example 3.11
The letters of the word VOLUME are arranged in all possible ways. Find the probability
that
(a) The word ends with a vowel.
(b) The word starts with a consonant and ends with a vowel.
Solution
The word volume has six distinct letters and hence there are 6! ways of arranging these
letters, where 6! = 720.
(a) There are three choices of the last letter so that the word ends with a vowel. The first
through the fifth letters are arranged in 5! ways. Thus the number of ways that a word
ends with a vowel is given by 3 5 4 3 2 1 360
360
The required probability = 0.5
720
(b) For a word to start with a consonant and end with a vowel, there are three choices for
the first letter and also three choices for the last letter. The middle four letters can be
arranged in 4! ways. The required number of ways in this case is 3 3 4 3 2 1 216
216
The required probability = 0.3
720
Example 3.12
An Engineering consultant is faced with a problem of surveying five sites at Kinondoni,
seven sites at Ilala and eight sites at Temeke. Due to time constraint he/she decided to
choose only six sites to survey. Of these six sites, find the probability that
(a) 2 sites are from Kinondoni, One site from Ilala and three sites from Temeke.
(b) 2 sites are from Kinondoni.
Solution
(a) We first need to find the total number of ways of selecting six sites out of twenty.
20
This selection can be done in 38,760 ways.
6
5
There are ways of selecting two sites out of five from Kinondoni.
2
7 8
Similarly, there are ways for one site at Ilala, and
3
ways of three sites from
1
Temeke.
5 7 8
Combined number of ways is given by
2 1 3 3920
3920
The required probability = 0.101
38,760
(b) Since the only restriction is that two sites are from Kinondoni, the rest four sites can
be chosen from either Ilala or Temeke.
5 15
Hence there are
2
ways for two sites from Kinondoni and ways of selecting the
4
rest four sites.
5 15
The combined number of ways is therefore 13,650.
2 4
13,650
The required probability = 0.352
38,760