TOPICS
Search

Entropy Chain Rule


The entropy chain rule expresses the joint entropy of random variables as a sum of conditional entropies. For discrete random variables X_1,...,X_n with finite alphabets and logarithm base b>1,

 H_b(X_1,...,X_n)=sum_(i=1)^nH_b(X_i|X_1,...,X_(i-1)),

where the first term is H_b(X_1). The identity follows from the probability chain rule by taking the negative expectation value of the logarithm of the joint probability mass function (Gray 1990, p. 41).

There is also a chain rule for relative entropy. For joint probability mass functions p_(XY) and q_(XY) on finite alphabets, with q_(XY)>0 wherever p_(XY)>0,

 D_b(p_(XY),q_(XY))=D_b(p_X,q_X)+sum_(x)p_X(x)D_b(p_(Y|x),q_(Y|x)),

where the marginal distributions are denoted by p_X and q_X, and the conditional distributions given X=x by p_(Y|x) and q_(Y|x). Terms with p_X(x)=0 are omitted. Related decompositions for mutual information follow by applying the entropy chain rule to I_b(Y;X)=H_b(Y)-H_b(Y|X) (Cover and Thomas 2006, pp. 21-25).


See also

Chain Rule, Conditional Entropy, Joint Entropy, Mutual Information, Probability Chain Rule, Relative Entropy, Shannon Entropy

Explore with Wolfram|Alpha

References

Cover, T. M. and Thomas, J. A. Elements of Information Theory, 2nd ed. Hoboken, NJ: Wiley, pp. 13-55, 2006.Gray, R. M. Entropy and Information Theory. New York: Springer-Verlag, Ch. 2, 1990. Corrected first-edition version, 2023. https://ee.stanford.edu/~gray/it.pdf.

Cite this as:

Weisstein, Eric W. "Entropy Chain Rule." From MathWorld--A Wolfram Resource. https://mathworld.wolfram.com/EntropyChainRule.html

Subject classifications