# Self-information

> Source: https://modeladay.com/models/self-information/
> Category: principle | Topics: science | Difficulty: 3/5

## Definition

Single events carry information equal to negative log probability; the unlikelier the event, the more its happening tells.

## Core Rule

The information carried by a single event = −log(probability); the less likely an event, the more information it carries when it happens. Common patterns: a certain event with probability 1 has information content = 0, and the smaller the probability the larger the value; with base 2 the unit is the bit.

## Opening Context

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 (Preview)

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.

## When It Fails (Preview)

You can do the same calculation for a message you see today. First check where its probability comes from and what that number describes.

## Full Lesson, Audio & Practice

Get the full Self-information breakdown, 5-minute audio lesson, interactive mechanism animation, and decision checklist in the ConceptFlow app:
- iOS App Store: https://apps.apple.com/app/conceptflow-mental-models/id6756862333
- Google Play: https://play.google.com/store/apps/details?id=com.juxianyp.conceptflow
- Web page: https://modeladay.com/models/self-information/

## Related Mental Models

- [Information as uncertainty reduction](https://modeladay.com/models/information-as-uncertainty-reduction/)
- [Kolmogorov complexity](https://modeladay.com/models/kolmogorov-complexity/)
- [Mutual information](https://modeladay.com/models/mutual-information/)
