Skip Navigation

Typing monkey would be unable to produce 'Hamlet' within the lifetime of the universe, study finds

The question that everyone has been dying to know has been answered. Finally! What will scientists study next?

191 comments
  • Lifetime of the universe is infinitely less than infinite time. So they solved for the wrong problem. Of course it may take longer than the life of the universe, or it may happen in a year. That's the whole point of the concepts of infinity and true randomness. Once you put a limit on time or a restriction on randomness, then the thought experiment is broken. You've totally changed the equation.

  • They forgot the lifespan of the monkey, those thought experimenters.

  • So the secret to this thought experiment is to understand that infinite is big. Really big. You just won't believe how vastly, hugely, mind-bogglingly big it is...

    The lifespan of the universe from big bang to heat death (the longest scenario) is a blink of an eye to eternity. The breadth and size of the universe -- not just what we can see, but how big it is with all the inflation bits, even as its expanding faster than the speed of light -- just a mote in a sunbeam compared to infinity.

    Infinity itself looks flat and uninteresting. Looking up into the night sky is looking into infinity – distance is incomprehensible and therefore meaningless. And thus we don't imagine just how vast and literally impossible infinity is.

    With an infinite number of monkeys, not only will you get one that will write out a Hamlet script perfectly the first time, formatted exactly as you need it, but you'll have an infinite number of them. Yes, the percentage of the total will be very small (though not infinitesimally so), and even if you do a partial search you're going to get a lot of false hits. But 0.000001% of ∞ is still ∞. ∞ / [Graham's Number] = ∞

    It's a lot of monkeys.

    Now, because the monkeys and typewriters and Shakespeare thought experiment isn't super useful unless you're dealing with angels and devils (they get to play with infinities. The real world is all normal numbers) the model has been paired down in Dawkin's Weasel ( on Wikipedia ) and Weasel Programs which demonstrate how evolution (specifically biological evolution) isn't random rather has random features, but natural selection is informed by, well, selection. Specifically survivability in a harsh environment. When slow rabbits fail to breed, the rabbits will mutate to be faster over generations.

  • Fuuuuck there goes my plan to get this monkey to write Hamlet within the lifetime of the universe...

  • I just listened to a podcast about assembly theory and I think that it kind of relates here too, though maybe not. If we start randomly generating text that is the lenght of the Hamlet, then Hamlet itself would be one of the possible, finite number of possibilities that could be generated within these parameters. Interesting theory nevertheless.

    If we think about a screwdriver, the theory would argue that it couldn’t simply appear out of nowhere because its structure is too specific and complex to have come into existence by chance alone. For that screwdriver to exist, a multitude of precise processes are required: extracting raw materials, refining them, shaping metal, designing the handle, etc. The probability of all these steps happening in the right order, spontaneously, is essentially zero. Assembly theory would say that each stage in the creation of a screwdriver represents a selection event, where choices are made, materials are transformed, and functions are refined.

    What makes assembly theory especially intriguing is that it offers a framework to distinguish between things that could arise naturally, like a rock or even an organic molecule, and things that bear the hallmarks of a directed process. To put it simply, a screwdriver couldn't exist without a long sequence of assembly steps that are improbable to arise by chance, thereby making its existence a hallmark of intentional design or, at the very least, a directed process.

191 comments