Exercises
ex-ch03-qpsk-map
EasyDerive the MAP decision rule for QPSK with priors and corrupted by AWGN of variance .
Keep the prior terms: .
Write the log-posterior
.
Drop constants
.
MAP vs. ML
With equal energies the rule becomes ML on shifted by . Symbols with larger prior have larger (tilted) decision regions.
ex-ch03-gram-schmidt-explicit
MediumLet , , on . Compute the orthonormal basis from Gram--Schmidt and the dimension of the signal space.
These are (scaled) Legendre polynomials after normalisation.
Normalise $s_0$
, so .
Orthogonalise $s_1$
, so , , giving .
Orthogonalise $s_2$
; . Residual , , giving .
Dimension
: the three signals are linearly independent.
ex-ch03-min-distance-geometry
MediumFor a unit-energy 8-PSK constellation, compute and the number of nearest neighbors .
for -PSK on the unit circle.
Pairwise distance
for -PSK.
Minimum
.
Nearest neighbors
Each point has exactly nearest neighbors.
ex-ch03-union-bound
MediumDerive the union bound on SER for an -ary constellation in AWGN and show that at high SNR it is asymptotically tight.
.
Use asymptotically.
Pairwise error probability
.
Union bound
; averaging over gives the SER bound.
High SNR tightness
At high SNR, pairs with contribute exponentially less. Only nearest-neighbor terms survive, and the bound matches the true SER to leading order.
ex-ch03-qpsk-vs-4psk
EasyVerify that QPSK and 4-PSK are the same constellation up to rotation and compute their common SER at dB.
QPSK = 4-PSK rotated by .
.
Identify
QPSK points at and 4-PSK points at are related by a rotation.
SER
At 10 dB, .
ex-ch03-qam-vs-psk
MediumAt and SNR = 15 dB, compare the SER of 16-QAM and 16-PSK.
Use the exact formulas; 16-QAM has smaller -to-energy ratio than 16-PSK at this ? Check.
16-QAM
.
16-PSK
.
Conclusion
16-QAM is dB better than 16-PSK at this SNR --- QAM packs more efficiently in .
ex-ch03-shaping-gain
HardCompute the shaping gain of a square 64-QAM constellation relative to 64-CR (cross) constellation. Quantify in dB.
Shaping gain depends on the ratio of average energy to cubical energy for same .
Energy of square 64-QAM
With unit spacing, (including scaling by 2 for 2D).
Energy of cross-64
Cross-constellation has lower peak-to-average power; the average energy is roughly for the standard cross-64.
Shaping gain
dB --- the typical shaping gain of cross-QAM over square at moderate .
ex-ch03-orthogonal-mary
MediumFor equi-energy orthogonal signals in AWGN, show that the union bound on SER is .
Pairwise distance is .
Pairwise distance
(orthogonality).
Pairwise error
.
Union bound
Multiply by terms per transmitted signal.
ex-ch03-craig-rayleigh
HardUse Craig's formula to derive the SER of BPSK in Rayleigh fading with average SNR .
.
MGF of exponential: .
Average the Q-function
.
Insert the MGF
.
Evaluate the integral
; decays as at high SNR.
ex-ch03-diversity-order
MediumShow that BPSK in Rayleigh fading has diversity order , and compare with the AWGN at dB.
at high SNR.
Asymptotic SER
; at 20 dB this gives .
AWGN reference
.
Conclusion
Rayleigh fading loses many orders of magnitude at high SNR --- diversity order is the slowest possible decay, motivating diversity and coding.
ex-ch03-nakagami-ser
HardDerive the SER of BPSK in Nakagami- fading via Craig's formula.
MGF of Nakagami- SNR: .
Plug into Craig
.
High-SNR asymptote
Diversity order equals : .
ex-ch03-error-exponent
HardProve that for i.i.d. observations, the ML error probability for a binary test satisfies where is the Chernoff information.
Use the Chernoff bound and a matching lower bound via large deviations.
Upper bound (Chernoff)
For every : , where . Maximise over : .
Lower bound (large deviations)
By Cramer's theorem, .
Conclusion
The exponent is tight: neither bound can be improved to leading order in .
ex-ch03-simulate-union-tight
EasyUsing the interactive plot , identify the SNR (in dB) at which the union bound overshoots the true SER by less than 0.5 dB for PSK. Report the SNR value.
Look where bound curves merge with exact curve.
Read plot
The union bound is within 0.5 dB of exact at about 10 dB and above, for 8-PSK.
Reason
At high SNR only nearest-neighbor pairs dominate, so union bound becomes a constant multiple of the exact SER.
ex-ch03-design-dmin
HardYou are given 4 unit-energy signals in and wish to maximise . Prove that the optimal arrangement is a regular polytope (here, a square).
Use the fact that under a unit-average-energy constraint, the maximum of is achieved by a regular simplex or hypercube depending on dimensions.
Constraints
Unit-energy: . Four points on ().
Maximising pairwise distance
Equidistant on the circle: . for 4-PSK (square).
Optimality
No rearrangement can increase without violating energy constraints (Fejes TΓ³th inequality for ).
ex-ch03-bit-vs-symbol
MediumFor 16-QAM with Gray labeling, derive the approximate relation between BER and SER, and compare to natural binary labeling.
Gray: adjacent symbols differ in one bit.
Gray labeling
Each symbol error causes approximately 1 bit error out of : BER SER.
Natural binary
BER can be as high as SER(average Hamming distance) SER --- worse by -- dB at equivalent SER.
Takeaway
Gray labeling is a near-costless way to minimise BER at fixed SER.
ex-ch03-capacity-connection
ChallengeFor binary symmetric channel with crossover (from BPSK in AWGN), show that the channel capacity matches the information-theoretic bound on the operational rate at low SNR.
Capacity where is binary entropy.
Expand near .
Binary entropy
.
Low SNR
At low SNR, ; Taylor expansion gives nats.
Operational meaning
The Chernoff exponent (detection) and the capacity (coding) differ by a constant factor --- both proportional to .