Single events carry information equal to negative log probability; the unlikelier the event, the more its happening tells.
Imagine getting a message made from four letters, one at a time. Every two binary digits tell you which letter came through. At Bell Labs, Claude Shannon showed that knowing how frequently the letters come could let you write a shorter message.
The person receiving the message still has to recover every letter. If you're still sending just one letter at a time, why would one need several digits and another need only one?
Self-information measures how surprising an outcome is given its probability. An outcome you rarely expect tells you more when it arrives. We'll work through Shannon's example and see what that number can tell you.
How it works
First, look at the job Shannon wanted to do. In nineteen forty-eight, he published A Mathematical Theory of Communication. He wanted a receiver to recover the symbols somebody sent, while using less of the line to get them there.
In his example, one of four letters comes up half the time, another comes up a quarter of the time. The remaining two each come up an eighth of the time. Take the negative base-two logarithm of a letter's probability to get its self-information in bits.
- 01 · Estimate the probability First assign a probability p to the event's occurrence.
- 02 · Take the negative logarithm Information content equals −log(p), with base 2 giving the unit of bits.
- +2 more mechanism steps & animation in the app
When it fails & limits
You can do the same calculation for a message you see today. First check where its probability comes from and what that number describes.
Unlock the full Self-information lesson in ConceptFlow
You’ve read the core idea and opening case. Get the ConceptFlow app to continue through the full breakdown, failure modes, 5-minute audio lesson, and decision practice.
- ▸5-minute English & Mandarin audio lesson
- ▸5 more deep-dive case & mechanism insights
- ▸All 5 failure boundaries & counter-examples
- ▸4-point decision checklist + 6-step practice
Tap a store button on mobile, or scan with your phone camera on desktop.