A topic in the Open Knowledge Graph — a free, open map of 15,290 topics and the order to learn them in.

Mutual Information

Graduate Depth 96 in the knowledge graph ☐ I know this ☆ Set as goal
28topics build on this
440prerequisites beneath it
See this on the map →
Joint and Conditional EntropyShannon Entropy→→Broadcast ChannelBroadcast Channel Capacity+14 more
mutual information dependence information symmetric

Core Idea

Mutual information I(X;Y) = H(X) - H(X|Y) = H(Y) - H(Y|X) = H(X) + H(Y) - H(X,Y) measures the amount of information that one random variable provides about another. Unlike correlation, which only captures linear relationships, mutual information detects any statistical dependence. It is symmetric: X tells you as much about Y as Y tells you about X. I(X;Y) = 0 if and only if X and Y are independent. It is always non-negative and is bounded above by min(H(X), H(Y)). Mutual information is the central quantity in channel capacity, feature selection, and information-theoretic analysis of learning.

Explainer

You know that conditional entropy H(Y|X) measures the uncertainty remaining in Y after learning X, and that this is always at most H(Y). The gap — the amount by which knowing X reduces uncertainty about Y — is mutual information: I(X;Y) = H(Y) - H(Y|X). It measures how much information X and Y share.

Mutual information has several equivalent expressions, each offering a different perspective. I(X;Y) = H(X) - H(X|Y) shows how much Y tells you about X. I(X;Y) = H(X) + H(Y) - H(X,Y) shows the "redundancy" between X and Y — how much the sum of individual uncertainties exceeds the joint uncertainty. And I(X;Y) = sum over (x,y) of p(x,y) log(p(x,y) / (p(x)p(y))), which is the KL divergence between the joint distribution and the product of marginals. This last form makes the connection to KL divergence explicit and shows that mutual information measures how far X and Y are from independence.

The key properties make mutual information exceptionally useful. It is non-negative (I(X;Y) >= 0), symmetric (I(X;Y) = I(Y;X)), and zero if and only if X and Y are independent. Unlike correlation, it captures any form of dependence — if there is ANY statistical relationship between X and Y, mutual information will detect it. This generality makes it the gold standard for measuring associations in information theory, machine learning (feature selection, information bottleneck), neuroscience (neural coding), and statistics.

In the context of communication, mutual information plays a starring role. Shannon's channel coding theorem states that the capacity of a noisy channel — the maximum rate at which information can be reliably transmitted — equals the maximum mutual information between the input and output: C = max I(X;Y) over all input distributions. This gives mutual information its operational meaning: it is the amount of useful information that survives the noise. The Venn diagram picture (H(X) and H(Y) as overlapping circles, with I(X;Y) as the overlap) provides a powerful visual intuition that extends to understanding conditional mutual information and the data processing inequality.

Practice Questions 4 questions

Prerequisite Chain

Understanding Zero → The Number Zero → Counting to Five → Counting to 10 → Counting to 20 → Counting a Set of Objects Up to 20 → Cardinality: The Last Number Counted → Matching Numerals to Quantities → Subitizing Small Quantities → Addition Within 10 → Number Bonds to 10 → Addition Within 20 → Doubles and Near Doubles → Doubles Facts Within 10 → Near Doubles Facts Within 20 → Mental Math Strategies for Addition → Mental Math: Adding and Subtracting Tens → Addition Within 100 → Repeated Addition as Multiplication → Multiplication as Equal Groups → Multiplication: Arrays → Basic Multiplication Facts (0s, 1s, 2s, 5s, 10s) → Multiplication Facts Within 100 → Division as Equal Sharing → Division as Grouping (Measurement Division) → Division: Grouping (Repeated Subtraction) Model → Division: Fair Sharing Model → Division as Equal Sharing → Division as Grouping → Basic Division Facts → Division Facts Within 100 → Multiplication and Division Fact Families → Relationship Between Multiplication and Division → Division Facts as Inverse of Multiplication → Remainders and Quotients in Division → Division Word Problems → Multi-Step Word Problems → Solving Multi-Step Word Problems → Multiplication Word Problems → Division Word Problems → Introduction to Long Division → Factors and Multiples → Prime and Composite Numbers → Equivalent Fractions → Relating Fractions and Decimals → Decimal Place Value → Integers and the Number Line → Comparing and Ordering Integers → Absolute Value → Adding Integers → Subtracting Integers → Multiplying Integers → Dividing Integers → Unit Rates → Proportions → Percent Concept → Converting Between Fractions, Decimals, and Percents → Operations with Rational Numbers → Two-Step Equations → Solving Multi-Step Equations → Equations with Variables on Both Sides → Angle Pairs: Complementary, Supplementary, and Vertical → Parallel Lines and Transversals → Corresponding Angles → Alternate Interior Angles → Triangle Angle Sum Theorem → Exterior Angle Theorem → Triangle Inequality Theorem → Similar Triangles: AA Similarity → Similar Triangles: SSS and SAS Similarity → Proportions in Similar Triangles → Right Triangle Trigonometry Introduction → Sine, Cosine, and Tangent Ratios → Trigonometric Ratios Review → Radian Measure → Converting Between Degrees and Radians → The Unit Circle → Graphing Sine and Cosine → Graphing Tangent and Reciprocal Trigonometric Functions → Derivatives of Trigonometric Functions → Antiderivatives → Indefinite Integrals → Basic Integration Rules → Riemann Sums → Definite Integral Definition → Probability Density Functions and Continuous Distributions → Cumulative Distribution Functions → Continuous Random Variables → Probability Density Functions → Expected Value → Weak Law of Large Numbers → Probability Axioms and Rules → Conditional Probability → Law of Total Probability → Bayes' Theorem → Joint and Conditional Entropy → Mutual Information

Longest path: 97 steps · 440 total prerequisite topics

Prerequisites (2)

Leads To (16)