Gibbs' Inequality
📂Probability TheoryGibbs' Inequality
Theorem
Gibbs Inequality describes the relationship between Shannon Entropy and Cross Entropy, ensuring the lower bound of Kullback-Leibler Divergence.
Theorem
H(P)≤H(P,Q)
Proof
The proof is provided only for the discrete case, assuming for all k that pk>0.
The equation of the tangent line at x=1 on the curve y=lnx is y=x−1. Since the logarithm is a convex function upward, it touches only at one point (1,0)∈R, thereby showing that x>0 is less than or equal to lnx≤x−1. By the logarithm base change formula, the equality of the second line is due to lnx≤x−1, leading to the equality of the third line.
−k=1∑npklog2pk+k=1∑npklog2qk==≤===k=1∑npklog2pkqkln21k=1∑npklnpkqkln21k=1∑npk(pkqk−1)ln21(k=1∑nqk−k=1∑npk)1−10
Moving H(P,Q)=∑k=1npklog2qk to the right side yields
H(P)=k=1∑npklog2pk≤k=1∑npklog2qk=H(P,Q)
■