homehome Home chatchat Notifications


You can arrange 128 tennis balls in 10^250 ways. A seemingly impossible problem solved

That's not one million or one billion, but roughly on unquadragintillion -- a number so big it exceeds the number of particles in the Universe. So, why is this important?

Tibi Puiu
January 27, 2016 @ 4:03 pm

share Share

That’s 10 followed by 250 zeros by the way. That’s not one million or one billion, but roughly on unquadragintillion — a number so big it exceeds the number of particles in the Universe. Gives to show how incredibly complex a deceivingly simple question like “how many ways can you arrange 128 tennis balls” can be. The approximate solution, however, might serve a lot of practical uses from artificial intelligence to predicting when a snow or sand avalanche will happen (by the way, can you imagine in how many ways trillions of sand particles can be arranged?).

tennis balls

Image: Flickr Commons

Stefano Martiniani, a Benefactor Scholar at St John’s College, University of Cambridge, was the lead researchers of the paper published in Physical Review E. He and colleagues were curious to solve this problem because it’s completely general and helps model other problems in granular physics, which deals with the behaviour of materials like soil, sand or snow. “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,” Martiniani said.

The sort of computations Martiniani made will help researchers calculate something called configurational entropy. Basic thermodynamics says entropy is a measure of how disordered a system is. Configurational entropy refers specifically to structural disorder. An ice cube is more ordered than water, hence water has higher entropy than the ice cube.

By measuring the configurational entropy of a system, we can measure  structural disorder of all of the particles in a system. Theoretically, its possible to predict how an avalanche will move.

First and foremost, for this work you need to work out how many different ways a system can be structured. The arrangements are so numerous for any system comprised of more than 20 particles, that calculations are hopeless. The Cambridge team found a workaround by approximating the number of arrangements.

“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.”

Model of hard sphere fluid. Image: Physical Review  E

Model of hard sphere fluid. Image: Physical Review E

The solution involved taking a small sample of possible configurations of spherical objects (the tennis balls) and working the probability of these occurring — the number of arrangements that would lead to those configurations appearing. By extrapolating, the researchers could approximate 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.

“The approach that we use computes the configurational entropy by sampling the absolute volume of basins of attraction of the stable packings in the potential energy landscape. We find a surprisingly strong correlation between the pressure of a configuration and the volume of its basin of attraction in the potential energy landscape. This relation is well described by a power law,” the study’s abstract reads.

Although this is a granular physics problem, different versions of the same problem exist in numerous other fields, such as string theory, cosmology, machine learning, and various branches of mathematics.

“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,” Martiniani 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.”

share Share

AI 'Reanimated' a Murder Victim Back to Life to Speak in Court (And Raises Ethical Quandaries)

AI avatars of dead people are teaching courses and testifying in court. Even with the best of intentions, the emerging practice of AI ‘reanimations’ is an ethical quagmire.

This Rare Viking Burial of a Woman and Her Dog Shows That Grief and Love Haven’t Changed in a Thousand Years

The power of loyalty, in this life and the next.

This EV Battery Charges in 18 Seconds and It’s Already Street Legal

RML’s VarEVolt battery is blazing a trail for ultra-fast EV charging and hypercar performance.

DARPA Just Beamed Power Over 5 Miles Using Lasers and Used It To Make Popcorn

A record-breaking laser beam could redefine how we send power to the world's hardest places.

Why Do Some Birds Sing More at Dawn? It's More About Social Behavior Than The Environment

Study suggests birdsong patterns are driven more by social needs than acoustics.

Nonproducing Oil Wells May Be Emitting 7 Times More Methane Than We Thought

A study measured methane flow from more than 450 nonproducing wells across Canada, but thousands more remain unevaluated.

CAR T Breakthrough Therapy Doubles Survival Time for Deadly Stomach Cancer

Scientists finally figured out a way to take CAR-T cell therapy beyond blood.

The Sun Will Annihilate Earth in 5 Billion Years But Life Could Move to Jupiter's Icy Moon Europa

When the Sun turns into a Red Giant, Europa could be life's final hope in the solar system.

Ancient Roman ‘Fast Food’ Joint Served Fried Wild Songbirds to the Masses

Archaeologists uncover thrush bones in a Roman taberna, challenging elite-only food myths

A Man Lost His Voice to ALS. A Brain Implant Helped Him Sing Again

It's a stunning breakthrough for neuroprosthetics