Information content of a symbol, entropy of a discrete memoryless source and its bounds, the binary entropy function, information rate, source extensions, and joint and conditional entropy, with the numericals GATE asks.
A discrete memoryless source (DMS) emits symbols independently, with fixed probabilities. Its entropy is the average information per symbol:
(with taken as ).
Bounds:
only when one symbol is certain (no uncertainty).
only when all symbols are equally likely (maximum uncertainty).
Entropy depends only on the probabilities, not on the symbol values. Rearranging or relabelling symbols does not change it.
Example. Probabilities : bits/symbol, below the maximum .
Meaning. By Shannon's source coding theorem, is the smallest average number of binary digits per symbol with which the source can be coded without loss. Coding efficiency is , where is the average codeword length; redundancy is . (Code construction is covered under source coding.)
3. Binary entropy function
A binary source with , has
; the maximum is bit.
Symmetric: .
Concave: it rises steeply near and and is flat near .
Values worth remembering: , , , .
reappears in the capacity of the binary symmetric channel, , where is the crossover probability.
The binary entropy function $H_b(p)$: zero at $p = 0$ and $1$, symmetric about $p = 0.5$, where it reaches its maximum of 1 bit.
4. Information rate and source extension
If the source emits symbols per second, its information rate is
Typical GATE setting. An analog signal of bandwidth is sampled at the Nyquist rate samples/s and each sample is quantised to one of levels with given probabilities. Then . If the levels are equally likely, .
Extension of a source. Treating blocks of symbols from a DMS as one super-symbol gives super-symbols and
The entropy per original symbol does not change; extensions are used so that a code can come closer to .
Sources with memory. If successive symbols are dependent, the average information per symbol is less than the single-symbol entropy computed from the marginal probabilities. GATE problems almost always state that the source is memoryless; read the question for this word.
5. Joint and conditional entropy
For two random variables and with joint pmf :
Joint entropy: .
Conditional entropy: , the uncertainty left in after is known.
Chain rule:
Key properties.
Conditioning never increases entropy: , with equality if and only if and are independent.
, with equality for independent variables.
If is a function of , then and .
The reduction is the mutual information , the basis of channel capacity (a separate topic).
Continuous variables use differential entropy . Unlike , it can be negative: a uniform variable on has , negative for . For a fixed variance the Gaussian has the largest value, .
Formulas to remember
Self-information
Entropy
Bounds
Binary entropy
Information rate
Extension
Chain rule
Unit conversion
Common mistakes
Using the natural log or log base 10 and quoting the answer in bits; convert with log₂x = ln x / ln 2.
Thinking a rarer symbol carries less information; information grows as probability falls.
Multiplying entropy by the bandwidth instead of the sampling rate; at the Nyquist rate the symbol rate is 2B.
Taking log₂M as the entropy when the symbols are not equally likely; it is only the upper bound.
Forgetting that H(X, Y) = H(X) + H(Y) only for independent variables; otherwise use the chain rule.
Assuming differential entropy behaves like discrete entropy; it can be negative.
Worked examples
Try each step yourself, then reveal the working.
Example 1: Entropy of a four-symbol source
numerical
A memoryless source emits with probabilities . Find the information in each symbol, the entropy, and how far it is from the maximum.
Step 1: Find $I = \log_2(1/p)$ for each symbol.
Try it on paper first.
Example 2: Information rate of a quantised signal
numerical
A signal band-limited to is sampled at the Nyquist rate and each sample is quantised to four levels with probabilities . Samples are independent. Find the information rate.
Step 1: Find the symbol rate.
Try it on paper first.
Example 3: A skewed binary source
numerical
A binary memoryless source emits with probability . Find its entropy and the entropy of its second extension.
Step 1: Apply the binary entropy formula.
Try it on paper first.
Example 4: Conditional entropy when one variable fixes the other
conceptual
is equally likely to be or , and . Find , , and .
Step 1: Find $H(X)$ and $H(Y)$.
Try it on paper first.
Previous year questions
2 official GATE EC questions on this topic, newest first.
10 questions: up to 2 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.