LibraryQuant puzzles

Buffon's Needle: Dropping a Line on a Line

Quant puzzle · hard · members

The question

A floor is ruled with parallel straight lines, evenly spaced a distance dd apart. We drop a needle of length LL onto it, with L≤dL \le d, so the needle can cross at most one line. The needle lands with its centre uniformly placed and its orientation uniformly random, independently of each other.

  1. What is the probability the needle crosses a line?
  2. Where does π\pi come from, given that the problem mentions no circle?
  3. Suppose the needle is longer than the gap, L>dL > d. What can still be said?

Hint

Describe the landing by where the centre falls between two lines and how the needle is tilted, and ask how far the needle reaches across the lines at a given tilt.

The idea behind it

Two independent uniforms, position across the gap and orientation, and the crossing condition compares one against the sine of the other. Averaging a sine over a uniform angle is where pi enters.

The worked solution is for members

You have the question, a hint and the idea. It sets up the landing of the needle, derives the crossing probability, and explains how a circle's constant gets into a problem with no circle.

Further reading

Related problems

Topics

Also in the library