*** Welcome to piglix ***

Buffon's noodle


In geometric probability, the problem of Buffon's noodle is a variation on the well-known problem of Buffon's needle, named after Georges-Louis Leclerc, Comte de Buffon who lived in the 18th century. That problem solved by Buffon was the earliest geometric probability problem to be solved.

Suppose there exist an infinite number of equally spaced parallel lines, and we were to randomly toss a needle whose length is less than or equal to the distance between adjacent lines. What is the probability that the needle will cross a line? The formula is , where D is the distance between two adjacent lines, and L is the length of the needle.

The interesting thing about the formula is that it stays the same even when you bend the needle in any way you want (subject to the constraint that it must lie in a plane), making it a "noodle"—a rigid plane curve. We drop the assumption that the length of the noodle is no more than the distance between the parallel lines.

The probability distribution of the number of crossings depends on the shape of the noodle, but the expected number of crossings does not; it depends only on the length L of the noodle and the distance D between the parallel lines (observe that a curved noodle may cross a single line multiple times).

This fact may be proved as follows (see Klain and Rota). First suppose the noodle is piecewise linear, i.e. consists of n straight pieces. Let Xi be the number of times the ith piece crosses one of the parallel lines. These random variables are not independent, but the expectations are still additive due to the linearity of expectation:


...
Wikipedia

...