The Addition Rule

Category: Probability   Level: 301

P(A ∪ B) = P(A) + P(B) - P(A ∩ B)

To find the chance of A or B, add their chances and subtract the overlap once, because the overlap got counted in both.

Step through it

Watch it

Animated walkthrough

Step by step

Step 1: Draw the sample space

Each dot is one card, and each card is equally likely. There are 52 dots.

52 equally likely cards

Step 1: Draw the sample space

Step 2: Circle the hearts

Event A is drawing a heart. It holds 13 cards.

P(A) = 13/52

Step 2: Circle the hearts

Step 3: Circle the face cards

Event B is drawing a jack, queen, or king. It holds 12 cards, and 3 of them are hearts too.

P(B) = 12/52

Step 3: Circle the face cards

Step 4: Notice the double count

Adding 13 and 12 gives 25, but the 3 heart face cards sit in both circles and got counted twice.

13 + 12 = 25 ≠ 22

Step 4: Notice the double count

Step 5: Subtract the overlap once

Take the 3 extra counts back out. The union, A or B, holds 22 cards.

P(A ∪ B) = 13/52 + 12/52 - 3/52 = 22/52 = 11/26

Step 5: Subtract the overlap once

All steps at once

Storyboard

Generate it yourself

cd svg-generator
python3 -m svgmath render addition-rule-venn --out /tmp/addition-rule-venn

Source: svgmath/diagrams/probability.py