Source paper: FOI request thread. The cover identifies Communication Theory, B11a, Friday 24 June 2011, 2.30pm to 4.00pm. Its four readable pages are original private Part B bundle pages 312–315.
Use the continuous convention . Let . Applying the allowed logarithm inequality to for givesHence . Equality forces . Since every is strictly positive, this makes the entire alphabet. Equality in every weighted logarithm inequality then forces for every . Conversely makes every summand zero. ThusThis is Gibbs inequality for relative entropy, with zero probabilities in the first argument handled explicitly.
For the uniform distribution , direct expansion givesPart (a) therefore proveswith equality exactly for for every . Thus the uniform distribution is the unique entropy maximizer.
Normalize the candidate distribution by settingThe supplied finite sum gives its meanThus it meets the constraint. Since , every other distribution with mean satisfiesNonnegativity and the equality case in part (a) proveThe maximum is unique; the entropy comparison uses the fixed mean rather than an unconstrained optimization.
The given logarithmic moment iswhere the term is zero. It is attained by the positive distributionwhose probabilities sum to one. Write , so . For any distribution with the required logarithmic moment,Consequently the unique maximizer and its entropy areThe increasing weights are consistent with the prescribed moment; they need not be a decreasing power law.
Write . For each row put ; the positive row entries form a probability distribution because the row sum is one. When , define the probability distributionPart (a), applied on this row support, gives . Its weighted sum expands asRows with contribute zero, since all in such a row vanish. Using the convention that zero-weight logarithmic terms are zero, the result isBoth stochasticity conditions have a role: row sums normalize the comparison distributions, while column sums preserve the total contribution from .
A binary code assigns a finite binary word to each source symbol . In the ordinary unframed convention these codewords are nonempty. It is uniquely decodable when concatenation gives an injective map from finite symbol strings to bit strings:The decoder can recover the entire symbol sequence without being told where codewords end. This is stronger than merely assigning distinct words to individual symbols.
An instantaneous code can decode each symbol as soon as its final bit arrives, without waiting for later bits. Equivalently it is prefix-free: no codeword is a proper prefix of another, and different symbols receive different codewords.
For nonempty codewords, decoding greedily from the start of the bit string identifies the first codeword unambiguously; repeating identifies the whole sequence. Thus an instantaneous code is uniquely decodable under the ordinary nonempty-word convention.
The codeword lengths are integers. For necessity, take and view codewords as nodes of the binary tree. A codeword of length has descendant words at depth . Prefix-freeness makes these descendant sets disjoint, soFor sufficiency, reorder the lengths nondecreasingly. Assign words successively. At depth , words extending previously assigned codewords numberThe asserted inequality, even after dropping the later nonnegative terms, givesThus at least one depth- word does not extend an earlier word. Choose it. Since lengths are nondecreasing, it cannot be a proper prefix of a shorter earlier word, and equal-length duplicates have been excluded. Induction constructs the required code. Therefore Kraft inequality is necessary and sufficient:
For the construction, take the Shannon lengths . Then , so Kraft's condition holds. Also for every . Averaging givesFor a nontrivial alphabet all , so these lengths are positive and the ordinary code convention applies. For a deterministic one-symbol source, the usual zero-bit convention uses when the number of source symbols is externally known. If strictly nonempty codewords and arbitrary unframed message lengths are required instead, that degenerate case has and cannot satisfy the printed strict upper bound. This convention issue does not affect sources with at least two symbols.
Let and let be the probability cell of symbol . Its midpoint is . Use the binary expansion terminating in zeros at a dyadic rational, so truncation to bits givesThe chosen codeword corresponds to the dyadic interval . It contains , and its width satisfies . ConsequentlyThus . The probability cells are disjoint, so the code intervals are disjoint. If one binary codeword were a prefix of another, its dyadic interval would contain the other's interval, contradicting this disjointness. Hence the code is instantaneous.
Finally, . Multiplying by and summing yieldsThis is the Shannon-Fano-Elias code: the extra bit makes the dyadic interval narrow enough to remain inside the cell around its midpoint.
For finite-valued random variables, their mutual information isEquivalently,with zero joint-probability terms omitted. It is the relative entropy of the joint law from the product of its marginals and is nonnegative, with equality exactly when the two variables are independent.
A discrete memoryless channel has finite input and output alphabets and fixed conditional probabilities , whose rows sum to one. Memorylessness means that for successive uses, conditional on the input sequence, the output probabilities factor as the product of these one-use conditional probabilities.
Its information capacity in bits per use isThe maximization varies the input distribution while keeping the channel matrix fixed. The output distribution is in the row-vector convention.
Let be the selected block, and write . Because both the input and output alphabets are disjoint across blocks, is determined by either the input or the output. The mutual-information chain rule therefore givesFor any fixed , equality is achievable by using a capacity-achieving distribution inside each block. It remains to maximize this binary expression.
Put and . A direct expansion of binary relative entropy yieldsPart 1(a) makes the maximum , uniquely at . HenceThe block choice itself communicates information, in addition to any information sent within the selected block.
There are three distinguishable output groups: columns can arise only from input one; column can arise from inputs two or three, whose rows are identical; and columns can arise only from input four.
Each group has zero internal channel capacity. A block with one input cannot carry a variable input choice, and the middle block has identical output laws for both of its inputs. Combining the three disjoint zero-capacity blocks therefore givesEquivalently, the output identifies exactly which of these three groups was used, so mutual information is the entropy of that group label. It is maximized when all group probabilities are one third. The capacity-achieving input distributions are preciselySplitting the middle probability arbitrarily cannot communicate an extra distinction because its two channel rows agree.
For any chosen input distribution, the chain rule and nonnegativity of conditional mutual information giveand likewise . Choosing an input distribution attaining either marginal capacity proves .
For the upper bound, conditional independence implies , while entropy subadditivity gives . ThereforeMaximizing over the input law givesMore precisely, under the conditional-independence assumption,The outputs may be dependent through the common input, and this final term measures the information they share rather than add independently.
Articles by others on the same topic
There are currently no matching articles.
