Month: February 2011

Maxwell’s Demon Lives! And He’s Devilishly Cool

Click here to see a slightly more modern take.

In the 19th-century, James Clerk Maxwell came up with a thought experiment that still befuddles physics students (as well as the rest of us) to this day. The great Scottish physicist theorized the existence of a “demon” that seemed able to concentrate the atoms of a gas into a smaller volume without raising their temperature, thus reducing their entropy. That feat seemed to violate the second law of thermodynamics, according to which entropy can never decrease.

What’s the catch?

To find out, get your hands on the March issue of Scientific American, which is now hitting the newsstands. In the article “Demons, Entropy and the Quest for Absolute Zero,” physicist Mark G. Raizen describes how he built a working version of the demon: a one-way gate that only lets atoms go through in one direction only, forcing them accumulate on one side of a container.

Raizen’s is not the first physical realization of a Maxwell’s demon. The molecular machinery of living cells often appears to rely on the related concept of a Brownian ratchet, which has inspired chemists to build molecules that harvest the energy of Brownian motion, in seeming violation of the second law of thermodynamics (see the article on the nanomachines of life and their manmade imitations, which I wrote for Science News three years ago). But the gate Raizen built is particularly elegant in that it is pretty much as efficient as it gets: it sorts atoms using a single photon for each atom.

Raizen used his device to cool a rarefied gas down to temperatures of just millionths of a degree above absolute zero. He started out with a gas that had already been cooled to one one-hundredth of a kelvin (using a device called an atomic coilgun, also described in the text) and placed it in a magnetic trap. He then used his one-way gate to bring the temperature closer to absolute zero by many orders of magnitude.

To see how that works, check out the interactive single-photon cooling animation on SciAm’s web site. It shows how a one-way gate can help cool a gas in two steps: First let the gate concentrate atoms into a smaller volume (but without raising their temperature), then allow them to expand to the original volume (which brings their temperature down).

Century-Old Enigma on Mathematical Partitions Is Solved

Ken Ono and Zach Kent were part of a team that cracked an enigma formulated by the Indian mathematician Ramanujan. Credit: Carol Clark/Emory U.
For someone who died at the age of 32, the largely self-taught Indian mathematician Srinivasa Ramanujan left behind an impressive legacy of insights into the theory of numbers—including many claims that he did not support with proof. One of his more enigmatic statements, made nearly a century ago, about counting the number of ways in which a number can be expressed as a sum, has now helped researchers find unexpected fractal structures in the landscape of counting.

Ramanujan’s statement concerned the deceptively simple concept of partitions—the different ways in which a whole number can be subdivided into smaller numbers. Ken Ono of Emory University and his collaborators have now figured out new ways of counting all possible partitions, and found that the results form fractals—namely, structures in which patterns or shapes repeat identically at multiple different scales. “The fractal theory we’ve discovered completely answers Ramanujan’s enigmatic statement,” Ono says. The problems his team cracked were seen as holy grails of number theory, and its solutions may have repercussions throughout mathematics.

One way to think of partitions is to consider how a set of any (indistinguishable) objects can be divided into subsets. For example, if you need to store five boxes in your basement, you can pile them all into a single stack; lay them individually on the floor as five subsets containing one box apiece; put them in one pile, or subset, of three plus one pile of two; and so on—you have a total of 7 options:

5, 1+1+1+1+1, 1+1+1+2, 1+1+3, 1+4, 1+2+2 or 2+3.

Mathematicians express this by saying p(5) = 7, where p is short for partition. For the number 6 there are 11 options: p(6) = 11. As the number n increases, p(n) soon starts to grow very fast, so that for example p(100) = 190,569,292 and p(1,000) is a 32-figure number. (The WolframAlpha knowledge engine calculates partitions for numbers as large as one million.)

The partitions of 1 through 8. Credit: R. A. Nonenmacher/WikiMedia
The concept is so basic and fundamental that it is central to number theory and pops up in most other fields of math as well. In the figure to the right you can see all partitions of the numbers 1 through 8.

Mathematicians have long known that the sequence of numbers made by the p(n)’s for all values of n is far from being random. Ramanujan and others after him found formulas to predict the value of any p(n) with good approximation, for example. And general “recursive” formulas have long existed to calculate p(n), but they don’t speed up calculations very much because to find p(n) you first need to know p(n – 1), p(n – 2) and so on. “That’s impractical even with the help of a computer today,” Ono says.

A direct formula for calculating the exact value of p(n) could in principle be faster. Another advantage of a direct formula would be the ability to compare values of p(n) for arbitrarily large n’s and thus to prove the existence of patterns, such as properties that repeat along an entire infinite sequence.

According to Ono, for example, empirically it appears that exactly half of all partition numbers are even and that one-third are divisible by 3. These empirical patterns however have yet to be proven to be true throughout the entire set of natural numbers.

Ramanujan’s original statement, in fact, stemmed from the observation of patterns, such as the fact that p(9) = 30, p(9 + 5) = 135, p(9 + 10) = 490, p(9 + 15) = 1,575 and so on are all divisible by 5. Note that here the n’s come at intervals of five units.

Ramanujan posited that this pattern should go on forever, and that similar patterns exist when 5 is replaced by 7 or 11—there are infinite sequences of p(n) that are all divisible by 7 or 11, or, as mathematicians say, in which the “moduli” are 7 or 11.

Then, in nearly oracular tone Ramanujan went on: “There appear to be corresponding properties,” he wrote in his 1919 paper, “in which the moduli are powers of 5, 7 or 11…and no simple properties for any moduli involving primes other than these three.” (Primes are whole numbers that are only divisible by themselves or by 1.) Thus, for instance, there should be formulas for an infinity of n’s separated by 5^3 = 125 units, saying that the corresponding p(n)’s should all be divisible by 125.

In the years since, mathematicians were able to prove the simple cases based on Ramanujan’s statement. Thus, every fifth partition number is divisible by five. (It actually seems that about 32 percent are divisible by 5, which would be more than the 20 percent minimum that’s guaranteed by Ramanujan’s formula: the formula only says that one every 5 is divisible by 5, but doesn’t say anything about the numbers in between.)

As to what “no simple properties” could mean, that was anybody’s guess—until now.

Working with Jan Hendrik Bruinier of Darmstadt Technical University in Germany, Ono has developed the first exact formula for calculating p(n) for any n. And in a separate paper with Zachary A. Kent, also at Emory, and Amanda Folsom of Yale University, he has identified patterns that probably even Ramanujan could not have dreamed of.

The patterns link certain sequences of p(n) where the n’s are separated by powers of any prime number beyond 11. For example, take the next prime up, 13, and the sequence p(6), p(6 + 13), p(6 + 13 + 13) and so on. Ono’s formulas link these values with those of p(1,007), p(1,007 + 13^2), p(1007 + 13^2 + 13^2) and so on. The same formulas link the latter sequence with one where the n’s come at intervals of 13^3—and so on for larger and larger exponents. (The formulas are slightly more subtle than just saying that the p(n) are multiples of a prime.) Such recurrence is typical of fractal structures such as a Mandelbrot set, and is the number theory equivalent of zooming into a fractal, Ono explains.

Ono unveiled the discoveries January 21 at a specially convened symposium at Emory. By that afternoon the news had made waves across the math world, and his in-box had filled with 1,500 e-mails from mathematicians, reporters and “cranks,” he says. (Ono, Folsom and Kent posted their proof on the Web site of the American Institute of Mathematics and also submitted it to a journal. The full proof of Ono and Bruinier’s new formula is still being written up, Ono says.)

“Ken is a phenomenon,” comments George E. Andrews, a partitions expert at The Pennsylvania State University. The new fractal view of partitions, Andrews adds, “provides a superstructure that no one anticipated just a few years ago.”

Do Ono et al.’s discoveries have any practical use? Hard to predict, Andrews says. “Often deep understanding of underlying pure mathematics takes awhile to filter into applications.” In the past methods developed to understand partitions have later been applied to physics problems such as the theory of the strong nuclear force or the entropy of black holes.

Meanwhile, mathematicians are left to contemplate Ramanujan’s mind. Many of his claims, Ono points out, have turned out to be incorrect, but his work still illuminates so much of what number theorists study today. “All of this stuff that we’re studying right now for some crazy reason was anticipated by Ramanujan,” he says.

“He was a magical genius,” Andrews adds, “and the rest of us wish we knew how he was able to see so deeply.”

(Here you can see a video of Ono explaning the discoveries.)

A slightly shorter version of this story was posted today at