Patheos

BuddhistCatholicContemplativeEvangelicalGeneral ChristianHinduJewishLatter-day SaintMuslimNew VisionsProgressive Christian

Beliefs

Topics

Columnists

Resource Library

Research Tools

Video

Podcasts

Thought Readers

Faith In Media Tracker

Newsletters

Ad-Free & Subscriber Log-In Subscription Support

Patheos

Ad-Free & Subscriber Log-In Subscription Support

Follow Patheos Patheos on Facebook Patheos on YouTube

Daylight Atheism

How Big is the Library of Babel?

Last updated on: March 14, 2006 at 9:46 am   by Adam Lee

How Big is the Library of Babel? 2006-03-14T09:46:43+00:00 Adam Lee

LOGO Patheos Explore the world's faith through different perspectives on religion and spirituality! Patheos has the views of the prevalent religions and spiritualities of the world.

One of my favorite short-story authors is the Argentinean writer Jorge Luis Borges. Many of his stories deal with mind-expanding themes, including “Blue Tigers”, about a handful of stones that do not obey the rules of mathematics, “The Book of Sand”, about a book with an infinite number of pages, and “The Aleph”, a point in space that allows one to observe all other points simultaneously.

However, Borges’ most iconic short story is the one called “The Library of Babel“, less a narrative with a plot than an extended thought experiment, about a race of people who live in a cosmos that is bizarre indeed. The universe in which these people (Babelians?) live is a vast, apparently endless honeycomb of interlocking hexagon-shaped rooms, each one with two hallways that connect it to other rooms on the same level and a spiral staircase connecting it to rooms both above and below. Every room’s walls are occupied by bookshelves that are full of books. Most of the books are complete nonsense, nothing but random combinations of letters, but a few contain tantalizing hints of sense.

One which my father saw in a hexagon on circuit fifteen ninety-four was made up of the letters MCV, perversely repeated from the first line to the last. Another (very much consulted in this area) is a mere labyrinth of letters, but the next-to-last page says Oh time thy pyramids.

As Borges’ narrator explains, the people of the Library of Babel have finally discerned the nature of their world, based on two observations: first, that every book uses the same twenty-five symbols for letters and punctuation; second, that no traveler has ever come across two exactly identical books. These people have come to the realization that the Library contains all books – that is to say, not just all books that have been written, not just all books that ever will be written, but all possible books, every single permutation of letters of a specified length.

Life in the Library is both a blessing and a curse. The vast – overwhelmingly, crushingly vast – majority of these books are total gibberish; but buried among them, somewhere, there are – there must be – books containing every truth that anyone could ever want to know.

Everything: the minutely detailed history of the future, the archangels’ autobiographies, the faithful catalogues of the Library, thousands and thousands of false catalogues, the demonstration of the fallacy of those catalogues, the demonstration of the fallacy of the true catalogue, the Gnostic gospel of Basilides, the commentary on that gospel, the commentary on the commentary on that gospel, the true story of your death, the translation of every book in all languages, the interpolations of every book in all books.

There must be books that tell the true history of the Library of Babel, and explain how such a fantastic cosmos came into existence. There must be books that contain the truth about the existence, nature, and attributes of God. There must be books that tell the true biography of every individual’s life, perfectly foretelling their every action from birth to death, if only there was a way to find them; Borges’ narrator refers to these books as the Vindications. Of course, because this library contains all possible books somewhere, every such work of perfection will be undetectably camouflaged among an immense number of sinister counterfeits – books that tell you your life story in perfect detail up to the age of thirty, say, but diverge radically thereafter.

Though it is obvious that the Library of Babel must be vast, I did not appreciate just how vast it is until reading Daniel Dennett’s discussion of it in Darwin’s Dangerous Idea. Consider: according to Borges’ description, each book in the Library is 410 pages; each page is made up of 40 lines each consisting of 80 positions, and there are 25 possible alphabetic symbols that can fill any of these positions. This works out to 410 x 40 x 80 = 1,312,000 positions per book, each of which can be filled in 25 distinct ways: 25 x 25 x 25… and so on, 1,312,000 times. In other terms, the Library of Babel contains 25(410x40x80) = 251,312,000 books. This is a number compared to which the number of atoms in our universe is infinitesimal.

Since it is all but impossible to get a handle on the size of this number, let us consider something more manageable: the number of variants of just one book, say, War and Peace. (I do not know if this book actually has something like the 1,312,000 characters possessed by each book in the Library of Babel, but say for the sake of argument that it does.) In all the vast Library there is only one book that replicates it exactly as it was written by Tolstoy. But how many slight variants are there, versions that differ by just one character?

Again, there are 1,312,000 positions in the book, each one of which can differ from the canonical version in 24 ways (since the original character at that position can be replaced with any of the other characters). Thus there are 24 x 1,312,000 = 31,488,000 one-character variants. By the same logic, there are an incredible 991,493,388,288,000, or about 991 trillion, copies of this book that vary by just two characters (31,488,000 ways to vary one character, times 24 x 1,311,999 = 31,487,976 ways to vary a different character). The number of three-character variants is exponentially larger, and the number of four-character variants larger still; and then there are the versions that differ by five, by six, by seven… (Dennett points out that even a copy with several typos on each page would still be quite recognizable.) And none of this includes translations of the book into other languages, retellings of recognizably the same story in different words, abridged versions, summaries, versions with scrambled page order, versions with alternate endings, commentaries, commentaries on the commentaries, reviews, parodies, scholarly analyses, denunciations, deconstructions…

Just how big a number is this? The estimated volume of the observable universe is 1033 cubic light-years, or about 1087 cubic centimeters. Assume that the thickness of a sheet of paper is 0.1 mm, and that each sheet is of standard 8.5 x 11-inch dimensions (about 21.6 by 28 cm). Then the volume of a single book is 21.6 x 28 x (400 x 0.01) = about 2400 cubic centimeters. It would take 4.16 x 1083 such books to completely fill the volume of the observable universe. How many variants on War and Peace would this be?

Incredibly, all the books that were exact duplicates of War and Peace, save for a mere twelve or fewer single-character differences somewhere in the text, would more than fill the observable universe. (If you’re not convinced of this, I’ve written a simple Java program that calculates the number of books in the Library of Babel that differ from a given book by X single-character changes. Download it here and check my math: BabelCalc.java). And the Library of Babel must contain these books, as well as all the other character variants, plus all the other relevant books mentioned above. The amount of space required to store all these near-duplicates – Tolstoy Space, let us call it – is, by many orders of magnitude, larger than the entire observable universe. And Tolstoy Space is just the infinitesimally small, vanishing fraction of Babel Space devoted to the variants of one book. Borges wrote that for every book in the Library there were “several hundred thousand imperfect facsimiles”, but we can now appreciate just how much of an understatement that was.

The Library

Thought Experiments

Previous Post



March 12, 2006

A Mile Wide and an Inch Deep

Next Post



March 16, 2006 The Devil Cannot Abide Mockery


Browse Our Archives

Select a Category The Foyer The Garden The Library The Loft The Observatory The Rotunda

Select a Month December 2021 October 2021 September 2021 August 2021 July 2021 June 2021 May 2021 April 2021 March 2021 February 2021 January 2021 December 2020 November 2020 October 2020 September 2020 August 2020 July 2020 June 2020 May 2020 April 2020 March 2020 February 2020 January 2020 December 2019 November 2019 October 2019 September 2019 August 2019 July 2019 June 2019 May 2019 April 2019 March 2019 February 2019 January 2019 December 2018 November 2018 October 2018 September 2018 August 2018 July 2018 June 2018 May 2018 April 2018 March 2018 February 2018 January 2018 December 2017 November 2017 October 2017 September 2017 August 2017 July 2017 June 2017 May 2017 April 2017 March 2017 February 2017 January 2017 December 2016 November 2016 October 2016 September 2016 August 2016 July 2016 June 2016 May 2016 April 2016 March 2016 February 2016 January 2016 December 2015 November 2015 October 2015 September 2015 August 2015 July 2015 June 2015 May 2015 April 2015 March 2015 February 2015 January 2015 December 2014 November 2014 October 2014 September 2014 August 2014 July 2014 June 2014 May 2014 April 2014 March 2014 February 2014 January 2014 December 2013 November 2013 October 2013 September 2013 August 2013 July 2013 June 2013 May 2013 April 2013 March 2013 February 2013 January 2013 December 2012 November 2012 October 2012 September 2012 August 2012 July 2012 June 2012 May 2012 April 2012 March 2012 February 2012 January 2012 December 2011 November 2011 October 2011 September 2011 August 2011 July 2011 June 2011 May 2011 April 2011 March 2011 February 2011 January 2011 December 2010 November 2010 October 2010 September 2010 August 2010 July 2010 June 2010 May 2010 April 2010 March 2010 February 2010 January 2010 December 2009 November 2009 October 2009 September 2009 August 2009 July 2009 June 2009 May 2009 April 2009 March 2009 February 2009 January 2009 December 2008 November 2008 October 2008 September 2008 August 2008 July 2008 June 2008 May 2008 April 2008 March 2008 February 2008 January 2008 December 2007 November 2007 October 2007 September 2007 August 2007 July 2007 June 2007 May 2007 April 2007 March 2007 February 2007 January 2007 December 2006 November 2006 October 2006 September 2006 August 2006 July 2006 June 2006 May 2006 April 2006 March 2006 February 2006


Follow Us!

Follow Us on Facebook Follow Us on Twitter



TAKE THE

Religious Wisdom Quiz

Which continent is experiencing the fastest growth in Christianity?

Select your answer to see how you score.

Africa Asia Europe Oceania

Books by This Author Books by Adam Lee

See All Titles »

Related posts from Daylight Atheism

Nonreligious

Christians Against Empathy

Daylight Atheism

Nonreligious

Hurrah for Liberals: Free Speech and Free Press

Daylight Atheism

Nonreligious

Hurrah for Liberals: How Modern Liberalism Was Born

Daylight Atheism

Nonreligious

Hurrah for Liberals: An Early 'Occupy' Episode

Daylight Atheism

TRENDING AT PATHEOS Nonreligious

Dethroning Jesus and Enthroning Yourself

Jesus Never Asked to Be Worshipped. He Asked to Be Understood. Christianity...

Why Most Christians are Really Paulians and Jobians

I Don't Care, But It Matters Let's get this out of the...

Essential Tips to Successfully Navigate the Selling Process

Selling a house can feel overwhelming, but it doesn’t have to be....

To Make Remote Work Effective, Think About Others

The COVID-19 pandemic forced many companies to rapidly transition to remote work....

Flexibility Is Key to Solving Problems of Tomorrow

The world of work is undergoing a dramatic transformation. The COVID-19 pandemic...

view all Nonreligious blogs

Patheos on Facebook Patheos on YouTube

Ad-Free & Subscriber Log-In Subscription Support

Copyright 2008-2026, Patheos. All rights reserved.

Subscription Support Ad-Free & Subscriber Log-In

Follow Patheos Patheos on Facebook Patheos on YouTube