Buffon's needle problem
   HOME

TheInfoList



OR:

In mathematics, Buffon's needle problem is a question first posed in the 18th century by
Georges-Louis Leclerc, Comte de Buffon Georges-Louis Leclerc, Comte de Buffon (; 7 September 1707 – 16 April 1788) was a French naturalist, mathematician, cosmologist, and encyclopédiste. His works influenced the next two generations of naturalists, including two prominent ...
: :Suppose we have a floor made of
parallel Parallel is a geometric term of location which may refer to: Computing * Parallel algorithm * Parallel computing * Parallel metaheuristic * Parallel (software), a UNIX utility for running programs in parallel * Parallel Sysplex, a cluster of ...
strips of
wood Wood is a porous and fibrous structural tissue found in the stems and roots of trees and other woody plants. It is an organic materiala natural composite of cellulose fibers that are strong in tension and embedded in a matrix of lignin ...
, each the same width, and we drop a needle onto the floor. What is the
probability Probability is the branch of mathematics concerning numerical descriptions of how likely an event is to occur, or how likely it is that a proposition is true. The probability of an event is a number between 0 and 1, where, roughly speakin ...
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 In mathematics, integral geometry is the theory of measures on a geometrical space invariant under the symmetry group of that space. In more recent times, the meaning has been broadened to include a view of invariant (or equivariant) transformati ...
. 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 :p=\frac \cdot \frac\ell t. This can be used to design a
Monte Carlo method Monte Carlo methods, or Monte Carlo experiments, are a broad class of computational algorithms that rely on repeated random sampling to obtain numerical results. The underlying concept is to use randomness to solve problems that might be determi ...
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 \ell 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 In probability theory, a probability density function (PDF), or density of a continuous random variable, is a function whose value at any given sample (or point) in the sample space (the set of possible values taken by the random variable) ca ...
of ''x'' between 0 and ''t''/2 is : \begin \frac &:\ 0 \le x \le \frac\\ 0 &: \text \end 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 : \begin \frac &:\ 0 \le \theta \le \frac\\ 0 &: \text \end Here, ''θ'' = 0
radians The radian, denoted by the symbol rad, is the unit of angle in the International System of Units (SI) and is the standard unit of angular measure used in many areas of mathematics. The unit was formerly an SI supplementary unit (before that ...
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, ''x'' and ''θ'', are independent, so the
joint probability density function In probability theory, a probability density function (PDF), or density of a continuous random variable, is a function whose value at any given sample (or point) in the sample space (the set of possible values taken by the random variable) can ...
is the product : \begin \frac &:\ 0 \le x \le \frac, \ 0 \le \theta \le \frac\\ 0 &: \text \end The needle crosses a line if :x \le \frac\ell 2 \sin\theta. 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: :P = \int_^ \int_^ \frac\,dx\,d\theta = \frac.


Case 2: Long needle

Suppose \ell > t. In this case, integrating the joint probability density function, we obtain: :\int_^ \int_^ \frac\,dx\,d\theta, where m(\theta) is the minimum between (\ell/2)\sin\theta and t/2 . Thus, performing the above integration, we see that, when t < \ell, the probability that the needle will cross a line is :\frac - \frac\left\+1 or : \frac \cos^ \frac t \ell + \frac \frac\ell t \left\. 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 \theta has a value such that \ell \sin\theta \le t, that is, in the range 0 \le \theta \le \sin^(t/\ell) the probability of crossing is the same as in the short needle case. However if \ell \sin\theta > t, that is, \sin^(t/\ell) < \theta \le \frac the probability is constant and is equal to 1. :\left(\int_^ \int_^ \frac\right) + \left(\int_^ \frac\right) = \frac - \frac\left\ + 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 P as the product of 2 probabilities: P = P_1 \cdot P_2, where P_1 is the probability that the center of the needle falls close enough to a line for the needle to possibly cross it, and P_2 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 \ell / 2 units of either side of the strip. Adding \frac\ell 2 + \frac \ell 2 from both sides and dividing by the whole width t, we obtain P_1 = \frac\ell t. Now, we assume that the center is within reach of the edge of the strip, and calculate P_2. To simplify the calculation, we can assume that \ell = 2. 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'': \theta(x) = \cos^(x). Now we can let x move from 0 to 1, and integrate: :P_2 = \int_0^1 \frac\,dx = \frac\int_0^1 \cos^(x)\,dx = \frac\cdot 1 = \frac. Multiplying both results, we obtain P = P_1\cdot P_2 = \frac\ell t \frac = \frac, 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 l\cos\theta (where \theta 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 t. The probability that the farthest end of the needle is located no more than a distance l\cos\theta away from the line (and thus that the needle crosses the line) out of the total distance t it can move in its region for 0 \le \theta \le \pi/2 is given by : P = \frac = \frac\ell t \frac = \frac\ell t \frac=\frac, 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 Joseph-Émile Barbier (1839–1889) was a French astronomer and mathematician, known for Barbier's theorem on the perimeter of curves of constant width. Barbier was born on 18 March 1839 in Saint-Hilaire-Cottes, Pas-de-Calais, in the north of ...
in 1860 and is also referred to as "
Buffon's noodle In geometric probability, the problem of Buffon's noodle is a variation on the well-known problem of Buffon's needle, named after Georges-Louis Leclerc, Comte de Buffon who lived in the 18th century. This approach to the problem was published by ...
".


Estimating

In the first, simpler case above, the formula obtained for the probability P can be rearranged to \pi = \frac. Thus, if we conduct an experiment to estimate P, we will also have an estimate for . Suppose we drop ''n'' needles and find that ''h'' of those needles are crossing lines, so P is approximated by the fraction h / n. This leads to the formula: :\pi \approx \frac. In 1901, Italian mathematician Mario Lazzarini performed Buffon's needle experiment. Tossing a needle 3408 times, he obtained the well-known approximation 355/113 for , accurate to six decimal places. Lazzarini's "experiment" is an example of confirmation bias, 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 \frac. Thus if one were to drop ''n'' needles and get ''x'' crossings, one would estimate as:\pi \approx \frac 53 \cdot \frac nxSo if Lazzarini was aiming for the result 355/113, he needed ''n'' and ''x'' such that:\frac = \frac 53 \cdot \frac nxor equivalently,x = \frac.To do this, one should pick ''n'' as a multiple of 213, because then \frac is an integer; one then drops ''n'' needles, and hopes for exactly x = \frac 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) The Bertrand paradox is a problem within the classical interpretation of probability theory. Joseph Bertrand introduced it in his work ''Calcul des probabilités'' (1889), as an example to show that the principle of indifference may not produce de ...


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 Problem
at cut-the-knot
Math Surprises: Buffon's Noodle
at cut-the-knot
MSTE: Buffon's Needle



Estimating PI Visualization (Flash)

Buffon's needle: fun and fundamentals (presentation)
at
slideshare SlideShare is an American hosting service, now owned by Scribd, for professional content including presentations, infographics, documents, and videos. Users can upload files privately or publicly in PowerPoint, Word, PDF, or OpenDocument format. ...

Animations for the Simulation of Buffon's Needle
by Yihui Xie using the R packag
animation


by 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 ''Numberphile'' is an educational YouTube channel featuring videos that explore topics from a variety of fields of mathematics. In the early days of the channel, each video focused on a specific number, but the channel has since expanded its ...
, publisher=
Brady Haran Brady John Haran (born 18 June 1976) is an Australian-British independent filmmaker and video journalist who produces educational videos and documentary films for his YouTube channels, the most notable being ''Periodic Videos'' and '' Numbe ...
, 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