Skip to content
← All questions

What does it mean when conditional entropy H(X|Y) is zero?

When conditional entropy H(X|Y) is zero, it means there is no remaining uncertainty or surprise about X once Y is known. This implies that X is a deterministic function of Y, so all information about X is completely contained within Y.

Conditions

  • X and Y are discrete random variables.

Reasoning, step by step

  1. Start with the definition of H(X|Y) as the average remaining surprise in X given Y.
  2. Set H(X|Y) = 0.
  3. Conclude that for every outcome y of Y, the conditional distribution p(x|y) must be concentrated on a single value of x (i.e., it has zero entropy).
  4. Recognize that this means knowing y uniquely determines x, making X a function of Y.

Example

The lecturer explains: 'our conditional entropy being zero simply means there is no surprise left in X once we know Y... all the information in X would be contained inside Y'. In the Venn diagram, this corresponds to the H(X|Y) crescent region vanishing entirely.

Common misconceptions

  • Thinking that H(X|Y) = 0 means X and Y are independent.
  • Assuming that H(X|Y) = 0 implies X and Y have the same entropy, rather than X being fully determined by Y.

Watch the explanation

Connected concepts

Explore next

Related questions

Meet the concept

↗
Understand why

↗
Meet the concept

↗
Understand why

↗

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