The Straight Dope

Go Back   Straight Dope Message Board > Main > Cafe Society

Reply
 
Thread Tools Display Modes
  #1  
Old 12-07-2004, 03:47 AM
Bernard Marx Bernard Marx is offline
Member
 
Join Date: Jun 2002
Location: Australia
Posts: 245
Infinite Monkeys

I'm trying to find the title of a short story I read a long time ago. It started out with two guys discussing the well known fact that an infinite number of monkeys, typing for an infinite amount of time, would eventually rewrite the works of Shakespeare, letter for letter (as well as all the rest of the world's literature).

Anyway, one of the guys obviously doesn't know that this is only a thought experiment, because he gets about a thousand monkeys and sets them to work typing. Instead of producing gibberish, however, they really do start reproducing the world's literature. One of them, of course, is working on Shakespeare, othersare working on the early books of the New Testament or some of Baudelaire's letters etc

The second guy comes back a week later and is amazed to see what's going on. The fact that the experiment "worked" is so at odds with his worldview that he goes crazy and kills all the monkeys.

Anyone read this story or know the title/author?
Reply With Quote
Advertisements  
  #2  
Old 12-07-2004, 06:31 AM
cryptic_j cryptic_j is offline
Guest
 
Join Date: Sep 2004
I haven't read this story - - but I love the idea...

I had an idea for a short story involving the infinite monkeys - - so I'd love to read this to check that I wouldn't be inadvertantly copying...

... does anyone know who originally came up with the infinite monkey idea in the first place.?



I am a finite monkey
__________________
Tales of the cryptic
http://www.organizedrhyme.co.uk
Reply With Quote
  #3  
Old 12-07-2004, 09:13 AM
Cliffy Cliffy is offline
Guest
 
Join Date: Sep 2001
Gosh, I thought you were going to ask about the sci-fi story about the author who uses a monkey hooked in to a typwriter to convince his editor that his story is well-written.

--Cliffy
Reply With Quote
  #4  
Old 12-07-2004, 09:25 AM
Bryan Ekers Bryan Ekers is offline
Guest
 
Join Date: Nov 2000
The story is called Inflexible Logic by Russell Maloney. The six chimpanzees (not a thousand monkeys) produce typo-free copies of Oliver Twist, as well as:

Quote:
"Oh, yes, all writing books which I have every reason to believe are in the British Museum. The prose of John Donne, some Anatole France, Conan Doyle, Galen, the collected plays of Somerset Maugham, Marcel Proust, the memoirs of the late Marie of Rumania, and a monograph by a Dr. Wiley on the marsh grasses of Maine and Massachusetts. I can sum it up for you, Mallard, by telling you that since I started this experiment, four weeks and some days ago, none of the chimpanzees has spoiled a single sheet of paper."
Reply With Quote
  #5  
Old 12-07-2004, 10:25 AM
cryptic_j cryptic_j is offline
Guest
 
Join Date: Sep 2004
so.. have I misremembered the orginial infinte monkeys thing?

was it always six with infinite time.. or is this just an adaptation of that..

because obviously it's the time not the monkeys that make the difference - - it just take 6 monkeys longer than an infinite number.. so they would take infinity * 6.
__________________
Tales of the cryptic
http://www.organizedrhyme.co.uk
Reply With Quote
  #6  
Old 12-07-2004, 11:35 AM
Max Carnage Max Carnage is offline
Guest
 
Join Date: Dec 2001
Wasn't there an Amazing Stories episode that used this premise?
Reply With Quote
  #7  
Old 12-07-2004, 01:01 PM
Fiver Fiver is offline
Guest
 
Join Date: Apr 2000
There's also a play by David Ives titled "Words, Words, Words" which takes this concept and runs with it.
Reply With Quote
  #8  
Old 12-07-2004, 01:49 PM
Dewey Finn Dewey Finn is offline
Charter Member
 
Join Date: Apr 2003
Posts: 13,197
Also, there is a distributed computing project called the Monkey Shakespeare Simulator that is attempting a virtual version of this experiment. The record is the first 22 letters from "Cymbeline" and this was after the equivalent of 579,440 billion billion billion monkey-years.
Reply With Quote
  #9  
Old 12-07-2004, 01:59 PM
Sir Dirx Sir Dirx is offline
Guest
 
Join Date: Sep 2000
Wouldn't an infinite amount of monkeys instantaneously produce all imaginable written works, past, present, future, and all gibberish in between?
Reply With Quote
  #10  
Old 12-07-2004, 02:03 PM
Zebra Zebra is online now
Member
 
Join Date: Aug 2000
Location: LIC
Posts: 19,298
Who first said that the monkeys would type out Shakespeare?

I just want to know.
Reply With Quote
  #11  
Old 12-07-2004, 02:07 PM
Raygun99 Raygun99 is online now
Guest
 
Join Date: Jun 2002
Quote:
Originally Posted by Zebra
Who first said that the monkeys would type out Shakespeare?

I just want to know.
If this thread goes on for an infinite length of time, eventually someone will type it.
Reply With Quote
  #12  
Old 12-07-2004, 02:07 PM
Labdad Labdad is online now
Charter Member
 
Join Date: Jan 2001
Location: Atlanta
Posts: 3,026
For the first time ever, I saw this thread title and instantly thought: BAND NAME!!
Reply With Quote
  #13  
Old 12-07-2004, 02:11 PM
Shade Shade is offline
Guest
 
Join Date: Oct 2001
Quote:
Originally Posted by Sir Dirx
Wouldn't an infinite amount of monkeys instantaneously produce all imaginable written works, past, present, future, and all gibberish in between?
Not if you assume there's a lower limit on the time it takes to hit a key. If you assume there's a finite number of characters typable (else 'tis a whole 'nother ball game), then yeah, everything'll get typed out immediately, (indeed, on infinitely many typewriters) but you still have to wait for it to get typed.
Reply With Quote
  #14  
Old 12-07-2004, 02:20 PM
Hyperelastic Hyperelastic is offline
Guest
 
Join Date: Dec 2001
Quote:
Originally Posted by Dewey Finn
Also, there is a distributed computing project called the Monkey Shakespeare Simulator that is attempting a virtual version of this experiment. The record is the first 22 letters from "Cymbeline" and this was after the equivalent of 579,440 billion billion billion monkey-years.

[peer reviewer]
This simulation assumes that monkeys type randomly and at a uniform rate, but when I picture a monkey at a keyboard, I see him monotously banging the same key or group of keys over and over, and then running off to climb the curtains for a few minutes. Have the investigators compared actual records of monkey typing to confirm their assumption of randomness?
[/peer reviewer]
Reply With Quote
  #15  
Old 12-07-2004, 02:35 PM
Munch Munch is online now
Guest
 
Join Date: Mar 2000
[C. Montgomery Burns]
"It was the best of times, it was the blurst of times?!?"
[/CMB]
Reply With Quote
  #16  
Old 12-07-2004, 03:28 PM
cmyk cmyk is online now
4 out of 5 Jesuses agree!
Charter Member
 
Join Date: Mar 2001
Location: Detroit area
Posts: 10,132
Quote:
Originally Posted by Hyperelastic
[peer reviewer]
This simulation assumes that monkeys type randomly and at a uniform rate, but when I picture a monkey at a keyboard, I see him monotously banging the same key or group of keys over and over, and then running off to climb the curtains for a few minutes. Have the investigators compared actual records of monkey typing to confirm their assumption of randomness?
[/peer reviewer]
Right. For all we know the monkeys might like to hit the "K" key over and over and over ad infinitum. To me, saying it'll take infinite time to bang out Shakespeare is really saying you'll have to wait forever... which is really saying never.

Damn monkeys.
Reply With Quote
  #17  
Old 12-07-2004, 03:40 PM
yoyodyne yoyodyne is online now
Charter Member
 
Join Date: Dec 2002
Posts: 2,344
Infinite monkeys wouldn't type everything instantaneously in any meaningful way. You would have to wait for one monkey to type Hamlet all the way through. Otherwise you could just wait until any monkey typed all 26 letters and say they could be re-combined into any work.
Reply With Quote
  #18  
Old 12-07-2004, 03:46 PM
ultrafilter ultrafilter is online now
Guest
 
Join Date: May 2001
This one seems to confuse people, but given an infinite amount of monkeys and an infinite amount of time, it is logically possible that *no*work of Shakespeare will ever be reproduced.
Reply With Quote
  #19  
Old 12-07-2004, 04:01 PM
borschevsky borschevsky is offline
Guest
 
Join Date: Sep 2001
Quote:
Originally Posted by yoyodyne
Infinite monkeys wouldn't type everything instantaneously in any meaningful way. You would have to wait for one monkey to type Hamlet all the way through.
I'm not sure - each monkey typing one letter is the same number of letters as each monkey typing an infinite number of letters. You could line up the monkeys, have them each type a letter, and then read the letters off in order.
Reply With Quote
  #20  
Old 12-07-2004, 04:26 PM
nivlac nivlac is offline
Charter Member
 
Join Date: May 2001
Location: Golden State
Posts: 2,340
Quote:
Originally Posted by ultrafilter
This one seems to confuse people, but given an infinite amount of monkeys and an infinite amount of time, it is logically possible that *no*work of Shakespeare will ever be reproduced.
Really? Even a finite number of monkeys typing an infinite amount of time will eventually type out every possible sequence of letters, punctuation marks, etc. It might take an awfully long time, but "infinite" time means no limit on time. Unless by "infinite", you are restricted by the duration of the known universe.
Reply With Quote
  #21  
Old 12-07-2004, 04:29 PM
ultrafilter ultrafilter is online now
Guest
 
Join Date: May 2001
Quote:
Originally Posted by nivlac
Even a finite number of monkeys typing an infinite amount of time will eventually type out every possible sequence of letters, punctuation marks, etc.
No, that's not guaranteed. The set of possible outcomes is the set of all countably-long strings on the alphabet of typewriter symbols. @@@@@@... is one of those, and there's no Shakespeare anywhere in there.

Note that the number of monkeys makes no difference in this case.
Reply With Quote
  #22  
Old 12-07-2004, 05:08 PM
Hyperelastic Hyperelastic is offline
Guest
 
Join Date: Dec 2001
[Letterman]
I think we can all agree, that if an infinite number of monkeys were to type for an infinite length of time, the smell would be unbearable.
[/Letterman]
Reply With Quote
  #23  
Old 12-07-2004, 06:53 PM
Bernard Marx Bernard Marx is offline
Member
 
Join Date: Jun 2002
Location: Australia
Posts: 245
Thank you Mr Ekers, you are a gentleman and a scholar
Reply With Quote
  #24  
Old 12-07-2004, 07:14 PM
tracer tracer is offline
Charter Member
 
Join Date: May 1999
Location: Silicon Valley, Cal., USA
Posts: 15,239
Bob Newhart, on his live-performance-recording album The Button-Down Mind Strikes Back, tells a joke story about what would happen if you really did try to conduct an experiment with an infinite number of monkeys and in infinite number of typewriters. To actually check to see if they'd produced the works of Shakespeare yet, there'd have to be an infinite number of people hired to proofread the monkeys' work:

"Harry, hold on, post fifteen here has something. I think this is famous or something. Uh ... 'To be or not to be, that is thegzornenplat.'"
Reply With Quote
  #25  
Old 12-07-2004, 07:18 PM
Ellis Dee Ellis Dee is offline
Guest
 
Join Date: Jul 2003
I always thought it was 7000 monkeys for 7000 years, but now I have no idea why I thought that.

When considering infinite monkeys and/or infinite time, doesn't the maxim of "all things that can happen must happen" come into play?
Reply With Quote
  #26  
Old 12-08-2004, 03:09 AM
nivlac nivlac is offline
Charter Member
 
Join Date: May 2001
Location: Golden State
Posts: 2,340
Quote:
Originally Posted by ultrafilter
No, that's not guaranteed. The set of possible outcomes is the set of all countably-long strings on the alphabet of typewriter symbols. @@@@@@... is one of those, and there's no Shakespeare anywhere in there.

Note that the number of monkeys makes no difference in this case.
Yes, you're right. The infinite number of sequences of non-Shakespeare (like the @@@...) can fill out the infinite amount of time. Damn, those monkeys can be wasting an awful lot of energy for nothing!
Reply With Quote
  #27  
Old 12-08-2004, 04:07 AM
cryptic_j cryptic_j is offline
Guest
 
Join Date: Sep 2004
So... should I strap the monkeys in.. and force them to sit at the typewriter?

what if they had predictive text style word processors...

also, does the world produce an infinite amount of Banana's?

I can see this is going to be an expensive undertaking...

One question... has anyone thought maybe this experiment has been done already - - the evidence is there before us..
when reading Shakespeare - - most of it is gibberish - -
__________________
Tales of the cryptic
http://www.organizedrhyme.co.uk
Reply With Quote
  #28  
Old 12-08-2004, 10:35 AM
Max Carnage Max Carnage is offline
Guest
 
Join Date: Dec 2001
I just realized the Amazing Stories I was thinking of was actually a houseplant grown by the light of a TV that began to type up successful TV comedy scripts.

Monkeys...what was I thinking.
Reply With Quote
  #29  
Old 12-08-2004, 02:34 PM
jay-c jay-c is offline
Guest
 
Join Date: Dec 2000
Quote:
Originally Posted by cryptic_j
... does anyone know who originally came up with the infinite monkey idea in the first place.?
Infinite Monkey Theorem
Reply With Quote
  #30  
Old 12-08-2004, 02:42 PM
ultrafilter ultrafilter is online now
Guest
 
Join Date: May 2001
Quote:
Originally Posted by jay-c
That article is incorrect because it makes the assumption that an event with probability 0 can't happen (or more formally, that a set of measure 0 is necessarily empty).
Reply With Quote
  #31  
Old 12-08-2004, 03:41 PM
Chronos Chronos is online now
Charter Member
 
Join Date: Jan 2000
Location: The Land of Cleves
Posts: 47,936
Quote:
Gosh, I thought you were going to ask about the sci-fi story about the author who uses a monkey hooked in to a typwriter to convince his editor that his story is well-written.
For what it's worth, it's Asimov, but I don't remember the title.
__________________
Time travels in divers paces with divers persons.
--As You Like It, III:ii:328
Reply With Quote
  #32  
Old 12-08-2004, 06:39 PM
Shade Shade is offline
Guest
 
Join Date: Oct 2001
Quote:
Originally Posted by Chronos
For what it's worth, it's Asimov, but I don't remember the title.
The Monkey's Fingers.
Reply With Quote
  #33  
Old 12-08-2004, 07:06 PM
dotchan dotchan is offline
Guest
 
Join Date: Mar 2004
Paraphrasing a Usenet .sig file...

"Come to think of it, we already do have a million monkeys at a million typewriters, and Usenet is nothing like Shakespeare."

Reply With Quote
  #34  
Old 12-08-2004, 08:23 PM
phaishazamkhan phaishazamkhan is offline
BANNED
 
Join Date: Nov 2004
Location: On Earth
Posts: 52
I hope no one considers me adding to noise rather than the signal. I recall a short story featured in one of those Dozois edited "Year's Best" anthologies. A man writes a program that he names after the concept of a million monkeys at a million typewriters. As the story progresses he starts getting interesting results as he improves the program. He realizes with regular computers he can not achieve true randomness, just an illusion of randomness no matter how well he seeds it so he starts using data acquired from supercolliders and radio telescopes, using their background noise for true randomness. Towards the end he discovers old conversations he had while he was a child, things said and yet to be said or written. Sadly I do not recall the title or the author.
Reply With Quote
  #35  
Old 12-08-2004, 08:52 PM
Jake Jake is offline
Charter Member
 
Join Date: Jul 1999
Location: NC, USA
Posts: 3,250
Given an Infinite amout of time, in our Universe, an infinite number of "Things" can happen.

I think.

Well, at least I happened!
Reply With Quote
  #36  
Old 12-08-2004, 10:18 PM
Roland Orzabal Roland Orzabal is online now
Charter Member
 
Join Date: Feb 2004
Location: Roanoke, VA
Posts: 2,768
Quote:
Originally Posted by nivlac
Really? Even a finite number of monkeys typing an infinite amount of time will eventually type out every possible sequence of letters, punctuation marks, etc. It might take an awfully long time, but "infinite" time means no limit on time. Unless by "infinite", you are restricted by the duration of the known universe.
Not so. This reminds me of a conversation I once had with a friend of mine when we were in fourth grade, while waiting for the bus one day.*

Roland: Let's play a game. You pick a number, then I'll pick a number, and we'll see whose is higher.
Friend: Okay. Apple.
R: ...what?
F: Apple.
R: "Apple" isn't a number.
F: Yes it is. If there's infinite numbers, then eventually there's got to be one called "apple".
R: (thinks about this for a minute) No, I think that's still wrong.
F: Well, what's a thousand times a million?
R: A billion.
F: What's a thousand times that?
R: A trillion.
F: What's a thousand times that?
R: ...I dunno, I think it has a name though...
F: See, you run out of names after a while, and if there's infinite numbers, you have to go through every name.
R: (thinks about this for a minute) No...that's still wrong. Ok, what if we call a million times a million a "megamillion". [I didn't know what a trillion was, but I knew what the metric prefix 'mega-' meant. I was a weird kid.]
F: Okay.
R: Now, what if we called a million times that a "mega-megamillion". And a million times that is a "mega-mega-megamillion".
F: Okay.
R: So, from there you can go as long as you want, and just keep adding "megas" to it. You'll still have infinite numbers, but you'll never get anything called "apple".
F: (thinks about this for a minute) Yeah, I guess...
(We stand in silence until the bus comes)

It's the same thing with the monkeys and the typewriters. Even if the keypresses are completely random -- and we have not-insignificant reason to believe that they wouldn't be -- it's possible that you could still end up with a series of infinite 'K's (with a nod to kevsnyde). Not bloody likely; indeed, exponentially less likely even than the works of Shakespeare, but possible nonetheless. It is possible to have an infinite string of random characters and not wind up with Hamlet, just as it is possible to have an infinite number of named entities (e.g. numbers) and never end up with one named "apple".

*Yes, this conversation actually happened, and yes, we were in fourth grade. I promise. We were, and are, complete and utter dorks.
Reply With Quote
  #37  
Old 12-08-2004, 10:21 PM
Roland Orzabal Roland Orzabal is online now
Charter Member
 
Join Date: Feb 2004
Location: Roanoke, VA
Posts: 2,768
Quote:
Originally Posted by Roland Orzabal
[I didn't know what a trillion was...]
Er, a quadrillion, that is. Meaning that I couldn't answer my friends question of "what's a thousand times a trillion". Just wanted to avoid confusion.
Reply With Quote
  #38  
Old 12-09-2004, 01:07 AM
Bernard Marx Bernard Marx is offline
Member
 
Join Date: Jun 2002
Location: Australia
Posts: 245
Quote:
originally posted by Roland Orzabal
Even if the keypresses are completely random -- and we have not-insignificant reason to believe that they wouldn't be -- it's possible that you could still end up with a series of infinite 'K's (with a nod to kevsnyde). Not bloody likely; indeed, exponentially less likely even than the works of Shakespeare, but possible nonetheless.
Surely a series of "k"s is just as likely as Shakespeare, assuming that each letter struck is independent of the one struck before it (in the same way that a series of coin tosses HHHHHHHHHH is just as likely as HTHTHTHT and HTHHHTHTTT)
Reply With Quote
  #39  
Old 12-09-2004, 01:42 AM
Roland Orzabal Roland Orzabal is online now
Charter Member
 
Join Date: Feb 2004
Location: Roanoke, VA
Posts: 2,768
Quote:
Originally Posted by Bernard Marx
Surely a series of "k"s is just as likely as Shakespeare, assuming that each letter struck is independent of the one struck before it (in the same way that a series of coin tosses HHHHHHHHHH is just as likely as HTHTHTHT and HTHHHTHTTT)
For a string of "k"s containing the same number of characters as the relevant portion of Shakespeare, certainly. I was referring to the likelihood of a "k" series of indeterminate length, presumably greater than the length of Shakespeare's texts, that would at any point of reference seem to continue indefinitely.
Reply With Quote
  #40  
Old 12-09-2004, 01:46 AM
moriah moriah is offline
Member
 
Join Date: Jun 1999
Location: NJ, USA ♂
Posts: 3,758
This gets around to the age old argument whether an infinite number of possibilities will guarantee all possibilities (it doesn't). Lay folk who aren't that familiar with probability and infinity find it counterintuitive.

Here's a way to explain it:

Imagine the set of all counting numbers, {1, 2, 3, 4, 5....}

It's a set with an infinite amount of members. Now take out the number '3,' {1, 2, 4, 5...}. It still has an infinite amount of members, but it doesn't have all possible members of the counting numbers set.

If an infinite amount of monkeys are forced to create random numbers, it's a possibility that none of them will ever choose '3,' even though you have an infinite amount of numbers created by those monkeys -- just like the counting number set minus the number 3. Infinite, but not containing every possibility.

Now, it becomes more likely, that as the number of monkeys or their time spent hitting random keys approaches infinity that 3 will be pop up in their number set. Though, it will never be guaranteed.

If 3 isn't guaranteed to pop up in an infinite list of number, consider how much more likely that Hamlet will not pop up in an infinite number of random-keystroke manuscripts.

Peace.
Reply With Quote
  #41  
Old 12-09-2004, 09:44 AM
Götterfunken Götterfunken is online now
Guest
 
Join Date: Jun 2002
Quote:
Originally Posted by kevsnyde
Right. For all we know the monkeys might like to hit the "K" key over and over and over ad infinitum. To me, saying it'll take infinite time to bang out Shakespeare is really saying you'll have to wait forever... which is really saying never.

Damn monkeys.
Actually, this experiment suggests that they prefer the "s" key:

Notes Towards the Complete Works of Shakespeare (pdf version is free to download)

[Based on the efforts of five Sulawesi Crested Macaques named Elmo, Gum, Heather, Holly, Mistletoe and Rowan--not quite an infinite number, but, hey, it's a start]
Reply With Quote
  #42  
Old 12-09-2004, 09:07 PM
Ninja Pizza Guy Ninja Pizza Guy is offline
Guest
 
Join Date: Jun 2004
[semi-hijack]
There's another "infinite monkeys/time/typewriters story I've been trying to find.

Way, way back, just after the war in heaven, an angel was exiled by both sides. He wasn't good or evil, but too wishy-washy to pick a side. So, he ends up with a bunch of monkeys and an equal number of typewriters. The monkeys have to type Shakespear. The "punchline" as I remember it is "damn that sticky g-key!"
Reply With Quote
  #43  
Old 12-10-2004, 02:26 PM
sweepkick sweepkick is offline
Guest
 
Join Date: Nov 2002
There are more imaginitive texts that these monkeys should be able to come up with.
Reply With Quote
  #44  
Old 12-10-2004, 03:24 PM
smiling bandit smiling bandit is online now
Guest
 
Join Date: Nov 2001
Was there an actual reason in the story for the Monkeys to never fail to produce some classical script por whatever? Die the monkeys just channel the psychic energy of Shakespeare or what?
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 10:28 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

Send questions for Cecil Adams to: cecil@chicagoreader.com

Send comments about this website to: webmaster@straightdope.com

Terms of Use / Privacy Policy

Advertise on the Straight Dope!
(Your direct line to thousands of the smartest, hippest people on the planet, plus a few total dipsticks.)

Publishers - interested in subscribing to the Straight Dope?
Write to: sdsubscriptions@chicagoreader.com.

Copyright © 2013 Sun-Times Media, LLC.