Introduction to Probability
Intuition & Recognition Guide
Chapters 1–3.5 (Bertsekas & Tsitsiklis)
“Formulas tell you what to compute.
Recognition tells you which formula to reach for.”
What this guide adds to the formula sheet: every topic below is
broken into four questions you should be able to answer on sight – What
does this look like in a problem statement? Why does the formula work, in
plain language? Where do people slip up? How would this show up on an
exam? The playbook at the end walks through your actual Assignment 1
(Monsoon 2026) question by question, showing the recognition step before
the algebra.
Companion to the Ch. 1–3.5 formula/theorem study guide
Probability – Intuition & Recognition Guide
CONTENTS
How to use this guide
Rattling off P (A | B) = P (A ∩ B)/P (B) is not the hard part of this course. The hard part is
staring at a word problem and knowing, within the first ten seconds, which of the fifteen tools
you’ve learned actually applies. That’s a different skill from memorizing the tools themselves,
and it’s trained differently: by noticing the shape of a problem statement, not its numbers.
So each section here follows the same pattern:
The formula/theorem – stated precisely, as a reference.
Recognize it when... – the phrases, structures, and question-shapes that are this technique’s fingerprint. This is the part you drill until it’s reflexive.
Intuition – why the formula says what it says, in words a friend with no math background
could follow. If you can regenerate the formula from the intuition, you don’t need to memorize it.
Pitfall – the specific way students misapply this exact tool, usually the mistake your professor is testing for when a question looks “too easy.”
Worked example – one clean example showing the recognition step, not just the computation.
The final section, The Assignment 1 Playbook, re-runs this process on all 15 problems from your
Monsoon 2026 assignment, so you can see the same recognition instinct applied at the difficulty
level your professor actually expects.
Contents
How to use this guide
1
1 Sample Space and Probability
2
1.1
The three ways to build a probability law . . . . . . . . . . . . . . . . . . . . . .
2
1.2
Sample space and events . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2
1.3
De Morgan’s laws . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3
1.4
Probability axioms and their derived properties . . . . . . . . . . . . . . . . . . .
3
1.5
Conditional probability
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4
1.6
Total probability theorem and Bayes’ rule . . . . . . . . . . . . . . . . . . . . . .
4
1.7
Independence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5
1.8
Counting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6
2 Discrete Random Variables
8
2.1
Recognizing the five named distributions . . . . . . . . . . . . . . . . . . . . . . .
8
2.2
The expected value rule (the workhorse of this chapter) . . . . . . . . . . . . . .
8
2.3
Variance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
9
1
Probability – Intuition & Recognition Guide
CONTENTS
2.4
Linearity of expectation and the indicator-variable trick . . . . . . . . . . . . . .
2.5
Conditioning on an RV, and the self-referencing/recursive trick . . . . . . . . . . 10
2.6
Independence of random variables, and when variance adds . . . . . . . . . . . . 11
3 General Random Variables (§3.1–3.5)
9
12
3.1
From sums to integrals – what actually changes . . . . . . . . . . . . . . . . . . . 12
3.2
Recognizing Uniform, Exponential, and Normal . . . . . . . . . . . . . . . . . . . 12
3.3
CDFs, and deriving a PDF via the CDF . . . . . . . . . . . . . . . . . . . . . . . 12
3.4
Standardizing the Normal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
3.5
Conditioning on an event, and total probability for densities . . . . . . . . . . . . 13
3.6
Multiple continuous RVs and continuous/mixed Bayes’ rule . . . . . . . . . . . . 13
4 The Assignment 1 Playbook
15
2
Probability – Intuition & Recognition Guide
1
SAMPLE SPACE AND PROBABILITY
1 Sample Space and Probability
1.1 The three ways to build a probability law
Before any formula, ask yourself: which of the three engines does this problem run on? Almost
every Chapter 1 problem is one of these:
(1) Counting / discrete uniform law – all outcomes equally likely, so P (A) = |A|/|Ω|;
the whole problem becomes counting two sets.
(2) Sequential / tree method – the experiment unfolds in stages; multiply probabilities
along a branch: P (A1 ∩ · · · ∩ An ) = P (A1 )P (A2 | A1 ) · · ·
(3) Divide-and-conquer / total probability – split Ω into convenient disjoint cases,
solve the problem inside each case, then recombine with weights P (Ai ).
RECOGNIZE IT WHEN...
Words like “at random,” “equally likely,” “a uniformly shuffled deck,” “chosen uniformly”
⇒ engine (1), start counting.
The problem describes a process with steps – draws without replacement, a sequence of
coin flips, a game with rounds – ⇒ engine (2), draw a tree, multiply along the path you
care about.
The problem naturally splits into a small number of scenarios (“if it rained” / “if it
didn’t,” “if the coin is fair” / “if it’s biased”) and you’re asked for something that
depends on which scenario holds ⇒ engine (3).
Most hard problems combine two of these: split into cases (3), then count or build a tree
inside each case.
1.2 Sample space and events
A sample space Ω must be mutually exclusive (exactly one outcome happens) and collectively exhaustive (some outcome always happens), at the coarsest granularity that
still answers the question. An event is any subset A ⊂ Ω.
INTUITION
Choosing Ω is choosing your “zoom level.” If a question never mentions the order of two
coin flips, don’t build Ω out of ordered pairs – you’ll do extra work for nothing. If it does
care about order, collapsing (H, T ) and (T, H) into “one head” will silently break your
uniform-law counting, because now the outcomes aren’t equally likely. The single most
common source of counting errors in this course is picking the wrong Ω, not
messing up the arithmetic once Ω is fixed.
PITFALL
If you ever say “there are 3 outcomes, so each has probability 1/3,” stop and check: are
those 3 outcomes actually equally likely at the level of the underlying experiment? (“I win,
I lose, or I tie” is 3 outcomes but almost never equally likely.)
3
Probability – Intuition & Recognition Guide
1
SAMPLE SPACE AND PROBABILITY
1.3 De Morgan’s laws
!c
[
Sn
n
!c
=
\
\
Snc ,
n
n
Sn
=
[
Snc .
n
RECOGNIZE IT WHEN...
Any time a problem’s event is phrased with a negation of an “or”/“and” – “none of them,”
“not all,” “at least one fails” – De Morgan is how you flip it into something computable.
“At least one” is the single biggest trigger word in this course: it almost always
means compute the complement instead (“none”) because “none” is a clean intersection of
independent-ish events, while “at least one” is a messy union.
INTUITION
“Not (A or B)” means neither A nor B happened, i.e. “not A, and not B.” It’s the same
move as negating a logical statement in everyday speech: “it’s not the case that I’m tired
or hungry” means “I’m not tired, and I’m not hungry.”
1.4 Probability axioms and their derived properties
Nonnegativity, P (Ω) = 1, countable additivity over disjoint events. From these: P (Ac ) =
1 − P (A); P (A ∪ B) = P (A) + P (B) − P (A ∩ B); union bound P (A ∪ B) ≤ P (A) + P (B).
RECOGNIZE IT WHEN...
Question asks for P (at least one of several things) and the events overlap (can both happen) ⇒ inclusion–exclusion, P (A ∪ B) = P (A) + P (B) − P (A ∩ B).
Question asks for P (at least one) and the events are (or can be modeled as) independent
and mutually exclusive-free of double counting ⇒ complement is faster: 1 − P (none).
You only need an upper bound, or the exact overlap is hard to compute ⇒ union bound.
INTUITION
Inclusion–exclusion is just correcting for double-counting: when you add P (A) + P (B), the
outcomes in both A and B got counted twice, so you subtract P (A ∩ B) once to fix it. Draw
the Venn diagram once and you’ll never forget the sign.
WORKED EXAMPLE: Complement beats inclusion–exclusion
A system has 3 independent components, each failing with probability 0.1. Find
P (at least one fails).
Recognition: “at least one” + independent components → don’t inclusion–exclude three
events, complement instead.
P (at least one fails) = 1 − P (none fail) = 1 − (0.9)3 = 1 − 0.729 = 0.271.
4
Probability – Intuition & Recognition Guide
1
SAMPLE SPACE AND PROBABILITY
1.5 Conditional probability
P (A | B) =
P (A ∩ B)
,
P (B)
P (B) > 0.
RECOGNIZE IT WHEN...
The word “given” (or “it is known that,” “suppose we observe,” “conditioned on”) is the
most literal trigger in the whole course. Whenever new information shrinks the space of
possible outcomes, you’re in conditional-probability land. Also watch for:
“What fraction of the people who satisfy B also satisfy A?” → P (A | B).
A two-stage description where the second stage’s probabilities are stated as if the first
stage is already known (“if the coin is fair, ...”; “given that the drawer is drawer i, ...”)
→ these numbers already are conditional probabilities; don’t re-derive them, just plug
them into the multiplication rule or Bayes’ rule.
INTUITION
Conditioning is zooming into the world where B is already true, then re-normalizing so
that smaller world again has total probability 1 (you divide by P (B) precisely to undo the
fact that B itself isn’t certain). Everything you know about probability laws – axioms,
complement rule, inclusion–exclusion – still works inside this zoomed-in world.
PITFALL
P (A | B) ̸= P (B | A) in general. If a problem gives you one and asks for the other, that is
precisely the signal to reach for Bayes’ rule (below) – do not just swap them.
1.6 Total probability theorem and Bayes’ rule
P (B) =
n
X
P (Ai ) P (B | Ai ),
i=1
P (Ai )P (B | Ai )
.
P (Ai | B) = P
j P (Aj )P (B | Aj )
RECOGNIZE IT WHEN...
This is the single most-tested pair of tools in Chapter 1. Look for:
Total probability: you’re asked for P (B) (an unconditional probability of some final
outcome), but the problem naturally gives you P (B | scenario) for several scenarios that
partition the world (different coins, different machines, different weather, a person being
sick or healthy). If you can list “cases” that cover everything and don’t overlap, and you
know P (B) inside each case, that’s total probability.
Bayes’ rule: the problem gives you the probability of evidence given a cause (e.g., “the
test is 95% accurate given you have the disease”) and asks for the probability of the cause
given the evidence (“given you tested positive, what’s the chance you’re sick?”). Any
time the direction of the “given” in the question is the reverse of the direction given in
the data, it’s Bayes’ rule. This includes: diagnostic tests, “which box/coin/urn was it
drawn from,” spam filters, Monty-Hall-style “what does the host’s action tell me.”
5
Probability – Intuition & Recognition Guide
1
SAMPLE SPACE AND PROBABILITY
INTUITION
Total probability is a weighted average: to find the overall chance of B, find the chance of
B in each scenario, then average those, weighting each scenario by how likely it is. Bayes’
rule inverts this: the Ai ’s are candidate “causes” with prior beliefs P (Ai ), B is the evidence
you observed, and P (Ai | B) is your updated belief. The denominator is just the total
probability of the evidence, spread out across which cause could have produced it – it
converts raw likelihood into a genuine probability by normalizing.
The base-rate intuition worth internalizing: if the prior P (Ai ) is tiny, a single piece of
imperfect evidence usually isn’t enough to make P (Ai | B) large, because the sheer volume
of the “not Ai ” population overwhelms the evidence. This is why a “95% accurate” test
on a rare disease still gives a low posterior – always sanity check your Bayes’ rule answer
against this intuition before trusting the algebra.
PITFALL
Students often plug numbers into Bayes’ rule without first identifying a genuine partition.
Before writing the formula, explicitly say out loud: “my Ai ’s are , they’re disjoint, and
they cover everything.” If they don’t cover everything or overlap, the denominator is wrong.
Also: don’t forget the denominator is P (B) computed via total probability – it is not one
of the given numbers.
WORKED EXAMPLE: Bayes’ rule – spotting the reversed conditioning
A factory has two machines. Machine 1 makes 60% of items and 2% are defective; Machine
2 makes 40% and 5% are defective. An item is found defective – what’s the probability it
came from Machine 2?
Recognition: data gives P (defective | machine); question asks P (machine | defective) –
direction is reversed → Bayes’ rule. Partition: A1 = Machine 1, A2 = Machine 2 (disjoint,
exhaustive).
0.4(0.05)
0.02
P (A2 | D) =
=
= 0.625.
0.6(0.02) + 0.4(0.05)
0.032
1.7 Independence
P (A ∩ B) = P (A)P (B) ⇐⇒ P (A | B) = P (A).
RECOGNIZE IT WHEN...
The problem tells you events are independent (or says “the outcomes don’t affect each
other,” “the trials are done separately/repeatedly under identical conditions”) ⇒ you’re
licensed to multiply probabilities directly, skip conditioning.
You are asked to verify independence numerically ⇒ compute P (A ∩ B) one way (from
the description) and P (A)P (B) another way, and compare. Never argue independence
from “intuition” alone when the problem wants a numeric check.
Series/parallel system reliability language (“the system works
Q if all components work”
vs. “if at least one works”) ⇒ product of pi for series, 1 − (1 − pi ) for parallel.
6
Probability – Intuition & Recognition Guide
1
SAMPLE SPACE AND PROBABILITY
INTUITION
Independence is a purely numerical statement, not a story-based one – two events can look
unrelated but fail to be independent, and two events that seem entangled (“first flip is
heads” and “both flips match”) can be independent by pure coincidence of the numbers.
Never trust a plot-level argument for independence; always check the product rule.
PITFALL
Disjoint is not independent – it’s the opposite. If A, B are disjoint and both have
positive probability, then P (A ∩ B) = 0 ̸= P (A)P (B): knowing A happened tells you B
definitely didn’t, which is about as dependent as two events can be. If you ever compute
P (A ∩ B) = 0 and then say “so they’re independent,” that’s backwards – check whether
P (A) or P (B) is also 0; if not, they are strongly dependent.
Also: pairwise independence of n events does not imply mutual independence – if a question
gives you all pairs multiplying correctly, that alone doesn’t let you multiply all n together.
1.8 Counting
Basic counting
n!/(n − k)!. Com
principle: n1 n2 · · · nr . Permutations: n!; k-permutations
n
n
binations: k = n!/(k!(n − k)!). Partitions/multinomial: n1 ,...,nr = n!/(n1 ! · · · nr !).
RECOGNIZE IT WHEN...
This is where most students lose easy points – not because the formulas are hard, but
because they don’t diagnose which counting formula the sentence describes. Ask these
three questions, in order:
1. Does order matter? “Arrange,” “rank,” “sequence,” “password,” “who finishes
1st/2nd/3rd” → order matters (permutation). “Select a committee,” “choose a hand,”
“pick a subset” → order doesn’t matter (combination).
2. Is repetition/replacement allowed? “Without replacement,” “distinct objects,” “no
two the same” → no repetition (use the formulas above directly). “With replacement,”
“can repeat,” “each digit independently” → use the basic counting principle nr , not
factorials.
3. Are you splitting one group into several labeled sub-groups? (“deal cards
to 4 players,” “assign employees to 3 teams”) → multinomial coefficient, of which the
binomial coefficient is just the 2-group case.
A very specific pattern worth memorizing on sight: “exactly j successes when drawing k
items without replacement from a population
n−mwith
m special items and n−m ordinary items”
n
→ hypergeometric counting, P = m
j
k−j
k (choose which special items appear, choose
which ordinary items fill the rest, divide by all equally likely hands).
INTUITION
Combinations are permutations with the ordering information thrown away: there are
n!/(n − k)! ordered arrangements, but each unordered subset of size k got counted k! times
(once per ordering), so divide by k!. Once you see why you divide, you’ll never confuse nk
with n!/(n − k)! again.
7
Probability – Intuition & Recognition Guide
1
SAMPLE SPACE AND PROBABILITY
PITFALL
“At least one” inside a counting problem (“a hand of 5 cards with at least one ace”) is still
the complement trigger from earlier – count the complement (“no aces at all”) and subtract
from the total, rather than trying to directly sum over “exactly 1 ace,” “exactly 2 aces,”
etc.
WORKED EXAMPLE: Diagnosing a counting problem
“In how many ways can 5 differently-colored balls be placed into 3 distinguishable boxes,
with no restriction on how many balls go in a box?”
Recognition: each ball independently picks one of 3 boxes – this is not choosing a subset
(that would be if boxes were indistinguishable and we just cared about a partition size);
it’s the basic counting principle applied ball-by-ball,
with repetition allowed (multiple balls
can land in the same box). Answer: 35 , not 53 or 5!.
8
Probability – Intuition & Recognition Guide
2
DISCRETE RANDOM VARIABLES
2 Discrete Random Variables
2.1 Recognizing the five named distributions
This is pure pattern-matching, and it is tested constantly – often without the distribution being
named, just described. Build this table into instinct:
Distribution The story
Trigger phrases
Bernoulli(p)
“success/failure,”
“a
single
toss/shot/click”
“out of n trials,” “n shots, how many
hit,” “n independent attempts”
“number of tries until,” “how many
attempts before the first,” “repeat
until you succeed”
“on average λ per hour/page/km,”
“arrivals,” “rare events,” no fixed
number of trials at all
“a fair die,” “uniformly chosen integer between a and b”
one trial, two outcomes
Binomial(n, p) count of successes in a fixed number of independent identical trials
Geometric(p) number of trials until the first
success (trial count is the random
part, not fixed)
Poisson(λ)
count of rare events over a continuous span (time/area/length),
rate given, no natural “n”
Discrete Uni- every value in a finite range is
form
equally likely
RECOGNIZE IT WHEN...
The Binomial-vs-Geometric confusion is the single most common distribution mix-up. Ask:
is the number of trials fixed by the problem, or is the number of trials itself
what’s random? “I flip a coin 10 times, how many heads” → Binomial (10 is fixed, headscount is random). “I flip a coin until I get heads, how many flips did it take” → Geometric
(the flip count is exactly the random variable).
The Binomial-vs-Poisson mix-up: if the problem gives you a clean (n, p) with n a specific
integer, use Binomial exactly. If instead you’re given a rate (“3 typos per page,” “2 buses
per hour”) with no natural cap on how many could occur, that’s Poisson – and remember
Poisson is literally the limit of Binomial as n → ∞, p → 0, np = λ fixed, so when a Binomial
has huge n and tiny p, Poisson is often the intended approximation.
INTUITION
Geometric’s PMF pX (k) = (1 − p)k−1 p is just “fail, fail, . . . , fail, succeed” – (k − 1)
independent failures each with probability 1 − p, then one success. You can write down any
Geometric PMF from scratch just by narrating the story; you never need to memorize it as
a bare formula.
2.2 The expected value rule (the workhorse of this chapter)
E[g(X)] =
X
g(x) pX (x).
x
RECOGNIZE IT WHEN...
Whenever
you’re
asked
for
E[some function of X]
–
E[X 2 ],
E[2X ],
E[cost incurred, which depends on X] – and computing the PMF of that new quan-
9
Probability – Intuition & Recognition Guide
2
DISCRETE RANDOM VARIABLES
tity looks painful, you almost never need to. Just plug g(x) straight into the sum over
X’s own PMF. This rule is what makes the variance shortcut formula work, and it’s the
default first move any time “expected value of a transformed/derived quantity” appears.
INTUITION
E[g(X)] is just a weighted average of g(x) values, weighted by how likely each x is – there
was never really a need to re-derive a new PMF for Y = g(X) just to average it; you already
have the weights (pX (x)) sitting right there.
2.3 Variance
var(X) = E[X 2 ] − (E[X])2 ,
E[aX + b] = aE[X] + b,
var(aX + b) = a2 var(X).
RECOGNIZE IT WHEN...
If a problem defines Y = aX + b (rescaling/shifting units – Celsius to Fahrenheit, dollars to
cents, “twice the score plus a bonus point”) and asks for E[Y ] or var(Y ), don’t recompute a
PMF for Y – apply the linear transform rules directly. The additive constant b vanishes
from the variance (shifting doesn’t change spread) but the multiplicative constant gets
squared in the variance (scaling does change spread, and spread can’t go negative) – this
asymmetry is worth remembering as a sanity check on your algebra.
2.4 Linearity of expectation and the indicator-variable trick
E[a1 X1 + · · · + an Xn + c] = a1 E[X1 ] + · · · + an E[Xn ] + c (no independence needed!)
RECOGNIZE IT WHEN...
This is arguably the highest-leverage trick in the entire course, and it has an unmistakable
fingerprint: the problem asks for E[total count of something], where the “something”
is built out of many small, possibly-dependent pieces (matches, fixed points, collisions,
coincidences) – and computing the joint/marginal distribution of the total looks brutal or
even impossible. Examples: “expected number of people who get their own hat back,”
“expected number of cards in the correct position,” “expected number of empty bins,”
“expected number of pairs of students with the same birthday.”
Recipe:Pdefine an indicator XP
i-th “small event” happens, else 0. The total
i = 1 if the P
is X = i Xi . Then E[X] = i E[Xi ] = i P (Xi = 1) – and crucially, this sum works
even if the Xi are wildly dependent on each other, because linearity of expectation never
required independence. You only need P (Xi = 1) for a single index i, which is usually easy
by symmetry.
INTUITION
P
Why does linearity not care
about
dependence?
Because
E[X
+
X
]
=
(xi +
i
j
P
P
xj )pXi ,Xj (xi , xj ) splits into
xi pXi ,Xj +
xj pXi ,Xj regardless of the joint structure –
the cross-terms that dependence would introduce show up in the variance (via covariance),
never in the mean. This is precisely why the hat-check answer is exactly 1, for any number
of hats n, despite the hats being returned in a wildly dependent way (it’s a single random
permutation, not independent draws).
10
Probability – Intuition & Recognition Guide
2
DISCRETE RANDOM VARIABLES
PITFALL
Don’t try to find the distribution of the sum X first – that’s usually the hard, unnecessary
path. If the question only asks for E[X] (not the full distribution or the variance), indicators
+ linearity is almost always faster than building the PMF of X.
WORKED EXAMPLE: Indicator trick in action
n people randomly return n hats (a uniformly random permutation). Find the expected
number of people who get their own hat back.
Recognition: “expected number of matches” in a random permutation – classic indicator
setup, and the matches are clearly not independent (if person 1 gets their hat, that changes
the pool for everyone else), so don’t try to find the PMF of the total.
Let Xi = 1 if person i gets their own hat. By symmetry, person i’s hat is equally likely to
be any of the n hats, so P (Xi = 1) = 1/n. Then
E[X] =
n
X
E[Xi ] = n ·
i=1
1
= 1,
n
regardless of n – a result that would be painful to get by finding the PMF of X directly.
2.5 Conditioning on an RV, and the self-referencing/recursive trick
pX|Y (x | y) =
pX,Y (x, y)
,
pY (y)
E[X] =
X
pY (y) E[X | Y = y]
(total expectation theorem).
y
RECOGNIZE IT WHEN...
Total expectation is the “expectation version” of total probability: it fires whenever you
can split on the outcome of the first step of a multi-step random process and the expected
remaining work only depends on which case you landed in.
The much sneakier and higher-value pattern: self-referencing/recursive expectation.
This fires when a process can, with some probability, “reset to the exact same situation it
started in.” Signal words: “repeat until,” “keep going until,” “if you fail, you’re back to
where you started,” or any process defined by “waiting for” or “chasing” something with
no fixed number of steps. The trick: let E[X] be the unknown you want; condition on the
first step; if one branch leads back to the identical sub-problem, that branch contributes a
term like (1 − p)(1 + E[X]); solve the resulting linear equation for E[X] algebraically – you
never sum an infinite series.
INTUITION
This works because of memorylessness: if the first trial fails, absolutely nothing about the
problem has changed except that you’ve used up one trial – you’re facing the exact same
distribution of remaining trials as when you started. That’s what licenses writing “E[X]”
again on the right-hand side instead of some new unknown.
WORKED EXAMPLE: Deriving Geometric’s mean without summing a series
X = number of i.i.d. Bernoulli(p) trials until the first success. Find E[X].
Recognition: “until the first success” + the processP
trivially resets after a failure → condition
on trial 1 and solve a linear equation, don’t sum k k(1 − p)k−1 p.
11
Probability – Intuition & Recognition Guide
E[X] =
p·1
|{z}
succeed immediately
+
2
DISCRETE RANDOM VARIABLES
(1 − p) 1 + E[X]
{z
}
|
1
=⇒ E[X] = .
p
fail, then start fresh, having used 1 trial
This exact recursive move is how you’ll want to approach recursive-game and random-walk
problems later in the course (gambler’s ruin, branching processes) – condition on the first
step, notice the sub-problem is identical to the original, write a linear (or polynomial)
equation, and solve.
PITFALL
The recursive trick only works when the “reset” branch is truly identical to the original
problem (same distribution of future trials, same target). If the problem changes state in a
way that doesn’t reset cleanly (e.g., a gambler’s fortune changes, so the “distance to ruin”
changes), you need a family of equations indexed by the state, not a single equation – see
gambler’s ruin in the playbook.
2.6 Independence of random variables, and when variance adds
RECOGNIZE IT WHEN...
var(X +Y ) = var(X)+var(Y ) requires independence; linearity of the mean, E[X +Y ] =
E[X] + E[Y ], never does. If a problem’s variables are dependent (e.g., the indicator-trick
setups above), you can still safely add expectations, but you cannot casually add variances
– the cross term (covariance) generally survives.
12
Probability – Intuition & Recognition Guide
3
GENERAL RANDOM VARIABLES (§3.1–3.5)
3 General Random Variables (§3.1–3.5)
3.1 From sums to integrals – what actually changes
INTUITION
Almost nothing conceptually new happens in Chapter 3 – every discrete idea (PMF, expectation, variance, conditioning, independence, Bayes’ rule) has a direct continuous analog
with sums replaced by integrals and PMFs by PDFs. The genuinely new fact to internalize
is that P (X = x) = 0 for every single point, so probability only lives in intervals, computed as area under the density. This is why endpoints never matter for continuous RVs
(P (a ≤ X ≤ b) = P (a < X < b)) but mattered constantly for discrete ones.
RECOGNIZE IT WHEN...
If a problem says “chosen uniformly on an interval/region,” “a continuous random amount
of time,” or gives you a formula for a density fX (x) directly, you’re in continuous territory
– switch every sum in your Chapter 2 toolkit to an integral and keep going. If a problem
mixes a discrete quantity (a coin flip, a category) with a continuous one (noise, timing),
that’s the mixed Bayes’ rule territory in §3.5.
3.2 Recognizing Uniform, Exponential, and Normal
Distribution
The story
Trigger phrases
Continuous
Uniform[a, b]
no value in a range is favored
Exponential(λ)
continuous analog of Geometric: waiting time for a rare event, no memory
of past waiting
sum/aggregate of many small independent effects; noise; measurement error
“arrives uniformly between,” “a point chosen at
random on a segment/region”
“time
until
failure/arrival/decay,” “lifetime of a
component,” rate λ given
“noise,”
“measurement
error,” “naturally varying quantity,”
explicit
bell-curve language
Normal(µ, σ 2 )
RECOGNIZE IT WHEN...
Memorylessness is Exponential’s fingerprint: if a problem says (or implies) “given that the
component has already survived t minutes, find the probability it survives x more minutes,”
and there’s no aging/wear-out story, the answer is the same as if it were brand new –
P (T > t + x | T > t) = P (T > x). If a problem tries to make you compute a complicated
conditional survival probability for an Exponential RV, this property likely lets you skip
the computation entirely (this is the exact structure of the Geometric memorylessness in
Chapter 2, now in continuous time).
3.3 CDFs, and deriving a PDF via the CDF
FX (x) = P (X ≤ x),
13
fX (x) = FX′ (x).
Probability – Intuition & Recognition Guide
3
GENERAL RANDOM VARIABLES (§3.1–3.5)
RECOGNIZE IT WHEN...
Whenever a random variable is defined as a function/transformation of another (e.g.
Y = max(X1 , X2 ), Y = X 2 , or “the time of the last arrival”), and you’re asked for Y ’s
distribution, the standard move is: find FY (y) = P (Y ≤ y) first (often easy, since “≤ y”
translates cleanly through max/min/monotonic transformations), then differentiate to
get fY . Trying to find fY directly, without going through the CDF, is usually much harder
for anything beyond a simple linear transformation.
3.4 Standardizing the Normal
x−µ
.
P (X ≤ x) = Φ
σ
X −µ
Y =
∼ N (0, 1),
σ
RECOGNIZE IT WHEN...
Any question that gives you X ∼ N (µ, σ 2 ) and asks for P (X ≤ a), P (X ≥ a), or P (a ≤
X ≤ b) is asking you to standardize and read a Φ-table – there is no other route. The recipe
is completely mechanical: subtract µ, divide by σ, look up Φ, and use Φ(−y) = 1 − Φ(y)
for negative arguments (tables usually only list y ≥ 0).
PITFALL
Don’t forget Φ(−y)
= 1 − Φ(y), not −Φ(y) – a probability can’t be negative. Also: P (X ≥
a) = 1 − Φ a−µ
,
easy
to flip by accident under exam pressure.
σ
3.5 Conditioning on an event, and total probability for densities
fX|A (x) =
fX (x)
for x ∈ A,
P (X ∈ A)
fX (x) =
X
P (Ai ) fX|Ai (x).
i
INTUITION
Conditioning a density on an event is “crop and renormalize”: take the slice of fX that
lies in A, then scale it up so the cropped piece again integrates to 1. Total probability for
densities is the same divide-and-conquer instinct from Chapter 1, just applied to a density
instead of a single number – if a continuous outcome’s distribution genuinely depends on
which of several discrete scenarios occurred, weight each scenario’s conditional density by
that scenario’s probability and add.
3.6 Multiple continuous RVs and continuous/mixed Bayes’ rule
fX|Y (x | y) =
fX,Y (x, y)
,
fY (y)
P (X = x | Y = y) =
pX (x)fY |X (y | x)
(mixed case).
fY (y)
RECOGNIZE IT WHEN...
The mixed Bayes’ rule – discrete hypothesis, continuous (noisy) evidence – is the formula behind every “signal detection” or “parameter estimation from a noisy measurement”
problem: a hidden discrete state (which symbol was sent, which machine produced this) is
corrupted by continuous noise (often Normal), and you’re asked for the posterior probabil-
14
Probability – Intuition & Recognition Guide
3
GENERAL RANDOM VARIABLES (§3.1–3.5)
ity of the state given the observed real-valued measurement. The structure is identical to
ordinary Bayes’ rule – prior × likelihood, normalized – just with a density standing in for
the likelihood term because the evidence is continuous.
INTUITION
Independence of continuous RVs still means “the joint splits into a product of marginals,”
fX,Y = fX fY – and just like the discrete case, this is a numerical fact to check, not something
you get to assume from a sympathetic-sounding story.
15
Probability – Intuition & Recognition Guide
4
THE ASSIGNMENT 1 PLAYBOOK
4 The Assignment 1 Playbook
This section re-runs every problem from your Monsoon 2026 Assignment 1, but the emphasis
is on the first ten seconds – what in the wording tells you which tool to reach for – before
the algebra. Read the Signal line before you read the solution and see if you’d have called it
yourself.
Q1 – The three coins
Signal: you’re given P (heads | coin type) for three coin types and asked about the coin’s
identity given heads was observed – direction of conditioning is reversed → Bayes’ rule with
a 3-way partition.
“Opposite face is tails” can only happen for the HT coin (HH’s opposite face is heads; TT
can’t show heads at all). So the question is really: P (coin is HT | heads observed). With
P (HH) = P (TT) = P (HT) = 31 and P (H | HH) = 1, P (H | T T ) = 0, P (H | HT ) = 12 :
P (H) = 31 (1) + 13 (0) + 13 12 = 12 ,
1 1
·
P (HT | H) = 3 1 2 = 13 .
2
Q2 – Cars on a highway
Signal: “at least one car” → complement (“no car”); “probability of seeing a car is uniform
for the entire 20 minutes” is the license to treat non-overlapping sub-intervals as independent
– split the 20-minute interval into four identical, independent 5-minute pieces.
Let q = P (no car in 5 min). Independence across the four 5-minute sub-intervals gives
P (no car in 20 min) = q 4 . We’re told P (at least one in 20 min) = 609/625, so
16
q 4 = 1 − 609
625 = 625 =
2 4
5
⇒ q = 25 .
P (at least one in 5 min) = 1 − q = 35 .
This “split the interval, assume independence, take a root” move is exactly the reasoning
that underlies why Exponential/Poisson processes exist – worth remembering when you
meet them properly in Chapter 3.
Q3 – Rare disease, imperfect test
Signal: textbook Bayes’-rule diagnostic setup – data gives P (result | health status), question wants P (health status | result). Before computing, predict the shape of the answer:
disease is very rare (1 in 10,000) and the test isn’t perfect, so expect a small posterior
despite a positive result (base-rate fallacy).
P (D) = 10−4 , P (Dc ) = 1 − 10−4 . P (+ | Dc ) = 0.02, P (− | D) = 0.01 ⇒ P (+ | D) = 0.99.
P (+) = (10−4 )(0.99) + (0.9999)(0.02) = 0.000099 + 0.019998 = 0.020097,
0.000099
≈ 0.00493 (under 0.5%).
0.020097
Exactly the shape predicted: even a “pretty good” test barely moves the needle when the
disease is this rare.
P (D | +) =
16
Probability – Intuition & Recognition Guide
4
THE ASSIGNMENT 1 PLAYBOOK
Q4 – Alice’s drawers
Signal: this looks like ordinary Bayes’ rule, but with a twist that trips people up: the
“evidence” (an unsuccessful search of drawer i) is not simply “paper is not in drawer i.”
Even if the paper is in drawer i, the search can still fail (probability 1 − di ). So you
must build the event “search unsuccessful” out of two sub-cases before you can apply total
probability – read the problem twice before writing any formula here.
Let U = “search of drawer i unsuccessful.”
If the paper is in some drawer j ̸= i: the search in i automatically fails, so P (U |
paper in j) = 1.
If the paper is in drawer i: the search fails with probability 1 − di .
By total probability,
P (U ) =
X
pj · 1 + pi (1 − di ) = (1 − pi ) + pi (1 − di ) = 1 − pi di .
j̸=i
Now apply Bayes’ rule for each case:
P (paper in j | U ) =
pj
1 − pi di
(j ̸= i),
P (paper in i | U ) =
Sanity check: these should sum to 1 over all j – they do, since
(1 − pi ) + pi − pi di = 1 − pi di , matching the denominator.
Q5 – E[N ] =
pi (1 − di )
.
1 − pi di
P
j̸=i pj + pi (1 − di ) =
P
i≥1 P (N ≥ i)
Signal: an identity relating an expectation to a sum of tail probabilities is almost always
proved by writing the random variable itself as a sum of indicators – the same trick as the
hat-check problem, just applied to N ’s own value rather than a count of separate events.
For a non-negative integer N , notice that
N=
∞
X
1{N ≥ i}
i=1
because the indicator 1{N ≥ i} equals 1 for exactly i = 1, . . . , N and 0 afterward – so the
sum has exactly N ones in it. Take expectations of both sides and use linearity (justified
for non-negative terms):
E[N ] =
∞
X
E[1{N ≥ i}] =
i=1
∞
X
P (N ≥ i).
■
i=1
Q6 – When does E[1/X] = 1/E[X]?
Signal: 1/x is a strictly convex function on (0, ∞), so Jensen’s inequality says E[1/X] ≥
1/E[X] in general – and this question is really asking you to recall when Jensen’s inequality
becomes an equality: only when X is (almost surely) a constant, i.e., a degenerate random
variable, because a strictly convex function only agrees with its own chord when the two
endpoints of the chord coincide.
Example: let X be the (trivial) random variable with P (X = c) = 1 for some constant
c > 0. Then E[1/X] = 1/c and 1/E[X] = 1/c – equal. (Any non-degenerate X will make
17
Probability – Intuition & Recognition Guide
4
THE ASSIGNMENT 1 PLAYBOOK
the inequality strict, so this is essentially the only kind of example that works.)
Q7 – P (X = j) = 2−j
Signal: recognize pX (j) = 2−j = (1 − 12 )j−1 · 21 for j = 1, 2, . . . – this is exactly the
Geometric(p = 12 ) PMF. Once you see that, (a) and (b) are lookups, and (c)–(e) are all the
same trick: a geometric series restricted to an arithmetic subsequence of indices is itself a
geometric series with ratio rm where m is the step size.
P
1/2
−j =
(a) ∞
= 1. ✓
j=1 2
1 − 1/2
(b) Geometric( 21 ) mean/variance formulas: E[X] = 1/p = 2, var(X) = (1 − p)/p2 = 2.
P
1/4
1
−2k =
(c) P (X even) = ∞
= .
k=1 2
1 − 1/4
3
P5
31
−j
−5
(d) P (X ≤ 5) = j=1 2 = 1 − 2 = .
32
P∞ −3k
1/8
1
(e) P (3 | X) = k=1 2
=
= .
1 − 1/8
7
Q8 – Log-concavity of Binomial and Poisson
Signal: an inequality about a PMF at three consecutive points (k − 1, k, k + 1) is a ratiotest problem: compute r(k) = pX (k + 1)/pX (k) symbolically, and show it is non-increasing
in k. That single fact is algebraically equivalent to pX (k−1)pX (k+1) ≤ pX (k)2 (divide both
sides by pX (k − 1)pX (k) to see pX (k + 1)/pX (k) ≤ pX (k)/pX (k − 1), i.e., r(k) ≤ r(k − 1)).
pX (k + 1)
n−k
p
Binomial(n, p):
=
·
, and n−k
k+1 is strictly decreasing in k – so r(k) is
pX (k)
k+1 1−p
decreasing, giving the inequality.
λ
pX (k + 1)
=
, also decreasing in k – same conclusion.
Poisson(λ):
pX (k)
k+1
Equality example: take the Geometric(p) PMF, pX (k) = (1 − p)k−1 p. Its ratio pX (k +
1)/pX (k) = 1 − p is constant in k, so r(k) = r(k − 1) exactly, giving pX (k)2 = pX (k −
1)pX (k + 1) for every k – the boundary case where the “≤” becomes “=.”
Q9 – Marksman award
Signal: two layers, and you should notice the layer-change. Layer 1: “hits at least 5 of 6
shots” is a fixed-n count of independent identical trials → Binomial tail probability. Layer
2: “repeat the feat three times straight” treats winning a set itself as a new, higher-level
Bernoulli trial, with success probability equal to whatever you computed in Layer 1 – then
“three straight” is just that new trial repeated 3 independent times.
(a) With p = 0.8, n = 6:
6
6144 4096
10240
q = P (win a set) = P (X=5)+P (X=6) =
(0.8)5 (0.2)+(0.8)6 =
+
=
= 0.65536 .
5
15625 15625
15625
(b) Becoming a marksman is winning 3 straight sets, each independently with probability
q (nothing about one set’s outcome changes the next set’s shot probabilities):
P (marksman) = q 3 = (0.65536)3 ≈ 0.28147 .
18
Probability – Intuition & Recognition Guide
4
THE ASSIGNMENT 1 PLAYBOOK
Q10 – Monty Hall
Signal: the host’s action is informed (he knows where the car is and never opens it),
so opening a door is genuine evidence – this is Bayes’ rule where the “likelihood” term
depends on the host’s known strategy, not a coincidence. The classic error is assuming the
two remaining doors are now symmetric (50/50); they are not, because the host’s action
was not random.
Say you pick door 1. The host’s strategy: if the car is behind door 1, he picks between
doors 2 and 3 uniformly at random; if the car is behind door 2, he’s forced to open door
3; if behind door 3, forced to open door 2. Suppose he opens door 2. By Bayes’ rule with
partition {car in 1, 2, 3} (each prior 31 ):
P (opens 2) = 13 12 + 13 (0) + 13 (1) = 12 ,
1 1
·
P (car in 1 | opens 2) = 3 1 2 = 13 ,
1
·1
P (car in 3 | opens 2) = 3 1 = 32 .
2
2
You should switch; it doubles your win probability to 32 . The intuitive one-liner: your
original door was locked in at 13 before any information arrived, and the host’s guaranteedgoat reveal can never change that number for the door you’re standing on – so all of the
“missing” probability has nowhere to go but the other unopened door.
Q11 – Dice-rolling game
Signal: “the game continues until someone wins” with turns alternating is the selfreferencing/recursive pattern from the Geometric-mean derivation: if both players fail in
a round, the game is in exactly the same state it started in (A about to roll, nobody has
won). Condition on one full round and solve a linear equation for p = P (A wins) – don’t
sum an infinite series over rounds.
5
6
P (A rolls a 6 with two dice) = 36
; P (B rolls a 7) = 36
= 61 . One round: A rolls first.
1
5
5
5
p=
+ 1 − 36
· 6 · 0 + 1 − 36
1 − 16 p .
36
|{z}
|
{z
}
|
{z
}
A wins this round
A fails, B wins
both fail→identical restart
5/36
5
5
155
5
30
p = 36
+ 31
·
p
=⇒
p
1
−
36 6
216 = 36 =⇒ p = 61/216 = 61 .
Q12 – Amoeba extinction
Signal: this is the recursive trick’s harder sibling. “Each offspring behaves the same,
independently” means that if the amoeba splits into k copies, extinction of the whole lineage
requires each of those k independent copies to separately go extinct – so instead of a linear
equation (p = · · · + (something) · p), conditioning on the first minute gives a polynomial
fixed-point equation, s = G(s), where G is the offspring probability generating function
and sk appears for the “splits into k” branches (this is the branching-process generalization
of “condition on step 1, get the same sub-problem back”).
Offspring distribution: die (0), stay (1), split-2 (2), split-3 (3), each with probability 41 . Let
s = extinction probability. Conditioning on the first minute:
s = 41 (1) + 14 (s) + 14 (s2 ) + 14 (s3 ) =⇒ 4s = 1 + s + s2 + s3 =⇒ s3 + s2 − 3s + 1 = 0.
√
Factor out the obvious root s = 1: s3 + s2 − 3s + 1 = (s − 1)(s2 + 2s − 1), giving s = −1 ± 2
from the quadratic. The extinction probability is the smallest non-negative root (standard
19
Probability – Intuition & Recognition Guide
4
THE ASSIGNMENT 1 PLAYBOOK
branching-process fact, and it matches intuition here since the mean offspring count is
0+1+2+3
= 1.5 > 1, a supercritical/growing process, so extinction should be < 1):
4
s=
√
2 − 1 ≈ 0.4142 .
Q13 – Two envelopes, randomized threshold
Signal: the instinctive (wrong) reaction is “the amounts are fixed constants, so no randomized rule can beat coin-flip guessing.” The fix is to realize the probability you need to
compute is over your own randomization X, for fixed but unknown a < b – and because
X’s support (half-integers 1.5, 2.5, 3.5, . . . ) is spread densely enough that there is always
positive probability X lands strictly between any two distinct positive integers a < b, that
event alone breaks the symmetry in your favor.
Let a < b be the two (fixed, unknown) envelope amounts; you see one of them with probability 21 each. You end up with the larger amount b exactly when:
you saw a and X > a (you switch, correctly), or
you saw b and X ≤ b (you don’t switch, correctly).
P (success) = 12 P (X > a) + 21 P (X ≤ b) = 12 1 + P (a < X ≤ b) = 21 + 12 P (a < X ≤ b).
Since a, b are distinct integers, b ≥ a + 1, so the half-integer a + 0.5 always satisfies a <
a+0.5 ≤ b – meaning P (a < X ≤ b) > 0 no matter what a, b are (as long as X’s distribution
puts positive mass at every half-integer, which the given construction does). Therefore
P (success) = 21 + 12 P (a < X ≤ b) > 12 .
Your friend is correct – the strategy strictly beats 12 , and the reason has nothing to do
with learning the values of a, b: it comes purely from the fact that with positive probability,
your randomized threshold lands between the two amounts, at which point the rule succeeds
regardless of which envelope you originally picked.
Q14 – Gambler’s ruin
Signal: a fortune that moves +1/−1 with equal probability until it hits 0 or a target N is
the textbook gambler’s ruin random walk. This looks like the recursive trick from Q11, but
with a crucial difference: the “sub-problem” after one step is not identical to the original –
your fortune is now i±1, a genuinely different starting point. So you don’t get one equation,
you get a whole family of equations indexed by fortune i,
pi = 21 pi−1 + 21 pi+1 ,
p0 = 0, pN = 1,
whose solution for a fair coin is the linear interpolation pi = i/N (this is a standard,
memorizable result for the symmetric random walk – worth recognizing on sight so you
don’t re-derive the whole difference equation under exam time pressure).
Here i = 200 (starting rupees) and N = 2,000,000 (car cost), so
P (reaches the car) =
P (bankrupt) = 1 −
200
= 0.0001,
2,000,000
200
= 0.9999 .
2,000,000
20
Probability – Intuition & Recognition Guide
4
THE ASSIGNMENT 1 PLAYBOOK
The takeaway worth internalizing for exams: in a fair game with a hard lower boundary
at 0, starting far from your goal relative to the total distance makes ruin overwhelmingly
likely, even though each individual bet is perfectly fair.
Q15(a) – Pairwise independence does not extend to unions
Signal: “prove or disprove” plus a claim about independence extending to a union is a
strong hint to look for a small, symmetric counterexample rather than attempt a general
proof – unions rarely preserve independence because P (B ∪ C) mixes P (B), P (C), and
P (B ∩ C) together, giving the algebra room to fail.
Counterexample: let Ω = {1, 2, 3, 4}, each outcome with probability 14 . Let A = {1, 2},
B = {1, 3}, C = {1, 4}.
P (A) = P (B) = P (C) = 12 ,
P (A ∩ B) = P ({1}) = 41 = P (A)P (B) ✓
and symmetrically P (A ∩ C) = 41 = P (A)P (C) – so A is independent of B and of C
separately. But B ∪ C = {1, 3, 4}, so P (B ∪ C) = 43 , while
A ∩ (B ∪ C) = {1, 2} ∩ {1, 3, 4} = {1},
P (A ∩ (B ∪ C)) = 14 ,
P (A)P (B ∪ C) = 12 · 34 = 38 ̸= 14 .
So A is not independent of B ∪ C – the claim is disproved.
Q15(b) – P (A | A ∪ B) ≥ P (A | B)
Signal: comparing P (A | ·) under two different conditioning events, one of which (A ∪ B)
is a superset built directly from A itself, is usually resolved fastest by writing everything
in terms of the three basic quantities P (A), P (B), P (A ∩ B) and reducing to elementary
algebra, rather than reasoning about the events directly.
Let x = P (A), y = P (B), z = P (A ∩ B) (so 0 ≤ z ≤ min(x, y)). Since A ⊂ A ∪ B,
A ∩ (A ∪ B) = A, so
P (A | A ∪ B) =
x
,
x+y−z
P (A | B) =
z
.
y
z
x
≥
(all quantities positive, so cross-multiplication preserves the
x+y−z
y
inequality) is equivalent to
The claim
xy ≥ z(x + y − z) = zx + zy − z 2 ⇐⇒ xy − zx − zy + z 2 ≥ 0 ⇐⇒ (x − z)(y − z) ≥ 0.
Since z = P (A ∩ B) ≤ P (A) = x and z ≤ P (B) = y, both factors are non-negative, so the
product is non-negative. ■
Intuition to remember this by: conditioning on A ∪ B is “friendlier” to A than conditioning
on B alone, because the event A ∪ B already includes every outcome where A directly holds
– it can never dilute A’s share of the conditioning event more than B alone does.
21
0
You can add this document to your study collection(s)
Sign in Available only to authorized usersYou can add this document to your saved list
Sign in Available only to authorized users(For complaints, use another form )