Two Random Numbers, One Hyperbola, and 15.3 Percent
Draw X and Y uniformly from the unit interval and their product beats a half with probability (1 - ln 2)/2, about 15.3 percent. The reflex answer of a quarter counts a condition that is genuinely necessary and treats it as sufficient, which is why 0.8 times 0.6 sits inside the quarter square and still loses. The hyperbola y = 1/(2x) cuts the winners down to a sliver, and one integral measures it.
Draw two numbers at random from the interval , independently and with no part of the interval favoured over another. Multiply them. How often does the product come out above a half?
The reflex answer is a quarter. It is wrong, and it is wrong for an interesting reason rather than a sloppy one. The true figure is , which is , so about 15.3 percent. Getting there needs one integral and one honest look at a region in the plane.
Why a quarter is the right shape of a wrong answer
The reasoning behind a quarter goes like this. For the product to beat a half, neither factor can be at or below a half, because a factor of at most multiplied by anything in gives at most . Each factor clears a half with probability , and the draws are independent, so
Every step of that is correct except the last inference. Both factors clearing a half is a genuine requirement, so the quarter-square really does contain every winning pair. It just contains a great many losing pairs as well. Take and . Both clear a half comfortably, and , which loses. The condition is necessary and it is not sufficient, and equation (1) quietly treats it as both.
The region that actually wins
Because the two draws are independent and each is uniform, the pair is uniform on the unit square. Its joint density is 1 there and 0 elsewhere, which means every probability in this problem is an area and nothing more. So the question becomes a question about a shape.
The winning set is intersected with the square. Its boundary is the curve , that is , a branch of a hyperbola. Inside the square that curve exists only for , since for smaller it would demand . It enters the square at and leaves it at , cutting the top right quarter into a piece that wins and a piece that does not.
The picture already settles the direction of the error. The winning region sits strictly inside the quarter-square, so the answer has to come out below . Anyone who guessed a quarter has at least bounded the truth from above.
The area, by slicing
Slice the region vertically. Fix an between and 1. The winning values of are those above and below 1, so the slice has length . For the slice is empty. Integrating the slice length over the range where it is positive,
The logarithm arrives because the boundary is a hyperbola, and the area under is the one integral that produces a logarithm rather than a power. Collecting the two terms,
Rounded to the nearest percent that is 15 percent, which is honest to within . Rounded a digit further it is 15.3 percent. You will also meet the same number written , which looks different and is not. Since , the two forms are the same real number, so a reader who finds one of them elsewhere has not found a contradiction.
The same number without drawing anything
Geometry is the fastest route here, but it is worth having a version that does not depend on seeing the shape. Condition on . Given , the event is the event , and since is uniform on its conditional probability is when and zero otherwise. Averaging over ,
Identical integrand, reached by conditioning instead of by cutting up a square. Two routes that share no step and land on the same number is the kind of agreement worth stating out loud, because it is what separates a result you believe from a result you happen to have written down.
The whole distribution of the product
Nothing in the calculation cared that the threshold was a half. Replacing by any in and repeating the slice gives the distribution function of the product, which is worth having in closed form.
If and are independent and uniform on , then for every , , and consequently . The density of on is , which is unbounded as .
Checking it at the threshold this article started from, , so the complement is and matches equation (3) exactly.
The shape explains something the single number hides. Near the function behaves like up to the small correction , so a low bar is cleared almost always, exactly as you would hope. Near it goes to zero, since demanding the product be close to 1 demands both factors be close to 1. And the density blowing up at the origin says the product piles up near zero, which is the real reason products of numbers below 1 feel so much smaller than their factors.
A different wrong route, which lands somewhere else
There is a second mistake in circulation and it is worth separating from the first, because confusing the two makes the problem harder to teach. That second route argues that since , both factors must exceed . Each does so with probability , so the route gives
That is neither the answer nor the quarter. It is a different error with a different sign: the condition it imposes is sufficient and not necessary, so it undercounts, and it produces the square drawn from to the corner, which sits strictly inside the true region. Two wrong answers bracketing the right one, below and above, is a decent sanity check on the answer in between.
Boundaries and edge cases
Whether the inequality is strict changes nothing. The boundary set is a curve in the plane, so it has area zero, and equals . That is a convenience of the continuous setting and it fails immediately if the draws are discretised. Round both factors to two decimal places and pairs sitting exactly on the boundary acquire real probability.
Independence, on the other hand, is load-bearing. If then means , and the probability is , nearly double the answer. If the product never exceeds and the probability is zero. The uniform marginals are the same in all three cases, so nothing about the answer can be read off the marginals alone.
The formula for the threshold also stops at the ends of the unit interval for a plain reason. For the event is impossible and for it is certain, so is only the answer on ; at the expression is undefined while the probability is 1.
Sources and further reading
- The two draws and their joint law — Continuous uniform distribution
- The closed form of section six — Product distribution
- Probability read as an area — Multiple integral
- Why the boundary curve costs nothing — Null set
- The sampling check described below — Monte Carlo integration
Four independent estimates were computed before publication and they agree. Symbolic integration gives both as the one-dimensional integral of equation (2) and as the double integral over the square. Composite Simpson quadrature returns . A midpoint grid of cells, which uses no calculus at all and simply counts, returns . Four million sampled pairs return , about a third of a standard error away. The same sampling run measured the quarter-square at and found no winning pair anywhere outside it, which is the numerical version of the claim that the quarter-square condition is necessary.
Comments · 0
Be the first to comment.