← All 70 questions
Question 70·Sidney Sussex College·2025·Quick to state and easy to guess wrong, so every mark is earned in normalising by the conditioning event, in refusing the false independence, and in saying what changes when the conditioning set has probability zero
Conditional probability on a continuous sample space: the conditioning event has area rather than count, so the answer is a ratio of regions — and conditioning on the positive-measure event X>0.5 is a different question from conditioning on the single point X=0.5
6–9 minutes at interview pace
Live video, shared whiteboard. Everything under BOARD is written with the pen; everything under SAY is spoken over it, at the same time. Never write a line in silence, and never say a line you have not put on the board.
You choose two numbers at random from a uniform distribution between 0 and 1. Given that the first number is greater than 0.5, what is the probability that the sum of the two numbers is greater than 1?
Answer: Pr⁡(X+Y>1|X>0.5)=Pr⁡(A∩B)Pr⁡(A)=3/81/2=34, and in general Pr⁡(X+Y>1|X>c)=𝔼[X|X>c]=1+c2 on 0≤c<1, flat at 12 for c≤0 and undefined for c≥1

The whiteboard, beat by beat

1 · Orient · beat 1 of 9

Name the two events, and say what kind of object is being asked for

X, Y independent, uniform on (0,1)
unit square D=[0,1]2, density fX,Y(x,y)=1⋅1=1
A={X>0.5}a vertical strip,B={X+Y>1}a half-plane,Pr⁡(A)=Pr⁡(B)=12
wanted:Pr⁡(B|A)=Pr⁡(A∩B)Pr⁡(A)legal because Pr⁡(A)=12>0
(A) area, (B) on X=x, (C) joint of X+Y
(D) seeded Monte Carlo
What you say, out loud

Let me describe the object before I compute with it. I draw two independent uniform numbers, so my sample space is the unit square, and the joint density on that square is the constant one, so a probability here is literally an area. That one sentence is what makes the rest of this question geometric rather than combinatorial.

Two events matter, and I write both down. A is the vertical strip where the first number x exceeds a half. B is the half-plane above the line x plus y equals one. Each has probability a half - the strip is half the square, the line is a diagonal - and what is asked is one given the other.

What is asked is a conditional probability, so the definition goes on the board first, as the probability of the intersection over the probability of the conditioning event. The denominator is a half, which is strictly positive, and that is exactly why the definition applies here with no further machinery.

I will do it three ways and then check it numerically. First the area ratio, then the pointwise route in x, then the joint ratio through the density of the sum, plus a seeded simulation. I will not guess the number first, because on a continuous space the plausible guesses go wrong in more than one direction.

The seeded Monte Carlo comes last, and it earns no number of its own until the area route has produced one.

Why this beat exists: The key-points page for this question records that the college is testing conditional probability married to a geometric model and expects the candidate to reach instinctively for the two-dimensional sample space, so naming the events and the ratio before any integration is the opening move.
2 · Set up · beat 2 of 9

Write the definition, then read it as a ratio of areas

Pr⁡(B|A)=Pr⁡(A∩B)Pr⁡(A)= ∬A∩B1dxdy  ∬A1dxdy =area⁡(A∩B)area⁡(A)
area⁡(A)=(1−0.5)×1=12
dividing by Pr⁡(A) doubles overlap:
Pr⁡(B|A)=2⋅area⁡(A∩B).
Pr⁡(A∩B)≠Pr⁡(A)Pr⁡(B) : not independent
replace A by point {X=0.5}: ratio is 0/0
sanity: in [0,1], above 12, =12 at c=0
A lifts X: expect >12, lower = error
What you say, out loud

So let me make the area claim explicit rather than hand-wavy. The conditional is the probability of the intersection divided by the probability of the conditioning event, and both of those are integrals of the constant density one, so both are just areas. My job reduces to two areas and a division.

The denominator is a half - the strip is half the square - so dividing by it multiplies the overlap by two. I keep that factor of two written down, because forgetting it is the single most common way to get this question wrong.

Now the two warnings, and I want them on the board rather than in my head. First, the definition factors nothing. The intersection is not the product unless the two events are independent, and both of these talk about the same variable, so I will check independence with numbers further down rather than assume it. Second, the definition needs a positive denominator, which is exactly what fails if someone replaces the strip by the single line x equals a half. I will come back to that, because it is the real subject of this question.

And I set the frame the answer has to sit in. It lies between zero and one, equals a half if I condition on nothing, and sits above a half here, because knowing the first number is large can only help the sum exceed one. If my computation lands below a half, I look for my mistake.

Why this beat exists: Define, then claim. The two disclaimers are what the examiner is waiting to hear, and both are paid off later — independence in beat 6, the probability-zero conditioning in beat 9.
3 · Draw · beat 3 of 9

One cut of the square produces numerator and denominator together

strip A: 0.5<x<1, full height, area 12
line x+y=1 from (0,1) to (1,0): meets x=0.5 at (0.5,0.5)
A∩B = strip minus corner {x>0.5, x+y<1}
corner: triangle (0.5,0),(1,0),(0.5,0.5), legs 0.5 and 0.5
area⁡(A∩B)=12−12⋅12⋅12=12−18=38⟹Pr⁡(B|A)=3/81/2=34
check: removed corner 18 is Pr⁡(Ac∩B)
reassemble: 38+18=12=Pr⁡(B), no calculus
3/81/81/8x + y = 1x = 0.5strip partthat countsstrip A: area 1/200.5100.513/8 + 1/8 = 1/2 = Pr(X + Y greater than 1),and 3/8 divided by 1/2 = 3/4
The figure proves the number and its own consistency check: the strip X>0.5 (area 1/2) is cut by the line x+y=1 into a part of area 3/8 where the sum exceeds 1 and a corner triangle of area 1/8 where it does not, so the conditional probability is (3/8)/(1/2) = 3/4; and because the same line cuts a triangle of area 1/8 out of the complementary strip X<=0.5 as well, the two halves recombine to 3/8 + 1/8 = 1/2, which is the unconditional Pr(X+Y>1) that the density route of beat 6 has to reproduce.
What you say, out loud

I will draw it, partly to check I have not fooled myself. The strip is the right-hand half of the square, full height, area a half. The line x plus y equals one goes corner to corner from nought comma one down to one comma nought, and where it crosses the left edge of my strip it is at height a half, because at x equals a half the boundary is y equals a half.

So inside the strip the line cuts off a corner at the bottom right. That corner is a right triangle with both legs a half, so its area is a half times a half times a half, which is an eighth. The strip is a half, so the part of it above the line is a half minus an eighth, which is three eighths.

Divide by the strip: three eighths over one half is three quarters. That is my candidate answer, and notice that the factor of two from beat 2 is the doubling I promised - three eighths of overlap, doubled, is three quarters.

Before I move on, the picture has to pass one more test. The same line cuts the complementary strip, where x is at most a half, into a triangle of area an eighth too - the green piece. Three eighths plus an eighth is a half, and a half is the unconditional probability that the sum exceeds one, which is the area of the whole upper triangle. So the cut reassembles correctly, and the drawing is not lying to me.

Why this beat exists: Drawing is a thinking step here: it produces the numerator, the denominator and an additivity check in one gesture. Say out loud what the drawing proves, not merely what it looks like.
4 · Compute · beat 4 of 9

The area as an iterated integral, and the pointwise route that already contains the generalisation

Pr⁡(A∩B)=∫1/21(∫1−x1dy)dx=∫1/21(1−(1−x))dx=∫1/21xdx=[x22]1/21=12−18=38
route B pointwise: given X=x, event B is Y>1−x
cut-off: x∈(0.5,1), 1−x lies in (0,0.5)
Pr⁡(Y>1−x)=1−(1−x)=x.
not constant: the function x↦x
Pr⁡(B|A)=1Pr⁡(A)∫1/21Pr⁡(Y>1−x)fX(x)dx=2∫1/21xdx=2⋅38=34
𝔼[X|X>0.5]=∫1/21xdx∫1/21dx=0.5+12=0.75
route B proved Pr⁡(B|A)=𝔼[X|X>0.5]
strip 0.75 vs edge 0.5: gap 0.25
What you say, out loud

Now the same area as an integral, so that the geometry is backed by algebra. In the column at position x the strip runs from y equals nought to one, and the part of that column satisfying the sum condition is y greater than one minus x, whose length is x. Integrating x from a half to one gives x squared over two, which is a half minus an eighth, three eighths. Same numerator as the drawing.

Route B is the same computation but read as probability rather than as area, and this is the route that generalises. Fix x. Then the sum exceeds one exactly when y exceeds one minus x, and since y is uniform, that probability is one minus the cut-off, which is x itself. So the conditional probability given the strip is the average of the function x over the strip - not its value anywhere in particular.

Averaging: the density of x inside the strip is two, so I get two times the integral of x from a half to one, which is two times three eighths, three quarters. The two routes agree with the drawing, which is the first time I have had three copies of the same number.

And look at what just fell out: the average of x over the strip is the conditional expectation of x given x exceeds a half, which is three quarters. So this probability equals a conditional mean - a fact I am going to test as a mean in beat 7 and turn into a formula in beat 8. The reason it works is that the pointwise probability is the identity function x, and the identity function is increasing, which is also exactly why the answer is bigger than the value at the boundary.

Why this beat exists: Route B is the one worth generalising; the point is to say explicitly that the inner probability depends on x, so that averaging over the strip is the only legitimate next step.
5 · Check numerically · beat 5 of 9

Two seeded streams, every error bar with its z

Monte Carlo (PCG64): seeds 700700, 170700
one stream per seed, keep X>0.5
105, 106 rows: nested prefixes of 107
M accepted, C with X+Y>1
seedNMCp^=C/Msez70070010549975375030.75043520.00193698+0.22477007001065006673755310.75006140.00061196+0.1004700700107499979737494210.74991460.00019365−0.440817070010549941373520.74792250.00193764−1.07221707001065007203752390.74939890.00061193−0.9824170700107500026937504600.75005160.00019364+0.2667
bar on accepted M: se=0.75⋅0.25/M=0.43301270/M
not p(1−p)/N: only M≈N/2 survive
M random: Bin⁡(N,12)
observed p^(1−p^)/M vs theory: gap ≤5.4×10−6
worst: z=−1.0722 vs −1.0692 (N=105)
delta-method: se=(Pr⁡(A∩B)+R2Pr⁡(A)−2RPr⁡(A∩B))/Pr⁡(A)2/N=3/8/N=0.61237244/N
same six z within 0.0008; 0.43301270/N/2=0.61237244/N
unconditional cells, N=107, seed 700700:
Pr⁡(B): 0.4998936 (z=−0.6729), Pr⁡(A): 0.4999797 (z=−0.1284)
Pr⁡(A∩B): 0.3749421 (z=−0.3782)
fixed-M sampler: z=+0.3505,−1.0854,+1.7169 / −0.8325,+0.3672,−1.4701
bar se(D/M)=M(1−p)/p2/M=2/M, p=12
three z: +0.3734,−0.3330,+1.1095
69 cells: max⁡|z|=1.7232 (beat 9 disc), boards ≤1.7169
2 se: none; 1 se: 17/69
bars 0.00193698→0.00061196→0.00019365, factor 0.316228=1/10
per digit, never a halving
What you say, out loud

Time to check the number against reality rather than against myself. I drew pairs from a PCG64 generator, first seed seven zero zero seven zero zero, second seed one seven zero seven zero zero, and kept only the pairs with the first coordinate above a half. One thing about the design before any number comes up. The hundred-thousand and million rows are prefixes of the ten-million stream at the same seed, so they are one draw viewed three times, not three independent experiments. The seeds are independent of each other, and that is the only independence in the table.

Here are the conditional frequencies. The first gives 0.7504352, 0.7500614, 0.7499146 at a hundred thousand, a million and ten million drawn. The second gives 0.7479225, 0.7493989, 0.7500516. Against the theory three quarters, and the z sits next to every one of them - plus 0.2247, plus 0.1004, minus 0.4408, minus 1.0722, minus 0.9824, plus 0.2667.

Now let me say which error bar those z's use, because this is where a conditional estimate is usually botched. It is the Bernoulli bar on the accepted count, 0.43301270 over root M, not over root N - half the pairs are thrown away by the conditioning, and a bar that pretends otherwise is smaller than the truth by one over root two, which is 0.707107, understating the spread by 29.29 per cent. The accepted count M is itself random, so my bar is conditional on the realised M, and I am stating that rather than hiding it.

I checked the two conventions against each other. The observed bar differs from the theory bar only in the fifth or sixth decimal place at worst, and the biggest gap of the six is the smallest one, where the two bars are 0.00193764 and 0.00194297 and the two z's are minus 1.0722 and minus 1.0692. The delta-method bar for the ratio estimator, which treats the denominator as the random thing it is, comes out at 0.61237244 over root N, the same number as 0.43301270 over root of N over two, so the two routes agree to within eight ten-thousandths of a z. That means the table is not an artefact of my choice of bar.

The unconditional cells check the ingredients rather than the ratio. The share of pairs above the diagonal came out 0.4998936 against a half, the share in the strip 0.4999797, the share in the overlap 0.3749421 against three eighths, with z's of minus 0.6729, minus 0.1284 and minus 0.3782. A second design, a rejection sampler run until a fixed number of pairs is accepted rather than a fixed number drawn, gave the same picture. Its six z's run from minus 1.4701 to plus 1.7169, so three quarters holds there within 1.72 standard errors too. The cost per accepted pair reads 2.0017, 1.9995, 2.0005 against the theory two, itself a check that the acceptance probability is a half. That ratio has a negative-binomial bar of its own, root two over root M, and with it the three deviations read plus 0.3734, minus 0.3330 and plus 1.1095 rather than the smaller numbers a bar of two over root M gives.

The honest summary of all sixty-nine cells is this. The largest deviation anywhere in the run is 1.7232 standard errors, and it is not in this table at all - it is the smallest-radius off-centre disc cell that beat 9 writes up. Among the cells above, the largest is 1.7169, in the fixed-count sampler, not the first stream's ten-million cell, whose z is only minus 0.4408. No cell exceeds two; seventeen of the sixty-nine exceed one, so I will not claim the run sits inside one standard error. And the bars shrink by a factor of root ten per digit of sample - 0.00193698, 0.00061196, 0.00019365 - not by a factor of two, and to settle three decimals of three quarters at two standard errors costs about three million accepted pairs, which is six million drawn.

Why this beat exists: Every plus-minus se on this board carries its computed z, the se convention is named and defended, the ratio-estimator bar is derived rather than guessed, the nesting of the prefixes is disclosed before the numbers are read, and max|z| is the actual largest cell.
6 · Justify · beat 6 of 9

Route C: the ratio of joint probabilities, and the trap the marginal density sets

route C: joint ratio, Pr⁡(B) via S=X+Y
Irwin-Hall (triangular) density:
fS(s)={s,0<s<1,2−s,1<s<2,0,otherwise,Pr⁡(B)=∫12(2−s)ds=[2s−s22]12=2−32=12
fS marginal: needs Pr⁡(A∩B) in square
trap: Pr⁡(B|A)=Pr⁡(S>1)/Pr⁡(X>0.5)=12/12=1
joint closes route C; additivity check:
Pr⁡(B)=Pr⁡(A∩B)+Pr⁡(Ac∩B)=38+∫01/2xdx=38+18=12✓
check: Pr⁡(A)Pr⁡(B)=14≠38=Pr⁡(A∩B): NOT independent
Cov⁡(𝟏A,𝟏B)=38−14=18
corr: 1/8(1/2)(1/2)=12 exactly
reversal: Pr⁡(A|B)=0.7500438 against 34, z=+0.2262
on A: fX|A(x)=1/(1−0.5)=2 for 0.5<x<1, zero elsewhere
Pr⁡(B|A)=∫1/21Pr⁡(B|X=x)fX|A(x)dx=∫1/21x⋅2dx=34
law of total probability on A
density cells, 107 stream, se theoretical:
FS(0.5)=0.1251182 (z=+1.1302), FS(1)=0.5001064 (z=+0.6729)
FS(1.5)=0.8749523 (z=−0.4561), FS(1.8)=0.9800039 (z=+0.0881)
𝔼[S]=0.9999506 (z=−0.5412)
Var⁡(S)=0.1667289106 against 16
sd (μ4−σ4)/N=0.00006236, μ4=115, z=+0.9981
f(s) = sf(s) = 2 - sarea = 1/2f(1) = 101201Pr(X + Y greater than 1) = integral from 1 to 2 of (2 - s) ds = 1/2this curve has forgotten X:no ratio from it can give 3/8
The figure proves two things at once. Integrating the right half of the triangular density gives Pr(X+Y>1) = 1/2, which is the value the square-cut of beat 3 has to be consistent with; and because the density of the sum is a one-dimensional shadow of the square, the figure also proves that route C cannot be finished from this curve alone — the conditional needs the two-dimensional overlap 3/8, so any answer built only from f_S is either the unconditional 1/2 or the absurd ratio (1/2)/(1/2) = 1.
What you say, out loud

Third route, and it starts by naming the right object. The sum of two independent uniforms has the triangular Irwin-Hall density, rising like s up to one and falling like two minus s after that. Integrating the falling half from one to two gives two minus three halves, which is a half. That is the unconditional probability that the sum exceeds one, and it agrees with the area of the upper triangle from the drawing.

But now the trap, and I want it said out loud rather than avoided. That density is a marginal - it has forgotten which variable did the work. If I try to build the conditional out of marginals only I get a half over a half, which is one, and one is absurd. Knowing the first number is above a half does not force the sum above one, since the pair 0.6 and 0.3 is a counterexample living in my strip. The conditional needs the joint probability, that is the two-dimensional overlap.

So route C closes like this. The numerator is the joint three eighths from the square, the denominator is a half, and the two are tied together by an additivity check. The part of the event B where x is at most a half is the integral of x from nought to a half, which is an eighth, and three eighths plus an eighth is a half - exactly what the density gave me independently. So the density and the region agree, and neither is a slip of a factor.

Now the independence question I promised in beat 2. The product of the two probabilities is a quarter, and the actual overlap is three eighths. They are not equal, so the events are not independent, and the covariance of the two indicator variables is one eighth, which as a correlation is one eighth over one quarter, exactly a half. So conditioning on the strip really does change the answer, and the tempting reply 'the numbers are independent, so the answer is still a half' confuses independence of the variables with independence of these two events. The simulation of the reversed conditional, three quarters to within a z of plus 0.2262, says the same thing.

The licence for the averaging in route B is the law of total probability restricted to the conditioning set. Inside the strip the density of x is two, because a half of the mass has been renormalised onto a half of the interval, and integrating the pointwise probability x against that density gives three quarters. That is the step that makes averaging the slice values a theorem rather than a metaphor.

And the density itself is measured, not quoted. The cumulative values at one half, one, one and a half and one point eight came out 0.1251182, 0.5001064, 0.8749523 and 0.9800039 against one eighth, a half, seven eighths and forty nine fiftieths, with z's of plus 1.1302, plus 0.6729, minus 0.4561 and plus 0.0881 next to them. The mean is 0.9999506 against one and the variance 0.1667289106 against one sixth, which is a z of plus 0.9981 on a bar of six point two three times ten to the minus five built from the fourth moment one fifteenth. So the triangular law I just integrated is the law the generator actually produces.

Why this beat exists: This is the beat that separates the three quarters from the one: state that a marginal density cannot produce a joint, then prove the joint consistent with the marginal by additivity, and check the false independence numerically.
7 · Cross-check · beat 7 of 9

A Bayes flip, a conditional mean read as a mean, and a discretisation that disagrees usefully

Pr⁡(A)=Pr⁡(B)=12: Bayes denominator same both ways
Pr⁡(B|A)=Pr⁡(A∩B)Pr⁡(A)=Pr⁡(A∩B)Pr⁡(B)=Pr⁡(A|B),
line x=0.5 clips (0,1),(0.5,0.5),(0.5,1)
legs 0.5 and 0.5, area 18
Pr⁡(B|A)=Pr⁡(A|B)=1−1/81/2=1−14=34.
tested as a MEAN, not a probability
mean of accepted x: 0.7499254 vs 𝔼[X|X>0.5]=0.75
Var⁡(X|X>0.5)=(0.5)2/12=148
so se=0.00006455, z=−1.1559: 3x tighter than 0.00019365
discretisation: a check that DISAGREES
grid {1/n,…,1} strict: count 34+12n
0.8 at n=10, 0.775 at 20, 0.755 at 100, 0.7505 at 1000
excess times n is 0.5 exactly, even n
ten-point 0.8: biased, off 0.05=258 se
4 routes 34; 69 cells: none >2 se
What you say, out loud

Let me get the number by an argument that shares no algebra with the first one. Both events have probability a half, so the Bayes denominator is the same whichever way round I write the ratio, which means the probability the sum exceeds one given the strip equals the probability the first number exceeds a half given the sum exceeds one. So I can answer the reversed question.

And the reversed question is a different cut. I start in the upper triangle, whose area is a half, and ask what fraction of it has x above a half. The vertical line x equals a half clips off the little triangle at the top left, with legs a half and a half and area an eighth, which is a quarter of the triangle. So three quarters of the triangle has x above a half - three quarters again, reached from the other side.

The identity from route B deserves its own check, because it is the one I am going to generalise. I took the accepted x values themselves and averaged them, and read 0.7499254 against three quarters. The error bar here is not the Bernoulli one. The variance of a uniform on a half-interval is one forty-eighth, so the standard error is six point four five five times ten to the minus five and the z is minus 1.1559. That bar is three times tighter than the indicator bar on the same pairs, and I am reporting the z rather than calling the agreement good.

Now a check designed to disagree. If I replace the continuum by the ten-point grid of multiples of a tenth and count, which is what a candidate who thinks of probability as favourable over total cases will do, I get forty out of fifty, which is 0.8. Doubling the grid gives 0.775, a hundred gives 0.755, a thousand gives 0.7505. The exact bias is one over two n, so it converges to three quarters from above - and it is a bias, not noise: 0.8 is two hundred fifty-eight standard errors away from the truth, so no amount of sampling from that model will ever find three quarters.

So the count stands at four independent derivations - the cut of the strip, the average of the pointwise probabilities, the ratio of joint probabilities closed by additivity, and the Bayes flip - all giving three quarters, plus sixty-nine simulated cells with nothing past two standard errors. That is as settled as a number gets on a whiteboard.

Why this beat exists: The Bayes flip is cheap precisely because the two conditioning events have equal area; say that out loud, or the trick looks like a general law. The grid disagreement is the strongest anti-discretisation argument available and it is exact, not simulated.
8 · Conclude and generalise · beat 8 of 9

The threshold family, its piecewise form, and the two places the identity dies

 Pr⁡(X+Y>1|X>0.5)=Pr⁡(A∩B)Pr⁡(A)=3/81/2=34 
Pr⁡(X+Y>1|X>c)=11−c∫c1xdx=1−c22(1−c)=1+c2=𝔼[X|X>c](0≤c<1):c=0→12,c=0.5→34,c→1→1
the two ends fail differently
at c<0: square, true 12, formula 0.375
at c=1: 0/0; 1 only a left-limit
piecewise:
Pr⁡(B|X>c)={12,c≤0,1+c2,0<c<1,undefined,c≥1.
durable: Pr⁡(B|X>c)=𝔼[X|X>c] for every c<1, incl. c≤0
form (1+c)/2 breaks outside [0,1]
check: c=−0.25 gives 0.4998936 against 12
scan c=0,0.25,0.5,0.75,0.9,0.99
z=−0.6729,−0.3268,−0.4408,−1.2883,−1.3136,−0.7813: none past 2 se
general target t: g(x)=Pr⁡(Y>t−x)=clamp⁡(x−t+1,0,1)
answer 𝔼[g(X)|X>c]; equals 𝔼[X|X>c] only at t=1
g(x)=x on (0,1) only at t=1
c=0.5, t=1.2: 0.75−0.2=0.55
t=1.8: 2∫0.81(x−0.8)dx=0.04
c=0: t=0.5 gives 1−12⋅12⋅12=78
strip not slice: Pr⁡(B|X=c)=c
gap 1+c2−c=1−c2, 0.25 at c=0.5: beat 9, not a footnote
0.75 strip0.5 slicegap = (1-c)/2 = 0.25strip: (1+c)/2slice: c1/2 flatc = 1: Pr(X greater than 1) = 0-0.2500.51copen circle = left-limit 1, not a value
The figure proves that the answer is a function of the conditioning set and not of the number 0.5 alone: for thresholds in [0,1] the strip probability (1+c)/2 is a straight line of slope one half running from 1/2 at c = 0 to the left-limit 1 at c = 1, it is flat at 1/2 for c at most 0 because the conditioning event is then the whole square, and it sits strictly above the slice curve Pr(X+Y>1 | X=c) = c except in the limit, the gap being (1-c)/2 = 0.25 at c = 0.5. That vertical gap is the proof that the strip question and the point question are different questions.
What you say, out loud

So the answer is three quarters, obtained as the overlap three eighths divided by the strip one half.

Now let me widen it, because the working never used the value a half. Take the condition x greater than c, with c between nought and one. The same computation gives the integral of x from c to one over one minus c, which is one minus c squared over two minus two c, and that cancels to one plus c over two. At c equals nought that is a half, the unconditional answer, just as the sanity frame on my board demanded. At a half it is three quarters, and the line is increasing with slope one half, so each extra tenth of threshold buys five hundredths of probability.

The two ends of that family fail in two different ways, and I want them stated separately rather than as a vague it breaks down. Below nought the conditioning event stops being a strip and becomes the whole square, so the answer is pinned at a half, and the formula one plus c over two, which would hand me 0.375 at c equals minus a quarter, is simply wrong there - I checked it on the stream and got 0.4998936. At one and above the conditioning event has probability nought, the ratio is nought over nought, and there is no conditional probability at all. One is only the limit as c approaches one from below, and c equals nought point nine nine does give nought point nine nine five, which the simulation confirms with a z of minus nought point seven eight one three. What survives across the whole range is the identity with the conditional mean, not the closed form.

And here is the scan behind that claim, read out because it is the identity that has to survive rather than my algebra. The six thresholds nought, a quarter, a half, three quarters, nine tenths and ninety-nine hundredths came back with z's of minus nought point six seven two nine, minus nought point three two six eight, minus nought point four four o eight, minus one point two eight eight three, minus one point three one three six and minus nought point seven eight one three, all against one plus c over two, none past two standard errors. The rightmost row is the one I would have had to take on faith. There the conditioning event is only a hundredth of the square, and the number is measured, not asserted.

And the identity dies too, just somewhere else. Replace the target one by some other threshold t and the pointwise probability stops being the identity function. It becomes a clamped line, flat at nought, then rising with slope one, then flat at one, and averaging that is not averaging x. Concretely at c equals a half, a target of one point two gives three quarters minus a fifth, which is 0.55, and a target of one point eight gives two times the integral from nought point eight to one of x minus nought point eight, which is nought point nought four. So probability matching conditional mean is an accident of the target being exactly one, and it is worth knowing which accident you are relying on.

Last line is the one the examiner is actually listening for. Everything I did was an average over the strip, and the average of the slice values is strictly bigger than the slice value at the boundary, by one minus c over two, which at c equals a half is a quarter. So the answer to given x exceeds a half is three quarters, the answer to given x equals a half is a half, and both are correct. That is the next beat.

Why this beat exists: Answer, then the family, then two distinct failure boundaries — empty conditioning event at c at least 1, vacuous conditioning below c equals 0 — and then the boundary of the identity itself at t not equal to 1. The strip-versus-slice gap is the topic, so it is stated as a formula and handed to beat 9.
9 · Only if invited · beat 9 of 9

Conditioning on a set of measure zero: why X=0.5 is a different question, and what licenses its answer

Pr⁡(B|X=0.5) NOT Pr⁡(B∩{X=0.5})/Pr⁡(X=0.5)=0/0
regular conditional: fX(0.5)=1>0, Y|X=x uniform
Pr⁡(B|X=x)=Pr⁡(Y>1−x)=x,Pr⁡(B|X=0.5)=0.5.
0.75 strip X>0.5; 0.5 slice X=0.5
x↦x increasing: limc↑0.5⁡Pr⁡(B|X>c)=1+0.52=0.75 ≠ 0.5=Pr⁡(B|X=0.5)
Pr⁡(B)=∫01Pr⁡(B|X=x)fX(x)dx=∫01xdx=12,Pr⁡(B|X>0.5)=∫0.51Pr⁡(B|X=x)fX(x)dxPr⁡(X>0.5)=3/81/2=34.
shape-dependence, computed not asserted
strip 0.4<X<0.6: 0.5003459 (z=+0.9785)
disc on line: exact 0.5, ε≤0.5, bisected
0.4997190,0.5003428,0.5014010 (z=−0.6299,+0.3839,+0.7834)
bar: theory p, p(1−p)/n on count n
half-strip X>0.5: not shrinking
not a centre artefact: reflect in x+y=1, (x,y)↦(1−y,1−x)
0.5001464 (0.85,0.15), 0.4988653 (0.2,0.8), 0.4975053 (1,0): r=0.1
z=+0.1641, −1.2738, −1.4003; and 0.4969326 (0.62,0.38), r=0.05
largest of run: z=−1.7232
half-disc about (0.5,0.5) gives 34, every ε≤0.5
{X>0.5, (X−0.5)2+(Y−0.5)2<ε2}
polar: X+Y>1 reads cos⁡t+sin⁡t>0, i.e. t>−π/4
3/4 of (−π/2,π/2)
measured 0.7496281 (z=−0.6805), 0.7509203 (z=+0.4204)
{X>0.5}: Pr⁡=12, ratio applies
answer as printed: 34
What you say, out loud

If you want me to go one step further, suppose I am told the first number is exactly a half. Then the ratio definition fails - the intersection and the conditioning event both have probability nought, and nought over nought is not an answer. What I write instead is the regular conditional density. Because the two variables are independent and the density of x at a half is positive, the conditional law of y given x equals a half is still uniform, so the probability is a half.

And this is no contradiction with three quarters, and no rounding of it. Three quarters is the average of the slice values over the strip; a half is the slice value at the boundary. Since the slice function is the increasing function x, that average is strictly larger, by one minus c over two, a quarter at c equals a half. And the two ways of shrinking onto the line disagree - a symmetric strip gives a half, a one-sided strip squeezed down keeps three quarters. So the conditional probability is not continuous in that degenerate limit, and the strip I was given does not shrink at all.

The reconciliation is the law of total probability for a continuous variable. Integrating the slice values against the density of x recovers a half, which is the unconditional probability, and integrating them over the strip and renormalising recovers three quarters. So the slice is the integrand and the strip is the average - one object, two readings, no paradox.

Where it would become a genuine paradox is if I pretended the value on a null set is determined by the geometry alone. It is not. I get a half from a symmetric strip around the line, and I get a half from a disc centred on the diagonal, because that line cuts the disc into two equal halves. I measured the strip and three radii of the concentric disc - 0.5003459, 0.4997190, 0.5003428, 0.5014010 - and those four cells all sit inside one standard error of a half, with the error bar taken as root of p one minus p over the count inside the set, the same theory-p convention as the strip cells in beat 5. The half-strip the question actually names is not a shrinking set at all, and that is where three quarters comes from.

Two more things I checked rather than assumed. First, the half does not depend on the disc being in the middle of the square. Reflecting in x plus y equals one sends x y to one minus y, one minus x. That fixes the square and any disc centred on the line, and swaps its two sides - so the split is exact wherever the centre sits. The off-centre runs agree: 0.5001464 at centre (0.85, 0.15), 0.4988653 at (0.2, 0.8), 0.4975053 with the centre at the corner (1, 0), and 0.4969326 at (0.62, 0.38) on radius one twentieth. That last one is minus 1.7232 standard errors from the exact half, the largest deviation in this page's sixty-nine cells, so I put the number up rather than call it a near miss, and nothing passes two. Second, shrinking does not force a half either. Intersect that centred disc with the strip x above a half, and the exact answer is three quarters at every radius up to a half. In angles from the centre my half runs from minus half pi to half pi, and the sum condition reads cosine plus sine of the angle greater than nought, so everything above minus quarter pi survives, three quarters of it. Measured, 0.7496281 at radius a fifth with z minus 0.6805, and 0.7509203 at radius one twentieth with z plus 0.4204. So the limit depends on the shape of the set, not on the point it shrinks to, which is why the honest object is the regular conditional density, not a shrinking limit.

I would offer that as a bonus rather than as the answer, because the question as printed conditions on an event of probability a half, and for that the ratio definition is all you need. The answer is three quarters.

Why this beat exists: Only when invited. The one sentence to keep: on a continuous space 'given' means either a ratio over a positive-probability set or a regular conditional density, and the two answer different questions — 0.75 and 0.5 here, differing by (1-c)/2.

Where the interviewer pushes next

“You said 3/4 for X>0.5. If I instead tell you the first number is exactly 0.5, is your 1/2 just a different rounding of the same thing?”
What you say, out loud

No, and the two numbers are far enough apart that the difference is worth understanding rather than apologising for. Given the exact value x equals a half, the sum exceeds one precisely when y exceeds a half, and y is uniform and independent, so the probability is a half. Given the strip x greater than a half, the probability is the average of the pointwise values over the strip. The pointwise value at x is x itself, so the average of x over the interval from a half to one is three quarters.

The general form of the gap is the clean way to see it. The strip answer is one plus c over two, the slice answer is c, and the difference is one minus c over two, which is a quarter at c equals a half, a half at c equals nought, and nought only in the limit as c approaches one. The slice value is always the smaller one, because the pointwise probability is an increasing function, so its average over the strip to the right of c sits above its value at the left edge.

And the honest statement of what licenses the a half is the regular conditional density, not the ratio definition, because the ratio there is nought over nought. If you shrink the conditioning set onto the line, the answer depends on the shape you shrink with. A symmetric strip gives a half, and a disc centred on the line gives exactly a half for every radius, because the line bisects it. So I would never write down a value on a null set without saying which sets I am shrinking. The question as printed asks about a set of probability a half, and there the ratio definition gives three quarters with no machinery at all.

Pr⁡(B|X=0.5)=Pr⁡(Y>0.5)=12(regular conditional density, since Pr⁡(X=0.5)=0),Pr⁡(B|X>0.5)=34
Pr⁡(B|X>c)−Pr⁡(B|X=c)=1+c2−c=1−c2={0.25,c=0.50.5,c=00.05,c=0.9
shrinking onto line x=0.5: strip 0.4<X<0.6 gives 0.5003459 (z=+0.9785)
discs about (0.5,0.5), radius 0.2,0.1,0.05
0.4997190,0.5003428,0.5014010 (z=−0.6299,+0.3839,+0.7834): all vs 0.5
half-strip X>0.5: 0.7499146 vs 0.75
“Does your formula (1+c)/2 survive a threshold outside [0,1], or a target other than 1?”
What you say, out loud

Outside the unit interval it splits into two separate failures. For c at most nought the conditioning event is the whole square, so the answer is pinned at the unconditional a half. My formula would have said 0.375 at c equals minus a quarter, but the measured value at c equals minus a quarter was 0.4998936, and the closed form is dead there while the identity with the conditional mean is not, because the conditional mean of x given x greater than a negative number is also a half. For c at least one the conditioning event is empty, the ratio is nought over nought, and there is no conditional probability to compute. One is only a left-limit, and c equals nought point nine nine does give nought point nine nine five, measured at 0.9948253 with a z of minus 0.7813.

Change the target from one to some t and the identity is what dies. Given x, the pointwise probability is that y exceeds t minus x, which is one minus the cut-off, so one minus t plus x, whenever the cut-off sits between nought and one. Outside that it saturates at nought and one, a clamped line rather than the identity function. Averaging a clamped line is not averaging x, so the answer is the expectation of the clamp, not the conditional mean. Concretely, at c equals a half a target of one point two gives 0.55, and a target of one point eight gives 0.04, because the strip's x values below nought point eight contribute nothing at all, and at c equals nought a target of a half gives seven eighths.

So the summary I would want on the board is this. The formula one plus c over two is valid for c from nought to one, the identity with the conditional mean is valid for every c below one, and both are accidents of the target being exactly one - the value that makes the pointwise probability the identity function. Where a formula stops applying is part of the formula.

Pr⁡(B|X>c)={12,c≤0 (square),1+c2,0<c<1,undefined,c≥1 (empty, 0/0);Pr⁡(B|X>c)=𝔼[X|X>c] all c<1
g(x)=Pr⁡(Y>t−x)=clamp⁡(x−t+1,0,1),Pr⁡(X+Y>t|X>c)=𝔼[g(X)|X>c]
c=0.5: t=1⇒0.75, t=1.2⇒0.75−0.2=0.55, t=1.8⇒2∫0.81(x−0.8)dx=0.04; c=0: t=0.5⇒1−12⋅12⋅12=78=0.875
measured: c=−0.25→0.4998936 vs 12, not 0.375
measured: c=0.99→0.9948253 vs 0.995, z=−0.7813
“I tell you the sum exceeded 1. What is the probability the first number was above 0.5 — and what if instead I tell you the larger of the two numbers was above 0.5?”
What you say, out loud

The first one is three quarters again, and the reason is a coincidence worth naming. The two events have the same probability, a half each, so the Bayes denominators agree and the two conditionals must be equal. Geometrically it is a different cut - in the upper triangle the line x equals a half clips off a triangle of area an eighth, a quarter of it, leaving three quarters. I measured it as 0.7500438 with a z of plus 0.2262. But do not turn that into a law. The reversed conditional matches only when the two events have equal probability, and it is worth saying which of your equalities are theorems and which are arithmetic accidents.

The second question is the interesting one, because knowing the larger number exceeds a half is weaker information than knowing the first one does, and the answer moves the other way. The sum event is contained in the event that the maximum exceeds a half, since if both numbers were at most a half the sum could not exceed one. So the overlap is the whole of the sum event, a half, and the maximum event has probability one minus a quarter, which is three quarters. That is the L-shaped region on the board, and the conditional is a half over three quarters, two thirds.

So two thirds, measured at 0.6665112 with a z of minus 0.9032. Put the four neighbours side by side and the pattern is clear. Conditioning on x above a half gives three quarters, on y at most a half gives a quarter, on the maximum above a half gives two thirds, and on the minimum above a half gives one exactly, because that event sits inside the sum event. The probability of the conditioning event tells you almost nothing; what matters is how the two regions overlap. And none of the four is independent of the sum event, because the product rule fails for all four.

Pr⁡(A|B)=3/81/2=34(=Pr⁡(B|A) only because Pr⁡(A)=Pr⁡(B)=12),measured 0.7500438, z=+0.2262
B⊂{max⁡>0.5},Pr⁡(max⁡>0.5)=1−14=34,Pr⁡(B|max⁡>0.5)=1/23/4=23,measured 0.6665112, z=−0.9032
Pr⁡(B|Y≤0.5)=1/81/2=14 (measured 0.2497630, z=−1.2235),Pr⁡(B|min⁡>0.5)=1 exactly  (2500926 of 2500926)
Pr⁡(A)Pr⁡(B)=14≠38=Pr⁡(A∩B): not independent
corr⁡(𝟏B,𝟏C): C=A:12; Y≤12:−12; max⁡,min⁡:13
“Can you get 3/4 without any geometry at all — by simulation — and how many pairs do you actually need before the number means anything?”
What you say, out loud

Yes, and the honest version comes with its own error bar. Draw pairs, throw away the ones with the first coordinate at most a half, and count how often the surviving pairs have a sum above one. With two seeds and three nested sizes I got 0.7504352, 0.7500614 and 0.7499146 for the first stream and 0.7479225, 0.7493989 and 0.7500516 for the second, all against three quarters, and I wrote the z beside every one of them - plus 0.2247, plus 0.1004, minus 0.4408, minus 1.0722, minus 0.9824, plus 0.2667. The largest deviation anywhere in the run is 1.7232 standard errors, and nothing exceeds two.

How many pairs is a real question, not a formality. The estimator is a Bernoulli proportion on the accepted count, so its bar is 0.43301270 over root M. To make two standard errors as small as five thousandths costs thirty thousand accepted pairs, sixty thousand drawn at an acceptance rate of a half, while the five ten-thousandths that pin the third decimal cost three million accepted pairs and six million drawn. My ten-million-pair stream gives a bar of 0.00019365, and that does resolve three quarters to three decimals. The hundred-thousand-pair run does not, and no run at all produces 0.75 exactly - a simulation never confirms a number, it only fails to contradict it.

Two traps are specific to doing this numerically. The first is the error bar. Using the total number of pairs drawn instead of the accepted count shrinks the bar by one over root two, which is 29.29 per cent too optimistic, and it is the natural thing to write if you forget that conditioning throws half the data away. The second is discretisation dressed up as simulation. Counting on the grid of tenths gives 0.8, and its exact bias is one over two n, so refining the grid to a thousand points gives 0.7505 - still a bias, not noise, and 0.8 is 258 standard errors away from the truth. If I want a number I sample the continuum, and if I want a check I sample it with the bar attached.

p^M=#(A∩B)/#A on M accepted pairs
se=0.75⋅0.25/M=0.43301270/M
M random with sd N/2
half-width 2 seaccepted Mdrawn N0.0053×1046×1040.00053×1066×106
bars at realised M: 0.00193698,0.00061196,0.00019365
for M=49975,500667,4999797: 2se=0.003874,0.001224,0.000387
107 draws resolve 34 to three decimals
105 does not; no exact 0.75
grid count: strict inequalities
(3n28+n4)∕n22=34+12n
on grid {1/n,…,1}2, even n: 0.8,0.775,0.755,0.7505 at n=10,20,100,1000
the 0.8 is 258 se from 34, bar 0.00019365

Traps on this question

  • Answering 1/2 because X and Y are independent. Independence of the VARIABLES does not make the event X>0.5 independent of the event X+Y>1 — the first number appears in both. The check is one line: Pr(A)Pr(B) = 1/4 but the true overlap is 3/8, so the events are positively related, with covariance 1/8 and correlation of the two indicators exactly 1/2. What independence does buy you is the pointwise step Pr(Y > 1-x) = x, which is a far cry from the conditioning being irrelevant.
  • Writing 3/8 as the answer. That is the joint probability Pr(A and B), the numerator only; the conditional divides by Pr(A) = 1/2 and so doubles it to 3/4. The tell is cheap and should be applied before any arithmetic: conditioning on the first number being large can only help the sum exceed 1, so the answer must be at least Pr(X+Y>1) = 1/2, and 3/8 is below that. A number below 1/2 here is not a surprising answer, it is a missing denominator.
  • Building the conditional out of the density of the sum. The Irwin-Hall triangular density of S = X+Y is a marginal and has forgotten which variable contributed, so it gives Pr(S>1) = 1/2 and nothing more; combining it with Pr(X>0.5) = 1/2 as a ratio produces 1, which is absurd — the pair 0.6 and 0.3 lies in the strip and below the diagonal. A conditional probability needs the joint, that is the two-dimensional region; if your route cannot see the second coordinate, it cannot answer the question.
  • Answering 1/2 for the strip by using the boundary value, or answering 1/4 by inverting the pointwise probability. The slice question given X = 0.5 really is 1/2, but the strip question given X > 0.5 is the average of x over (0.5,1), which is 3/4; the two differ by (1-c)/2 = 1/4 and neither is a rounding of the other. The mirror slip is writing Pr(Y > 1-x) as 1-x instead of x, which hands you E[1-X | X>0.5] = 1/4 — that number is not wrong in the universe, it is the answer to a different question, namely the probability given Y <= 0.5, which was measured at 0.2497630.
  • Discretising the sample space, and then trusting the error bar. Counting favourable over total cases on the grid of tenths gives 40/50 = 0.8, and the exact bias of the n-point grid is +1/(2n): 0.775 at n = 20, 0.755 at n = 100, 0.7505 at n = 1000, converging from above. That is a bias, not noise, so 0.8 sits 258 standard errors away from 3/4 and no amount of resampling the grid fixes it. In the other direction, the standard error of the conditional estimate is sqrt(0.75*0.25/M) with M the ACCEPTED count, not the pairs drawn — using N instead of M makes the bar too small by a factor 1/sqrt(2), understating the spread by 29.29 per cent, and every reported deviation should carry its computed z (max |z| over the 69 cells here: 1.7232, none past 2 se, 17 past 1 se, so 'within one standard error' is not available either).

What gets written on the assessor’s form

  • Named the two events and wrote the conditional as a ratio of areas before integrating anything, and stated explicitly that Pr(X>0.5) = 1/2 > 0 is what licenses the definition.
  • Used the diagram to produce the number and to check itself: read 3/8 and 1/8 off the cut square and verified 3/8 + 1/8 = 1/2 = Pr(X+Y>1) rather than treating the figure as decoration.
  • Refused to accept their own first answer: reached 3/4 a second time by pointwise conditioning, a third time by the ratio of joint probabilities with the Irwin-Hall density, a fourth time by the Bayes flip, and then simulated it with named PCG64 seeds, computing z for every cell and reporting max |z| = 1.7232 over 69 cells instead of claiming the numbers fitted nicely.
  • Handled the error bars as data: named the se convention (Bernoulli on the accepted count, with the accepted count itself random), derived the delta-method bar for the ratio estimator and checked it against the first, disclosed that the smaller-N cells are nested prefixes of one stream, and stated the sqrt(10) scaling rather than a halving.
  • Distinguished the positive-measure event X>0.5 from the zero-measure event X=0.5, giving 3/4 and 1/2, reconciling them through the regular conditional density and the gap (1-c)/2, and generalised to Pr(X+Y>1|X>c) = E[X|X>c] = (1+c)/2 while locating both boundaries where it fails — the empty conditioning event at c >= 1 and the vacuous one at c <= 0 — plus the target t != 1 where the identity itself dies.