Infinite Monkey Experiment: Shakespeare Probability and Cosmic Time
Generated: 2026-04-29 · API: Gemini 2.5 Flash · Modes: Summary
Infinite Monkey Experiment: Shakespeare Probability and Cosmic Time
Clip title: Could a TRILLION Monkeys Write Shakespeare Before the Universe Ends? Author / channel: Up and Atom URL: https://www.youtube.com/watch?v=ND9eyW5Fw0s
Summary
The video delves into the famous “Infinite Monkey Thought Experiment,” which postulates that a monkey randomly typing on a keyboard for an infinite amount of time would almost surely produce the complete works of Shakespeare. It begins by referencing a real-life experiment conducted in 2002, where six crested macaques were given a computer and keyboard for nearly two months. Far from producing literary masterpieces, the monkeys mostly typed strings of “S”s, smashed the keyboard with a rock, or used the equipment as a toilet. This real-world failure highlights a key distinction: actual monkeys do not type randomly, whereas the thought experiment relies on pure, unbiased randomness.
The core of the video then shifts to the mathematical probabilities assuming true randomness. By considering a simplified keyboard of 44 keys (letters, digits, common symbols, and space) and independent key presses, the probability of typing any specific sequence is calculated as 1/44 raised to the power of the sequence’s length. For instance, typing the five-letter word “HELLO” would have a 1 in 165 million chance on any given attempt. Extending this, a short 50-character sentence would take approximately 10^76 years to appear by chance, an unimaginable duration that vastly exceeds the current age of the universe (1.38 x 10^10 years). For a single paragraph from Hamlet (around 1,000 characters), the wait time becomes an astronomical 10^1638 years, dwarfing even the estimated “heat death” of the universe (10^100 years). The entire play of Hamlet, with approximately 200,000 characters, would require an unfathomable 10^328,688 years, leading to the realistic conclusion that a single monkey will never produce Shakespeare.
However, the essence of the “infinite monkey” theorem truly emerges when considering infinite time. The video introduces the Borel-Cantelli Lemmata, which state that for a sequence of independent events, if the sum of their individual probabilities converges (is finite), the events will occur only a finite number of times. Conversely, if the sum of their probabilities diverges (is infinite), the events will occur an infinite number of times. Despite the exceedingly small probability of a monkey typing Hamlet at any single instance, the cumulative sum of these probabilities over an infinite number of attempts (infinite time) diverges. Therefore, mathematically, an “infinite monkey” would not only eventually type Hamlet but would do so an infinite number of times.
This powerful and counterintuitive conclusion extends to any conceivable finite string of characters. Given infinite time and truly random generation, such a process would eventually produce every book ever written, every poem, every novel, every scientific theory (discovered or yet to be discovered), and indeed, every possible arrangement of characters imaginable – and each of these infinitely many times. The video concludes by subtly promoting Ground News as a tool to navigate real-world information with a data-driven, objective approach, contrasting with the cosmic randomness discussed, and offering a perspective on critical thinking and media literacy.
Video Description & Links
Description
Go to https://ground.news/upandatom to get 40% off unlimited access to the news tool I actually trust. It helps you cut through the noise and understand how stories are being reported across the spectrum.
Monkey experiment footage courtesy of Professor Mike Phillips
Special thanks to Adam Whittaker, Aman Singh, Gourab Ray, Hayden Pecoraro, Johannes Baeumler, Michael Rizvi-Martel, Patrick Liscio and Reetam for fact checking this video.
Hi! I’m Jade. If you’d like to consider supporting Up and Atom, head over to my Patreon page :) https://www.patreon.com/upandatom
Subscribe to Up and Atom for physics, math and computer science videos https://www.youtube.com/c/upandatom
For a one time donation, head over to my PayPal :) https://www.paypal.me/upandatomshows
A big thank you to my AMAZING PATRONS! Michael Seydel, Brian Wilkins, Thorsten Auth, Chris Flynn, Richard O McEwen Jr, Scott Ready, Izzy Ca, John H. Austin, Jr., David Johnston, Thomas Krause, Ave Eva Thornton, Anne Tan, abc, Nahuel Hernán Espiño, Norman Jaffe, Jim Wright, Elliot Glazer, Cumaco, Robert Walker, John Doe, Dirk Wouters, Stoney Bair, Francisco, Marc-Antoine, Thomas Urech, chuck zegar, David Tuman, Ben Mitchell, Jim Felich, Jeremy, DONALD McLeod, Ron Hochsprung, Tim Ludwig, Dagmawi Elehu, Jeffrey Smith, Alex Hackman, Joel Becane, eris esoteric, Paul Barclay, John Lakeman, Jana Christine Saout, Jeff Schwarz, Yana Chernobilsky, Michael Dean, Chris Amaris, Matt G, Dag-Erling Smørgrav, John Shioli, Bli Blop, Steve Archer, Antonio Gonzalez, Robert Ball, AdamM, JAMES WONG, Wolf Witt, Benedict, Janusz Górecki, Sam Terfa, Prashant Savalia, Henrik Horneber, Markus S., AudioFreak, Lauren Fish, Boris Lets Kuslitskiy, Matthew Lewis, Bryan Hughes, Trance Maharaj, Matt, Jonathan Rayback, Smarter Every Day, Chandler Freeman, Bunny Lushington, Jane!, Motty Porat, Carlos Escolar, Anthony Docimo, robert lalonde, Cassandra Durnord, Paul Bunbury, Richard Rensman, David Shlapak, Kent Arimura, Phillip Rhodes, Michael Nugent, Roland Gibson, Joe McTee, Oleg Dats, Simon J. Dodd, Tang Chun, William Toffey, omg.science, Cameron Tacklind, Lance Ahmu, Steve Watson, Andi B, Thomas P Taft, Pablo de Caffe, Taylor Hornby, Colin Byrne, Jesper de Jong, Spuddy, Sascha Bohemia, Stephen Britt, KG, Hansjuerg Widmer, John Sigwald, O C, Carlos Gonzalez, James Palermo, Thomas V Lohmeier, Chris Teubert, Wolfgang Ripken, Nicolas Frias, Louis M, ROBERT C PAYNE, Rick DeWitt, S, Gene Levitsky, Pat Gunn, RobF, Vincent Seguin, Michael Brunolli, Shawn, Steven Wheeler, Philip Freeman, Jareth Arnold, and Simon Dargaville.
Creator - Jade Tan-Holmes Script - Daniel Inafuku Animations - Hamed Akrami and Sadi Tahouri Music - epidemicsound.com
URLs
- https://ground.news/upandatom
- https://www.patreon.com/upandatom
- https://www.youtube.com/c/upandatom
- https://www.paypal.me/upandatomshows
Related Concepts
- Infinite Monkey Theorem — Wikipedia
- Random typing — Wikipedia
- Cosmic time — Wikipedia
- Crested macaques — Wikipedia
- Borel-Cantelli Lemmata — Wikipedia
- Convergence — Wikipedia
- Divergence — Wikipedia
- Independent events — Wikipedia
- Heat death of the universe — Wikipedia
- Probability theory — Wikipedia
- Combinatorics — Wikipedia
- Statistical randomness — Wikipedia
- Infinite series — Wikipedia
- Sequence probability — Wikipedia
- Mathematical modeling — Wikipedia