Zone Industrielle Ouled Saleh — 20180 Bouskoura, Morocco

Butterfly effect, three decimals lost over a cup of coffee

Massachusetts Institute of Technology, 1961. A meteorologist wants a closer look at a weather simulation running on his computer. To save time, he restarts from the middle of the run. He types in by hand the numbers printed during an earlier pass, starts the machine, and goes down the hall for a cup of coffee. He comes back an hour later.

Steaming coffee cup by a long blank computer printout, a pale butterfly on the paper and a white cap
Illustration — A coffee, a computer printout and a butterfly.

The meteorologist and his computer

The meteorologist was Edward Lorenz. Born in 1917 in Connecticut and trained as a mathematician, he had been a weather forecaster for the US Army Air Forces in the Second World War. He spent his whole career at MIT.

His computer ran a simplified model of the atmosphere. In an hour, the machine simulated about two months of weather. That day in 1961, Lorenz only wanted to redo part of the calculation to examine it in detail.

When he came back, the printed numbers were nothing like the old ones. His first reflex was to suspect a weak vacuum tube or some other computer fault, which was common at the time.

0.506 instead of 0.506127

Before calling for service, Lorenz looked for where the error had occurred. He found no sudden break. At first the new values repeated the old ones. Then they drifted by one unit in the last decimal place, then by several, then in the next-to-last place, and so on. The differences roughly doubled every four simulated days, until all resemblance vanished during the second month.

The puzzle was solved at a stroke. The numbers he had typed in were not the exact numbers of the calculation: they were the rounded values the machine had printed. He had entered 0.506 instead of 0.506127. A difference of a few ten-thousandths had been enough to give entirely different weather.

The initial rounding error, he later wrote, was the culprit: it kept amplifying until it dominated the solution. That is sensitivity to initial conditions.

A butterfly in Brazil

Lorenz published his results in 1963. He first illustrated the idea with a seagull whose wingbeat would trigger a storm. He was persuaded to choose a more poetic image. In 1972, having failed to give a title for a talk he was to present to the American Association for the Advancement of Science, Philip Merilees invented one: does the flap of a butterfly's wings in Brazil set off a tornado in Texas?

The butterfly effect was born. The idea was not entirely new: Henri Poincaré had already seen, around 1890, that small causes could have large effects, and Ray Bradbury had imagined in 1952 a time traveller who changes the future by treading on a butterfly. But Lorenz gave it a mathematical basis. He is regarded as the founder of modern chaos theory. In 1991 he received the Kyoto Prize. He died in 2008.

Lorenz's coffee on the shop floor

An injection press is not the atmosphere, and a well-tuned process is in no way chaotic. But Lorenz's error holds a simple lesson for any workshop: what you round off in a record can matter.

Tecmom makes caps and bottles with a quality system certified to ISO 9001 and ISO 15378. See our quality approach and our expertise.

Edward Lorenz went for a coffee believing he had restarted the same calculation. He had only dropped three decimals. An hour later, his computed atmosphere had taken another path. A workshop is not a stormy sky, but the lesson fits in one line: the figures you round off without thinking are the ones you will miss the day you need to understand.

Glossary

Butterfly effect
An image of sensitivity to initial conditions: a tiny difference at the start can produce a very different result.
Chaos theory
A branch of mathematics studying systems highly sensitive to their initial conditions.
Initial conditions
The starting values of a calculation or system.
Rounding error
The difference introduced by shortening a value to fewer decimal places.
Process window
The range of settings within which a process produces conforming parts.

Further reading