PARIS: If a monkey types randomly at a keyboard for long enough, it will eventually write the complete works of Shakespeare.

This thought experiment has long been used to express how an infinite amount of time makes something that is incredibly unlikely — but still technically possible — become probable.

But two Australian mathematicians have deemed the old adage misleading, working out that even if all the chimpanzees in the world were given the entire lifespan of the universe, they would “almost certainly” never pen the works of the bard.

The “infinite monkey theorem” has been around for more than a century, though its origin remains unclear. It is commonly attributed to either French mathematician Emile Borel or British anthropologist Thomas Huxley, and some even think the general idea dates back to Aristotle.

There is only a 5pc chance that a single monkey would randomly write the word “banana” in its lifetime

For a light-hearted but peer-reviewed study published earlier this week, the two mathematicians set out to determine what happens if generous yet finite limits were placed on the monkey typists.

Their calculations were based on a monkey spending around 30 years typing one key a second at a keyboard with 30 keys — the letters of the English language plus some common punctuation.

The “heat death” of the universe was assumed to take place in around a googol of years — that is a one followed by 100 zeroes.

Other more practical considerations — such as what the monkeys would eat, or how they would survive the Sun engulfing Earth in a few billion years — were set aside.

Monkey labour falls short

There was only around a five percent chance that a single monkey would randomly write the word “banana” in their lifetime, according to the study in the journal Franklin Open. Shakespeare’s canon includes 884,647 words — none of them banana.

To broaden out the experiment, the mathematicians turned to chimpanzees, the closest relative of humans.

There are currently around 200,000 chimps on Earth, and the study presumed this population would remain stable until the end of time. Even this massive monkey workforce fell very, very short.

“It’s not even like one in a million,” study co-author Stephen Woodcock of the University of Technology Sydney told New Scientist.

“If every atom in the universe was a universe in itself, it still wouldn’t happen.” And even if many more chimps who typed much quicker were added to the equation, it was still not plausible “that monkey labour will ever be a viable tool for developing written works of anything beyond the trivial,” the authors wrote in the study.

The study concluded by saying that Shakespeare himself may have inadvertently given an answer as to whether “monkey labour could meaningfully be a replacement for human endeavour as a source of scholarship or creativity”.

“To quote Hamlet, Act 3, Scene 3, Line 87: ‘No’.

Published in Dawn, November 1st, 2024

Opinion

Editorial

Afghan strikes
Updated 26 Dec, 2024

Afghan strikes

The military option has been employed by the govt apparently to signal its unhappiness over the state of affairs with Afghanistan.
Revamping tax policy
26 Dec, 2024

Revamping tax policy

THE tax bureaucracy appears to have convinced the government that it can boost revenues simply by taking harsher...
Betraying women voters
26 Dec, 2024

Betraying women voters

THE ECP’s recent pledge to eliminate the gender gap among voters falls flat in the face of troubling revelations...
Kurram ‘roadmap’
Updated 25 Dec, 2024

Kurram ‘roadmap’

The state must provide ironclad guarantees that the local population will be protected from all forms of terrorism.
Snooping state
25 Dec, 2024

Snooping state

THE state’s attempts to pry into citizens’ internet activities continue apace. The latest in this regard is a...
A welcome first step
25 Dec, 2024

A welcome first step

THE commencement of a dialogue between the PTI and the coalition parties occupying the treasury benches in ...