Joint and conditional entropy, mutual information of a discrete channel, capacity of the BSC, BEC and noiseless channels, Shannon's channel coding theorem and the Shannon-Hartley capacity of a band-limited AWGN channel.
A discrete memoryless channel takes an input symbol and gives an output according to the transition probabilities , arranged as a matrix with one row per input. Each row sums to 1.
Given the input distribution :
Output probabilities: .
Joint probabilities: .
Five entropies describe the pair (all in bits):
Entropy
Meaning
uncertainty about the input
uncertainty about the output
uncertainty about the pair
noise: uncertainty in the output when the input is known
equivocation: uncertainty left about the input after seeing the output
, where is the entropy of row of the channel matrix. If every row has the same set of entries, equals that row entropy whatever is.
Chain rule: . Conditioning never increases entropy: , with equality when and are independent.
The binary entropy function appears in almost every binary problem. Useful values: , , .
2. Mutual information
Mutual information is the information the output gives about the input:
In sum form, .
Properties:
, and exactly when and are independent (a useless channel).
Symmetric: .
.
For a noiseless channel ( determines ), and .
The Venn picture is the fastest way to recall the identities: each circle is an entropy, the overlap is , the parts outside the overlap are the conditional entropies, and the union is .
Working rule: is usually easiest, because comes straight from the rows of the channel matrix and needs only the output probabilities.
Entropy Venn diagram: the overlap of H(X) and H(Y) is the mutual information I(X;Y)
3. Channel capacity of discrete channels
The capacity of a channel is the largest mutual information over all input distributions:
If the channel is used times per second, the capacity in bits/s is .
Channel
Capacity
Achieved by
Noiseless, inputs
equiprobable inputs
Binary symmetric (BSC), crossover
equiprobable inputs
Binary erasure (BEC), erasure
equiprobable inputs
Symmetric, outputs, row entropy
equiprobable inputs
Notes for the BSC: at (output independent of input) and at both and (at the receiver simply inverts every bit). For any input distribution other than the uniform one, .
The BEC never flips a bit; it only erases a fraction , and the receiver knows which ones. That is why its capacity is the simple fraction that gets through.
Binary symmetric channel (crossover p) and binary erasure channel (erasure probability ε, output e = erased)
4. Shannon's theorems and the AWGN channel
Channel coding theorem: if the information rate is below the capacity , there exist codes that make the error probability as small as desired. If , no code can do so. Capacity is a hard limit on reliable rate, not on raw signalling rate.
Shannon-Hartley theorem: a channel of bandwidth with additive white Gaussian noise of one-sided PSD and average signal power has
Use the linear SNR in the formula; convert dB first ().
At high SNR, each extra adds about bits/s; doubling at fixed SNR doubles .
With fixed and , increasing also raises the noise, so grows but saturates: .
Shannon limit: writing and letting with gives the minimum , that is . Below this, no scheme can communicate reliably.
Bandwidth-SNR trade-off: the same capacity can be reached with less bandwidth and more SNR, or the reverse.
Formulas to remember
Mutual information
Joint entropy identity
Chain rule
Binary entropy function
Channel capacity
BSC and BEC capacity
Shannon-Hartley
Infinite-bandwidth capacity
Shannon limit
Common mistakes
Putting the SNR in dB straight into ; convert to a ratio first.
Taking the BSC capacity as zero at ; a channel that always flips is as good as a perfect one.
Computing for a given skewed input and calling it the capacity; capacity is the maximum over inputs.
Assuming capacity grows without limit with bandwidth when signal power and noise PSD are fixed.
Mixing up (equivocation) and (noise entropy) in the identities.
Using natural logarithms and reporting the answer in bits; use base 2 or divide by .
Worked examples
Try each step yourself, then reveal the working.
Example 1: Mutual information of a BSC with unequal inputs
numerical
A binary symmetric channel has crossover probability . The input is 0 with probability . Find and compare it with the capacity.
Step 1: Find the output probabilities.
Try it on paper first.
Example 2: Capacity of a telephone-grade channel
numerical
A channel has bandwidth and SNR . Find its Shannon capacity.
Step 1: Convert the SNR to a ratio.
Try it on paper first.
Example 3: SNR needed for a target rate
numerical
Data at must be sent reliably over a AWGN channel. What is the minimum SNR in dB?
Step 1: Set the rate equal to capacity.
Try it on paper first.
Example 4: Capacity with unlimited bandwidth
conceptual
Signal power and noise PSD are fixed with . A designer proposes increasing the bandwidth without limit to get any desired rate. Is this right?
Step 1: Write capacity as a function of B.
Try it on paper first.
Previous year questions
3 official GATE EC questions on this topic, newest first.
10 questions: up to 3 official PYQs and original practice questions, with GATE marking (MCQ wrong answers lose marks). Score 60% or more to pass. A new set is drawn each time.
Mark as mastered
Loading your progress…
My revision notes
Notes written by the GATEiit team against the official GATE EC syllabus; being checked by a reviewer. Updated 2026-11-28. Spotted a mistake? Use Report an issue on any question, or contact us.