Monkeys on a Typewriter: Difference between revisions

standardized section heads, added example
m (clean up)
(standardized section heads, added example)
 
(9 intermediate revisions by 3 users not shown)
Line 1:
{{trope|wppage=Infinite monkey theorem}}
{{quote|''"Hanging out while the monkeys type away..."''|'''[[They Might Be Giants]]''', ''We Live in a Dump''}}
|'''[[They Might Be Giants]]''', ''We Live in a Dump''}}
 
A standard thought experiment from probability theory states that a million monkeys hammering a million typewriters (or a hundred, or a thousand) will eventually write the entire works of Shakespeare (or Dickens, or all the books in the British Library). This is a vivid enough mental image that it gets referenced a ''lot'' in fiction.
Line 8 ⟶ 9:
While they are part of the most common descriptions of this idea, versions involving "thousands" or "millions" of monkeys may confuse someone into thinking there is some kind of ''practical'' possibility of producing Shakespeare with monkeys, if we could only wait for a few million years. Some paraphrases of the problem even forget to mention the "eventually" or "infinite" part and say that you just need "a million monkeys for a million years". In fact, even if you replaced every atom in the universe with a monkey and a typewriter, and they all typed a thousand characters per second, the odds of their producing ''[[Hamlet]]'' (as well as the odds of any other specific text of the same length) within an octillion octillion years are still incomprehensibly ''low''. However, such huge quantities of monkeys and time are no match for '''infinity''', which is where the magic happens.
 
The point is that the monkeys are flailing at the keys without understanding the point of the machine. Given enough time or enough monkeys, or both, one of them will accidentlyaccidentally hit the keys in the order "[shift]T-o[space]b-e[comma][space]o-r[space]n-o-t[space]t-o[space]b-e..." There is also some non-infinite yet unimaginably large number of years within which typing ''[[Hamlet]]'' has a probability of 99%, but the chance still doesn't reach 100% until infinity.
 
Robert Wilensky complemented this with the statement that "Now, thanks to the Internet, we know this is not true." See also The [[wikipedia:Infinite monkey theorem|Other]] [[wikipedia:Infinite monkey theorem in popular culture|Wiki]].
 
{{examples}}
== [[Literature]] ==
 
== Comedy ==
 
* [[Bob Newhart]] had a comedy routine where this experiment was actually being run, and he was one of the monkey handlers. It ended with, "To be, or not to be? That is the gzornnplat."
 
== Literature ==
 
* From ''[[The Hitchhiker's Guide to the Galaxy]]'': After Arthur and Ford are rescued from virtually certain death from asphyxiation in interstellar space, there is a sequence of bizarrely improbable events on board the ship that rescued them—because the ship is powered by the Infinite Improbability Generator. One of these events is Arthur and Ford being approached by "an infinite number of monkeys who want to talk to us about this script for ''Hamlet'' they've worked out."
* ''[[Paper Towns]]''. Q to Ben: "Getting you a date to prom is so hard that a thousand monkeys typing at a thousand typewriters for a thousand years would never once type ''I will go to prom with Ben.''
Line 28 ⟶ 23:
* Done by the Goliath Corporation in the ''[[Thursday Next]]'' books, but they considerably improve the odds by using (imperfect) clones of Shakespeare instead of monkeys.
* In ''[[Gulliver's Travels]]'', one of the absurd inventions created by the [[Cloudcuckoolander|Laputan]] [[TV Genius|intellectuals]] is a device for randomly combining words so that "the most ignorant person, at a reasonable charge, and with a little bodily labour, might write books in philosophy, poetry, politics, laws, mathematics, and theology, without the least assistance from genius or study".
** Sounds like [[w:Large language model|large language model AI]]...
 
== [[Live -Action TV]] ==
 
* In the ''[[Doctor Who]]'' episode "[[Doctor Who/Recap/S20/E03 Mawdryn Undead|Mawdryn Undead]]", the Doctor and Tegan discuss this trope as it applies to "a treeful of monkeys".
{{quote|'''Doctor''': You and I both know, at the end of a millennium they'd still be tapping out gibberish.
'''Tegan''': And you'd be right there tapping it out with them. }}
* In the ''[[That '70s Show]]'' episode "Battle of the Sexists", after Donna manages to score in a basketball game, Eric yells, "[[Last-Name Basis|Pinciotti]] actually scores! Hell freezes over! A monkey types ''Hamlet''!"
* In ''[[Veronica Mars]]'', Veronica gets hauled into the police station for questioning about the death of "Curly" Moran, who she thinks she's never heard of. When she realizes that she actually does know him—in a seemingly totally different context—she [[Lemony Narrator|thinks]]:
{{quote|"Somewhere, those million chimps, with their million typewriters, must've written ''King Lear''."}}
* ''[[The Colbert Report]]'' has a segment about how many different monkeys it takes to produce different authors' works. Apparently it's a million monkeys typing for all eternity to get Shakespeare, ten thousand drunk monkeys typing for ten thousand years to get [[Ernest Hemingway|Hemingway]], and ten monkeys for three days to get [[Dan Brown]].
* In one episode of ''[[Muppets Tonight]]'', we learn that the show's scripters are actual Muppet monkeys, mindlessly pounding at typewriters going "Ook-ack-ook!". Once they come up with a satisfactory script, Kermit lets them [[2001: A Space Odyssey|go touch the monolith]].
Line 43 ⟶ 38:
{{quote|"On Time Team tonight, we're in Stratford on Avon, where we've uncovered loads of monkey skeletons and some typewriters."}}
 
== Comedy[[Music]] ==
 
== Music ==
 
* The band Chumbawumba were supposedly named after a word typed by a monkey when somebody actually tried to do this in real life.
 
== [[Newspaper Comics]] ==
* Referenced in a ''[[FoxTrot]]'' strip where Peter gets a program to assemble random letters, his logic being that if you put enough monkeys on typewriters to produce ''Hamlet'', then you can surely use a random letter generator to create a ''Hamlet'' book report. Paige then asks about one page which is even more nonsensical that turns out to have been Peter's attempt.
 
* Referenced in a ''[[FoxTrot]]'' strip where Peter gets a program to assemble random letters, his logic being that if you put enough monkeys on typewriters to produce Hamlet, then you can surely use a random letter generator to create a Hamlet book report. Paige then asks about one page which is even more nonsensical that turns out to have been Peter's attempt.
* In ''[[Dilbert]]'':
** The title character writes a poem, and Dogbert says something along the lines of "You know, an infinite number of monkeys in an infinite amount of time could type out the complete works of Shakespeare. Your poem? Three monkeys, ten minutes."
** Another joke was "if you take an infinite number of monkeys on typewriters and give them an infinite amount of time, sooner or later you'll have a room full of dead monkeys. Turns out monkeys need feeding."
** Wally [https://dilbert.com/strip/2013-12-12 used it] as a [[Stealth Insult]] to the [[Pointy-Haired Boss]].
 
== [[Radio]] ==
 
* ''[[The Ricky Gervais Show]]'' has a segment in which Karl refuses to believe that the monkeys can ever actually write anything, so stubbornly that Ricky ends up storming out on him.
 
== [[Recorded Theaterand Stand Up Comedy]] ==
* [[Bob Newhart]] had a comedy routine where this experiment was actually being run, and he was one of the monkey handlers. It ended with, "To be, or not to be? That is the gzornnplat."
 
== Music[[Theatre]] ==
* The entire plot of the one-act play "Words, Words, Words", belonging to the collection ''All in The Timing'', by David Ives, although for practical reasons it only uses three.
 
== [[Web Comics]] ==
 
* The "Infinite Monkeys" arc of ''[[Goats]]''.
* ''[[User Friendly]]'': "[https://web.archive.org/web/20171007031447/http://ars.userfriendly.org/cartoons/?id=20051201 These Terrans are sharp.]"
* ''[[Schlock Mercenary]]'', in the [[Exactly What It Says on the Tin|Big Haunted Battleship]] Arc, eventually leads to Kevin claiming to cite this trope, but with the "Great works of Howard Tayler." [[Take That Me|The narrator claims this can actually be done with 3 monkeys in 15 minutes]].
* ''[[Freefall]]'' had an incident with "[http://freefall.purrsia.com/ff3000/fc02935.htm Mr. Kornada's old rival]".
 
 
== [[Web Western Animation Original]] ==
* A [https://i.imgur.com/ZMnsyJt.jpg meme image] circulating on the Web as of the end of 2023 points out that
{{quote|...the human race ''is'' an endless number of monkeys. and every day we produce an endless number of words. and one of us already wrote hamlet.}}
 
== [[Western Animation]] ==
* In ''[[The Simpsons (animation)|The Simpsons]]'', C. Montgomery Burns has a bunch of monkeys at typewriters.
{{quote|This is a thousand monkeys working at a thousand typewriters. Soon they will have written the greatest novel known to man. ''(takes paper)'' Let's see..." It was the best of times, it was the '''blurst''' of times!?!" You stupid monkey!}}
** Also from the episode, "Children of a Lesser Clod."
Line 83 ⟶ 79:
* In ''[[Phineas and Ferb]]'', "Cliptastic Countdown" combines this with [[Who Writes This Crap?]]. Major Monogram demands who wrote the lines, to which Carl the intern replies, "Agent M, sir." We then see a monkey in a fedora at a typewriter, causing Dr. Doofenshmirtz to complain how [[What Are Records?|none of the kids watching will know what a typewriter is]]. Monogram tries to excuse it by say it was cheaper that way, but Doof just continues ranting on the point that they would have to find a typewriter from an antiques dealer.
 
== [[Real Life]] ==
* This was actually tried in the Paignton Zoo in Devon in 2002, where six macaques were given free access to a (protected) computer. Their initial reaction was to pee on it or bash it with a rock; but in time they did start to get the hang of typing. After several months the results were several pages of gibberish, but the letter ''S'' as in ''Shakespeare'' was more prominent than others.
* In a different context: It has frequently been claimed that the value [[π]], being irrational and non-terminating, inevitably contains all possible sequences of numbers at some point in its length. If this is true -- and it has ''not'' yet been confirmed -- then with the correct choice of encoding scheme it should be possible to find the full text of ''Hamlet'' somewhere in it. As well as every possible "almost but not quite" version of ''Hamlet'', including [[In the Original Klingon]]. The kicker, of course, is how long it would take to find the right starting point<ref>It might take geologic time.</ref>.
** There have been online discussions about using this possibility as a [[Logic Bomb]] with which to destroy [[Copyright]] -- by demonstrating that any and every allegedly "protected" work is actually in the public domain, and has been for billions of years. Again, the thought experiment both assumes the truth of the unproven assertion and ignores how long it would take to find even the shortest works encoded into π. (At least one wag has suggested that the response of the media industry to a successful demonstration of this scheme, at least in the United States, would be to <s>bribe</s> lobby Congress to get joint ownership of all intellectual property rights to π.)
 
{{reflist}}