Buffon's Needle: History
Please note this is an old version of this entry, which may differ significantly from the current revision.
Contributor:

In mathematics, Buffon's needle problem is a question first posed in the 18th century by Georges-Louis Leclerc, Comte de Buffon: 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 π, although that was not the original motivation for de Buffon's question.

  • probability
  • needle
  • mathematics

1. Solution

The problem in more mathematical terms is: Given a needle of length [math]\displaystyle{ l }[/math] 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 projected line with length x.

The uniform probability density function of x between 0 and t /2 is

[math]\displaystyle{ \begin{cases} \frac{2}{t} &:\ 0 \le x \le \frac{t}{2}\\ 0 &: \text{elsewhere.} \end{cases} }[/math]

The uniform probability density function of θ between 0 and π/2 is

[math]\displaystyle{ \begin{cases} \frac{2}{\pi} &:\ 0 \le \theta \le \frac{\pi}{2}\\ 0 &: \text{elsewhere.} \end{cases} }[/math]

The two random variables, x and θ, are independent, so the joint probability density function is the product

[math]\displaystyle{ \begin{cases} \frac{4}{t\pi} &:\ 0 \le x \le \frac{t}{2}, \ 0 \le \theta \le \frac{\pi}{2}\\ 0 &: \text{elsewhere.} \end{cases} }[/math]

The needle crosses a line if

[math]\displaystyle{ x \le \frac{l}{2}\cos\theta. }[/math]

Now there are two cases.

1.1. Case 1: Short needle

Integrating the joint probability density function gives the probability that the needle will cross a line:

[math]\displaystyle{ P = \int_{\theta=0}^{\frac{\pi}{2}} \int_{x=0}^{(l/2)\cos\theta} \frac{4}{t\pi}\,dx\,d\theta = \frac{2 l}{t\pi}. }[/math]

A particularly nice argument for this result can alternatively be given using "Buffon's noodle".

1.2. Case 2: Long needle

Suppose [math]\displaystyle{ l \gt t }[/math]. In this case, integrating the joint probability density function, we obtain:

[math]\displaystyle{ \int_{\theta=0}^{\frac{\pi}{2}} \int_{x=0}^{m(\theta)} \frac{4}{t\pi}\,dx\,d\theta , }[/math]

where [math]\displaystyle{ m(\theta) }[/math] is the minimum between [math]\displaystyle{ (l/2)\cos\theta }[/math] and [math]\displaystyle{ t/2 }[/math].

Thus, performing the above integration, we see that, when [math]\displaystyle{ t \lt l }[/math], the probability that the needle will cross a line is

[math]\displaystyle{ \frac{2 l}{t\pi} - \frac{2}{t\pi}\left\{\sqrt{l^2 - t^2} + t\sin^{-1}\left(\frac{t}{l}\right)\right\}+1 }[/math]

or

[math]\displaystyle{ \frac{2}{\pi} \cos^{-1}\frac{t}{l} + \frac{2}{\pi} \frac{l}{t} \left\{1 - \sqrt{1 - \left( \frac{t}{l} \right)^2 } \right\}. }[/math]

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.

2. 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 [math]\displaystyle{ P }[/math] as the product of 2 probabilities: [math]\displaystyle{ P = P_1 \cdot P_2 }[/math], where [math]\displaystyle{ P_1 }[/math] is the probability that the center of the needle falls close enough to a line for the needle to possibly cross it, and [math]\displaystyle{ P_2 }[/math] 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 [math]\displaystyle{ l / 2 }[/math] units of either side of the strip. Adding [math]\displaystyle{ \frac{l}{2}+\frac{l}{2} }[/math] from both sides and dividing by the whole width [math]\displaystyle{ t }[/math], we obtain [math]\displaystyle{ P_1 = \frac{l}{t}. }[/math]

The red and blue needles are both centered at x. The red one falls within the gray area, contained by an angle of 2θ on each side, so it crosses the vertical line; the blue one does not. The proportion of the circle that is gray is what we integrate as the center x goes from 0 to 1. By GTBacchus - Own work, CC BY-SA 3.0, https://commons.wikimedia.org/w/index.php?curid=9758193

Now, we assume that the center is within reach of the edge of the strip, and calculate [math]\displaystyle{ P_2 }[/math]. To simplify the calculation, we can assume that [math]\displaystyle{ l = 2 }[/math].

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: [math]\displaystyle{ \theta\left(x\right) = \cos^{-1}\left(x\right) }[/math]. Now we can let x move from 0 to 1, and integrate:

[math]\displaystyle{ P_2 = \int_0^1 \frac{2\theta(x)}{\pi}\,dx = \frac{2}{\pi}\int_0^1 \cos^{-1}(x)\,dx = \frac{2}{\pi}\cdot 1 = \frac{2}{\pi}. }[/math]

Multiplying both results, we obtain [math]\displaystyle{ P = P_1\cdot P_2 = \frac{l}{t}\frac{2}{\pi} = \frac{2 l}{t\pi} }[/math], 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 [math]\displaystyle{ l\cos\theta }[/math] (where [math]\displaystyle{ \theta }[/math] 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 [math]\displaystyle{ t }[/math]. The probability that the farthest end of the needle is located no more than a distance [math]\displaystyle{ l\cos\theta }[/math] away from the line (and thus that the needle crosses the line) out of the total distance [math]\displaystyle{ t }[/math] it can move in its region for [math]\displaystyle{ 0 \le \theta \le \pi/2 }[/math] is given by

[math]\displaystyle{ P = \frac{\int_0^{\frac{\pi}{2}} l\cos\theta d\theta}{\int_0^{\frac{\pi}{2}} t d\theta} = \frac{l}{t}\frac{\int_0^{\frac{\pi}{2}} \cos\theta d\theta}{\int_0^{\frac{\pi}{2}} d\theta} = \frac{l}{t}\frac{1}{\frac{\pi}{2}}=\frac{2l}{t\pi} }[/math], as above.

3. Estimating π

A quick experiment to estimate π, yielding the value of 34/11≈3.1 based on 17 throws. By McZusatz - Own work, CC BY-SA 3.0, https://commons.wikimedia.org/w/index.php?curid=26236866

In the first, simpler case above, the formula obtained for the probability [math]\displaystyle{ P }[/math] can be rearranged to: [math]\displaystyle{ \pi = \frac{2 l}{t P} }[/math]. Thus, if we conduct an experiment to estimate [math]\displaystyle{ P }[/math], we will also have an estimate for π.

Suppose we drop n needles and find that h of those needles are crossing lines, so [math]\displaystyle{ P }[/math] is approximated by the fraction [math]\displaystyle{ h / n }[/math]. This leads to the formula:

[math]\displaystyle{ \pi \approx \frac{2l\cdot n}{t h}. }[/math]

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 significant digits.[1] 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: [2]

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 [math]\displaystyle{ \frac{5}{3 \pi} }[/math]. Thus if one were to drop n needles and get x crossings, one would estimate π as

π ≈ 5/3 · n/x.

So if Lazzarini was aiming for the result 355/113, he needed n and x such that:

355/113 = 5/3 · n/x

or equivalently,

x = 113n/213

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."

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.[2]

The content is sourced from: https://handwiki.org/wiki/Buffon%27s_needle

References

  1. Lazzarini, M. (1901). "Un'applicazione del calcolo della probabilità alla ricerca sperimentale di un valore approssimato di π" (in it). Periodico di Matematica per l'insegnamento secondario 4: 140–143. https://books.google.com/books?id=n3FVAAAAYAAJ&pg=RA1-PA140&lpg=RA1-PA140&source=bl&hl=en. 
  2. Lee Badger, 'Lazzarini's Lucky Approximation of π', Mathematics Magazine 67, 1994, 83–91. http://www.maa.org/sites/default/files/pdf/upload_library/22/Allendoerfer/1995/Badger.pdf
More
This entry is offline, you can click here to edit this entry!
ScholarVision Creations