Goal: tell apart a number from a random variable, and read a definition correctly.
Recall Solution L1.1
(a) Number. No conditioning at all — a single best guess before any info.
(b) Number. We fixed the value Y=3, so nothing random is left; it is one specific average.
(c) Random variable. Capital Y stays random. It is the function g(Y)=E[X∣Y=y]y=Y, so its value changes as Y changes.
(d) Number. The outerE[⋅] averages the random variable in (c) over all Y; by the Tower Rule it equals E[X].
Rule of thumb: lower-case y (or a fixed event) → number; capital Y still inside → random variable.
Recall Solution L1.2
Given B, the outcomes are {2,4,6}, each equally likely with conditional probability 31.
E[X∣B]=2⋅31+4⋅31+6⋅31=32+4+6=312=4.
This is just the ordinary mean, but computed using the conditional distribution (only even faces survive).
Goal: apply the Tower Rule and "take out what is known" in one clean step.
Recall Solution L2.1
Let Y be the coin. Condition on it:
E[X∣Y=H]=3.5,E[X∣Y=T]=10.
Tower Rule, weighting by P(Y=H)=P(Y=T)=21:
E[X]=21(3.5)+21(10)=213.5=6.75.
Recall Solution L2.2
Once Y is known, Y2 is a constant and pulls out:
E[Y2X∣Y]=Y2E[X∣Y]=Y2⋅3.5,
using independence (X⊥Y) to write E[X∣Y]=E[X]=3.5.
Take expectations (Tower Rule):
E[Y2X]=3.5E[Y2].
For a fair die, E[Y2]=612+22+⋯+62=691. So
E[Y2X]=3.5⋅691=27⋅691=12637≈53.083.
Recall Solution L2.3
The mean of a uniform on [0,y] is the midpoint 20+y=2y, so
E[X∣Y=y]=2y⟹E[X∣Y]=2Y.
Tower: E[X]=E[2Y]=21E[Y]=21⋅21=41.
Goal: choose the conditioning variable that makes a messy problem easy, and handle mixed/continuous cases.
Recall Solution L3.1
Condition on the chosen p. A geometric variable (first success) with success probability p has mean p1:
E[N∣p=31]=3,E[N∣p=21]=2.
Tower Rule, equal weights 21:
E[N]=21(3)+21(2)=25=2.5.
Conditioning on p turned an ugly mixture into two textbook geometrics.
Recall Solution L3.2
Given N=n, linearity of expectation gives E[S∣N=n]=n⋅3.5. Hence E[S∣N]=3.5N.
Tower:
E[S]=E[3.5N]=3.5E[N]=3.5⋅3.5=12.25.
(This is exactly the shape of Wald's identity: E[S]=E[N]E[X] when N is independent of the Xi.)
Recall Solution L3.3
Same midpoint reasoning: E[X∣Y=y]=2y, so E[X∣Y]=2Y.
Now E[Y]=20+2=1, so
E[X]=E[2Y]=21⋅1=21.
The red line in the figure is the conditional-mean function y↦y/2; averaging its height over the range of Y (weighted by Y's uniform density) lands at E[X]=21.
Goal: combine tower + take-out + variance decomposition to reach a non-obvious quantity.
Recall Solution L4.1
Y is known once we condition on it, so pull it out:
E[XY∣Y]=YE[X∣Y]=Y⋅2Y=2Y2.
Tower:
E[XY]=E[2Y2]=21E[Y2].
For Y∼U(0,1), E[Y2]=∫01y2dy=31. Hence
E[XY]=21⋅31=61≈0.1667.
Recall Solution L4.2
Within-group term. A uniform on [0,y] has variance 12y2, so Var(X∣Y)=12Y2 and
E[Var(X∣Y)]=121E[Y2]=121⋅31=361.Between-group term. We have E[X∣Y]=2Y, so
Var(2Y)=41Var(Y)=41⋅121=481,
using Var(Y)=12(1−0)2=121 for a uniform on [0,1].
Add:Var(X)=361+481.
Common denominator 144: 1444+1443=1447≈0.04861.
Goal: a full multi-stage argument mixing tower, take-out, and a limiting/degenerate check.
Recall Solution L5.1
Mean (Wald / tower). Given N=n, E[S∣N=n]=n⋅10, so E[S∣N]=10N. Tower:
E[S]=10E[N]=10⋅4=40.Variance (Eve's Law).
Within-group: given N=n, the Xi are independent, so Var(S∣N=n)=n⋅25, i.e. Var(S∣N)=25N. Thus
E[Var(S∣N)]=25E[N]=25⋅4=100.
Between-group: E[S∣N]=10N, so
Var(E[S∣N])=100Var(N)=100⋅4=400,
using Var(N)=λ=4 for a Poisson.
Add:
Var(S)=100+400=500.Sanity/degenerate check. If every customer spent exactly 10 (so Var(Xi)=0), the within-group term vanishes and Var(S)=100Var(N)=400 — pure customer-count randomness. Our extra 100 is precisely the spending randomness. Both effects add, as Eve's Law demands.
Recall Solution L5.2
If Y≡c always, then conditioning on Y tells you nothing you didn't already know — every outcome already has Y=c. So the conditional distribution of X equals its unconditional one:
E[X∣Y]=E[X∣Y=c]=E[X],
a constant random variable. Then
E[E[X∣Y]]=E[E[X]]=E[X],
since the expectation of a constant is itself. The Tower Rule collapses to the identity E[X]=E[X] — the boundary case where "splitting into groups" makes exactly one group. This mirrors the independence collapse rule: a constant is independent of everything.
Recall Self-check: which tool for which job?
Given E[XY] where Y is the conditioning variable — first move? ::: Take out what is known: E[XY∣Y]=YE[X∣Y], then apply the tower.
Compound sum S=∑1NXi, want the mean? ::: Tower / Wald: E[S]=E[N]E[X].
Compound sum, want the variance? ::: Eve's Law: E[N]Var(X)+Var(N)(E[X])2.
Conditioning variable is a constant — what happens to E[X∣Y]? ::: It equals E[X]; the tower becomes a trivial identity.
When is "plain average of conditional means" valid? ::: Only when all P(Y=y) are equal.