### An Experiment

Get out a sheet of paper and draw parallel lines on it spaced two inches apart. Take a one-inch long needle and repeatedly toss it onto the sheet of paper, counting the total number of needle tosses and the number of times the needle touches one of the lines. What do you expect the ratio of number of tosses to the number of line intersections to be? In other words, what is the probability that a randomly tossed needle intersects a line? I don’t think the answer is obvious, but it turns out to be the ubiquitous number You can in principle use this to experimentally calculate , though you unfortunately need to toss the needle an impractical number of times in order to get a reasonable estimate.

This experiment is known as *Buffon’s Needle Experiment*; in this post I’m going to explore more general and seemingly more difficult phenomenon called *Buffon’s Noodle Experiment*. The setup is the same as before, only instead of tossing a needle (a line segment), we’ll toss a rigid “noodle” in the shape of any desired plane curve. We’ll find that the statistics of noodle crossings is determined just by the length, and not the specific shape, of the noodle in question. Thus the noodle experiment makes a profound connection between geometry and probability theory, a connection which helps solve difficult problems in both areas. This is encapsulated by a beautiful tool called *Crofton’s Formula*, the first result in an area of mathematics called “Integral Geometry” (or alternatively “Geometric Probability,” depending on whom you ask).

Part of the beauty of the integral geometry approach to Buffon’s needle experiment is that it involves almost no calculations. There are other approaches that involve writing out probability density functions and calculating double integrals, but the argument that I will give below involves only basic (but surprisingly subtle) ideas in probability theory and calculus. It’s a great example of a tricky problem that can be solved through careful abstract thought.

### The Explanation

To come to grips with the needle and noodle experiments, we will try to answer the following question: what is the expected number of times that a randomly thrown noodle will cross lines on lined paper with line spacing ? We count with multiplicities: if the noodle intersects the same line twice, that counts as two line intersections.

Let be the random variable which represents the number of line intersections for a given noodle. Recall that the expected value of is given by:

where represents the probability that the number of line intersections is exactly . Here are a few basic observations about these expectations in the case where the noodle is actually a needle (i.e. a line segment).

- The expectation for a needle of length smaller than (the line spacing) is just because such a needle can cross at most one line.
- The expectation for any needle depends only on the length of the needle. Thus if denotes the random variable which represents the number of line intersections for a needle of length , we can define a function by .

Now, consider a noodle made up of exactly two needles of lengths and joined rigidly end-to-end. Denote the random variables representing the number of crossings for the two needles by and , respectively; then the random variable representing the number of line intersections for the noodle is just . Note that and are not independent since the needles are joined, but it is nevertheless true that

A priori the expectation depends on the lengths and of the two needles as well as the angle at which they are joined, but the calculation above shows that the expectation is actually independent of the angle. Therefore we can calculate the expectation just by considering the case where angle is such that the two needles form a line segment, i.e. a needle of length . From this we conclude that

We can iterate this argument for any noodle made by chaining together needles of lengths to conclude that:

In particular, if the needles all have the same length, we conclude that for any positive integer and any positive real number . By dividing a needle into equal pieces, this also shows that . Combining these two facts, we conclude that for any *rational* number . The expected number of crossings for a longer line segment is at least as large as the expected number of crossings for a shorter one, so we also know that the function is non-decreasing. Also, we have that (i.e. the line segment of length zero doesn’t intersect any lines). Basic calculus tells us that the only non-decreasing function which satisfies , , and for every rational number is the function

where is some constant. This is already a pretty strong statement about the expected number of crossings for a needle, but we can do even better. Take any noodle of total length made up of line segments of lengths and let be the random variable representing the number of crossings for that noodle; as above, we have:

Thus the expected number of crossings for piecewise linear noodles is still just times the length of the noodle.

Now take any noodle which is in the shape of a piecewise smooth curve . Borrowing another fact from basic calculus, is the uniform limit of a sequence of piecewise linear curves whose lengths converge to the length of (note that this second condition is not automatically implied by the first). Since the expectations for each of the piecewise linear noodles is given by the formula , this formula holds for any piecewise smooth noodle. Thus we have proved:

**Proposition:** Let denote the random variable corresponding the number of line crossings for a rigid piecewise smooth noodle of length tossed at lined sheet of paper. Then for some universal constant

Already we have proven something that wasn’t really obvious at the outset: the expected number of intersections depends only on the length, and not on the shape, of the noodle! It remains only to calculate the constant ; since this constant is the same for any noodle (of any shape an any length), it suffices to work out just one example. There is one particular noodle for which this calculation is especially easy: the circle whose diameter is (the spacing of the lines). This is because no matter how you drop such a circle on a sheet of lined paper whose lines are spaced apart, the circle *must* intersect exactly two lines and therefore the expected number of intersections is simply . The length of the circle of diameter is , so we have and hence . Thus the expectation formula is .

In the example at the beginning of this post, we considered a needle of length (so that ) tossed at a sheet of lined paper with line spacing . According to our formula, this means that the expected number of line crossings is simply . But as we observed above, the expected number of crossings for a needle which is shorter than the line spacing of the paper is simply the probability that at least one crossing will occur. Therefore this probability is . According to the law of large numbers, this means that the ratio of the number of needle tosses to the number of crossings approaches as the number of tosses tends to infinity.

### Crofton’s Formula

Having accounted for Buffon’s needle and noodle experiments, let us reflect on what we have done. We set out to answer a question about the statistics of tossing noodles at paper, and we found that the answer to the question is an explicit formula involving only the length of the noodle and some constants. Flipping this formula around, notice that this gives us a surprising way to calculate the length of the noodle:

In other words, length is a quantity which can be measured and manipulated using statistical techniques. You might not be convinced right away that this is a useful way to think about length, but in fact there are a variety of difficult theorems in geometry which have remarkably easy proofs when they are translated into this language.

Actually, it’s useful to think about all of this in a slightly different way. Instead of throwing the noodle at the paper, we’ll imagine throwing the paper at the noodle. In other words, we’ll ask a slightly different question: what is the average number of times that a random line in the plane intersects a given plane curve? This question is conceptually a little more problematic than the old question because it is not completely clear what the phrase “random line” should mean; Bertrand’s Pardox is a good illustration of the subtleties involved.

Here is the right meaning of the phrase for our purposes. The set of all oriented lines in the plane can be parametrized by two coordinates: the (signed) distance from a line to the origin (a number from to ) and the direction (an angle) in which it points (a number from to ). With this parametrization, we can interpret a “random line” to simply be a random point in the strip . (To placate the highly mathematically literate members of my readership, I’ll remark that the space of lines in the plane is topologically a homogeneous space which has a unique translation invariant measure, and this space differs from the strip with Lebesgue measure by a set of measure zero.)

Now, associated to any piecewise smooth curve in the plane is a function which represents the number of times that the line determined by the values intersects . Crofton’s formula relates the average value of this function to the length of :

**Crofton’s Formula:**

This formula can be proved using more or less the same procedure that we used to calculate the expected number of crossings for a noodle thrown at a sheet of lined paper: argue that the integral on the right-hand side is additive for line segments attached end-to-end, use an approximation argument to show that it agrees with length up to a multiplicative constant, and fix the constant by calculating a single explicit example (the circle is once again a good choice).

As I alluded in the beginning of this post, Crofton’s formula is the tip of a very deep iceberg. There are analogous formulas for area, volume, and a plethora of interesting geometric quantities. In my next post I will use Crofton’s formula to deduce some facts about curves of constant width, tying this post together with post on the Coaster Roller.