Why is mutual information equal to minus H(X|Y)?
Conditions
- and are random variables.
- and use the same unit system.
Reasoning, step by step
- Start with the initial uncertainty about , denoted as .
- Observe another variable .
- Determine the remaining uncertainty about after observing , denoted as .
- Calculate the gap between the initial and remaining uncertainty.
- Conclude that this gap is the mutual information .
Example
Visually, a tall rectangle labeled transforms via observing into a shorter rectangle labeled . The green region representing the height difference is labeled .
Common misconceptions
- Treating itself as mutual information; mutual information is strictly the difference or gap between and .
- Assuming observing always reduces uncertainty; if and are independent, and mutual information is zero.
Watch the explanation
Connected concepts
Explore next
Related questions
Conditional entropy H(X|Y) measures the average remaining uncertainty or surprise about a random variable X after another random variable Y has been observed. It is defined as the expected value of the conditional self-information h(x|y) over the joint distribution of X and Y.
Conditions: X and Y are discrete random variables.; The sum is taken over the joint alphabet .
Joint entropy is not equal to because adding the marginal entropies double-counts the mutual information I(X;Y) shared between the variables. The correct relationship is (X;Y).
Conditions: X and Y are random variables that may share information (i.e., they are not necessarily independent).
In the entropy Venn diagram, the left circle represents the entropy and the right circle represents . Their intersection represents the mutual information .
Conditions: Suitable for illustrating information decomposition between two discrete random variables and .
When and are independent, knowing one tells you nothing about the other. Mathematically, the joint distribution factors into the product of the marginals, .
Conditions: Applies to the case where and are independent.; The displayed notation uses probability mass functions , , and .
Yes, mutual information is perfectly symmetric. The formula holds true.
Conditions: Applies to any pair of random variables and for which mutual information is defined.
Answers are generated from source material and independently checked. Consult the original video or creator if something is unclear.