The Gaussian Channel
Capacity of the additive white Gaussian noise channel, sphere packing, bandlimited channels and the Shannon–Hartley formula, water-filling over parallel and colored channels, and how little feedback buys
Motivation: the channel that actually exists
Every channel in channel-capacity was discrete: a finite input alphabet, a finite output alphabet, a transition matrix. But the copper wire carries a voltage, and so does a radio link and a satellite downlink. The Gaussian channel is the continuous-alphabet model of that physical reality, and it is by a wide margin the most important channel in the theory.
It is a time-discrete channel with output at time equal to the sum of the input and noise :
with drawn i.i.d. and independent of the signal .
flowchart LR
Xi["X_i"] --> S(("+"))
Zi["Z_i ~ N(0, N)"] --> S
S --> Yi["Y_i"]
IntuitionWhy Gaussian noise specifically
The additive noise in a real channel comes from a variety of causes — thermal agitation in the conductor, cosmic background, interference from countless distant sources. By the central limit theorem, the cumulative effect of a large number of small random effects is approximately normal, so the Gaussian assumption is valid in a large number of situations. It is not an arbitrary mathematical convenience; it is what physics hands you.
Why we must constrain the input
WarningWithout further conditions the capacity is infinite
Two separate ways this blows up:
- Zero noise variance. The receiver gets the transmitted symbol perfectly, and since can take any real value, the channel transmits an arbitrary real number — infinitely many bits — with no error.
- Nonzero noise but unconstrained input. Choose an infinite subset of inputs arbitrarily far apart. They are then distinguishable at the output with arbitrarily small error probability, and the capacity is again infinite.
So if the noise variance is zero or the input is unconstrained, capacity is infinite and the model says nothing.
The physically meaningful limitation is energy or power. We assume an average power constraint: for any codeword ,
IntuitionWhat the power constraint is, physically
You can amplify a signal, but not for free and not without limit — the transmitter has a power supply, the regulator has a licence, the satellite has a solar panel. The constraint is what stops the “spread the codewords arbitrarily far apart” trick, and it is what makes the answer finite and interesting. Notice it constrains the average over the block, not each symbol — so a code may spend more on some symbols and less on others.
A first, suboptimal scheme
Before the theory, here is what an engineer would do naively. Suppose we want to send 1 bit in one channel use. Given the power constraint, the best we can do is send one of two levels, or — push them as far apart as the power budget allows. If both are equally likely, the optimum decoding rule is to decide if and if .
DerivationProbability of error for two-level signalling
Substituting , each event becomes a statement about the noise alone:
by symmetry of the Gaussian. Normalizing by its standard deviation :
where is the cumulative normal function.
ImportantWhat this scheme really did
It converted the Gaussian channel into a binary symmetric channel with crossover probability — so everything from channel-capacity now applies. Similarly a four-level input signal gives a discrete four-input channel, and practical modulation schemes use exactly these ideas.
The trade-off: the main advantage of a discrete channel is ease of processing the output for error correction. But some information is lost in the quantization — which is precisely the story from the quantization relation. The rest of this chapter asks what is achievable without throwing that away.
Information capacity of the Gaussian channel
DefinitionInformation capacity with a power constraint
The maximum of the mutual information over all input distributions satisfying the power constraint.
| Component | Detail |
|---|---|
| What is given | The noise variance — the physics of the wire. |
| What is optimized | The input density — the engineer’s modulation scheme. |
| What constrains it | — the transmitter’s power budget. |
| Difference from the discrete case | The maximization is over densities, and is restricted by a moment constraint rather than ranging over a whole simplex. |
DerivationComputing the capacity
Step 1: Expand from the receiver’s side, and kill the noise term.
The third equality is translation invariance of differential entropy ([[differential-entropy#Behaviour under transformations|]]): given , the variable is just shifted by the constant . The fourth uses independence of from .
This is the crucial structural fact: is a constant the sender cannot influence, so maximizing reduces entirely to maximizing — exactly as it did for the symmetric discrete channels.
Step 2: Find the power available at the output.
using independence and . The power constraint has now been converted into a variance constraint on — which is exactly the hypothesis of the maximum-entropy theorem.
Step 3: Apply the Gaussian maximum-entropy bound. By the max-entropy theorem, a variable with second moment has :
Step 4: Achievability of the bound. Equality in the max-entropy step needs , which is delivered by (sum of independent Gaussians is Gaussian).
FormulaCapacity of the Gaussian channel
attained when .
IntuitionReading the formula
is the signal-to-noise ratio. Capacity grows only logarithmically in it: to buy one extra bit per use you must roughly double the transmit power at high SNR. That diminishing return is the central economic fact of radio engineering. The optimal input is Gaussian — meaning a good code makes the transmitted signal look like noise, the continuous echo of the equality condition that a capacity-achieving code makes the channel output look like pure noise.
Codes for the Gaussian channel
Definition code with power constraint
- An index set .
- An encoding function yielding codewords satisfying the power constraint: for every codeword,
- A decoding function .
Rate and probability of error are as in the discrete case, with . A rate is achievable if there is a sequence of codes whose codewords satisfy the power constraint and whose maximal error . The capacity is the supremum of achievable rates.
TheoremCapacity of the Gaussian channel
The sphere-packing picture
Before the proof, the geometric plausibility argument — which for this channel is unusually vivid, because the codewords really are points in .
IntuitionCounting decoding spheres
Consider any codeword of length . The received vector is normally distributed with mean the true codeword and variance the noise variance, so with high probability it lies in a sphere of radius around the codeword. Assign everything in that sphere to that codeword; an error occurs only if the received vector escapes, which is unlikely.
How many such codewords fit? The volume of an -dimensional sphere is . Each decoding sphere has radius . The received vectors have energy at most , so they all live inside one big sphere of radius . The maximum number of non-intersecting decoding spheres is at most
and the rate of such a code is — the capacity, read straight off a volume ratio.
NoteWhat sphere packing does and does not establish
Like the preview argument in the discrete case, this indicates we cannot hope to send above with low error. It is an upper bound by counting. That we can almost achieve it is the content of the proof below.
ProofAchievability — random coding with two modifications
Same ideas as the discrete coding theorem: random codes and joint typicality decoding. Two modifications are needed: the power constraint and the fact that variables are continuous.
Step 1: Generate the codebook — with margin. We need every codeword to satisfy the power constraint. Generate each element i.i.d. , i.e. deliberately under-power. Since for large by the law of large numbers, the probability that a codeword violates the constraint is small. This of headroom is the first modification and exists purely to absorb the fluctuation of the sample power.
Step 2: Encoding. The codebook is revealed to sender and receiver; to send message , transmit codeword .
Step 3: Decoding. Search the codebook for one codeword jointly typical with the received vector. If exactly one, declare it. Otherwise declare an error — and also declare an error if the chosen codeword violates the power constraint.
Step 4: Probability of error. Assume codeword 1 was sent, so . Define
An error occurs if (power violated), or (true codeword not jointly typical), or (a wrong codeword is). is the second modification — a failure mode with no discrete analogue. By the union bound,
Step 5: Bound the three terms. by the law of large numbers (Step 1’s margin). by the joint AEP, which can be proved by the same argument as the discrete case, so for large . And since and are independent by construction, so are and , giving .
Step 6: Assemble.
for sufficiently large and .
Step 7: From average to maximal error — and a bonus. Choose a good codebook and delete the worst half of the codewords, exactly as in the discrete proof. Note the happy side effect: codewords violating the power constraint have probability of error 1, so they are necessarily in the discarded half. The surviving code therefore satisfies the power constraint outright, and achieves a rate arbitrarily close to capacity.
∎
Converse for the Gaussian channel
The proof parallels the discrete converse. The main new ingredient is the power constraint, and the interesting question is where it enters.
ProofConverse — Fano, single-letterization, then Jensen on the power allocation
We must show forces .
Step 1: Fano. Let be uniform on ; the uniform distribution on messages induces one on codewords and hence on the input alphabet, specifying a joint law on . Then
Step 2: The standard chain.
Step 3: Single-letterize. Apply the independence bound to and independence of the noise samples to :
Step 4: Here is where the power constraint enters. Define the average power of the th column of the codebook,
Since with independent, , and by the max-entropy theorem . Hence
Step 5: Jensen finishes it. Every codeword satisfies the power constraint, so their average does too: . Since is concave, Jensen’s inequality moves the average inside:
So with .
∎
IntuitionWhat Jensen is doing physically
Step 5 says spreading your power unevenly across the coordinates cannot help. Concavity of means the capacity gained from a watt in a quiet coordinate is less than the capacity lost by taking it from another — when all coordinates have the same noise level . Hold that thought: when the coordinates have different noise levels, uneven allocation does help, and that is exactly .
Bandlimited channels
The problem. Everything so far is time-discrete: one input per channel use. A real radio or telephone channel is continuous-time with a bandwidth limit. How do the two connect, and what is the capacity in bits per second rather than per use?
The model: the output is the convolution
where is the signal waveform, is white Gaussian noise, and is the impulse response of an ideal bandpass filter cutting out all frequencies greater than .
TheoremNyquist–Shannon sampling theorem
Suppose a function is bandlimited to — its spectrum is 0 for all frequencies greater than . Then the function is completely determined by samples spaced seconds apart.
IntuitionWhy sampling works
If a signal is bandlimited to , it cannot change by a substantial amount in a time less than half a cycle of its maximum frequency — that is, it cannot change much over intervals shorter than seconds. The bandwidth limit is a smoothness guarantee, and smooth functions are determined by samples.
ProofSampling theorem
Step 1: The band limit truncates the inverse Fourier integral. Let be the Fourier transform of . Since outside ,
Step 2: Recognize the samples as Fourier coefficients. At the sample points,
The right-hand side is also the definition of the Fourier series coefficients of the periodic extension of , taking as the fundamental period. So the samples determine the Fourier coefficients, hence on that interval, hence (since vanishes outside) entirely, hence .
Step 3: Explicit reconstruction. Define , which is 1 at , zero at for , and has a spectrum constant on and zero outside. Then
is bandlimited to and matches at every sample point. Since only one function satisfies both constraints, .
∎
ImportantDegrees of freedom — the bridge to the discrete theory
A general function has an infinite number of degrees of freedom: its value at every point is free. The sampling theorem says a bandlimited function has only degrees of freedom per second. This is the whole reason the continuous-time channel reduces to the discrete-time one we already solved.
NoteAlmost-bandlimited, almost-timelimited functions
A bandlimited function cannot be time-limited. But we can consider functions with most of their energy in bandwidth and most of it in a finite interval . These are described by a basis of prolate spheroidal functions: there are about orthonormal basis functions for this set. Moreover the projection of white noise on these basis vectors is an i.i.d. Gaussian process — which is what lets us reuse the i.i.d. noise model. So bandlimited, time-limited functions are vectors in a -dimensional space.
DerivationFrom samples to the capacity formula
Step 1: Discretize. With bandwidth , represent input and output by samples seconds apart. Since the noise is white and Gaussian, each noise sample is an i.i.d. Gaussian random variable.
Step 2: Noise power per sample. If the noise has power spectral density watts/Hz and bandwidth Hz, the total noise power is . Over time there are samples, so each has variance .
Step 3: Signal energy per sample. Over the energy is spread over samples, so per sample.
Step 4: Apply the discrete-time result.
Step 5: Convert to bits per second. There are samples each second.
FormulaCapacity of a bandlimited Gaussian channel
ImportantOne of the most famous formulas in information theory
It gives the capacity of a bandlimited Gaussian channel with noise spectral density watts/Hz and power watts. Everything in this entire set of notes — surprise, entropy, mutual information, typical sets, joint typicality, the coding theorem, differential entropy, maximum entropy — exists to make this line true and computable.
(A more precise version involves signals with a small fraction of their energy outside band and outside ; the formula is the limit as that fraction goes to zero.)
CorollaryInfinite bandwidth
Letting ,
So for infinite-bandwidth channels, capacity grows linearly with power — the logarithmic penalty disappears once bandwidth is free. Bandwidth and power are substitutes, but not equally: you can always trade more bandwidth for less power until this floor.
ExampleThe telephone line
To allow multiplexing, telephone signals are bandlimited to 3300 Hz. With that bandwidth and an SNR of 33 dB (i.e. ), the capacity is about 36,000 bits per second. Practical modems achieve up to 33,600 bits/s in both directions — remarkably close. Real channels also suffer crosstalk, interference, echoes, and non-flat response, which must be compensated for.
The V.90 modems reaching 56 kb/s do so in one direction only, exploiting a purely digital path from server to the final telephone switch; the only impairments are the digital-to-analog conversion at the switch and noise on the copper link to the home, reducing 64 kb/s to 56 kb/s at best.
The actual bandwidth on that copper is a few megahertz (depending on wire length), with a far-from-flat frequency response. Using the whole band allows a few megabits per second — which is what DSL does, using special equipment at both ends (unlike modems, which need no change at the switch).
Parallel Gaussian channels and water-filling
The problem. Consider independent Gaussian channels in parallel sharing one total power budget. How should the power be distributed to maximize capacity? This models a non-white additive Gaussian noise channel, where each parallel component represents a different frequency.
flowchart LR
X1["X_1"] --> S1(("+")) --> Y1["Y_1"]
Z1["Z_1 ~ N(0, N_1)"] --> S1
Xk["X_k"] --> Sk(("+")) --> Yk["Y_k"]
Zk["Z_k ~ N(0, N_k)"] --> Sk
For channel : with , noise independent from channel to channel, and a common constraint .
DerivationDecomposing the joint mutual information
Since are independent,
Applying the independence bound to the joint output entropy, then the single-channel result to each term:
where and . Equality is achieved by an independent Gaussian vector, .
So the problem reduces to the power allotment: maximize subject to .
DerivationLagrange multipliers and the Kuhn–Tucker correction
Write the functional
and differentiate with respect to :
The catch: the must be non-negative, and for a noisy enough channel is negative — so a solution of this form may not exist. The Kuhn–Tucker conditions confirm that the correct solution clips at zero.
FormulaWater-filling
where if and if .
IntuitionWhy it is called water-filling
Picture the noise levels as the uneven floor of a vessel, with one bin per channel. Pour in a volume of water equal to the total power . As the power is increased from zero, it goes first to the channels with the lowest noise; as more is added, some spills into noisier channels. The water finds a common surface level , and the depth over bin is exactly . Bins whose floor sits above the waterline get nothing at all — a channel too noisy to be worth using is simply switched off.
Contrast the converse for the single channel, where Jensen said even power allocation is optimal. That was because all coordinates shared one noise level ; here they do not, and the asymmetry is what makes uneven allocation pay.
Channels with colored Gaussian noise
The problem. In the parallel case the noise samples were independent. Now let them be dependent. This covers not only correlated parallel channels but also channels with memory: for a channel with memory, treat a block of consecutive uses as parallel channels with dependent noise.
Let be the noise covariance and the input covariance. The power constraint becomes
WarningThe capacity now depends on
Unlike the parallel case, the power constraint here depends on , so the capacity must be calculated for each separately.
DerivationReducing to a determinant maximization
Step 1: The noise entropy is fixed. As always,
and depends only on the noise distribution, not on our input choice. So finding the capacity amounts to maximizing .
Step 2: Gaussian input is optimal. Output entropy is maximized when is normal, which is achieved when the input is normal. Since input and noise are independent, , and by the multivariate normal entropy,
So we must maximize subject to a trace constraint on .
Step 3: Diagonalize the noise. Decompose with . Then
where .
Step 4: The trace constraint is preserved. Since ,
This is why the rotation is free — changing basis does not spend any extra power. So: maximize subject to .
Step 5: Hadamard forces diagonal. By Hadamard’s inequality, with equality iff is diagonal. So the optimum is diagonal, and we are maximizing a product under , — which is the same problem as before.
FormulaWater-filling on the noise eigenvalues
ImportantWater-filling in the spectral domain
Consider a channel whose additive Gaussian noise is a stationary stochastic process. Then the covariance matrix is Toeplitz, and the density of eigenvalues on the real line tends to the power spectrum of the process. So the eigenvalue water-filling above translates into water-filling across frequency:
The input signal should be a Gaussian process whose spectrum is large at frequencies where the noise spectrum is small. Pour your transmit power into the quiet parts of the band, and abandon the frequencies where interference is loudest. The capacity is
with chosen so that . This is the theoretical justification for what every modern modem, DSL line and Wi-Fi radio actually does when it probes the channel and allocates bits per subcarrier.
Gaussian channels with feedback
In channel-capacity we proved feedback does not increase capacity for discrete memoryless channels. The same holds for a memoryless Gaussian channel (white noise).
ImportantBut with memory, feedback does help
For channels with memory — noise correlated from one instant to the next — feedback does increase capacity. The capacity without feedback is computed by water-filling, but we have no simple explicit characterization of the capacity with feedback. What we can do is bound the gain, and the answer is that it is small.
The channel is with , and feedback lets the input depend on past outputs.
flowchart LR
W["W"] --> E[Encoder]
E --> Xi["X_i(W, Y^(i-1))"]
Xi --> S(("+")) --> Yi["Y_i"]
Zi["Z_i"] --> S
Yi -.->|feedback| E
DefinitionFeedback code for the Gaussian channel
A code with feedback is a sequence of mappings — so is a code function rather than a codeword — satisfying the power constraint
where the expectation is over all possible noise sequences.
Warning and are no longer independent
Because of the feedback, depends causally on past values of . Every argument in this chapter that used independence of signal and noise must be re-examined.
FormulaCapacity with and without feedback
With feedback: where the maximization is over all of the form with independent of .
Without feedback: which reduces to water-filling on the eigenvalues of :
NoteWhy the restricted form of loses nothing
The distribution on achieving maximum entropy is Gaussian; since is Gaussian too, a jointly Gaussian achieves the maximum. And since , the most general jointly normal causal dependence of on is exactly , with playing the role of the innovations process. Recast as , :
over nonnegative definite and strictly lower triangular with . Lower-triangularity is causality: may see only past noise. Note when feedback is not allowed.
TheoremUpper bound on the feedback rate
For a Gaussian channel with feedback, any sequence of codes with satisfies with . (This bound is in fact achievable and therefore is the capacity, though we do not prove that.)
ProofConverse with feedback
Fano gives . Then
where (a) holds because is a function of and past ‘s, and — so all those extra conditioning variables are free; (b) uses and ; (c) uses that and are conditionally independent given . Dividing by and applying the entropy-maximizing property of the normal,
∎
Matrix lemmas
Four lemmas about determinants, each proved by an information-theoretic argument — a nice inversion of the usual direction.
Lemma1. Covariance identity
.
ProofExpand both sides
and ; the cross terms cancel on addition.
∎
Lemma2. Determinant monotonicity
For nonnegative definite , if is nonnegative definite then .
ProofBuild random vectors with those covariances
Let . Since are nonnegative definite, treat them as covariances: take independent , , and set (so ). Then
by conditioning-reduces-entropy and independence. Substituting the normal entropy formula gives .
∎
Lemma3. Sum covariance bound
.
ProofLemma 1 then Lemma 2
From Lemma 1, , so Lemma 2 gives .
∎
Lemma4. Log-concavity of the determinant
For nonnegative definite and , .
ProofA mixture random vector
Let , , and let be 1 w.p. and 2 w.p. , independent of both. Define if , else . Then and
The first inequality is the Gaussian max-entropy property under a covariance constraint; the second is conditioning reduces entropy.
∎
DefinitionCausally related
is causally related to if Feedback codes necessarily yield causally related .
Lemma5. Causality bound
If and are causally related, then and hence .
ProofChain rule, then conditional determinism
with (a) the chain rule, (b) conditioning reduces entropy, (c) the conditional determinism of plus translation invariance of , (d) the causal relationship, (e) the chain rule again. The determinant statement follows by taking a multivariate normal causally related pair with the same covariance structure and substituting the normal entropy formula.
∎
How much feedback buys
TheoremFeedback adds at most half a bit
ProofChain the lemmas
using the feedback converse, Lemma 3 (whose factor becomes the after ), and the definition of .
∎
TheoremFeedback at most doubles capacity (Pinsker)
ProofShow
with (a) Lemma 1, (b) Lemma 4, and (c) Lemma 5 — the only step where causality is used. Maximizing each side in turn gives .
∎
ImportantThe bottom line on feedback
Gaussian channel capacity is increased by at most half a bit per transmission, and at most a factor of two. Feedback helps — but not by much. Combined with the discrete result that it helps not at all for memoryless channels, the overall picture is: feedback is enormously valuable for simplifying encoder and decoder design (recall retransmission on the erasure channel) and essentially worthless for raising the rate.
Quick reference
| Object | Formula | Note |
|---|---|---|
| Channel model | , | Power constraint required or . |
| Two-level signalling | Turns the AWGN channel into a BSC. | |
| Capacity | Achieved by . | |
| Sphere packing | spheres | Capacity as a volume ratio. |
| Sampling theorem | degrees of freedom/second | Bridges continuous- to discrete-time. |
| Bandlimited capacity | bits/s | The Shannon–Hartley formula. |
| Infinite bandwidth | bits/s | Capacity becomes linear in power. |
| Parallel channels | , | Water-filling; noisy channels switched off. |
| Colored noise | Water-filling on noise eigenvalues. | |
| Stationary noise | Water-filling across frequency. | |
| Feedback | and | Helps with complexity, not with rate. |
Facts to keep to hand:
- The capacity derivation is three moves: by translation invariance power constraint becomes a variance constraint on Gaussian max-entropy bound. Every capacity in this chapter, including the colored-noise one, is that same sequence.
- Where the power constraint enters each argument: the codebook generation margin () in achievability; the column powers plus Jensen in the converse; the trace constraint in the matrix version.
- Jensen says even power allocation is optimal when noise levels are equal; water-filling says uneven allocation is optimal when they differ. Same concavity, opposite conclusions, because the constraint set changed.
- Gaussian maximum entropy is used at least five times in this chapter (capacity bound, converse Step 4, parallel channels, colored noise, Lemmas 2 and 4). It is the workhorse.
- Every matrix lemma in the feedback section is proved by building random vectors with the right covariance and applying an entropy inequality — determinant inequalities from information theory, as with Hadamard.
References
- [[lit/cover2006-elements|Cover & Thomas, Elements of Information Theory]] — Chapter 9