3 Special cases
In the case where we consider to be an event in a sample space (the sample space is partitioned by and ) we can state simplified versions of the theorem of Total Probability and BayesÕ theorem as shown below.
3.1 The theorem of total probability: special case
This special case enables us to find the probability that an event occurs taking into account the fact that another event may or may not have occurred.
The theorem becomes
The result is easily seen by considering the general result already derived or it may be derived directly as follows. Consider Figure 12:
Figure 12
It is easy to see that the event consists of the union of the (disjoint) events and so that we may write as the union of these disjoint events. We have
Since the events and are disjoint, they must be independent and so
Using the conditional probability results we already have we may write
The result we have derived is
3.2 Bayes’ theorem: special case
This result is obtained by supposing that the sample space is partitioned by event and its complement to give:
Example 13
At a certain university, 4% of men are over 6 feet tall and 1% of women are over 6 feet tall. The total student population is divided in the ratio 3:2 in favour of women. If a student is selected at random from among all those over six feet tall, what is the probability that the student is a woman?
Solution
Let
={Student is Male},
={Student is Female}.
Note that
and
partition the sample space of students.
Let
={Student is over 6 feet tall}.
We know that , , and .
We require . Using Bayes’ theorem we have:
Example 14
A factory production line is manufacturing bolts using three machines, , and . Of the total output, machine is responsible for 25%, machine for 35% and machine for the rest. It is known from previous experience with the machines that 5% of the output from machine is defective, 4% from machine and 2% from machine . A bolt is chosen at random from the production line and found to be defective. What is the probability that it came from
- machine
- machine
- machine ?
Solution
Let
={bolt is defective},
={bolt is from machine },
={bolt is from machine },
={bolt is from machine }.
We know that , and .
Also
.
A statement of Bayes’ theorem for three events
and
is
Similarly
Task!
An engineering company advertises a job in three newspapers, and . It is known that these papers attract undergraduate engineering readerships in the proportions 2:3:1. The probabilities that an engineering undergraduate sees and replies to the job advertisement in these papers are 0.002, 0.001 and 0.005 respectively. Assume that the undergraduate sees only one job advertisement.
-
If the engineering company receives only one reply to it advertisements, calculate the probability that the applicant has seen the job advertised in place
.
(i) , (ii) , (iii) .
- If the company receives two replies, what is the probability that both applicants saw the job advertised in paper ?
Let
= {Person is a reader of paper },
= {Person is a reader of paper },
= {Person is a reader of paper },
= {Reader applies for the job}.
We have the probabilities
-
Similarly
- Now, assuming that the replies and readerships are independent
Exercises
-
Obtain the sample space of an experiment that consists of a fair coin being tossed four times. Consider the following events:
is the event ‘all four results are the same.’
is the event ‘exactly one Head occurs.’
is the event ‘at least two Heads occur.’
Show that and explain why .
-
The table below show the number of complete years a group of people have been working in their current employment.
What is the probability that a person from the group, selected at random;
- is in the modal group
- has been working there for less than 4 years
- has been working there for at least 8 years.
-
It is a fact that if
and
are independent events then it is also true that
and
are independent events. If
and
are independent events such that the probability that they both occur simultaneously is
and the probability that neither of them will occur is
, find:
- the probability that event A will occur
- the probability that event B will occur.
-
If
and
are two events associated with an experiment and
, find:- the choice of for which and are mutually exclusive
- the choice of for which and are independent.
-
The probability that each relay closes in the circuit shown below is
. Assuming that each relay functions independently of the others, find the probability that current can flow from
to
.
-
From a batch of 100 items of which 20 are defective, exactly two items are chosen, one at a time, without replacement. Calculate the probabilities that:
- the first item chosen is defective
- both items chosen are defective
- the second item chosen is defective.
-
A garage mechanic keeps a box of good springs to use as replacements on customers cars. The box contains 5 springs. A colleague, thinking that the springs are for scrap, tosses three faulty springs into the box. The mechanic picks two springs out of the box while servicing a car. Find the probability that:
- the first spring drawn is faulty
- the second spring drawn is faulty.
- Two coins are tossed. Find the conditional probability that two Heads will occur given that at least one occurs.
-
Machines
and
produce 10% and 90% respectively of the production of a component intended for the motor industry. From experience, it is known that the probability that machine
produces a defective component is 0.01 while the probability that machine
produces a defective component is 0.05. If a component is selected at random from a day’s production and is found to be defective, find the probability that it was made by
- machine
- machine .
-
, and are not mutually exclusive since events and have outcomes in common. This is the reason why ; we are adding the probabilities corresponding to common outcomes more than once.
-
- P(person falls in the modal group)
- P(person has been working for less than 4 years)
- P(person has been working for more than 8 years)
-
and
Treat these equations as and and solve to get:
and
-
- so implying
- so implying .
-
-
Let
={first item chosen is defective},
={second item chosen is defective}
-
Let
={first spring chosen is faulty},
={second spring chosen is faulty}
-
Let
= {at least one Head occurs},
= {two Heads occur}
-
Let
= {item from machine
},
= {item from machine
},
= {item is defective}.
We know that: .
- Similarly