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 ______.
GATE 2020 EC Q.22: solution and answer
Answer and solution
ANSWER
Official answer: 0.5Source: Official answer key, GATE 2020 EC (IIT Delhi)
takes two values with probabilities and . Entropy depends only on these probabilities, not on the values .
Binary entropy: bits.
Set the derivative to zero: .
This gives , so .
Second derivative: for , so this is a maximum.
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
- GATE 2026 EC Q.55 · MSQ · 2 marksLet the relevant bandwidth (B) of a digital communication system be 1 MHz and kT = -174 dBm/Hz, where k is…
- GATE 2025 EC Q.15 · MCQ · 1 markConsider an additive white Gaussian noise (AWGN) channel with bandwidth W and noise power spectral density…
- GATE 2025 EC Q.54 · MSQ · 2 marksThe random variable X takes values in -1,0,1 with probabilities P(X=-1)=P(X=1)= α and P(X=0)=1-2 α, where 0<…
- GATE 2025 EC Q.60 · NAT · 2 marksX and Y are Bernoulli random variables taking values in 0,1. The joint probability mass function of the…
