Skip to content
Infinitesimal Dynamics home
Notebook: 0 XP

Information Theory / Beyond entropy

Joint and Conditional Entropy

Uncertainty about two things at once, what remains after you learn one of them, and the chain rule that links them.

3 min read · 1 sections · 1 checks

Contents 2 sections
  1. §1The chain rule
  2. ?Check yourself

By the end you can

  • Compute joint and conditional entropy
  • Apply the chain rule
  • Express mutual information three ways

Helps to know: Entropy

§1The chain rule

H(X,Y)=H(X)+H(Y∣X)I(X;Y)=H(X)+H(Y)−H(X,Y)H(X, Y) = H(X) + H(Y \mid X) \qquad I(X; Y) = H(X) + H(Y) - H(X, Y)

Learning XX and then YY costs the surprise of XX plus whatever surprise YY still holds. Conditioning never increases entropy: H(Y∣X)≤H(Y)H(Y \mid X) \le H(Y), with equality exactly when the variables are independent.

Example 1A card’s suit and colour

  1. Suit: H=2H = 2 bits. Colour: 11 bit.

Check yourself

  1. Q1
    If XX and YY are independent fair coins, H(X,Y)=H(X, Y) =