Skip to content
← All questions

When does conditional entropy H(X|Y) equal unconditional entropy H(X)H(X)?

Conditional entropy H(X|Y) equals unconditional entropy H(X)H(X) if and only if the random variables X and Y are statistically independent. In this case, knowing Y provides no information about X, so the uncertainty remains unchanged.

Conditions

  • X and Y are discrete random variables.

Reasoning, step by step

  1. Recall the bound 0≤H0 \le H(X|Y) ≤ H(X)H(X).
  2. Identify the upper bound case where H(X|Y) = H(X)H(X).
  3. Recognize that this equality holds precisely when the conditional distribution p(x|y) is equal to the marginal distribution p(x)p(x) for all y.
  4. Conclude that this condition defines statistical independence between X and Y.

Example

The lecturer states: 'we may find that the conditional entropy for X given Y is the same as the unconditioned entropy of X, and that is the case if our variables X and Y are independent'.

Common misconceptions

  • Assuming that H(X|Y) = H(X)H(X) implies a strong correlation between X and Y.
  • Thinking that independence means H(X|Y) = 0, whereas independence actually means conditioning provides no reduction in entropy.

Watch the explanation

Connected concepts

Explore next

Related questions

Meet the concept

↗
Understand why

↗
Meet the concept

↗
Find a method

↗
Understand why

↗

Answers are generated from source material and independently checked. Consult the original video or creator if something is unclear.