Skip to main content

Entropy and information rate of 6-level PCM signal

Short answer

Entropy is 1.9375 bits/sample. Information rate equals Nyquist sampling rate (10 kHz) times entropy, giving 19,375 bits/s (19.375 kbps).

A continuous signal is band limited to 5 kHz. The signal is quantized in 6 levels of a PCM system with the probabilities 1/2, 1/4, 1/8, 1/16, 1/32 and 1/32. Calculate the entropy and information rate.

Given: band limit fm=5f_m = 5 kHz; 6 quantization levels with probabilities 12,14,18,116,132,132\frac12, \frac14, \frac18, \frac1{16}, \frac1{32}, \frac1{32} (sum = 1).

Entropy

H=∑i=16pilog⁡21piH = \sum_{i=1}^{6} p_i\log_2\frac{1}{p_i}
Symbolpip_ilog⁡2(1/pi)\log_2(1/p_i)pilog⁡2(1/pi)p_i\log_2(1/p_i)
Q10.51.00000.5000
Q20.252.00000.5000
Q30.1253.00000.3750
Q40.06254.00000.2500
Q50.031255.00000.15625
Q60.031255.00000.15625
Total11.9375
H=12(1)+14(2)+18(3)+116(4)+132(5)+132(5)=0.5+0.5+0.375+0.25+0.15625+0.15625=1.9375 bits/sample\begin{aligned} H &= \tfrac12(1) + \tfrac14(2) + \tfrac18(3) + \tfrac1{16}(4) + \tfrac1{32}(5) + \tfrac1{32}(5) \\ &= 0.5 + 0.5 + 0.375 + 0.25 + 0.15625 + 0.15625 \\ &= 1.9375\ \text{bits/sample} \end{aligned}

For comparison, if the six levels were equally likely, Hmax=log⁡26=2.585H_{max} = \log_2 6 = 2.585 bits/sample. The unequal probabilities reduce the average information.

Information rate

The signal is sampled at the Nyquist rate:

r=fs=2fm=2×5 kHz=10 000 samples/sr = f_s = 2f_m = 2 \times 5\ \text{kHz} = 10\ 000\ \text{samples/s}

Each sample is one message (level), so

R=rH=10 000×1.9375=19 375 bits/sR = rH = 10\ 000 \times 1.9375 = 19\ 375\ \text{bits/s}

Remarks

  • A fixed-length PCM code would need ⌈log⁡26⌉=3\lceil\log_2 6\rceil = 3 bits/sample, i.e. 30 00030\ 000 bits/s, so its efficiency would be 1.9375/3=64.58%1.9375/3 = 64.58\%.
  • Because all probabilities are powers of 12\frac12, a Huffman code (lengths 1, 2, 3, 4, 5, 5) gives exactly Lˉ=1.9375\bar L = 1.9375 bits/sample and 100 % efficiency, i.e. the line rate can be brought down to the information rate of 19.375 kbps.

Answer: entropy H=1.9375H = 1.9375 bits/sample; information rate R=19 375R = 19\ 375 bits/s ≈ 19.375 kbps.

✓ Answer checked by Claude Opus 5.5 (high effort)

All Communication Systems chapter 6 questions →