2 Conditional probability - dependent events
Suppose a bag contains 6 balls, 3 red and 3 white. Two balls are chosen (without replacement) at random, one after the other. Consider the two events :
is event “first ball chosen is red”
is event “second ball chosen is white”
We easily find . However, determining the probability of is not quite so straightforward. If the first ball chosen is red then the bag subsequently contains 2 red balls and 3 white. In this case . However, if the first ball chosen is white then the bag subsequently contains 3 red balls and 2 white. In this case . What this example shows is that the probability that occurs is clearly dependent upon whether or not the event has occurred. The probability of occurring is conditional on the occurrence or otherwise of .
The conditional probability of an event occurring given that event has occurred is written . In this particular example
Consider, more generally, the performance of an experiment in which the outcome is a member of an event . We can therefore say that the event has occurred. What is the probability that then occurs? That is what is ? In a sense we have a new sample space which is the event . For to occur some of its members must also be members of event . So, for example, in an equi-probable space, must be the number of outcomes in divided by the number of outcomes in . That is
Now if we divide both the top and bottom of this fraction by the total number of outcomes of the experiment we obtain an expression for the conditional probability of occurring given that has occurred:
To illustrate the use of conditional probability concepts we return to the example of the bag containing 3 red and 3 white balls in which we consider two events:
- is event “first ball is red”
- is event “second ball is white”
Let the red balls be numbered 1 to 3 and the white balls 4 to 6. If, for example, represents the fact that the first ball is 3 (red) and the second ball is 5 (white) then we see that there are possible outcomes to the experiment (no ball can be selected twice).
If the first ball is red then only the fifteen outcomes are then possible (here , and ). Of these fifteen, the six outcomes will produce the required result, i.e. the event in which both balls chosen are red, giving a probability: .
Example 11
A box contains six 10 resistors and ten 30 resistors. The resistors are all unmarked and are of the same physical size.
-
One resistor is picked at random from the box; find the probability that:
- It is a 10 resistor.
- It is a 30 resistor.
-
At the start, two resistors are selected from the box. Find the probability that:
- Both are 10 resistors.
- The first is a 10 resistor and the second is a 30 resistor.
- Both are 30 resistors.
Solution
-
-
As there are six 10
resistors in the box that contains a total of 6 + 10 = 16 resistors, and there is an
equally likely chance
of any resistor being selected, then
-
As there are ten 30
resistors in the box that contains a total of 6 + 10 = 16 resistors, and there is an
equally likely chance
of any resistor being selected, then
(30 )
-
As there are six 10
resistors in the box that contains a total of 6 + 10 = 16 resistors, and there is an
equally likely chance
of any resistor being selected, then
-
-
As there are six 10
resistors in the box that contains a total of 6 + 10 = 16 resistors, and there is an
equally likely chance
of any resistor being selected, then
(first selected is a 10 resistor)
If the first resistor selected was a 10 one, then when the second resistor is selected, there are only five 10 resistors left in the box which now contains 5 + 10 = 15 resistors.
Hence, (second selected is also a 10 resistor)
And, (both are 10 resistors)
-
As before,
(first selected is a 10
resistor)
If the first resistor selected was a 10 one, then when the second resistor is selected, there are
still ten 30 resistors left in the box which now contains 5 + 10 = 15 resistors. Hence,
(second selected is a 30 resistor)
And, (first was a 10 resistor and second was a 30 resistor)
-
As there are ten 30
resistors in the box that contains a total of 6 + 10 = 16 resistors,
and there is an equally likely chance of any resistor being selected, then
(first selected is a 30 resistor)
If the first resistor selected was a 30 one, then when the second resistor is selected,
there are only nine 30 resistors left in the box which now contains 5 + 10 = 15 resistors.
Hence, (second selected is also a 30 resistor)
And, (both are 30 resistors)
-
As there are six 10
resistors in the box that contains a total of 6 + 10 = 16 resistors, and there is an
equally likely chance
of any resistor being selected, then