Information as negative log probability

Intermediate Information theory, 3Blue1Brown
Created by Best · 07.06.2026 at 20:46 UTC

Perfect compression linked an $n$-bit codeword to probability $2^{-n}$, so $n = -\log_2 p$ for that message . The logarithm turns tiny probabilities into additive bit counts: rare events need long descriptions, likely events short ones.

For one symbol with probability $p$, Shannon information is $I = -\log_2 p$ bits. Uniform four-way instructions at probability 1/4 each carry two bits; skew lowers the common symbol and raises rare ones. Independent symbols add information because probabilities multiply and logs convert products to sums .

Shannon information is not colloquial "news value"; it counts bits under a probabilistic model. Fractional bit lengths make sense when averaging over many draws from a skewed source .

University approvals: 0
Related cards
Builds on Perfect compression looks like random noise · Information theory, 3Blue1Brown
Next Information of language · Information theory, 3Blue1Brown
Video Content
Tasks
Question 1

Information of one symbol with probability $p$ is:

Question 2

If $p = 2^{-n}$ in a perfect scheme, then $n$ equals:

Question 3

Independent symbols combine information by:

Question 4

Write the information of a single symbol with probability $p$.

Card Info
  • Topic: Information theory, 3Blue1Brown
  • Difficulty: Intermediate
  • Completed: 0 users
Creator
Best
Best
BestBuddy