Exercises
ex-ch11-01
EasyCompute the entropy for a discrete random variable with PMF .
Use .
Direct computation
bits.
Note: bits since is not uniformly distributed.
ex-ch11-02
EasyA binary symmetric channel has crossover probability .
(a) Compute the channel capacity.
(b) What is the maximum bit rate if the channel is used times per second?
(c) At what value of is the capacity halved compared to ?
where .
Capacity at $p = 0.1$
bits.
bits/channel use.
Maximum bit rate
kbps.
Half capacity
requires . Numerically, .
ex-ch11-03
MediumA Z-channel has transition probabilities: , , , .
(a) Write the channel matrix.
(b) Compute as a function of and .
(c) Find the capacity-achieving input distribution for .
.
Maximise over .
Channel matrix
$
Mutual information
. .
(binary entropy).
.
.
Optimal input for $q = 0.5$
(since ).
Taking derivative and setting to zero:
, so .
, .
bits.
ex-ch11-04
MediumProve that for a Markov chain :
(a) (data processing inequality).
(b) when is a deterministic function of .
Use the chain rule .
For part (b), when .
Data processing inequality
By the chain rule:
For the Markov chain : and are conditionally independent given , so .
Therefore .
Also: .
Combining: .
Deterministic function
If , then knowing determines , so and
More directly: .
Since , is determined by , so and .
Therefore : knowing in addition to provides no extra information about .
ex-ch11-05
EasyCompute the AWGN channel capacity for:
(a) kHz, dB (GSM-like)
(b) MHz, dB (Wi-Fi-like)
(c) MHz, dB (5G-like)
. Convert SNR from dB first.
GSM-like
. Mbps.
Wi-Fi-like
. Mbps.
5G-like
. Mbps.
ex-ch11-06
MediumA system requires Mbps with W/Hz.
(a) Find the minimum required power (infinite bandwidth).
(b) Find for MHz.
(c) Find for MHz.
(d) Plot the power penalty (in dB relative to ) as a function of .
.
.
Minimum power
W dBW.
$B = 5$ MHz
. . W. Penalty: dB.
$B = 50$ MHz
. . W. Penalty: dB.
With 10x more bandwidth, the power penalty drops to only 0.31 dB above the infinite-bandwidth limit.
ex-ch11-07
HardStarting from :
(a) Show that as with fixed, .
(b) Derive that the minimum for reliable communication is dB.
(c) Show that at the Shannon limit, doubling the spectral efficiency requires approximately 3 dB more SNR (at high ).
Use .
At high : .
Infinite bandwidth limit
Let . As , :
.
Minimum $E_b/\ntn{n0}$
, so .
At the infinite-bandwidth limit: , so .
In dB: dB.
3 dB per doubling of spectral efficiency
. For large : .
Doubling : .
In dB: .
More precisely, per unit increase in : dB.
ex-ch11-08
MediumCompare the ergodic capacity of a Rayleigh fading channel with the AWGN capacity at the same average SNR for dB.
(a) Compute for each.
(b) Compute for Rayleigh fading (numerically) for each.
(c) What is the capacity loss due to fading at each SNR?
For Rayleigh: .
The capacity loss is .
AWGN capacities
(0 dB): bits/s/Hz.
(5 dB): bits/s/Hz.
(10 dB): bits/s/Hz.
(20 dB): bits/s/Hz.
Ergodic capacities (Rayleigh)
Using :
: bits/s/Hz.
: bits/s/Hz.
: bits/s/Hz.
: bits/s/Hz.
Capacity loss
| (dB) | Loss | ||
|---|---|---|---|
| 0 | 1.00 | 0.61 | 0.39 (39%) |
| 5 | 2.06 | 1.59 | 0.47 (23%) |
| 10 | 3.46 | 2.94 | 0.52 (15%) |
| 20 | 6.66 | 6.04 | 0.62 (9%) |
The absolute loss grows slowly, but the relative loss decreases at high SNR.
ex-ch11-09
MediumFor a Rayleigh fading channel with dB:
(a) Compute the 1%-outage capacity .
(b) Compute the 10%-outage capacity .
(c) At what average SNR would the 1%-outage capacity equal 4 bits/s/Hz?
where .
1%-outage capacity
.
.
bits/s/Hz.
10%-outage capacity
.
bits/s/Hz.
Required SNR for $C_{0.01} = 4$
requires .
.
dB.
A very high average SNR is needed because the 1%-outage must support the rate even during deep fades.
ex-ch11-10
HardA fading channel has 4 time slots with channel gains . The noise power is and the average power constraint is .
(a) Find the water-filling power allocation .
(b) Compute the resulting capacity.
(c) Compare with constant-power transmission.
(d) What fraction of slots is the transmitter silent?
Effective noise floor is .
Some slots may receive zero power.
Noise floors
: .
Water-filling
Total power . Try all 4 active:
. , .
. Turn off slot 1.
3 active: . , .
, , , . Sum . Check.
Capacity
bits/channel use.
Constant power comparison
bits/channel use.
Water-filling gain: bits (12%). Transmitter is silent 25% of the time (slot 1).
ex-ch11-11
MediumAn OFDM system has sub-carriers with gains . Total power , noise .
(a) Find the water-filling power allocation.
(b) How many sub-carriers are turned off?
(c) Compute the total capacity.
Sort by noise floor and iteratively remove sub-carriers with negative power.
Noise floors
: .
Water-filling
Try all 8 active: , . . Remove sub-carrier 5.
7 active: , . . All remaining are positive.
.
Capacity
bits/channel use.
One sub-carrier (12.5%) is turned off.
ex-ch11-12
HardShow that the capacity gain of water-filling over equal power allocation vanishes at high SNR. Specifically:
(a) For parallel channels with gains , show that at high SNR both water-filling and equal power achieve
(b) Explain the practical implication for 5G NR OFDM.
At high SNR, .
High-SNR approximation
At high SNR, for all active sub-channels.
Water-filling: for all . (equal allocation at high SNR!).
.
Equal power: for all . .
They are identical at high SNR.
Practical implication
At high SNR, the water-filling gain is negligible, and equal power allocation across OFDM sub-carriers is near-optimal. This is why 5G NR does not mandate per-sub-carrier power adaptation but focuses instead on sub-band MCS adaptation. Water-filling matters most at low-to-moderate SNR where some sub-carriers are in deep fades.
ex-ch11-13
EasyA SIMO system has receive antennas with channel gains and . The SNR per antenna is 10 dB.
(a) Compute .
(b) Compute the instantaneous capacity.
(c) What is the array gain compared to using only antenna 1?
.
Channel norm
. . .
Capacity
bits/s/Hz.
Array gain
With antenna 1 only: .
Array gain in SNR: dB.
For this particular realisation, antenna 2 contributes 0.29 bits/s/Hz additional capacity.
ex-ch11-14
MediumA MISO system has transmit antennas with i.i.d. Rayleigh fading. Average SNR per antenna is 10 dB, total power is fixed.
(a) Compute the ergodic capacity without CSIT.
(b) Compute the ergodic capacity with CSIT (beamforming).
(c) What is the beamforming gain in bits/s/Hz?
Without CSIT: .
With CSIT: .
Without CSIT
Total SNR (16 dB). Per-antenna allocation: .
With (mean 4): bits/s/Hz (numerical).
With CSIT
bits/s/Hz (numerical).
Beamforming gain
bits/s/Hz.
In SNR terms, beamforming provides array gain dB. This translates to approximately bits/s/Hz at high SNR, consistent with the computed difference.
ex-ch11-15
HardFor a SIMO system with receive antennas and Rayleigh fading at dB:
(a) Compute the 1%-outage capacity for each .
(b) Compute the ergodic capacity for each .
(c) Explain why the diversity gain is more visible in the outage capacity than in the ergodic capacity.
For SIMO, where .
1%-outage capacity
.
The 1% quantile of :
: . bits/s/Hz.
: (from Gamma CDF). bits/s/Hz.
: . bits/s/Hz.
Ergodic capacity
: bits/s/Hz.
: bits/s/Hz.
: bits/s/Hz.
Diversity gain interpretation
The outage capacity improvement from to is , while the ergodic improvement is .
Diversity gain primarily benefits the tail of the SNR distribution (deep fades), which directly affects outage capacity. Ergodic capacity averages over all fading states, so the tail improvement has less impact on the mean.
ex-ch11-16
EasyCompute the gap to capacity (in dB) for:
(a) Uncoded QPSK at BER (requires dB, )
(b) LDPC-coded QPSK (rate 1/2) at BER (requires dB, )
(c) Polar-coded QPSK (rate 1/2) at BER (requires dB, )
.
Uncoded QPSK
dB. dB.
LDPC-coded QPSK
: dB. dB.
Polar-coded QPSK
dB.
Summary: LDPC is 0.3 dB closer to capacity than polar in this scenario, but both are within 2.1 dB of the Shannon limit.
ex-ch11-17
MediumAn AMC system uses the following MCS table:
| MCS | Modulation | Code rate | Min SNR (dB) | |
|---|---|---|---|---|
| 0 | QPSK | 1/3 | 0.67 | -1 |
| 1 | QPSK | 1/2 | 1.0 | 2 |
| 2 | QPSK | 3/4 | 1.5 | 5 |
| 3 | 16-QAM | 1/2 | 2.0 | 9 |
| 4 | 16-QAM | 3/4 | 3.0 | 13 |
| 5 | 64-QAM | 3/4 | 4.5 | 19 |
The channel SNR follows a Rayleigh distribution with dB. Compute the average throughput.
Compute and weight by .
SNR range probabilities
(linear). For Rayleigh: .
Average throughput
bits/s/Hz.
Compare with ergodic capacity bits/s/Hz. AMC efficiency: %.
The gap is due to the coarse MCS table and the outage at low SNR.
ex-ch11-18
HardWhen the receiver has imperfect CSI, the channel estimate is where is the estimation error, independent of .
(a) Show that the effective capacity with imperfect CSI is lower-bounded by
(b) For Rayleigh fading with dB and , compare this with perfect CSI capacity.
(c) At what does the capacity loss exceed 1 bit/s/Hz?
Treat the estimation error as additional noise.
The effective SINR is .
Effective capacity derivation
Decompose: . The received signal is
The receiver treats as the true channel. The "interference" has power and the noise is .
(approximately, using ).
.
Numerical comparison at $\bar{\gamma} = 20$ dB
Perfect CSI: bits/s/Hz.
With : The effective SINR at the mean () is .
bits/s/Hz.
Loss bits/s/Hz.
1 bit/s/Hz loss threshold
At high SNR, the SINR saturates at . The capacity ceiling is .
For 1 bit loss at dB (): Need , so , .
ex-ch11-19
HardA wideband channel has an exponential power delay profile with s. An OFDM system uses MHz bandwidth with sub-carriers.
(a) What is the coherence bandwidth ?
(b) Approximately how many independently fading sub-carrier groups are there?
(c) At dB, compare equal-power capacity with water-filling capacity (approximate).
.
Number of independent groups .
Coherence bandwidth
kHz.
Independent groups
Sub-carrier spacing: kHz.
Sub-carriers per coherence bandwidth: .
Number of independent groups: .
So the 64 sub-carriers have approximately 50 independent fading realisations β high frequency selectivity.
Capacity comparison
With 50 independent fading groups and Rayleigh fading at dB (31.62 linear):
Equal power: bits/s/Hz per sub-carrier. Total: Mbps.
Water-filling: at moderate SNR (15 dB), the water-filling gain over equal power is typically 5-10% for Rayleigh fading.
Mbps.
The gain is modest because at 15 dB SNR, most sub-carriers are well above the water-filling cutoff.
ex-ch11-20
ChallengeA cellular base station communicates with a mobile user over a Rayleigh fading channel with the following parameters:
- Bandwidth: MHz
- Average received SNR: dB
- Coherence time: ms
- Coherence bandwidth: kHz
- Number of receive antennas at BS:
- Slot duration: ms
(a) Is this channel frequency-selective? How many independent frequency blocks?
(b) Is ergodic capacity achievable within a single slot?
(c) Compute the SIMO ergodic capacity.
(d) Compute the 1%-outage capacity for SIMO.
(e) If the system uses AMC with LDPC coding (gap dB), what is the approximate average throughput?
Check vs and vs .
For SIMO, effective SNR is .
Frequency selectivity
MHz kHz. Highly frequency-selective. Number of independent frequency blocks: .
Ergodic achievability
ms ms. Within one slot, the channel is approximately constant. Over 10 slots (), the channel changes independently.
Within frequency: 40 independent blocks per slot provide frequency diversity. Over time: need many coherence times.
For ergodic capacity, we need many independent fading realisations. Over 1 second: 200 coherence times in time 40 in frequency independent samples. Ergodic capacity is achievable with codewords spanning 100 ms.
SIMO ergodic capacity
(linear).
With and MRC: effective (18 dB).
With (mean 4): bits/s/Hz.
Total: Mbps.
1%-outage capacity
where .
1% quantile of Gamma(4,1): approximately 0.74.
.
bits/s/Hz.
With frequency diversity (40 independent blocks), the effective outage capacity per slot is closer to the ergodic capacity: bits/s/Hz.
Total: Mbps.
AMC throughput
With gap dB, the effective capacity is approximately
bits/s/Hz.
Total throughput: Mbps.
This is about 88% of the ideal ergodic capacity, typical for a well-designed AMC system.