The Rules of Probability: Complement, Addition & Inclusion–Exclusion
Once the axioms are in place, almost every probability computation runs on a short list of rules, and this lesson assembles them. The complement rule turns a hard event into an easy one \u2014 the engine behind the complement trick , used in Example 10.4 to find the chance a value repeats when a fair die is rolled four times. For mutually exclusive (disjoint) events the Disjoint Sum Rule adds probabilities outright; when events overlap, the addition rule (the General Sum Rule) corrects for the double-counted intersection, . Remark 10.3 rearranges this to recover and extends it to the inclusion\u2013exclusion principle for three events, which (for two) we apply in Example 10.5.
Before you start — give these a try
Attempting first primes your brain for the lesson — even if you miss. Nothing is graded or saved; it's just a warm-up.
Which formula is the addition rule (inclusion\u2013exclusion) for the union of two events and ?
For events with , and , find .
What you’ll be able to do
- Apply the complement rule , and recognise when computing is easier than attacking directly.
- Use the complement trick to solve repetition problems, reproducing Example 10.4 (a fair die rolled four times gives ).
- State what it means for events to be mutually exclusive (disjoint, ) and apply the Disjoint Sum Rule only where it is valid.
- Use the addition rule / General Sum Rule and the Remark 10.3 rearrangement .
- Apply the inclusion\u2013exclusion principle for three events (Remark 10.3) and check it against the two-event computation in Example 10.5.
In your course
· MATH2015 · Linear Algebra & Probability- Proposition 10.1Probability by countingIf is finite with equally likely outcomes, then for any event .
- Disjoint Sum RuleAdditivity for pairwise disjoint events (axiom 3)If are pairwise disjoint with union , then .
- Example 10.3Exactly one red or one yellow, via disjoint casesTwo balls from R/G/Y: .
- Complement RuleComplement rule, i.e. .
- Example 10.4A fair die rolled four times (complement method).
- Law of Total ProbabilityDecomposition of an event along and.
- Monotonicity RuleMonotonicity of probabilityIf then .
- General Sum RuleInclusion–exclusion (addition rule) for two events.
- Remark 10.3Intersection rearrangement and three-event inclusion–exclusion; and .
- Example 10.5Revisiting Example 10.3 via inclusion–exclusionWith exactly one red, exactly one yellow: .
The complement rule and the complement trick
Every event and its complement are disjoint and together fill the whole sample space , so additivity gives the complement rule Its value is tactical: whenever is awkward to count but its complement is simple, compute and subtract. The headline case is the complement trick for 'at least one' events, since 'none' is usually one clean scenario while 'at least one' hides many. Example 10.4 is the template: a fair die is rolled four times and we want . Counting the ways a repeat happens (a value twice, thrice, four times, or two values twice each) invites overcounting; instead the complement 'all four rolls different' is a single ordered selection. There are ways to get four distinct values out of equally likely outcomes, so and .
Mutually exclusive events and the Disjoint Sum Rule
Two events are mutually exclusive (or disjoint) when they cannot both occur, i.e. . Probability axiom 3 (additivity) says that for pairwise disjoint events with union , This is how a complicated event is tamed: break it into simpler, non-overlapping pieces and add. Example 10.3 does exactly this \u2014 drawing two balls from an urn of red, green and yellow, the event 'exactly one red or exactly one yellow' splits into three disjoint cases (red+green, yellow+green, red+yellow) whose counts , out of , give . A warning that motivates the rest of the lesson: the clean identity holds only for disjoint events. The moment and can occur together, adding and counts the overlap twice and overshoots.
The addition rule: inclusion\u2013exclusion for two events
When and overlap, the General Sum Rule repairs the double-count by subtracting the intersection once: The reason is a disjoint decomposition read off a Venn diagram: is the disjoint union of , , and , so . Since and , the sum includes twice \u2014 hence the single subtraction. When the correction term is and we recover the Disjoint Sum Rule, so the addition rule is the genuinely general statement. The same decomposition underlies the Law of Total Probability , which splits any event along and , and the Monotonicity Rule: if then .
Recovering the intersection, and inclusion\u2013exclusion for three events (Remark 10.3)
Remark 10.3 draws two consequences. First, rearranging the addition rule expresses the intersection through the other three quantities: This is often the only route to when the union is what you are given. Second, the principle extends to any finite number of events by inclusion\u2013exclusion: add the singles, subtract the pairwise intersections, add back the triple. For three events, The alternating signs correct the overcount region by region: the triple overlap is added three times by the singles and removed three times by the pairs, so the final restores it exactly once. Example 10.5 revisits the urn of Example 10.3 with and , so , and \u2014 the same answer the disjoint method gave, now via inclusion\u2013exclusion.
For any event , ; equivalently .
If are pairwise disjoint events with union , then . In particular, for two mutually exclusive events .
For any events and , .
(1) . (2) For three events, .
Worked examples
Example 10.4. A fair die is rolled four times. Find the probability that some value appears more than once.
- 1
Let . Attacking directly means counting many overlapping patterns (a value twice, thrice, four times, or two values twice each), which is easy to overcount.
- 2
Use the complement: is a single clean scenario, and the complement rule gives .
- 3
Count equally likely outcomes. Four ordered rolls give ; for , choose four distinct values in order, .
- 4
So .
- 5
Therefore .
Example 10.5 (revisiting Example 10.3). An urn holds red, green and yellow balls; two are drawn without replacement. Using inclusion\u2013exclusion, find .
A student studies Algebra (), Biology () or Chemistry () with , , , pairwise , , , and . Find , the probability a student studies at least one subject.