Bertrand's Paradox
Joseph Bertrand set the problem in his Calcul des probabilités of 1889, and answered it three times. Draw a chord of a circle at random: what is the probability that it comes out longer than the side of the inscribed equilateral triangle? Three constructions, each a reasonable reading of “at random”, give , and — and none of them is doing arithmetic wrong.
Pick a method and drag the slider; Run streams the sample in so the estimate can be watched settling.
The dashed triangle is the thing being compared against; chords longer than its side are drawn
in the accent colour. Show → Midpoints replaces each chord with its own midpoint, which is
where the methods separate most clearly, and adds the circle of half the radius that the
midpoint has to fall inside. Compare all four puts them side by side.
Expand fills the screen; Esc leaves it.
Push the count up and a pale disc appears in the middle of the bundle, exactly the triangle’s incircle. Nothing is being drawn there but the long chords: a chord at distance from the centre leaves the whole disc of radius untouched, so the only ones reaching inside radius are the ones the question is counting.
One number, not two
Take the circle to have radius . A chord is fixed by the foot of the perpendicular dropped onto it from the centre: a distance and a direction. Every method here treats directions alike, so the direction carries no information and the whole question rests on . The chord’s length is
and the inscribed equilateral triangle has side , so
That is the entire geometry. A method is not a construction but a probability density on , and the answer it gives is the area of that density to the left of — which is the shaded half of the strip under the circle, with the sampled histogram drawn against the exact curve.
Where the three answers come from
Two points on the circumference. Rotate so the first endpoint sits at angle ; the second is at , uniform. Then , and with uniform on that is the arcsine law , crowding both ends. The chord beats the triangle when — a arc out of , so .
A point along a random radius. Choose a radius, then a point uniformly along it, and take that point as the chord’s midpoint. Now is uniform by construction, , and needs no work at all.
A point anywhere in the disc. Choose the midpoint uniformly over the area. The midpoint of a long chord is one lying inside the circle of radius , so is the ratio of the areas, . In terms of the density is : there is simply more disc at large radius, which is what pushes the answer down.
The midpoint view shows all three at once. Uniform midpoints fill the disc evenly. Uniform along a radius makes the density go as , so the same chords pile up at the centre. Uniform endpoints push them out to the rim.
A fourth, for the sake of the argument
Drop two points into the disc at random and extend the line through them. This one is not in Bertrand, but it is the least contrived way to get a chord out of a physical procedure, and it lands nowhere near the other three.
Pairs of interior points sitting on a given chord are not equally common: writing a pair as a line plus two positions along it, the area element picks up the Jacobian , which integrates over a chord of length to . So this procedure samples lines with a weight of , and
Long chords are wide targets, and cubing the length is a heavy thumb on the scale.
Every answer is available
Nothing stops at four. The family is a density on for any , and it gives
which sweeps the whole open interval as runs from to . Two of Bertrand’s own answers are already in there — gives and gives — and so is every other number you might want, including . The question as posed does not have three answers. It has all of them, and stopping at three is a rhetorical choice rather than a mathematical one.
Fixing one endpoint changes nothing
The most common way to get this wrong — and what an earlier version of this page did in MATLAB — is to describe the second method as fix one endpoint and choose the other at random. That is not the radius construction. It is the first method with the rotation already applied: conditional on the first endpoint, the second is still uniform on the circle, so the chord is long exactly when it lands in the arc opposite, and the answer is again. Nailing down one endpoint costs nothing, because the first method never used it. What makes the second method different is that the uniform variable is the midpoint’s distance from the centre, not a point on the circumference.
Jaynes and the well-posed problem
Edwin Jaynes’ answer, in “The Well-Posed Problem” (Foundations of Physics 3, 1973), is that the question is underspecified in a way that can be repaired rather than merely deplored. The problem says nothing about where the circle is or how large it is, so a solution that deserves to be called the solution should not depend on either: the same rule, applied to a circle shifted a little or shrunk a little, has to give the same distribution of chords. Invariance under translation and scaling turns out to force , and with it .
The same measure arrives from integral geometry, where is the only measure on lines in the plane invariant under rigid motions, and Jaynes checked it in the least abstract way available by tossing broom straws at a circle drawn on the floor.
That settles the version of the question about a random line that happens to meet a circle. It does not make the other constructions wrong, because they are answers to other questions — about pairs of points on a rim, or about midpoints scattered over a disc — each of which is perfectly well posed once stated. The paradox is not about probability being ambiguous. It is about “at random” not being a specification.
Notes on the sampler
Sampling runs off a seeded generator rather than Math.random, and each method keeps its own
stream. Raising the count therefore extends the sample instead of drawing an unrelated one:
chords already on screen stay where they are and new ones appear among them, which is what
makes the slider read as convergence rather than as a shuffle. Resample is the way to ask
for a genuinely different draw. The running count of long chords is kept as a cumulative array,
so the estimate at any prefix of the sample — every frame of Run — is a single lookup.
Each sample is stored as its two endpoints and its midpoint, and the chords are drawn in two batched paths, one per colour, rather than one path each. Opacity falls as the count rises so that four thousand chords read as shading rather than as a solid disc, and the histogram under the plot is normalised to a density so the bars and the exact curve share one vertical scale. The arcsine density is unbounded at , so that axis is clipped — which is why the endpoint method’s curve runs off the top of the strip near the rim.