Tech●●●●●Difficulty 1 of 5

How can just 0 and 1 write every number and every letter?

Long before computers, a philosopher saw creation itself in 0 and 1, and Francis Bacon suggested sending secret messages with trumpets and muskets.

▶ Start the story

With two symbols you can write anything, as long as you let their position carry meaning. In binary, each digit, called a bit, is worth a power of 2: from the right, 1, 2, 4, 8, 16 and so on. A number's value is simply the sum of the places that hold a 1. So 1101 means 8 + 4 + 1, which is 13. Counting works just like ordinary counting with fewer symbols: 0, 1, then you run out, so you reset to 0 and carry a 1 to the left, giving 10, 11, 100.

Counting with only two symbols
  1. Step 1: 0, 1

    Then you run out of symbols

  2. Step 2: Reset and carry

    1 + 1 = 10: the bit goes back to 0, a 1 moves left

  3. Step 3: Each place doubles

    From the right: 1, 2, 4, 8, 16…

  4. Step 4: Add the 1s

    1101 = 8 + 4 + 1 = 13

  5. Step 5: Letters are numbers

    In ASCII, a = 97 = 1100001

Letters are just numbers with a name tag. In the ASCII code, every character gets a number from 0 to 127, and the lowercase letter a is 97, stored as 1100001. Computers love this because two states are easy to build and hard to confuse: a switch on or off, two different voltages, two magnetic directions on a disk. Noise can blur a signal a little without turning one state into the other.

The idea is much older than electronics. In 1605 Francis Bacon described turning letters into strings of two symbols, hidden as tiny differences in a font, and noted that bells, trumpets, torches or musket shots would do just as well. The philosopher Gottfried Leibniz filled more than a hundred manuscripts with binary, and saw in 0 and 1 a symbol of creation out of nothing.

Quiz me

0/3

  1. 1.What number does the binary string 1101 stand for?
  2. 2.Why do computers use binary instead of our ten digits?
  3. 3.What did Francis Bacon realize in 1605 about two-symbol codes?

Recap

In binary each place doubles (1, 2, 4, 8…), and a number is just the sum of the places holding a 1.

Surprising fact · Leibniz saw binary as a symbol of creation out of nothing and found a parallel invention in the Chinese I Ching.

Sources (2)

No source, no claim. Every fact in this lesson (16 claims) cites at least one of these.

  1. [1]Binary number · Wikipedia
  2. [2]Binary code · Wikipedia
More lessons in 💻 Tech (3) See all tech lessons →

One more light on your map.

Get one lesson like this every day, about the things you love. Free, in two or five minutes.

Get the share card for this lesson ↗