Exercises — Sample spaces, events, and axioms of probability
Quick symbol reminder (all from the parent):
- = the set of all possible outcomes (the "sample space").
- = an event, a chosen subset of outcomes.
- = how many outcomes are in (its size / count).
- = the probability measure — a rule that takes an event and returns a number between 0 and 1 (how likely it is). It obeys the three axioms: , , and additivity over disjoint events. So is read "the probability of event ."
- = " or " (union), = " and " (intersection), = "not " (complement), = the impossible event (empty set).
The two-dice picture below is the workhorse for many problems — glance at it now.

Each of the 36 cells is one equally-likely outcome . Events are just regions you shade on this grid.
Level 1 — Recognition
Exercise 1.1 (L1)
A single fair coin is flipped twice. Write the sample space and its size . Then write the event "at least one head."
Recall Solution
Each flip has outcomes or , and the two flips are ordered (first, second), so: "At least one head" means not both tails, i.e. every outcome except :
Exercise 1.2 (L1)
For the two-dice experiment (), classify each as a simple event (one outcome), a compound event (many outcomes), the certain event, or the impossible event: (a) "both dice show 3" (b) "the sum is at least 2" (c) "the sum equals 1" (d) "the sum is even".
Recall Solution
(a) — one outcome → simple event. (b) The smallest possible sum is , so every outcome qualifies → this is → certain event, . (c) No two dice sum to → → impossible event, . (d) Many outcomes (e.g. ) → compound event.
Level 2 — Application
Exercise 2.1 (L2)
Roll two fair dice. Compute .
Recall Solution
Favourable pairs summing to 5: , so . Equally-likely outcomes → classical probability:
Exercise 2.2 (L2)
A spam filter is tested on 2000 emails: 640 are spam, the rest not. Using the frequentist estimate, find and , and verify they satisfy Axiom 2.
Recall Solution
Check (Axiom 2 / complement rule): ✓. This ratio-of-counts is exactly the MLE for a Bernoulli parameter.
Exercise 2.3 (L2)
A card is drawn from a standard 52-card deck. Let "card is a heart." Find and using the complement rule.
Recall Solution
There are 13 hearts, so . By the complement rule (there are non-hearts, and ✓).
Level 3 — Analysis
Exercise 3.1 (L3)
Two fair dice. Let "sum is 7" and "at least one die shows 6." Find , , , and .
Recall Solution
Look at the shaded regions in the figure below.

- = the anti-diagonal, → .
- = the bottom row and rightmost column; the corner is shared, so → .
- = pairs that are on the diagonal and contain a 6: and , so → .
- Inclusion–exclusion (needed because and overlap):
Exercise 3.2 (L3)
Draw one card. Let "heart," "face card (J, Q, K)." Find .
Recall Solution
, (3 faces 4 suits). The overlap = face cards that are hearts = , so .
Exercise 3.3 (L3)
Given , , and . Find and .
Recall Solution
Rearrange inclusion–exclusion for the overlap: "Neither nor " is the complement of " or " (De Morgan: ):
Level 4 — Synthesis
Exercise 4.1 (L4)
Prove the general upper bound (Boole's inequality for two events): for any events , Then say exactly when equality holds.
Recall Solution
Start from inclusion–exclusion. Recall it is not an axiom — it was derived in the parent note by splitting into the disjoint pieces and and applying Axiom 3 (additivity over disjoint events). Taking that result as given: By Axiom 1, . Subtracting a non-negative number can only make the total smaller or equal: Equality holds iff — e.g. when and are mutually exclusive ().
Exercise 4.2 (L4)
Three mutually exclusive, exhaustive classes partition : with , . A classifier can output only one class per input. Find , and .
Recall Solution
"Exhaustive + mutually exclusive" means with no overlaps, so by Axioms 2 and 3 their probabilities sum to 1: Since and are disjoint, Axiom 3 applies directly (no subtraction): This is the setup behind a softmax over 3 classes — the outputs are forced to sum to 1.
Exercise 4.3 (L4)
Using only the three axioms, prove that .
Recall Solution
The impossible event is disjoint from itself: . Also . Apply Axiom 3 to these two disjoint copies: So , which forces . (And Axiom 1 already told us it can't be negative, so this is the only consistent value.)
Level 5 — Mastery
Exercise 5.1 (L5)
Model + solve. A model, on each email, is either "confident" (event , prob ) or "unsure" (event ). Given confident, it classifies correctly with prob ; given unsure, correctly with prob . Let = "model is correct." Using the axioms and the law of total probability (a consequence of Axiom 3 over a partition), find .
Recall Solution
The pair partitions (mutually exclusive, exhaustive). Split along this partition: By Axiom 3, . Each piece is a conditional weighted by the class: So the model is correct 77% of the time overall.
Exercise 5.2 (L5)
Prove and sanity-check. Show that for any three events, Then verify numerically with the two-dice events "die 1 is 6", "die 2 is 6", "sum is 12".
Recall Solution
Proof (fold into two events). Let . Apply two-event inclusion–exclusion: Now . Distribute the intersection: , so and . Substituting all three expansions and collecting terms gives the stated formula.
Numeric check. , all over 36:
- , .
- , , , → each . Direct count: = "at least one 6" = 11 cells, and , so the union is 11 cells → ✓.
Recall Self-test recap (one line each)
with two fair dice ::: Why can't you use on the sums ? ::: sums are not equally likely; only the 36 ordered pairs are symmetric Inclusion–exclusion for two events ::: in terms of the union ::: (De Morgan + complement) from the axioms ::: , since Law of total probability over partition :::