
In
mathematics
Mathematics is an area of knowledge that includes the topics of numbers, formulas and related structures, shapes and the spaces in which they are contained, and quantities and their changes. These topics are represented in modern mathematics ...
, Buffon's needle problem is a question first posed in the 18th century by
Georges-Louis Leclerc, Comte de Buffon:
:Suppose we have a
floor
A floor is the bottom surface of a room or vehicle. Floors vary from simple dirt in a cave to many layered surfaces made with modern technology. Floors may be stone, wood, bamboo, metal or any other material that can support the expected load ...
made of
parallel strips of
wood, each the same width, and we drop a
needle
Needle may refer to:
Crafting
* Crochet needle, a tool for making loops in thread or yarn
* Knitting needle, a tool for knitting, not as sharp as a sewing needle
* Sewing needle, a long slender tool with a pointed tip
* Trussing needle, a long sl ...
onto the floor. What is the
probability that the needle will lie across a line between two strips?
Buffon's needle was the earliest problem in
geometric probability to be solved; it can be solved using
integral geometry. The solution for the sought probability ''p'', in the case where the needle length ''ℓ'' is not greater than the width ''t'' of the strips, is
:
This can be used to design a
Monte Carlo method for approximating the number
, although that was not the original motivation for de Buffon's question.
Solution
The problem in more mathematical terms is: Given a needle of length
dropped on a plane ruled with parallel lines ''t'' units apart, what is the probability that the needle will lie across a line upon landing?
Let ''x'' be the distance from the center of the needle to the closest parallel line, and let ''θ'' be the acute angle between the needle and one of the parallel lines.
The uniform
probability density function of ''x'' between 0 and ''t''/2 is
:
Here, ''x'' = 0 represents a needle that is centered directly on a line, and ''x'' = ''t''/2 represents a needle that is perfectly centered between two lines. The uniform PDF assumes the needle is equally likely to fall anywhere in this range, but could not fall outside of it.
The uniform probability density function of ''θ'' between 0 and /2 is
:
Here, ''θ'' = 0
radians represents a needle that is parallel to the marked lines, and ''θ'' = /2 radians represents a needle that is perpendicular to the marked lines. Any angle within this range is assumed an equally likely outcome.
The two
random variables
A random variable (also called random quantity, aleatory variable, or stochastic variable) is a mathematical formalization of a quantity or object which depends on random events. It is a mapping or a function from possible outcomes (e.g., the po ...
, ''x'' and ''θ'', are independent, so the
joint probability density function is the product
:
The needle crosses a line if
:
Now there are two cases.
Case 1: Short needle
Integrating the joint probability density function gives the probability that the needle will cross a line:
:
Case 2: Long needle
Suppose
. In this case, integrating the joint probability density function, we obtain:
:
where
is the minimum between
and
.
Thus, performing the above integration, we see that, when
, the probability that the needle will cross a line is
:
or
:
In the second expression, the first term represents the probability of the angle of the needle being such that it will always cross at least one line. The right term represents the probability that, the needle falls at an angle where its position matters, and it crosses the line.
Alternatively notice that whenever
has a value such that
, that is, in the range
the probability of crossing is the same as in the short needle case. However if
, that is,
the probability is constant and is equal to 1.
:
Using elementary calculus
The following solution for the "short needle" case, while equivalent to the one above, has a more visual flavor, and avoids iterated integrals.
We can calculate the probability
as the product of 2 probabilities:
, where
is the probability that the center of the needle falls close enough to a line for the needle to possibly cross it, and
is the probability that the needle actually crosses the line, given that the center is within reach.
Looking at the illustration in the above section, it is apparent that the needle can cross a line if the center of the needle is within
units of either side of the strip. Adding
from both sides and dividing by the whole width
, we obtain

Now, we assume that the center is within reach of the edge of the strip, and calculate
. To simplify the calculation, we can assume that
.
Let ''x'' and ''θ'' be as in the illustration in this section. Placing a needle's center at ''x'', the needle will cross the vertical axis if it falls within a range of 2''θ'' radians, out of radians of possible orientations. This represents the gray area to the left of ''x'' in the figure. For a fixed ''x'', we can express ''θ'' as a function of ''x'':
. Now we can let x move from 0 to 1, and integrate:
:
Multiplying both results, we obtain
, as above.
There is an even more elegant and simple method of calculating the "short needle case". The end of the needle farthest away from any one of the two lines bordering its region must be located within a horizontal (perpendicular to the bordering lines) distance of
(where
is the angle between the needle and the horizontal) from this line in order for the needle to cross it. The farthest this end of the needle can move away from this line horizontally in its region is
. The probability that the farthest end of the needle is located no more than a distance
away from the line (and thus that the needle crosses the line) out of the total distance
it can move in its region for
is given by
:
as above.
Without integrals
The short-needle problem can also be solved without any integration, in a way that explains the formula for ''p'' from the geometric fact that a circle of diameter ''t'' will cross the distance ''t'' strips always (i.e. with probability 1) in exactly two spots. This solution was given by
Joseph-Émile Barbier in 1860 and is also referred to as "
Buffon's noodle".
Estimating

In the first, simpler case above, the formula obtained for the probability
can be rearranged to
Thus, if we conduct an experiment to estimate
, we will also have an estimate for .
Suppose we drop ''n'' needles and find that ''h'' of those needles are crossing lines, so
is approximated by the fraction
. This leads to the formula:
:
In 1901, Italian mathematician Mario Lazzarini performed Buffon's needle experiment. Tossing a needle 3408 times, he obtained the well-known
approximation
An approximation is anything that is intentionally similar but not exactly equality (mathematics), equal to something else.
Etymology and usage
The word ''approximation'' is derived from Latin ''approximatus'', from ''proximus'' meaning ''very ...
355/113 for , accurate to six decimal places.
Lazzarini's "experiment" is an example of
confirmation bias
Confirmation bias is the tendency to search for, interpret, favor, and recall information in a way that confirms or supports one's prior beliefs or values. People display this bias when they select information that supports their views, ignoring ...
, as it was set up to replicate the already well-known approximation of 355/113 (in fact, there is no better rational approximation with fewer than five digits in the numerator and denominator), yielding a more accurate "prediction" of than would be expected from the number of trials, as follows:
[Lee Badger]
'Lazzarini's Lucky Approximation of '
''Mathematics Magazine'' 67, 1994, 83–91.
Lazzarini chose needles whose length was 5/6 of the width of the strips of wood. In this case, the probability that the needles will cross the lines is
. Thus if one were to drop ''n'' needles and get ''x'' crossings, one would estimate as:
So if Lazzarini was aiming for the result 355/113, he needed ''n'' and ''x'' such that:
or equivalently,
To do this, one should pick ''n'' as a multiple of 213, because then
is an integer; one then drops ''n'' needles, and hopes for exactly
successes.
If one drops 213 needles and happens to get 113 successes, then one can triumphantly report an estimate of accurate to six decimal places. If not, one can just do 213 more trials and hope for a total of 226 successes; if not, just repeat as necessary. Lazzarini performed 3408 = 213 · 16 trials, making it seem likely that this is the strategy he used to obtain his "estimate."
The above description of strategy might even be considered charitable to Lazzarini. A statistical analysis of intermediate results he reported for fewer tosses leads to a very low probability of achieving such close agreement to the expected value all through the experiment. This makes it very possible that the "experiment" itself was never physically performed, but based on numbers concocted from imagination to match statistical expectations, but too well, as it turns out.
Dutch science journalist Hans van Maanen argues, however, that Lazzarini's article was never meant to be taken too seriously as it would have been pretty obvious for the readers of the magazine (aimed at school teachers) that the apparatus that Lazzarini said to have built cannot possibly work as described.
[Hans van Maanen]
'Het stokje van Lazzarini' (Lazzarini's stick)
"Skepter" 31.3, 2018.
See also
*
Bertrand paradox (probability)
References
Bibliography
*
*
*
*
* Schroeder, L. (1974). "Buffon's needle problem: An exciting application of many mathematical concepts". ''Mathematics Teacher'', 67 (2), 183–6.
External links
Buffon's Needle Problemat
cut-the-knot
Alexander Bogomolny (January 4, 1948 July 7, 2018) was a Soviet-born Israeli-American mathematician. He was Professor Emeritus of Mathematics at the University of Iowa, and formerly research fellow at the Moscow Institute of Electronics and Math ...
Math Surprises: Buffon's Noodleat
cut-the-knot
Alexander Bogomolny (January 4, 1948 July 7, 2018) was a Soviet-born Israeli-American mathematician. He was Professor Emeritus of Mathematics at the University of Iowa, and formerly research fellow at the Moscow Institute of Electronics and Math ...
MSTE: Buffon's NeedleEstimating PI Visualization (Flash)Buffon's needle: fun and fundamentals (presentation)at
slideshare
Animations for the Simulation of Buffon's Needleby Yihui Xie using the
R packag
animationby Jeffrey Ventrella
* {{cite web, last=Padilla, first=Tony, title=Π Pi and Buffon's Needle, url=http://www.numberphile.com/pi/pi_matches.html, work=
Numberphile , publisher=
Brady Haran, access-date=2013-04-09, archive-url=https://web.archive.org/web/20130517072808/http://www.numberphile.com/pi/pi_matches.html, archive-date=2013-05-17, url-status=dead
Applied probability
Integral geometry
Probability problems