Exercises
ex-ch21-01
EasyCompute the empirical spectral distribution of the matrix . What are and ?
The ESD places mass at each eigenvalue.
ESD
. Thus and .
ex-ch21-02
EasyFor the Marchenko-Pastur distribution with , verify that the support is and compute .
Use the substitution .
Support
, . Correct.
Normalization
. Set , , with from to . . The integral becomes .
ex-ch21-03
EasyShow that the first moment of the Marchenko-Pastur distribution is for any .
Use ... wait, that gives . Think about what is.
Be careful: the MP law describes . The first moment of the full distribution (including mass at zero for ) is ... Actually, the first moment of including the atom is always 1.
Direct computation
. But the ESD of is over the eigenvalues, so ... Hmm.
Correction: for , all eigenvalues of are captured by the continuous MP part. The first moment of the ESD is .
So for the MP distribution of .
Note: some references normalize differently. With the convention in this chapter (, entries ), the first moment is .
ex-ch21-04
MediumCompute the second moment of the Marchenko-Pastur distribution by evaluating where .
Expand and compute the expectation using Isserlis' theorem (Wick's theorem for Gaussians).
Expand the trace
.
Take expectation
The only nonzero pairings (for i.i.d. entries) are: (i) : contributes . (ii) (and distinct from (i)): contributes . Total: .
Verify
For : . This matches the second moment of the MP density on .
ex-ch21-05
MediumShow that the Stieltjes transform of the point mass (Dirac measure at ) is .
The integral reduces to evaluating the integrand at a single point.
Direct computation
. This is a simple pole at with residue .
ex-ch21-06
MediumVerify the Stieltjes inversion formula for the uniform distribution on : .
Compute first.
Then take and let .
Compute the Stieltjes transform
.
Inversion
For with and : . As , the argument of the log transitions from positive to negative real part, picking up an imaginary part of . for and outside. Thus on , confirming the uniform density.
ex-ch21-07
MediumSolve the fixed-point equation for and (with real). Express the result in terms of only.
Substitute into the quadratic with .
Substitute
With and : . Multiply by : .
Solve
(taking the root with for ).
Interpretation
This value of enters the ergodic capacity formula for : . The exact closed-form capacity involves this quantity.
ex-ch21-08
MediumShow that for , the Marchenko-Pastur density satisfies and (the density vanishes at the edges of the support).
The density is proportional to .
Edge behavior
At : . At : . The density vanishes as near the left edge and as near the right edge. This square-root vanishing is universal — it holds for all Wigner-type and Wishart-type matrices.
ex-ch21-09
HardDerive the asymptotic per-antenna capacity for a MIMO channel at high SNR. Show that and find the constant.
At high SNR, for .
You need to compute .
High-SNR approximation
For large : .
Compute the log-moment
(this is a known result for the MP distribution with ; it can be verified by substitution).
Result
bits/s/Hz. The constant represents the capacity loss due to eigenvalue spread compared to having all eigenvalues equal to 1.
ex-ch21-10
HardShow that as (many more columns than rows), the Marchenko-Pastur distribution converges to a point mass at . Interpret this for MIMO.
Compute and show the support width .
Support shrinks
as . Both endpoints converge to .
Convergence to point mass
Since the density is supported on an interval shrinking to and integrates to 1, weakly as .
MIMO interpretation
When (massively more transmit antennas than users), all eigenvalues of concentrate near 1. This means all spatial channels have nearly the same gain — the channel becomes effectively orthogonal. This is the channel hardening effect of massive MIMO.
ex-ch21-11
HardProve that the Stieltjes transform of any probability distribution on satisfies for all .
Bound for and .
Pointwise bound
For with and : , so .
Integrate
.
ex-ch21-12
HardFor the deterministic equivalent with and general , show that the coupled fixed-point equations reduce to a single scalar equation for (since ).
When , the equation for simplifies because all users are statistically identical.
Simplify $\tilde{\mathbf{T}}$
With : . But where (scalar times identity since ).
Scalar equation
...
More precisely: ...
The key simplification is that satisfies a single scalar fixed-point equation where . This is a scalar equation (the matrix inversion is needed once, but the iteration is one-dimensional).
ex-ch21-13
HardNumerically verify the Marchenko-Pastur law: generate independent realizations of with i.i.d. entries. For each realization, compute the eigenvalues of . Pool all eigenvalues and compare the histogram to .
Use numpy.linalg.eigvalsh for Hermitian eigenvalues.
The support is .
Implementation
import numpy as np
n, m, N = 50, 200, 1000
eigs = []
for _ in range(N):
H = (np.random.randn(n,m) + 1j*np.random.randn(n,m)) / np.sqrt(2)
W = H.conj().T @ H / m
eigs.extend(np.linalg.eigvalsh(W))
Comparison
The histogram of the pooled eigenvalues (only nonzero per realization) should closely match the MP density on , with zero eigenvalues per realization forming a mass at the origin.
ex-ch21-14
ChallengeDerive the closed-form ergodic capacity of the MIMO channel using the Stieltjes transform. Show that ... (the exact expression is somewhat involved). Alternatively, show that and integrate numerically.
Use the relation .
Express the integral in terms of .
Derivative
.
Express via Stieltjes transform
...
More directly: using with .
Integrate
Substituting (from Exercise 7) and integrating from to the target gives the closed-form capacity.
ex-ch21-15
ChallengeProve that the Marchenko-Pastur law is universal: it holds not just for Gaussian entries but for any i.i.d. entries with zero mean and unit variance (and finite fourth moment). Outline the proof using the moment method.
The key is that the -th moment depends only on the first two moments of the entries in the limit.
Higher moments of the entry distribution contribute terms of order that vanish.
Moment computation
. The leading-order contributions come from pairings where each entry appears exactly twice (once conjugated, once not). These are the non-crossing pair partitions.
Universality argument
For non-crossing pair partitions, each pair contributes (by the unit variance assumption). Crossing partitions and higher-order terms contribute factors like or , but these come with combinatorial prefactors of and vanish in the limit.
Conclusion
Since only the first two moments of the entries matter, and both Gaussian and non-Gaussian i.i.d. entries with zero mean and unit variance give the same moments, the LSD is the same: the Marchenko-Pastur distribution. This is one of the most remarkable universality results in probability theory.
ex-ch21-16
EasyFor the Marchenko-Pastur distribution with , compute the variance of the distribution using .
Use and (the moments derived earlier).
Compute
, . . The variance of the MP distribution equals — a clean result.
ex-ch21-17
MediumShow that the Stieltjes transform of the ESD can be written as .
Use the spectral decomposition .
Resolvent trace
. . Dividing by : .
ex-ch21-18
MediumThe MMSE of estimating a Gaussian signal from a noisy MIMO observation is . Express the asymptotic MMSE as an integral against the Marchenko-Pastur distribution.
The trace of the resolvent at is related to the Stieltjes transform.
Resolvent representation
where .
Asymptotic form
As : .
ex-ch21-19
HardImplement the deterministic equivalent iteration for the per-user capacity of a correlated MIMO system with exponential transmit correlation . Plot the capacity vs. for , , SNR dB.
Use the coupled matrix equations from Theorem 21.4.2.
Compare with Monte Carlo using 500 realizations.
Algorithm
- Form (Toeplitz). Set .
- Iterate: , .
- Compute .
Expected result
Capacity decreases with increasing (correlation reduces the effective degrees of freedom). At , the result matches the i.i.d. MP formula. At , all transmit antennas are fully correlated — the rank-1 channel gives capacity .
ex-ch21-20
ChallengeProve the Stieltjes transform fixed-point equation for the Marchenko-Pastur law using the resolvent identity. Specifically, for with i.i.d. entries, show that concentrates around the solution of .
Write the resolvent using the matrix inversion lemma (Woodbury) applied to rank-1 updates.
The leave-one-row-out trick: where is row of .
Rank-1 decomposition
Write . Define and .
Woodbury identity
. Taking the normalized trace and using (by the LLN, since is independent of ).
Self-consistent equation
Summing over and dividing by : ... after careful algebra, one arrives at .