Friday, December 16, 2016 0

Conditional probability appears  difficult, and I think that’s because it comes with yet another probability formula seemingly designed to confuse IB students! But forget the formulae for a moment, and consider these two problems:

Two dice are thrown. What is the probability that:
a)   The total on the dice is both greater than 9 and a double.
b)   The total is a double given that it is greater than 9?

In problem (a) we have no information, so the total could be any one of the 36 possibilities. Only two of these are both greater than 9 and double (55 and 66), so the answer is . But in problem (b) we are given extra information which affects the outcome.  Why? Because if the total is greater than 9, it has to be one of 46, 55, 64, 56, 65, 66, and since two of these are doubles the answer is . And there we have a conditional probability: the probability of one event happening given that something else has happened. The symbol for this is a vertical line: P(A|B).

In some cases, the events do not affect each other. For example, if you flip a coin and then throw a die, P(throw a 2|heads on the coin) is exactly the same as P(throw a 2) since it makes no difference what the outcome of the coin flipping is. Such events are called independent, in which case
P(A|B) = P(A|B’) = P(A). (ie P(2|head) = P(2|tail) = P(2).

To derive the conditional probability formula, let’s look at a Venn diagram. This shows, for the hundred students in a year group, the numbers who study Biology and Physics.

Look at these probabilities of what a student taken at random studies:

• P(Biology) = 0.7
• P(Physics) = 0.65
• P(Biology and Physics) = 0.42
• P(Biology|Physics) = =0.646 (since of 65 who study Physics there are 42 who study Biology)

This leads to the general equation for conditional probability: P(A|B) = .

So we can see that although the proportion of the year group who study Biology is 70%, this reduces to 64.6% of those who study Physics. We would expect the probability of a student studying Biology who does not study Physics would be higher than 70%. In fact it is = 0.8.

Now let’s change the numbers a bit:

70% of the group still study Biology, but also 70% of the Physicists study Biology. The conditional probability P(B|P) = = 0.7. So now the probabilities of studying Biology and Physics are independent since it doesn’t matter whether or not a student studies Physics, there is always a 0.7 probability he studies Biology. You might like to show that P(B|P’) is also 0.7.

Finally, let me point out that P(Physics) × P(Biology) = 0.7 × 0.6 = 0.42, which is also P(Physics ∩ Biology). This is the test for independence: events A and B are independent if P(A ∩ B) = P(A) × P(B).