Infinite Monkey Theorem

The infinite monkey theorem states that a monkey hitting keys at random on a typewriter keyboard for an infinite amount of time will almost surely type a given text, such as the complete works of William Shakespeare.

In this context, "almost surely" is a mathematical term with a precise meaning, and the "monkey" is not an actual monkey, but a metaphor for an abstract device that produces a random sequence of letters and symbols ad infinitum. The relevance of the theory is questionable—the probability of a monkey exactly typing a complete work such as Shakespeare's Hamlet is so tiny that the chance of it occurring during a period of time even a hundred thousand orders of magnitude longer than the age of the universe is extremely low (but not zero).

Variants of the theorem include multiple and even infinitely many typists, and the target text varies between an entire library and a single sentence. The history of these statements can be traced back to Aristotle's On Generation and Corruption and Cicero's De natura deorum, through Blaise Pascal and Jonathan Swift, and finally to modern statements with their iconic typewriters. In the early 20th century, Émile Borel and Arthur Eddington used the theorem to illustrate the timescales implicit in the foundations of statistical mechanics.

Read more about Infinite Monkey Theorem:  Real Monkeys, Popular Culture

Famous quotes containing the words infinite, monkey and/or theorem:

    The radio ... goes on early in the morning and is listened to at all hours of the day, until nine, ten and often eleven o’clock in the evening. This is certainly a sign that the grown-ups have infinite patience, but it also means that the power of absorption of their brains is pretty limited, with exceptions, of course—I don’t want to hurt anyone’s feelings. One or two news bulletins would be ample per day! But the old geese, well—I’ve said my piece!
    Anne Frank (1929–1945)

    I haven’t eaten in three days. I didn’t eat yesterday, I didn’t eat today and I’m not going to eat tomorrow. That makes it three days!
    S.J. Perelman, U.S. screenwriter, Arthur Sheekman, Will Johnstone, and Norman Z. McLeod. Chico Marx, Monkey Business, a complaint shipboard stowaway Chico makes to fellow stowaway Groucho Marx (1931)

    To insure the adoration of a theorem for any length of time, faith is not enough, a police force is needed as well.
    Albert Camus (1913–1960)