c16 · E2

Derive: Information and Compression

c16.E2.1E2 · numeric

For two variables with joint distribution and marginals and , derive the identity Use the identity to prove that , with equality exactly when the variables are independent. Then evaluate the mutual information for a hundred rows in a table with cells 50, 10, 10 and 30, read row by row, to four decimal places.

c16.E2.2E2 · numeric

A source emits two symbols with probabilities and , where . Show that the smallest average length of a prefix code for this source is 1 bit, so the gap between that code and the entropy is . Show that this gap approaches 1 bit as approaches 1, and evaluate it at to four decimal places. Explain why the result does not contradict the bound .

c16.E2.3E2 · numeric

A bit passes first through a binary symmetric channel with flip probability , then through a second binary symmetric channel with flip probability , with independent flips. Derive the effective flip probability of the pair, compute the capacity of the pair in bits per use of the pair, convert it to bits per individual channel use, and compare that with the capacities of the two channels used alone. Explain why capacity is not additive.

Other tiers

E1 Practise · E3 Open

Every hint opened, solution viewed and answer checked is recorded in this browser only. See Progress to export or delete it.