Bell Labs, the research laboratory of the American telephone company, was full of brilliant people. One of them rode a unicycle down the corridors while juggling. His name was Claude Shannon, and he did more than anyone to explain what all these machines were actually sending.
He had already made history once. In 1937, at just 21, he wrote a student thesis at MIT showing that simple on/off switches, wired together the right way, could do logic: if this and that, then switch on. Every digital circuit since, from telephone exchanges to the chip in your phone, builds on that idea.
Then in 1948 he published A Mathematical Theory of Communication. It answered a question nobody had managed to pin down: what is information, and how much of it can you send?
His answer was surprisingly playful. Information is whatever settles a question. The smallest piece of information is the answer to a single yes-or-no question. Shannon called it a , short for “binary digit”, a word suggested by his colleague John Tukey. His paper was the first to use it in print.
Think of a number. I’ll find it in 7 questions.
Pick any whole number from 0 to 127 and keep it in your head. Answer honestly.
Is your number 64 or more?
Your number is somewhere from 0 to 127: 128 possibilities.
That game shows the trick. Every extra yes/no answer doubles how many possibilities you can tell apart. One bit picks between 2 things, 7 bits between 128, and 8 bits between 256, which happens to be the 256 steps a telephone line uses for each measurement of your voice.
| Choices | Bits needed |
|---|---|
| Heads or tails | 1 |
| A card suit | 2 |
| A letter A–Z | about 5 |
| A number 0–127 | 7 |
| One telephone measurement (256 steps) | 8 |
Anything at all can be turned into bits: letters, sounds, photos, films. Once it’s bits, the network doesn’t need to care what it is. That’s why a single cable today carries phone calls, videos and text messages all mixed together.
Shannon’s second big idea: predictable means compressible. In English, after a Q almost always comes a U. Shannon estimated that roughly half of what we write is predictable from what came before. Can you still read this?
The predictable parts don’t need sending in full. That’s how zip files, MP3 music and phone photos get squeezed so small.
Alfred Vail had stumbled on a hand-made version of this a century earlier, when he gave the common letter E the shortest Morse code. In 1952 a student named David Huffman worked out the mathematically best way to do it, and his method is still inside zip files, JPEG photos and MP3 music today.
His third idea is the boldest. Every channel, whether a copper wire, a radio band or a glass fibre, has a speed limit, set by and how noisy it is. Shannon proved two things at once. You can never go faster than that limit. And below it you can send almost perfectly, however noisy the line, if you add the right kind of clever repetition, called an error-correcting code.
Shout through the noise
Turn up the noise and send. Then switch on the code and send again.
Press Send to put the message on the wire.
At 5% noise, about 1 letter in 3 comes out wrong without the code. With it, about 1 letter in 18 comes out wrong, because a bit is lost only when two of its three copies flip.
Repeating everything three times is the clumsiest possible code. Modern codes protect far better while adding much less extra length. Shannon proved such codes had to exist, and it took engineers until the 1990s to find codes that come close to his limit.
He proved that this was possible, but didn’t say exactly how to do it. Engineers spent the next 45 years hunting for codes that came close. They got there in the 1990s, and today the codes inside Wi-Fi, 4G and 5G work very near Shannon’s limit. Error-correcting codes are why a scratched CD still plays, why a QR code still scans with a chunk torn off, and why space probes can send pictures home across billions of kilometres.
Shannon never lost his sense of fun. In 1950 he built Theseus, a mechanical mouse that learned its way through a maze, one of the first machines that learned anything. On his desk sat a box with a single switch, built to an idea of the young Marvin Minsky: flip it on, and a mechanical hand reached out and switched it off again. He wrote one of the first papers on teaching a computer to play chess. And with the mathematician Ed Thorp he built a computer the size of a cigarette packet, worked by switches hidden in a shoe, to predict where a roulette ball would land. It was one of the first wearable computers.
He died in 2001. Every part after this one runs on his ideas: the light pulses in fibre, the packets of the internet, the texts and video calls on your phone. All of them are bits, counted and protected the way Shannon showed.
Before the bits took over, though, the old copies of waves had one last great adventure: under the ocean and out into space.
Sources for this part
- Claude Shannon (Wikipedia): dates, the 1937 thesis, the 1948 paper, Theseus, the chess paper, the roulette computer.
- A Mathematical Theory of Communication, part 1 (Bell System Technical Journal, July 1948): “a word suggested by J. W. Tukey”, and English being roughly 50% redundant.
- Bit (Wikipedia): Tukey’s 1947 memo and Shannon’s first use of the word in print.
- Pulse-code modulation (Wikipedia): The Philosophy of PCM by Oliver, Pierce and Shannon, 1948.
- Claude Shannon: Tinkerer, Prankster, and Father of Information Theory (IEEE Spectrum): the unicycle in the halls of Bell Labs.
- Useless machine (Wikipedia): Minsky’s “ultimate machine” and the one on Shannon’s desk.
- Edward O. Thorp (Wikipedia): the wearable roulette computer, built in 1960–61.
- Huffman coding (Wikipedia): Huffman’s 1952 paper, and its use in zip, JPEG and MP3.
- Turbo code (Wikipedia): the first practical codes close to Shannon’s limit, published in 1993.