What Is a Bit in Information Theory?

A short visual route from probabilities to self-information.

GSGrant SandersonAnime
Chaîne
3Blue1Brown
Publié
2 janv. 2024
Vidéo
1:00
Lecture
1 min
Original
anglais
Ouvrir sur YouTube
En faisant défiler, la vidéo se réduit en bas à droite et continue. Les sous-titres suivent votre langue de lecture.
Langue de lectureDisponible en 2 langues
Cet article n’est pas encore disponible en français ; il s’affiche dans l’original en anglais.
RÉSUMÉ

En 30 secondes

Grant Sanderson explains why an event with probability p carries −log₂(p) bits of self-information, using successive reductions of equally likely possibilities.

  1. 1Halving possibilitiesHalving equally likely possibilities yields one bit.
  2. 2ProbabilityAn event of probability p has self-information −log₂(p) bits.
  3. 3The logarithmEntropy averages self-information across possible events.

À retenir

  1. Halving equally likely possibilities yields one bit.
  2. An event of probability p has self-information −log₂(p) bits.
  3. Entropy averages self-information across possible events.
TEXTE INTÉGRAL

Lire le texte remanié, chapitre par chapitre

Transcription seule
01

Information in bits

From halving possibilities to a logarithmic formula.

I introduce the bit as a unit for the information associated with an observed event. This short comes from a longer lesson that applies information theory to Wordle.

If an observation reduces equally likely possibilities by a factor of two, it provides one bit of information. Reducing them by a factor of four gives two bits, and by a factor of eight gives three.

For an event with probability p, the number of bits I satisfies p = 2^(−I). Equivalently, 2^I = 1/p.

Taking the base-two logarithm gives I = log₂(1/p) = −log₂(p). Less probable events carry more self-information under this definition.

This is the self-information of one observed event. Entropy is the expected self-information over a probability distribution, a related but distinct quantity.

Sur la même chaîne

20 diapositives40:44EN
3Blue1Brown· 16 oct. 2026Grant Sanderson: There's never been a better time to go into mathGrant Sanderson, Constantin Kogler · 3Blue1BrownStudents fear AI has solved mathematics. Grant Sanderson argues the opposite: even if machines prove theorems better than we do, the institution of math stays valuable—and this is a rare moment when newcomers can reshape it.MathematicsAI for scienceHuman-AI Collaboration+2
29 diapositives51:55EN
3Blue1Brown· 18 sept. 2026The last IMO problem AI could not solveGrant Sanderson · 3Blue1BrownGrant Sanderson walks through IMO 2025 Problem 6 — a tiling puzzle that frontier models missed — and the visual patience it takes to prove a construction is optimal.MathematicsAI researchReasoning & test-time compute+2
0:55EN
3Blue1Brown· 24 juil. 2026The 64 Sugar Cubes Puzzle: Six Equal DistancesA 4×4×4 block has three colors; prove that six same-colored pairs share a distance.MathematicsEducation
33:51EN
3Blue1Brown· 16 juil. 2026What Cross-Entropy Connects: Compression, Language Models and KL DivergenceGrant Sanderson · 3Blue1BrownGrant Sanderson builds cross-entropy from code lengths and uses it to explain next-token training and distillation.MathematicsMachine LearningFoundation Models+1
Diapositives2:25EN
3Blue1Brown· 12 juin 2026How Shannon Measured the Entropy of EnglishA guessing game helped Claude Shannon estimate how much information English text contains, and why prediction is central to compression.MathematicsAI History
Diapositives1:02EN
3Blue1Brown· 10 juin 2026A Robot Walk and the Puzzle of Optimal Binary EncodingHow few bits does it take to send directions that occur with unequal frequencies?MathematicsScience Communication