Buffon's needle
|
|
This article includes a list of references, related reading or external links, but its sources remain unclear because it lacks inline citations. Please improve this article by introducing more precise citations. (March 2011) |
In 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 made of parallel strips of wood, each the same width, and we drop a needle 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, in the case where the needle length is not greater than the width of the strips, can be used to design a Monte Carlo method for approximating the number π.
Contents |
[edit] Solution
The problem in more mathematical terms is: Given a needle of length l dropped on a plane ruled with parallel lines t units apart, what is the probability that the needle will cross a line?
Let x be the distance from the center of the needle to the closest line, let θ be the acute angle between the needle and the lines.
The uniform probability density function of x between 0 and t /2 is
The uniform probability density function of θ between 0 and π/2 is
The two random variables, x and θ, are independent, so the joint probability density function is the product
The needle crosses a line if
Now there are two cases.
[edit] Case 1: Short needle
Suppose
.
Integrating the joint probability density function gives the probability that the needle will cross a line:
[edit] Case 2: Long needle
Suppose l > t. In this case, integrating the joint probability density function, we obtain:
where m(θ) is the minimum between (l / 2)sin θ and t / 2.
Thus, performing the above integration, we see that, when t < l, 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.
[edit] 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:
, where P1 is the probability that the center of the needle falls close enough to a line for the needle to possibly cross it, and P2 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 l / 2 units of either side of the strip. Adding
from both sides[clarification needed] and dividing by the whole width t, we obtain
.
Now, we assume that the center is within reach of the edge of the strip, and calculate P2. To simplify the calculation, we can assume that l = 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 is the gray area 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.
[edit] Estimating π
In the first, simpler case above, the formula obtained for the probability P can be rearranged to:
. 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:
In 1901, Italian mathematician Mario Lazzarini performed the Buffon's needle experiment. Tossing a needle 3408 times, he obtained the well-known estimate 355/113 for π, which is a very accurate value, differing from π by no more than 3×10−7. This is an impressive result, but is something of a cheat, as follows.
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 5/3π. Thus if one were to drop n needles and get x crossings, one would estimate π as
- π ≈ 5/3 · n/x.
π is very nearly 355/113; in fact, there is no better rational approximation with fewer than 5 digits in the numerator and denominator. So if one had n and x such that:
- 355/113 = 5/3 · n/x
or equivalently,
- x = 113n/213
one would derive an unexpectedly accurate approximation to π, simply because the fraction 355/113 happens to be so close to the correct value. But this is easily arranged. To do this, one should pick n as a multiple of 213, because then 113n/213 is an integer; one then drops n needles, and hopes for exactly x = 113n/213 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".
[edit] References
- Badger, Lee (April 1994). "Lazarini's Lucky Approximation of π". Mathematics Magazine (Mathematical Association of America) 67 (2): 83–91. doi:10.2307/2690682. JSTOR 2690682.
- Ramaley, J. F. (October 1969). "Buffon's Noodle Problem". The American Mathematical Monthly (Mathematical Association of America) 76 (8): 916–918. doi:10.2307/2317945. JSTOR 2317945.
- Mathai, A. M. (1999). An Introduction to Geometrical Probability. Gordon & Breach. p. 5. ISBN 9789056996819. http://books.google.com/?id=FV6XncZgfcwC.
- Dell, Zachary; Franklin, Scott V. (September 2009). "The Buffon-Laplace needle problem in three dimensions". Journal of Statistical Mechanics: Theory and Experiment 09 (09): 010. Bibcode 2009JSMTE..09..010D. doi:10.1088/1742-5468/2009/09/P09010.
- Schroeder, L. (1974). "Buffon's needle problem: An exciting application of many mathematical concepts". Mathematics Teacher, 67 (2), 183-186.
[edit] External links
- Buffon's Needle at cut-the-knot
- Math Surprises: Buffon's Noodle at cut-the-knot
- MSTE: Buffon's Needle
- Buffon's Needle Java Applet
- Estimating PI Visualization (Flash)
- Buffon's needle: fun and fundamentals (presentation) at slideshare
- Animations for the Simulation of Buffon's Needle by Yihui Xie using the R package animation
- 3D Physical Animation Java Applet by Jeffrey Ventrella









.