Buffon's Needle Problem — Definition, Formula & Examples
Buffon's Needle Problem is a classic probability question that asks: if you drop a needle of a certain length onto a floor with equally spaced parallel lines, what is the probability the needle crosses a line? The surprising result connects geometric probability to the number .
Given a needle of length dropped uniformly at random onto a plane ruled with parallel lines spaced apart (where ), the probability that the needle intersects a line is . This result, first posed by Georges-Louis Leclerc, Comte de Buffon, in 1777, is derived by integrating over the uniform distributions of the needle's distance from the nearest line and its angle of orientation.
Key Formula
Where:
- = Probability that the needle crosses a line
- = Length of the needle (must satisfy l ≤ d)
- = Distance between adjacent parallel lines
- = The mathematical constant pi (≈ 3.14159)
How It Works
Imagine parallel lines drawn on the floor, each a distance apart. You drop a needle of length so that its center lands at a random distance from the nearest line (where ) and at a random angle (where ). The needle crosses a line whenever . Integrating this condition over the joint uniform distribution of and yields the crossing probability . By rearranging, you can estimate experimentally: drop the needle many times, count crossings, and solve for , where is total drops and is the number of crossings.
Worked Example
Problem: A needle of length 3 cm is dropped onto a floor with parallel lines spaced 6 cm apart. What is the probability it crosses a line? If you drop it 1000 times and it crosses 318 times, what estimate of π does this give?
Find the crossing probability: Apply the formula with l = 3 and d = 6.
Estimate π from the experiment: Rearrange the formula to solve for π. Use N = 1000 total drops and C = 318 crossings.
Answer: The theoretical crossing probability is approximately 0.3183. The experiment with 318 crossings out of 1000 drops estimates π ≈ 3.1447.
Why It Matters
Buffon's Needle is one of the earliest examples of a Monte Carlo method — using randomness to estimate a deterministic quantity. It appears in introductory probability and statistics courses to illustrate geometric probability and the surprising role of outside of geometry. The underlying technique of random sampling to approximate integrals is foundational in computational statistics, physics simulations, and machine learning.
Common Mistakes
Mistake: Using the formula when the needle length exceeds the line spacing (l > d).
Correction: The formula P = 2l/(πd) applies only when l ≤ d. For longer needles, the derivation changes and the probability formula becomes more complex, involving an arccosine term.
