Home Home  Article Index Article Index  
GuruPedia  

Buffon's needle

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?

Using integral geometry, the problem can be solved to get a Monte Carlo method to approximate pi.

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 t > l, x be the distance from the center of the needle to the closest line, and θ be the acute angle between the needle and the lines.

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

 

The 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

 

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

 

For n needles dropped with h of the needles crossing lines, the probability is

 

which can be solved for π to get

 
Popular Topics

This article is from Wikipedia. All text is available under the terms of the GNU Free Documentation License.  For the live article, click here.

Privacy