The Chain Rule of Conditional Probabilities

The chain rule is used when you have multiple trials, meaning that you want to measure several events one after another. In these cases you need to multiply the probability of the first event by the probability of the second event. It’s important to pay attention to whether the events are independent of each other or not.

Rule

The Chain Rule for Independent Events

When A and B are independent events, you get

P (A B) = P (A) P (B)

Example 1

In mathematics, births are considered to be independent events. P (boy) = 0.514 and P (girl) = 0.486. A family wants four children. What is the probability of the first two being boys and the next two being girls?

In this case you don’t have to worry about the order of the births of each single baby, just that there are two boys first, and then two girls. The complete event is boy, boy, girl, girl. You can write it as BBGG. The calculation becomes

P (BBGG) = P (B) P (B) P (G) P (G) = P (B)2 P (G)2 = 0.5142 0.4862 = 0.0624

The probability of having two boys and then two girls is 6.24 %.

Rule

The Chain Rule for Dependent Events

When the events A and B depend on each other, you get

P (A B) = P (A) P (BA)

Example 2

A bag of jelly beans has 4 red beans, 5 green ones and 7 yellow ones. You’re going to draw three jelly beans from the bag and eat them. What is the probability of drawing three yellow jelly beans?

There’s 4 + 5 + 7 = 16 jelly beans in total. After eating one yellow jelly bean, there is one yellow jelly bean less in the bag (6), and the total number of jelly beans has also been reduced by one (15). In this way the number of jelly beans in the bag will decrease each time you eat one. That makes the calculation

P (3 yellow) = P (first is yellow) P (second is yellow) P (third is yellow) = 7 16 6 15 5 14 = 0.0625

P (3 yellow beans) = P (first is yellow) P (second is yellow) P (third is yellow) = 7 16 6 15 5 14 = 0.0625

The probability of eating three yellow jelly beans in a row, without grossing your friends out by putting them back in the bag after you’ve eaten them. is 6.25 %.

To find this, we had to calculate the probability of drawing a yellow jelly bean from the bag three times, each time with different numbers and answers. It’s pretty clear that it would be easier to find the answer if the events were independent of each other.

Want to know more?Sign UpIt's free!