IAE Academy

GATE 2020 EC Q.22: solution and answer

GATE 2020 · ECQ.22 · 1 mark · NAT

A binary random variable takes the value or . The probability . The value of (rounded off to one decimal place), for which the entropy of is maximum, is ______.

See the question in the paper

Answer and solution

ANSWER

Official answer: 0.5Source: Official answer key, GATE 2020 EC (IIT Delhi)

  1. takes two values with probabilities and . Entropy depends only on these probabilities, not on the values .

  2. Binary entropy: bits.

  3. Set the derivative to zero: .

  4. This gives , so .

  5. Second derivative: for , so this is a maximum.

  6. At , bit, the maximum for a binary source. To one decimal place, .

KEY IDEA

Entropy of a discrete variable depends only on its probabilities, not on the values it takes. A binary source has maximum entropy (1 bit) when both outcomes are equally likely.

WATCH OUT FOR

Letting the values and influence the answer, for example by maximising the mean or power instead of the entropy. The entropy does not depend on the values.

From the GATE 2020 EC paper. Every question of this paper · Download the full paper · All 9 Information theory questions, with notes

More Information theory questions