Intuitive Probability Mastery
Probability Study Notes
Introduction: The Core Idea
Probability is fundamentally about events, not individual outcomes. An event is a set of outcomes from the sample space. The sample space (S) is the set of all possible outcomes of an experiment. For example, flipping two coins has a sample space of {HH,HT,TH,TT}. An event like "at least one head" is the set {HH,HT,TH}.
The probability of an event E is:
Key insight: Most mistakes come from thinking probability is about single outcomes. It is about collections of outcomes — sets.
The Three Axioms of Probability
All probability calculations rest on three fundamental axioms:
Non-negativity: P(E)≥0 for any event E.
Normalization: P(S)=1 — the entire sample space has probability 1.
Additivity: If events A and B are disjoint (cannot happen together), then P(A∪B)=P(A)+P(B).
Example with a die roll:
Event A: rolling less than 3 → outcomes {1,2}, P(A)=62.
Event B: rolling a 5 → outcome {5}, P(B)=61.
A and B are disjoint, so P(A∪B)=62+61=63=21.
Set Operations and the Addition Rule
Complement
The complement of event A (written Ac or "not A") contains all outcomes not in A. The complement rule:
Example: Probability of not drawing a king from a standard 52‑card deck: P(king)=524, so P(not king)=1−524=5248.
Intersection ("and")
The intersection A∩B contains outcomes that are in both A and B.
Example: King and heart → only the King of Hearts: P(king∩heart)=521.
Union ("or") and the Addition Rule
For any two events A and B:
This avoids double‑counting the overlap.
Example: Probability of drawing a king or a heart:
P(king)=524, P(heart)=5213, P(king∩heart)=521.
P(king∪heart)=524+5213−521=5216.
Special case: If A and B are disjoint, P(A∩B)=0, so P(A∪B)=P(A)+P(B).
More complex example: Red card or face card:
Red cards: 26 (hearts + diamonds). Face cards: 12 (jacks, queens, kings × 4 suits).
Overlap: red face cards = 6 (hearts: J,Q,K; diamonds: J,Q,K).
P(red∪face)=5226+5212−526=5232≈61.5%.
Complement trick for "at least one": For three coin flips, P(at least one head)=1−P(all tails)=1−(21)3=1−81=87.
Counting: Permutations and Combinations
When the sample space is huge, we need systematic counting. Two key questions:
Can items repeat?
Does order matter?
Factorial Notation
n!=n×(n−1)×⋯×1. Example: 4!=4×3×2×1=24.
When Repetition Is Allowed (and Order Matters)
Simply multiply: nk, where n is number of choices each time and k is number of slots.
Example: 4‑digit PIN (digits 0‑9, repetition allowed): 104=10000 possibilities.
When Repetition Is Not Allowed
Now we must decide if order matters.
Permutations (Order Matters)
The number of ways to choose k items from n without repetition and with ordering:
Or equivalently, P(n,k)=(n−k)!n!.
Example: Choosing a president, VP, and secretary from 10 people: 10×9×8=720 ways.
Combinations (Order Does Not Matter)
The number of ways to choose k items from n without repetition and ignoring order:
Think: permutations divided by the number of ways to reorder the chosen items (k!).
Example: Choosing a 3‑person committee from 10 people: (310)=3!7!10!=3×2×110×9×8=120 committees.
Decision Tree for Counting Problems
Can I repeat?
Yes → nk (order matters by default)
No → Does order matter?
Yes → Permutation (multiply down k times)
No → Combination (permutation divided by k!)
Quick test: A password must use 4 different digits. How many passwords?
No repetition, order matters → permutation: 10×9×8×7=5040.
Conditional Probability
When we gain information, the sample space shrinks. The probability of A given B (written P(A∣B)) is:
Intuition: "Out of all the times B happens, how often does A also happen?" We restrict attention to the part of the sample space where B occurs.
Example: Draw a marble from a bag with 5 red, 3 blue, 2 green. First marble is blue. What's the probability the second is red (without replacement)?
After first draw, 9 marbles left, all 5 red remain.
P(second red∣first blue)=95.
Using formula: P(first blue and second red)=103×95=9015=61; P(first blue)=103; dividing gives 3/101/6=95.
Example: Draw a card and see it is a king. What's the probability it is the king of hearts?
New universe: just the 4 kings. Only 1 is the king of hearts → P=41.
Formula: P(king of hearts∣king)=4/521/52=41.
Two‑child problem: A family has two children. At least one is a girl. Probability both are girls?
Sample space: {BB,BG,GB,GG}.
Given at least one girl: {BG,GB,GG} (3 outcomes). Only {GG} has both girls → P=31.
Joint and Marginal Probabilities
When tracking two events simultaneously, we use a joint probability table.
Example: Midterm and final results for 100 students:
Pass Final | Fail Final | Total | |
|---|---|---|---|
Pass Midterm | 50 | 10 | 60 |
Fail Midterm | 5 | 35 | 40 |
Total | 55 | 45 | 100 |
Joint probabilities (cells): P(pass both)=0.50, P(pass midterm, fail final)=0.10, etc.
Marginal probabilities (totals): P(pass midterm)=0.60, P(pass final)=0.55.
Marginals are obtained by summing over the other event.
Independence
Two events A and B are independent if and only if:
Equivalently, P(A∣B)=P(A) and P(B∣A)=P(B). Knowing one does not change the probability of the other.
Check independence using joint table: For the exam data,
P(pass midterm)=0.60, P(pass final)=0.55.
If independent, P(pass both) would be 0.60×0.55=0.33, but actual is 0.50 → dependent.
Independent example: Flip a coin and roll a die.
P(heads)=1/2, P(six)=1/6, P(heads and six)=1/12=(1/2)×(1/6) → independent.
False independence: Wearing a jacket and having a cold — both are influenced by season, so they are dependent even if not directly causal.
Key: Before multiplying probabilities for "and", always check independence. If dependent, use conditional probability.
Random Variables and Expected Value
A random variable is a function that assigns a number to each outcome in the sample space. It translates random events into numerical quantities.
Example: Flip two coins, win 5 per head, lose 2 per tail. Let X be total winnings:
HH: 10
HT, TH: 3
TT: −4
P(X=3)=2/4=0.5, P(money)=P(X>0)=3/4=0.75.
Expected Value
The expected value E[X] is the long‑run average (weighted average of all possible values):
Example: Die game — roll a 6 win 12, roll 4 or 5 win 3, roll 1–3 lose 6.
P(6)=1/6, P(4 or 5)=1/3, P(1–3)=1/2.
E[X]=12⋅61+3⋅31+(−6)⋅21=2+1−3=0.
This is a fair game (expected value zero). Casinos design games with negative expected value for players.
Linearity of Expectation
For any two random variables X and Y (even dependent ones):
Example: Roll a die. Let X = winnings ( 4 for 1–3, 8 for 4–6). Let Y = number rolled.
E[X]=4⋅21+8⋅21=6.
E[Y]=(1+2+3+4+5+6)/6=3.5.
E[X+Y]=6+3.5=9.5. The dependence between X and Y doesn't matter for addition.
Important: Linearity holds for addition only. For multiplication, independence is required.
Continuous Distributions
Continuous random variables take values in an interval (e.g., height, time). Probabilities are defined over intervals, not exact points.
Probability Density Function (PDF)
For continuous variables, we use a PDF f(x) such that:
Total area under f(x) equals 1.
P(a≤X≤b)=∫abf(x)dx (area under the curve between a and b).
P(X=c)=0 for any exact value c.
Uniform distribution example: A bread slicer produces lengths uniformly between 14 and 18 inches.
The PDF is a rectangle of width 4 and height 1/4 (since total area = 4×1/4=1).
P(length between 15 and 17)=area=(17−15)×1/4=2×1/4=0.5.
Discrete vs. Continuous
Discrete: Use probability mass function (PMF) — P(X=x) can be >0. Sum over values.
Continuous: Use PDF — P(X=x)=0 for exact values. Integrate over intervals.
Integration is the continuous analog of summation.
Law of Total Probability
When an event can happen through multiple distinct scenarios, break the problem into mutually exclusive paths.
where the Ai form a partition of the sample space.
Example: Two bags of marbles.
Bag A: 5 red, 5 blue. Bag B: 1 red, 7 blue.
Choose bag with P(A)=0.70, P(B)=0.30.
What is P(blue)?
Path 1: choose A then blue: 0.70×0.50=0.35.
Path 2: choose B then blue: 0.30×(7/8)=0.30×0.875=0.2625.
Total P(blue)=0.35+0.2625=0.6125.
Bayes' Rule
Bayes' Rule tells us how to update our beliefs given evidence:
Intuition: The probability of A after seeing B equals (likelihood × prior) / evidence.
Classic Disease Test Example
Disease prevalence: 1% (P(disease)=0.01).
Test accuracy: 99% sensitive (if disease, positive 99% of the time) and 99% specific (if no disease, negative 99% of the time).
You test positive. What is P(disease∣positive)?
Using numbers (1,000 people):
10 have disease; 9.9 test positive (≈10 true positives).
990 do not have disease; 1% false positive = 9.9 false positives.
Total positives ≈ 20; only 10 are true.
P(disease∣positive)≈10/20=0.50 (not 99%).
Formula:
Bag Example (Updated)
We had P(A)=0.70, P(blue∣A)=0.50, P(blue)=0.6125. If we draw a blue marble, what's P(A∣blue)?
The probability dropped from 0.70 to 0.57 because blue is stronger evidence for bag B.
Recursive Thinking in Probability
For problems with an infinite number of possible sequences, recursion provides an elegant algebraic solution.
Example: Expected number of coin flips to get first heads. Let E be the expected number of flips.
First flip: always costs 1.
With probability 1/2, we get heads and stop; with probability 1/2, we get tails and need E more flips.
E=1+21⋅0+21⋅E⟹E=1+2E⟹2E=1⟹E=2.
Two heads in a row: Let E = expected flips from start; EH = expected additional flips after one head.
From start: E=1+21E+21EH.
From one head: EH=1+21⋅0+21⋅E (if tails, back to start). Solve: EH=1+2E, substitute: E=1+2E+21(1+2E)=1+2E+21+4E=23+43E. Then E−43E=23⟹4E=23⟹E=6.
Recursion simplifies infinite sums into solvable equations.
This comprehensive framework — from events and axioms to Bayes' rule and recursion — provides the foundation for understanding probability. The key to mastery is repeated practice with problems that challenge the intuition.

Ask anything
We've read this whole study set, so questions about it get the best answers.