DETECTIVE
IN TRAINING

The Case Files of
Probability

Every event leaves a clue. Every clue has a number attached to it. Your job, Rookie, is to learn how to read them. Eight case files stand between you and your detective's badge.

CASE 1.1
Sample Space & Events
CASE 1.2
Axioms & Complements
CASE 1.3
The Addition Rule
CASE 1.4
Multiplication & Independence
CASE 1.5
Conditional Probability
CASE 1.6
Two-Way Tables
CASE 1.7
Tree Diagrams
CASE 1.8
Bayes' Theorem
Presented by TopEdu Prep · Written by Kim Min-ho
CASE FILE No. 1.1

Sample Space & Events

Before a detective can solve anything, she must list every possible outcome. That list is called the sample space.

Sample Space (S) is the set of ALL possible outcomes of a random process. Think of it as the complete suspect list — nothing left out, nothing repeated.

Event is any subset of the sample space — one suspect, or a group of suspects who share something in common.

S = {all possible outcomes}
Event A ⊆ S

That's it. No calculation yet — just careful, complete listing. Most probability mistakes start with an incomplete sample space, so this is the detective's first and most important habit.

EVIDENCE LOCKER
EXHIBIT A

A single six-sided die is rolled. Write the sample space S, and the event A = "an even number is rolled."

SOLVED

The die can land on any of six faces, so:

S = {1, 2, 3, 4, 5, 6}
A = {2, 4, 6}

A rookie mistake is forgetting an outcome (like leaving out 1 or 6). List them in order, every time.

EXHIBIT B

Two coins are flipped. Write the sample space, and event B = "at least one head."

SOLVED

Each coin has 2 outcomes, and the coins are flipped together, so there are 2 × 2 = 4 total outcomes:

S = {HH, HT, TH, TT}
B = {HH, HT, TH}

Notice TT is the ONLY outcome missing from B — "at least one head" excludes just the all-tails case.

EXHIBIT C

A card is drawn and only its suit is recorded. Write S, and event C = "the suit is red."

SOLVED
S = {♠, ♥, ♦, ♣}
C = {♥, ♦}

Only hearts and diamonds are red suits, so C contains exactly those two outcomes.

CASE FILE No. 1.2

Probability Axioms & the Complement Rule

Every good agency has rules. These three are the ones probability can never break.

Axiom 1: Every probability is between 0 and 1.

0 ≤ P(A) ≤ 1

Axiom 2: The probability of the whole sample space is 1 — something in the suspect list must happen.

P(S) = 1

Complement Rule: "Not A" (written A') is everything in S that isn't in A. Since A and A' together make up the whole sample space:

P(A') = 1 − P(A)

The complement is the detective's favorite shortcut: sometimes it's far easier to find the probability of "it does NOT happen" and subtract from 1.

EVIDENCE LOCKER
EXHIBIT A

A fair die is rolled. P(rolling a 4) = 1/6. Find P(not rolling a 4).

SOLVED
P(not a 4) = 1 − 1/6 = 5/6

Five of the six faces are "not a 4," which matches perfectly.

EXHIBIT B

In a bag of marbles, P(red) = 0.35. What is the probability the marble drawn is NOT red?

SOLVED
P(not red) = 1 − 0.35 = 0.65
EXHIBIT C

A weather report says P(rain tomorrow) = 0.20. What's the probability it does NOT rain?

SOLVED
P(no rain) = 1 − 0.20 = 0.80

An 80% chance of a dry day — good news for any stakeout.

CASE FILE No. 1.3

The Addition Rule

"Or" cases: how often does A happen, OR B happen, OR both?

Mutually Exclusive Events can never happen at the same time (no overlap). For these, just add:

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

Non-Mutually Exclusive Events CAN overlap. If you just add, you count the overlap twice — so subtract it back out once:

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

Picture two witness lists with some names appearing on both. Add both lists, then remove the duplicate names once.

EVIDENCE LOCKER
EXHIBIT A — Mutually Exclusive

Roll a die. A = "roll a 1 or 2," B = "roll a 5 or 6." Find P(A or B).

SOLVED

A and B share no outcomes, so they're mutually exclusive:

P(A) = 2/6, P(B) = 2/6
P(A ∪ B) = 2/6 + 2/6 = 4/6 = 2/3
EXHIBIT B — Non-Mutually Exclusive

A standard deck of 52 cards. A = "draw a heart" (13 cards), B = "draw a face card" (12 cards: J, Q, K in every suit). 3 cards are both a heart AND a face card. Find P(heart or face card).

SOLVED
P(A ∪ B) = 13/52 + 12/52 − 3/52
= 22/52 = 11/26 ≈ 0.423

Without subtracting the overlap (the heart face cards: J♥, Q♥, K♥), we'd have double-counted those 3 cards.

EXHIBIT C — Non-Mutually Exclusive

Out of 30 students: 12 play soccer, 10 play basketball, and 5 play both. Find P(soccer or basketball).

SOLVED
P(soccer ∪ basketball) = 12/30 + 10/30 − 5/30
= 17/30 ≈ 0.567
CASE FILE No. 1.4

The Multiplication Rule & Independence

"And" cases: how often do A and B BOTH happen?

Independent Events: one outcome has zero effect on the other (a coin doesn't remember the last flip). For independent events, simply multiply:

P(A ∩ B) = P(A) · P(B)

General Multiplication Rule (works even when events are NOT independent):

P(A ∩ B) = P(A) · P(B | A)

Checking independence: A and B are independent only if P(A ∩ B) really does equal P(A) · P(B). If it doesn't match, the events are dependent.

EVIDENCE LOCKER
EXHIBIT A — Independent

A coin is flipped and a die is rolled. Find P(heads AND rolling a 6).

SOLVED

The coin and die don't influence each other — independent events:

P(H ∩ 6) = 1/2 × 1/6 = 1/12
EXHIBIT B — Dependent

Two cards are drawn from a 52-card deck WITHOUT replacement. Find P(both are aces).

SOLVED

After the first ace is removed, only 3 aces remain among 51 cards — the second draw depends on the first:

P(Ace1 ∩ Ace2) = 4/52 × 3/51
= 12/2652 = 1/221 ≈ 0.0045
EXHIBIT C — Independence Check

Roll one die. A = "even number," B = "greater than 4." Is A independent of B?

SOLVED

A = {2,4,6} so P(A) = 1/2. B = {5,6} so P(B) = 1/3. A ∩ B = {6}, so P(A ∩ B) = 1/6.

P(A) · P(B) = 1/2 × 1/3 = 1/6
This equals P(A ∩ B) = 1/6 ✓ Independent!
CASE FILE No. 1.5

Conditional Probability

New evidence changes the odds. Conditional probability is how a detective updates her thinking once she knows something is already true.

P(A | B) reads as "the probability of A, GIVEN that B has already happened." Because B has already occurred, B becomes the new, smaller sample space:

P(A | B) = P(A ∩ B) / P(B)

Read the bar "|" as "given." Everything to the right of it has already happened — it's a fact, not a question.

EVIDENCE LOCKER
EXHIBIT A

A card is drawn from a 52-card deck. Given that it's a face card (12 cards), what's the probability it's a King (4 of the 12 face cards)?

SOLVED
P(King | face card) = (4/52) / (12/52) = 4/12 = 1/3

Once we know it's a face card, we only care about those 12 cards — and 4 of them are Kings.

EXHIBIT B

Two dice are rolled. Given that the first die shows a 3, find the probability the sum of both dice is 8.

SOLVED

Since the first die is fixed at 3, only the second die is still random (6 equally likely outcomes). Only a second roll of 5 gives a sum of 8:

P(sum = 8 | first die = 3) = 1/6
EXHIBIT C

In a class, P(likes math) = 0.4 and P(likes math AND likes coding) = 0.28. Find P(likes coding | likes math).

SOLVED
P(coding | math) = 0.28 / 0.4 = 0.70

Among students who like math, 70% also like coding.

CASE FILE No. 1.6

Two-Way Tables

A detective's favorite kind of evidence: a grid that organizes every suspect by two traits at once.

A two-way table sorts a group by two categories at once. Once it's built, every probability question becomes a fraction: (the cell or row/column you want) ÷ (the total that matches your condition).

Marginal probability uses a row/column total ÷ grand total. Joint probability uses one inside cell ÷ grand total. Conditional probability uses one inside cell ÷ its row or column total.

EVIDENCE LOCKER
CASE FILE TABLE — 200 students surveyed
Prefers MathPrefers EnglishTotal
Boys4060100
Girls5050100
Total90110200

Q1 (Marginal): P(Boy)?

SOLVED
P(Boy) = 100/200 = 0.50

Q2 (Joint): P(Boy AND prefers Math)?

SOLVED
P(Boy ∩ Math) = 40/200 = 0.20

Q3 (Conditional): P(prefers Math | Boy)?

SOLVED

Given the student is a boy, we only look within the "Boys" row (100 students total):

P(Math | Boy) = 40/100 = 0.40

Compare Q2 and Q3 closely — same numerator (40), but a different, smaller denominator, because "given Boy" shrinks our world down to just the Boys row.

CASE FILE No. 1.7

Tree Diagrams

When a case unfolds in stages, a tree diagram maps every path a suspect could take.

Draw one branch per possible outcome at each stage. Label every branch with its probability. To find the probability of an entire path, multiply along the branches. To find the probability of several paths, add the path totals. All path totals in the whole tree must add up to 1 — that's how a detective double-checks her work.

EVIDENCE LOCKER
EXHIBIT A

A bag holds 5 red and 3 blue marbles. Two are drawn without replacement. Map out the tree and find P(exactly one red).

Start 5/8 3/8 Red Blue 4/7 3/7 5/7 2/7 Red → RR = 5/8×4/7 = 20/56 Blue → RB = 5/8×3/7 = 15/56 Red → BR = 3/8×5/7 = 15/56 Blue → BB = 3/8×2/7 = 6/56
SOLVED

First draw: P(Red) = 5/8, P(Blue) = 3/8. Since there's no replacement, the second draw's pool changes:

If 1st = Red → 4 red, 3 blue left (7 total)
If 1st = Blue → 5 red, 2 blue left (7 total)
P(RR) = 5/8 × 4/7 = 20/56
P(RB) = 5/8 × 3/7 = 15/56
P(BR) = 3/8 × 5/7 = 15/56
P(BB) = 3/8 × 2/7 = 6/56

Check: 20/56 + 15/56 + 15/56 + 6/56 = 56/56 = 1 ✓

P(exactly one red) = P(RB) + P(BR)
= 15/56 + 15/56 = 30/56 = 15/28 ≈ 0.536
CASE FILE No. 1.8

Introduction to Bayes' Theorem

The Agency's most powerful tool: working BACKWARD from the evidence to the true cause.

So far, we've mostly asked "given the cause, what's the probability of this evidence?" Bayes' Theorem flips the question around: "given the evidence, what's the probability of each possible cause?"

P(A | B) = [ P(B | A) · P(A) ] / P(B)

The tricky part is always finding P(B) — the total probability of the evidence across every possible cause. A tree diagram from Case 1.7 is the perfect tool to compute it: add up every branch that ends in the evidence you observed.

EVIDENCE LOCKER
EXHIBIT A — The Positive Test

A rare disease affects 1% of a population: P(Disease) = 0.01. A test correctly detects the disease 95% of the time (P(+|Disease) = 0.95), but also gives a false positive 5% of the time on healthy people (P(+|No Disease) = 0.05). If a random person tests positive, what's the probability they actually have the disease?

SOLVED

First, find P(+) — the total chance of testing positive, from BOTH groups (sick and healthy):

P(+) = P(+|D)·P(D) + P(+|D')·P(D')
= (0.95)(0.01) + (0.05)(0.99)
= 0.0095 + 0.0495 = 0.059

Now apply Bayes' Theorem:

P(D | +) = 0.0095 / 0.059 ≈ 0.161 (about 16.1%)

The twist every detective must learn: even with a "95% accurate" test, a positive result only means about a 16% chance of truly having the disease — because the disease is so rare that false positives from the huge healthy group pile up. Rarity matters as much as accuracy.

EXHIBIT B — The Two Factories

Factory A makes 60% of a company's widgets, with a 2% defect rate. Factory B makes the other 40%, with a 5% defect rate. A widget is picked at random and found defective. What's the probability it came from Factory A?

SOLVED
P(Defect) = (0.60)(0.02) + (0.40)(0.05)
= 0.012 + 0.02 = 0.032
P(A | Defect) = 0.012 / 0.032 = 0.375 (37.5%)

Even though Factory A makes most of the widgets, its low defect rate means it's actually the less likely source of a defective one — only 37.5%, compared to 62.5% from Factory B.

FINAL REPORT

The Detective's Handbook

Every formula from Unit 1, filed and cross-referenced for your final review.

CaseConceptFormula
1.1Sample Space & EventsS = all outcomes; Event A ⊆ S
1.2Axioms & Complement0 ≤ P(A) ≤ 1; P(S)=1; P(A') = 1 − P(A)
1.3Addition (mutually exclusive)P(A ∪ B) = P(A) + P(B)
1.3Addition (non-mutually exclusive)P(A ∪ B) = P(A) + P(B) − P(A ∩ B)
1.4Multiplication (independent)P(A ∩ B) = P(A) · P(B)
1.4Multiplication (general)P(A ∩ B) = P(A) · P(B|A)
1.5Conditional ProbabilityP(A|B) = P(A ∩ B) / P(B)
1.6Two-Way TablesMarginal = row or column total ÷ grand total; Joint = cell ÷ grand total; Conditional = cell ÷ row/column total
1.7Tree DiagramsMultiply along a branch; add across matching branches
1.8Bayes' TheoremP(A|B) = [P(B|A)·P(A)] / P(B)

The Detective's Golden Rules:

1. List the full sample space before doing anything else.

2. "Or" usually means add (watch for double-counted overlap). "And" usually means multiply.

3. The word "given" means the sample space has shrunk — you're now only looking inside one row, column, or branch.

4. A tree diagram's paths must always sum to 1. If they don't, a branch is missing or a probability is wrong.

5. Bayes' Theorem is just conditional probability solved backward — from the effect back to the cause.

🏆 Case Closed, Detective.

You've reviewed all eight case files of Unit 1. Foundations of Probability are now part of your permanent record. Time to put the badge on and move to Unit 2.