A floor of boards with parallel lines the same distance d apart, and a needle
that falls spinning, bounces a little and stays where it lands; the crossings
light up in red. The student drops needles (and later bent pieces and a hoop)
and counts how many lines they cross; at the end, an ant does the same in a room
in the dark. In every room the student bets before each experiment and then
checks whether they were right. Each student starts with 10 Ᵽ; a won bet adds
5 Ᵽ and a lost bet takes away 3 Ᵽ. In all six rooms the bet is settled with a
long series (100 to 3000 repetitions) that plays itself, so deciding well pays
off.
There are almost no explanation screens: the theory comes as challenges, with a
short theory box in the rooms that introduce a new idea (geometric probability,
additive expectation, the hoop, relative frequency, estimating by proportions).
Every room follows the same script: a bet, a few drops by hand on the parquet
floor, a series in which the mean settles onto a line, and comprehension
challenges (choose between options, complete a fraction, write a number) that
lead from the experiment to the formula. Everything is done without integrals.
The rooms are ordered so that π does not appear until it is justified: the first
three work with the 0.637 of the first room and it is the hoop, in the fourth,
that explains where it comes from.
What you’ll learn
The lab takes the student from “how many needles cross a line?” to seeing why π
appears and why the mean number of crossings depends only on the length.
- Seeing that the chance of crossing depends on how the needle is turned, using
geometric probability (favourable measure over total measure) and keeping the
question of where the 63.7 % comes from (room 1).
- Moving from “does it cross or not?” to counting how many crossings there
are, and seeing that the mean of a sum is the sum of the means, even when the
pieces are joined; so a whole needle gives the same as two halves and one of
2d gives double, with more than 1 crossing on average (room 2).
- Checking that a needle bent into a V or a wire of any shape gives the same mean
crossings as a straight one of the same length (room 3).
- Proving the formula with a hoop, without integrals, as Barbier did: π appears
there for the first time, and the result is applied to a straight needle (the
2/π of room 1) and to a square frame (room 4).
- Using the frequency of crossings to estimate π, reading the estimate, and being
suspicious of results that are “too good” (room 5).
- Using the same formula backwards to measure an area by counting crossings, like
the scout ants that choose a nest, and recognising estimation by proportions
(lentils, marked fish) (room 6).
Key mathematical ideas
- The turn matters: a needle lying across the lines spans d vertically and
always crosses; a parallel one spans nothing and almost never crosses. At 30°
it spans d/2 vertically: it crosses with probability (d/2)/d = 1/2. This
is geometric probability: “at random” means uniform and the probability is
favourable measure over total measure (like waiting less than 5 minutes for a
bus that comes every 20: 5/20 = 1/4). With many needles the percentage that
cross settles at 63.7 %, and where it comes from is seen in room 4.
- Expectation is additive: a piece can cross 0, 1, 2… lines, and the mean
crossings add up. A die gives 3.5 on average; two dice, 3.5 + 3.5 = 7; and on a
single die the top face and the bottom face, 3.5 + 3.5 = 7 even though they are
joined (opposite faces always add up to 7). A half needle (d/2) gives half
as much as a whole one; two halves, the same as a whole one, and glued into a V
they still give the same: the mean of a sum is the sum of the means, whether
the pieces are loose or joined. This is the linearity of expectation. A needle
of 2d gives double, 4/π ≈ 1.27: it goes above 1, so it is no longer a
probability.
- Only the length matters: for any shape of length ℓ, the mean number of
crossings is 2ℓ/(πd) (Buffon’s “noodle”, proved by Barbier in 1860). The V
crosses no line at all more often than the straight needle (≈ 52 % against
≈ 36 %) and sometimes crosses two (≈ 16 %), and the two effects cancel out. A
wire of length 3d, whatever its shape, gives three times as much as a needle
of d; a square frame of side d, 4 · 2/π = 8/π ≈ 2.55.
- The hoop proves it: a hoop of radius d is 2d tall and the lines are d
apart, so there are always two lines within that height and each crosses it
twice: always 4 crossings, even when it is tangent to a line (2 + 1 + 1). It
is a bent needle of length 2πd. If the mean number of crossings is
proportional to the length, each unit of length gives 4/(2πd) = 2/(πd)
crossings. A straight needle of length d then gives d · 2/(πd) = 2/π ≈
0.637, Buffon’s result (1777), without integrals, and since it crosses at most
one line, that is its probability of crossing. A hoop of radius d/2 always
crosses 2 times. This is where π appears for the first time, and it comes from
the length of the circle.
- π as a frequency: if C of N needles cross, C/N ≈ 2/π, hence
π ≈ 2 · N/C. The relative frequency approaches the probability but does not
equal it, and that is why the estimate of π wobbles: with 3000 needles, in the
hundredths. It is a Monte Carlo method: chance is used to compute a number, but
slowly, because the error shrinks like 1/√N; each extra decimal needs about a
hundred times more needles (hundreds of thousands to get 3.14 right).
- Lazzarini (1901) claimed to have dropped 3408 needles of length 5/6 of d
and obtained 355/113 = 3.1415929, six correct decimals. With that needle,
π ≈ (5/3) · N/C, and N = 3408 = 213 · 16, C = 1808 = 113 · 16 gives
exactly 355/113: it was enough to keep notes and stop at the right moment.
- Ants that measure their home (Mallon and Franks, 2000): a Leptothorax
albipennis scout wanders aimlessly in the dark around a candidate room, twice;
on the first visit it leaves a scent trail of length L₁ and on the second, of
length L₂, it counts the number n of times it crosses it. On the parquet
there is 1/d of line per unit of area and a needle of length ℓ crosses on
average (2/π) · ℓ · (1/d); in the room the “line” is the trail, with L₁/A
per unit of area, so the mean number of crossings is 2L₁L₂/(πA). It
measures area, not width: with twice the area it crosses half as often (in the
lab, about 12.8 crossings per visit in 60 × 40 mm and 6.4 in 80 × 60 mm, with
22 cm per visit). It is an estimate by proportions, like the lentils in a sack
or the fish in a lake (50 are marked, 40 are caught and 8 carry a mark: about
250 fish). If half the floor is swapped for clean floor between visits, the ant
crosses half as often and thinks the room is twice as big: with that trick,
colonies chose a half-size room 8 times out of 20, which without it they almost
never chose (1 out of 16).
Level: ESO and Bachillerato (from the 4th year of ESO, age 15). It is a short lab
in the probability series, alongside “Probability”, “Expectation” and “Monty
Hall”; room 2 reuses the idea that expectation adds up. In class it works well to
project room 1 and ask the class to bet before any needle has fallen and to keep
the question of what that 63.7 % is; room 4, with its hoop that always crosses 4
times, is the one that surprises most and the one that answers it; room 5 serves
to compare the estimates of π from different groups and discuss Lazzarini’s case,
and room 6 shows the formula outside mathematics.