Researchers have solved an apparently overwhelming physics problem involving some truly huge numbers. In summary, the problem asks you to imagine that you have 128 tennis balls, and can arrange them in any way you like. The challenge is to work out how many arrangements are possible and – according to the research – the answer is about 10^{250}, also known as ten unquadragintilliard: a number so big that it exceeds the total number of particles in the universe.

Despite its complexity, this study also provides a working example of how "configurational entropy" might be calculated in granular physics. This basically means the issue of measuring how disordered the particles within a system or structure are. The research provides a model for the sort of maths that would be needed to solve bigger problems still, ranging from predicting avalanches, to creating efficient artificial intelligence systems.

A bewildering physics problem has apparently been solved by researchers, in a study which provides a mathematical basis for understanding issues ranging from predicting the formation of deserts, to making artificial intelligence more efficient.

In research carried out at the University of Cambridge, a team developed a computer program that can answer this mind-bending puzzle: Imagine that you have 128 soft spheres, a bit like tennis balls. You can pack them together in any number of ways. How many different arrangements are possible?

The answer, it turns out, is something like 10^{250} (1 followed by 250 zeros). The number, also referred to as ten unquadragintilliard, is so huge that it vastly exceeds the total number of particles in the universe.

Far more important than the solution, however, is the fact that the researchers were able to answer the question at all. The method that they came up with can help scientists to calculate something called configurational entropy – a term used to describe how structurally disordered the particles in a physical system are.

Being able to calculate configurational entropy would, in theory, eventually enable us to answer a host of seemingly impossible problems – such as predicting the movement of avalanches, or anticipating how the shifting sand dunes in a desert will reshape themselves over time.

These questions belong to a field called granular physics, which deals with the behaviour of materials such as snow, soil or sand. Different versions of the same problem, however, exist in numerous other fields, such as string theory, cosmology, machine learning, and various branches of mathematics. The research shows how questions across all of those disciplines might one day be addressed.

Stefano Martiniani, a Benefactor Scholar at St John's College, University of Cambridge, who carried out the study with colleagues in the Department of Chemistry, explained: "The problem is completely general. Granular materials themselves are the second most processed kind of material in the world after water and even the shape of the surface of the Earth is defined by how they behave."

"Obviously being able to predict how avalanches move or deserts may change is a long, long way off, but one day we would like to be able to solve such problems. This research performs the sort of calculation we would need in order to be able to do that."

At the heart of these problems is the idea of entropy – a term which describes how disordered the particles in a system are. In physics, a "system" refers to any collection of particles that we want to study, so for example it could mean all the water in a lake, or all the water molecules in a single ice cube.

When a system changes, for example because of a shift in temperature, the arrangement of these particles also changes. For example, if an ice cube is heated until it becomes a pool of water, its molecules become more disordered. Therefore, the ice cube, which has a tighter structure, is said to have lower entropy than the more disordered pool of water.

At a molecular level, where everything is constantly vibrating, it is often possible to observe and measure this quite clearly. In fact, many molecular processes involve a spontaneous increase in entropy until they reach a steady equilibrium.

In granular physics, however, which tends to involve materials large enough to be seen with the naked eye, change does not happen in the same way. A sand dune in the desert will not spontaneously change the arrangement of its particles (the grains of sand). It needs an external factor, like the wind, for this to happen.

This means that while we can predict what will happen in many molecular processes, we cannot easily make equivalent predictions about how systems will behave in granular physics. Doing so would require us to be able to measure changes in the structural disorder of all of the particles in a system - its configurational entropy.

To do that, however, scientists need to know how many different ways a system can be structured in the first place. The calculations involved in this are so complicated that they have been dismissed as hopeless for any system involving more than about 20 particles. Yet the Cambridge study defied this by carrying out exactly this type of calculation for a system, modelled on a computer, in which the particles were 128 soft spheres, like tennis balls.

"The brute force way of doing this would be to keep changing the system and recording the configurations," Martiniani said. "Unfortunately, it would take many lifetimes before you could record it all. Also, you couldn't store the configurations, because there isn't enough matter in the universe with which to do it."

Instead, the researchers created a solution which involved taking a small sample of all possible configurations and working out the probability of them occurring, or the number of arrangements that would lead to those particular configurations appearing.

Based on these samples, it was possible to extrapolate not only in how many ways the entire system could therefore be arranged, but also how ordered one state was compared with the next – in other words, its overall configurational entropy.

Martiniani added that the team's problem-solving technique could be used to address all sorts of problems in physics and maths. He himself is, for example, currently carrying out research into machine learning, where one of the problems is knowing how many different ways a system can be wired to process information efficiently.

"Because our indirect approach relies on the observation of a small sample of all possible configurations, the answers it finds are only ever approximate, but the estimate is a very good one," he said. "By answering the problem we are opening up uncharted territory. This methodology could be used anywhere that people are trying to work out how many possible solutions to a problem you can find."

The paper, Turning intractable counting into sampling: computing the configurational entropy of three-dimensional jammed packings, is published in the journal, *Physical Review E*.

Stefano Martiniani is a St John's Benefactor Scholar and Gates Scholar at the University of Cambridge.

**Explore further:**
New website dedicated to discussion of string theory

**More information:**
Stefano Martiniani et al. Turning intractable counting into sampling: Computing the configurational entropy of three-dimensional jammed packings, *Physical Review E* (2016). DOI: 10.1103/PhysRevE.93.012906

## promile

Jan 27, 2016## Mark Thomas

## adam_russell_9615

## steve_dutch_564

## jackgoesfast

In granular positioning (like sand grains) you have particles of different shapes and size that may be closer/farther apart due to shape. How much more math does this consideration add to the computation. Infinity? or is there a real value possible?

## thefurlong

No. It's the optimal way, and only in 2 dimensions.

As long as no tennis balls overlap, you can have any type of packing you want.

## adam_russell_9615

If you allow the possibility of not tightly packed (spaces between balls) then there would be practically infinite permutations. Thats kind of an absurd allowance imo.

## Noumenon

Right, there are obviously some constraints assumed, since there are no infinities and it is approached as a physics problem rather than purely a permutation problem. They appear to mean "packed", as if the balls were attracted to each other .....

Here is an image from the paper.... Packed-Balls

## antialias_physorg

Actually it's not optimal in 2D. We once had a guest professor lecturing on optimal packing algorithms for spheres (i.e. packing where least amount of packing material is needed).

There's a certain number below which a string of balls (like tennis balls in a tube) is optimal. Above that number (55) the best packing geometry is 3-dimensional. There is no number where the optimal packing is 2D. (This strange/surprising behavior is called the 'sausage catastrophe' in topology)