Typewriting ‘Monkeys’ Actually Complete a Shakespeare Work
- Posted on September 27, 2011 at 1:32pm by
Liz Klimas
- Print »
- Email »
Two words you wouldn’t expect having anything to do with a monkey: typewriting and Shakespeare. But au contraire: when the monkey’s are virtual, anything is possible.
That, and there is a theorem — the infinite monkey theorem — which states that an infinite number of monkeys typing randomly will be able to produce the complete works of Shakespeare. One blogger, Jesse Anderson, says his millions of “monkeys,” small computers using Amazon’s EC2 cloud computing program, are on their way. Most recently, they completed “A Lover’s Complaint,” making it the first Shakespearean work ever randomly reproduced. According to his blog, the monkeys will keep at it till all works are created.
Watch as Anderson explains the project:
The monkeys are programed to churn out sequences using nine characters. If the nine characters create a word that was found in one of Shakespeare’s, it is “checked off the list.” The Daily Telegraph has more:
The monkeys, which started typing on August 21, have already completed more than five trillion of the 5.5 trillion possible nine-letter combinations, but have so far only finished one whole work.
But the experiment is an imperfect reproduction of the infinite monkey theorem because it saves correct sections of text while discarding future wrong guesses, experts said.
Dr Ian Steward, emeritus professor of mathematics at Warwick University, said that for the monkeys to type up the complete works in the correct order without mistakes would take much longer than the age of the universe.
He told the BBC: “Along the way there would be untold numbers of attempts with one character wrong; even more with two wrong, and so on.
“Almost all other books, being shorter, would appear (countless times) before Shakespeare did.”
Anderson’s inspiration for starting this project in the first place? This clip from “The Simpsons:”
Anderson writes on his blog that he realizes there are different interpretations of the theorem and that he doesn’t have infinite resources. He also notes that no real monkeys were harmed during this challenge.
Believe it or not, a study in 2003 actually used six Sulawesi Crested Macaques, a type of black ape, to test out this theory. Before the trial was ended a month later, the apes had typed five pages, none of which held a single English word.
[H/T Gawker]
A correction has been made to this story.




















Submitting your tip... please wait!
Comments (98)
Vapor Trail
Posted on September 27, 2011 at 2:40pmWe have 535 monkeys and one jackass running the government…..perhaps these virtual million monkeys could replace them? Can’t possibly see how they could do any worse.
Report Post »Buzzboy317
Posted on September 27, 2011 at 3:25pmNicely done.
Report Post »The-Monk
Posted on September 27, 2011 at 7:39pmNow we know where Obama got 1 million of the 2 million jobs he claims to have created… funding programs like this.
Report Post »DeVain
Posted on September 27, 2011 at 7:42pmWell played!
Report Post »TH30PH1LUS
Posted on September 27, 2011 at 8:13pmI see what you did there. lol
Report Post »nelbert
Posted on September 27, 2011 at 9:17pmNow I know why no one read the health care bill.
Report Post »DanielBurke
Posted on September 28, 2011 at 7:35amGood one, Vapor Trail!
Report Post »lylejk
Posted on September 28, 2011 at 3:36pmI agree with you 100%. lol
:)
Report Post »DanWesson455
Posted on September 27, 2011 at 2:30pmDid Michele O’Bambam sneak in there? I Could have sworn…..hmmmm??
Firebrand
Posted on September 27, 2011 at 2:27pmOf course there were no English words. The apes speak Sulawesi.
Report Post »hogman1776
Posted on September 27, 2011 at 8:57pmthought he was from kenya???
Report Post »One Man Progressive Wrecking Crew
Posted on September 27, 2011 at 2:21pmWonder how that makes the students of CPS – P109 or NYC SD 210 and the thousands of other illiterates in the US Urban public school systems? I know how it SHOULD make them feel, but probably doesn‘t since they’ve all been conditioned to blame whitey for all their failures and missed or outright blown opportunities over the past 20 years or so since I finished college @UVA in ‘88 it seems. :(
Report Post »feret
Posted on September 27, 2011 at 2:17pmIf my memory serves me correctly, chimpanzees were given plastic covered keyboards and protected computer monitors. The result: The computers were defecated on, urinated on, jumped on, and thrown about. However, some numeric and alphabetic keys hit (and I do mean HIT). But they were smart enough not to remove the “W” key from the keyboard.
KickinBack
Posted on September 27, 2011 at 2:20pmHence, horrible villain, or I’ll spurn thine eyes like balls before me; I’ll unhair thy head, Thou shalt be whipp’d with wire, and stew‘d’in brine, smarting in lingering pickle.
-Antony & Cleopatra
Report Post »NuffSaid
Posted on September 27, 2011 at 2:54pmI think you’re mistaken about the chimpanzees. The incident you describe occurred in the Atlanta Public Schools, one day, while the Atlanta Public School Teachers were in the lounge, correcting the the answers on the student’s standardized tests.
On the other hand, today, the students of these noble Atlanta Public Schools System teachers, the children of Atlanta parents, are fully qualified to be chimpanzees. Notable companies cancelled plans to locate in Atlanta, because the inferior quality of education had produced a population of potential employees who were so dim that a monkey would be more likely to find a W on a keyboard than an Atlanta Public High School Senior.
The Atlanta Public School District Superintendent was given an award for her accomplishments in improving the test scores for the Atlanta Public School system children. The award was must have been given to the African-American Superintendent by “Eraser-Head,” who shares the same hyphenated affliction.
Report Post »alina.bolero
Posted on September 27, 2011 at 2:14pmSo, if we supply prejudice to the selection of words, when a dictionary recognizes them, we don’t have to wait in infinite amount of time to create the solution we want from randomness.
If I want a quarter to show heads, and I flip it enough times, I‘m pretty darn sure I’ll eventually get heads.
Why is this story even remotely interesting as anything other than an example of a computer geek that could think of nothing more productive to do with access to a cluster of servers (“Cloud” for you marketing types)? (MAJOR eye roll on this one)
Report Post »One Man Progressive Wrecking Crew
Posted on September 27, 2011 at 2:24pmI was saying the same thing when I read this elsewhere yesterday. These people wasted how much energy both intellectually and literally on this ignorant study? They DID prove that monkeys can indeed be as smart as 70% of the kids being churned out of our public schools today since they‘re taught some of this stuff and couldn’t replicate it. ;)
Report Post »alina.bolero
Posted on September 27, 2011 at 2:27pmI know infinite probability is awfully hard to grasp, but when you start multiplying infinite improbabilities, things really do become that more improbable.
While I get the feeling that the intent of this experiment was to show that complex order can come from chaos, if you wait long enough, it has actually done a much better job of showing that the best way to create order from randomness is to apply intelligence to the system in order to create the desired outcome.
Report Post »GhostOfJefferson
Posted on September 27, 2011 at 2:32pmAlina, I could not have said it better. Well done.
Report Post »encinom
Posted on September 27, 2011 at 3:08pmAnd again the UVA grad proves that you don’t need intelligence to graduate a Southern “University.”
Report Post »HD Veteran
Posted on September 27, 2011 at 3:42pmI am sure there is a ‘Creation vs Evolution’ undertow in this story if successful
Comparing monkeys to computer programming built for a specific use is a stretch as best, but millions of Americans will believe it.
Report Post »FEMALL
Posted on September 27, 2011 at 3:52pm@encinom Obviously. UVA, the alma mater of Janet Napolitano.
Report Post »Weiners Wiener
Posted on September 27, 2011 at 2:10pmThis is how Obamacare and the Stimulus were written.
Report Post »GhostOfJefferson
Posted on September 27, 2011 at 2:29pmYou win the thread!
Report Post »Firebrand
Posted on September 27, 2011 at 2:51pm@ghost
Report Post »You’re on a roll today sir. Well played.
Mr. Emmitt
Posted on September 27, 2011 at 6:36pmZactly right!
Report Post »One of the Quiet Ones
Posted on September 27, 2011 at 2:04pmI don’t think anyone has ever reproduced the complete works of Shakespeare without error in one pass including Shakespeare. Put on top of that randomly generating it. It is very unlikely.
Report Post »KickinBack
Posted on September 27, 2011 at 2:17pmShakespeare created his own words to fit his style, and different publishers will print different spellings as well.
Report Post »encinom
Posted on September 27, 2011 at 3:11pmThat is the point, 1mm Monkeys and 1mm typewriters over and infinite period of time, the odds become meaningless as every probability will play out.
Report Post »Whyismynamealwaystaken
Posted on September 27, 2011 at 2:00pmWhat a complete waste of time. Hey more power to you, but guess what. God is not going away, ever….
Report Post »Planet Bob
Posted on September 27, 2011 at 2:16pmWho is paying for this important work?
Report Post »GhostOfJefferson
Posted on September 27, 2011 at 1:55pmAnybody who thinks that a million monkeys can type up Shakespeare need only log onto Facebook and browse around to find that this assumption is false.
Report Post »cantstandlibs
Posted on September 27, 2011 at 3:25pmGenius! You are the top of the food chain! :) It is almost scary to see the idiocy many people post, all in the freedom of anonymity.
Report Post »Macedon
Posted on September 28, 2011 at 6:01amIf Shakespeare wrote, “Roast beef in the crockpot tonight! Yum!”, you are wrong, sir.
Report Post »BubbaCoop
Posted on September 27, 2011 at 1:53pm“checked off the list”?
So they don’t even have to type two consecutive words in the correct order!
If anything, this should just prove the absurd impossibility of evolutionary theory.
Report Post »Snowleopard {gallery of cat folks}
Posted on September 27, 2011 at 1:52pmOnce again the uttermpst limits of the ridiculous have been reached and exceeded.
Report Post »elosogrande
Posted on September 27, 2011 at 1:52pmAn infinite number of monkeys? How can you have an infinite amount when the number can just keep growing? There is no way to define the infinite amount of anything, unless your at least as smart as these guys.
Who’s paying these idiots for ******* away their lives on this crap? Something tells me that I am. Good God!
Report Post »theninthplanet
Posted on September 27, 2011 at 2:04pmThe monkeys on a typewriter are an analogy for more complicated things, like thermodynamics and quantum physics. It’s easier for people to grasp “monkeys typing” than atoms vibrating…
Report Post »82dAirborne
Posted on September 27, 2011 at 2:18pm“Infinite” is the definition.
Report Post »ChiefGeorge
Posted on September 27, 2011 at 1:51pmIn others words its rigged for the monkeys to succeed just like elements withon our own educational system. Also rigged just like our upcoming 2012 presidential election.
Report Post »yiska8
Posted on September 27, 2011 at 4:10pmThe two words that will hit googled most in the 6 months leading up to 2012. Obama + rigged!
Report Post »blazingaway
Posted on September 27, 2011 at 1:48pm“F”ing idiot is only demonstrating the he is closer to a monkey than a human or anything more. If he focused his time on knowing God he would know what a dumb ass he has become
Report Post »wordweaver
Posted on September 27, 2011 at 1:47pmWell, I guess that settles it. Now I can believe in evolution without a creator. Sheesh!
Report Post »sizzlinsexybeckster
Posted on September 27, 2011 at 1:45pmLeave the monkeys alone and send them back to the forest.
Wow, I guess I could have used this comment also for Obama calling his audience “cry babies.”
Report Post »circleDwagons
Posted on September 27, 2011 at 2:08pmit only takes one monkey to come up with obummer speeches,
Report Post »fiberdrunk
Posted on September 27, 2011 at 1:44pmThis theorem is an insult to individual achievement. Neither monkeys nor a random character generator can breathe the same heart and life into a work and give it the structure that Shakespeare did; and quite frankly, I think it’s an insult to his work and memory.
Report Post »ProbIemSoIver
Posted on September 27, 2011 at 1:56pmAnd I was proud of the CBC when I heard this. I thought they actually had completed something semi-productive, for the first time in their lives !!!!
Report Post »GhostOfJefferson
Posted on September 27, 2011 at 1:57pmAssuming he actually wrote most of the things attributed to him of course.
Report Post »jakartaman
Posted on September 27, 2011 at 1:41pmAbsolute absurdity!
Report Post »I use to be a code writer – you want a computer result – i’ll give it to you
LiveFromHell666
Posted on September 27, 2011 at 8:26pmGiven enough eyeballs, all bugs are shallow
Linus Torvalds
http://en.wikiquote.org/wiki/Linus_Torvalds
If you don’t know about Linux check it out
Report Post »Ubuntu is way better than Microsoft Windows and it’s FREE
Johnny916
Posted on September 27, 2011 at 1:40pmIn other news PETA protested the barbaric treatment of monkeys being forced to write the works of Shakespeare.
Report Post »Islesfordian
Posted on September 27, 2011 at 1:36pmThis is NOT the monkeys at a typewriter theorm. THAT required pure randomness. THIS has a program assiting the random elements. It is DESIGNED to produce Shakespeare gradually, the exact opposite of what the theorem seeks to demonstrate: that no design is necessary to produce life.
Report Post »MightyMouth
Posted on September 27, 2011 at 5:26pmKill joy!!
Report Post »I.Gaspar
Posted on September 27, 2011 at 1:34pmIt’s been done before…The Audacity of Hope….
Report Post »landonh5
Posted on September 27, 2011 at 1:46pmWow…that‘s the funniest thing I’ve head all day!
Report Post »Eric O
Posted on September 27, 2011 at 1:54pmHa!
Report Post »thegreatcarnac
Posted on September 27, 2011 at 1:30pm……and what ghetto school was this at..??????????
Report Post »scuba13
Posted on September 27, 2011 at 1:38pmThe backroom of Nacey Pelosi office on capitol hill.
Report Post »GhostOfJefferson
Posted on September 27, 2011 at 2:23pmThat’s a very base thing to stoop to, you know. We have to hold ourselves to a higher standard and guide others out of the impending night with light and good hearts.
Report Post »Dustyluv
Posted on September 27, 2011 at 1:29pmI am so glad my TAXPAYER money is going to thius crap! I wanna scream!! $@%$#^%
You sir are as worthless as a room full of monkey @hit!
Report Post »scuba13
Posted on September 27, 2011 at 1:34pmHey aren’t these the same monkeys that wrote the obamacare bill?
Report Post »Uncle Tom
Posted on September 27, 2011 at 2:16pmWhat is with you people! Here is a little FYI for you: your tax dollars do not pay for every stupid thing on the planet. This guy is a blogger, using cloud services from Amazon. It has nothing to do with taxes. This is just a guy spending his free time on something. You sir, are an idiot.
Report Post »Dustyluv
Posted on September 27, 2011 at 3:18pmHe is a PROFESSOR…You are the IDIOT! You must be a professor yourself.
Report Post »MSG
Posted on September 27, 2011 at 1:25pm**Flashback** http://governor.state.tx.us/news/speech/5156/
In my opinion, this letter went far beyond his gubernatorial duties… he is actually “gushin” all over this man. His words cross the line of acting respectful, His words were of worship and praising.
Report Post »vennoye
Posted on September 27, 2011 at 1:41pmWELL, I imagine that Rick Perry, just like the rest of us, has learned a lot since April 12, 2008!!! Don’t you?????????????
Report Post »