46.03.05 · information-theory / 03-channel-capacity

The Gaussian Channel: Capacity, Bandwidth, and Water-Filling

shipped3 tiersLean: none

Anchor (Master): Cover & Thomas 2006 Elements of Information Theory 2e (Wiley) §9.1-9.5; Gallager 1968 Information Theory and Reliable Communication §8; Pinsker 1964 Information and Information Stability of Random Variables and Processes

Intuition Beginner

Imagine sending a signal over a copper wire. You transmit a voltage, but the receiver does not see exactly what you sent. Thermal noise in the wire adds a random fluctuation. This is the Gaussian channel: the output equals the input plus random noise.

The strength of your signal relative to the noise determines how much information you can send. If you shout over a quiet room, the listener hears every word. If you whisper next to a jackhammer, almost nothing gets through. The ratio of signal power to noise power is called the signal-to-noise ratio (SNR).

Shannon discovered that the maximum rate at which you can send data reliably (with errors vanishing to zero) is bits per channel use. Doubling the power does not double the capacity; it adds a constant. The logarithm means that pushing more power gives diminishing returns.

For a channel with bandwidth Hertz, the capacity becomes bits per second, where is the signal power and is the noise spectral density. More bandwidth gives linearly more capacity, while more power gives only logarithmic improvement. This is why modern communication systems (WiFi, 5G) use wide bandwidths rather than extreme power.

When you have multiple independent channels with different noise levels, you allocate more power to the cleaner channels and less to the noisier ones. The optimal strategy, called water-filling, imagines pouring water (power) into a vessel whose bottom is shaped by the noise levels. The water level equalises across channels, and any channel where the noise exceeds the water level gets no power at all.

Visual Beginner

SNR (linear) SNR (dB) Capacity (bits/use)
1 0 0.50
3 4.8 1.00
10 10 1.73
100 20 3.46
1000 30 5.00
10000 40 6.64

Figure: water-filling for three parallel Gaussian channels with noise variances , , , total power . The water level . Allocated powers: , , . Channel 3 is too noisy to receive any power. The total capacity is bits per use.

Worked example Beginner

A radio channel has bandwidth 1 MHz, signal power 1 watt, and noise spectral density watts/Hz. What is the channel capacity?

Step 1. Compute the total noise power in the band: watt.

Step 2. Compute the SNR: (0 dB).

Step 3. Apply the formula: bits per second = 1 Mbps.

If we double the power to 2 watts: Mbps. Doubling power only gave a 58.5% increase in capacity. The logarithm is harsh.

Check your understanding Beginner

Formal definition Intermediate+

Definition (AWGN channel). The additive white Gaussian noise channel is defined by:

where is the input with average power constraint , and is independent of .

Definition (Capacity of the AWGN channel). The capacity of the AWGN channel with power constraint and noise variance is:

Definition (Band-limited Gaussian channel). A band-limited channel with bandwidth Hz, power constraint , and two-sided noise spectral density has capacity:

Definition (Parallel Gaussian channels and water-filling). Given independent Gaussian channels with and total power constraint , the capacity is:

with optimal power allocation given by water-filling: where is chosen to satisfy .

Key theorem with proof Intermediate+

Theorem (AWGN capacity). The capacity of the channel , , with power constraint is:

The maximum is achieved by Gaussian input .

Proof. The mutual information is . Since is fixed, maximising is equivalent to maximising .

Given the power constraint , the differential entropy is maximised by a Gaussian distribution (the maximum-entropy property), giving .

Equality holds when , which occurs when (since the sum of independent Gaussians is Gaussian). Therefore:

Theorem (Water-filling for parallel channels). The optimal power allocation for independent Gaussian channels with noise variances and total power is:

where the water level satisfies .

Proof. The Lagrangian for the constrained optimisation is:

Taking the derivative with respect to :

where . The constraint gives . The KKT conditions 44.02.01 guarantee that this is optimal.

Bridge. The Gaussian channel capacity builds toward the capacity-achieving codes in 46.08.04 where LDPC, turbo, and polar codes are evaluated by their gap to this formula; this appears again in 46.02.05 as the source-coding dual where the same logarithmic structure governs the rate-distortion function; the foundational reason Gaussian input is optimal is the maximum-entropy property of the Gaussian distribution 46.01.04; the central insight is that water-filling equalises the marginal benefit of power across all channels, and putting these together gives the information-theoretic analogue of economic resource allocation under a budget constraint.

Exercises Intermediate+

Lean formalization Intermediate+

Mathlib has no formalisation of the Gaussian channel model, the capacity formula, or the water-filling optimisation. The proof that Gaussian input maximises mutual information under a power constraint requires the maximum-entropy property of Gaussians (which Mathlib has in a limited form for real-valued distributions) and the entropy power inequality. The parallel-channel decomposition and the KKT-based water-filling proof require constrained optimisation over real-valued functions, which Mathlib's optimisation library does not support in the needed generality. The band-limited channel derivation needs Fourier analysis and the sampling theorem. This unit ships without a lean_module.

Advanced results Master

The sphere-packing interpretation

The capacity formula has a beautiful geometric interpretation. In dimensions, the received vector lies near the transmitted codeword in a sphere of radius (by the law of large numbers, the noise power concentrates). The transmitted codewords must be centres of non-overlapping spheres of radius in a sphere of radius (the total power constraint). The number of non-overlapping spheres that fit is approximately the ratio of volumes:

giving rate . This is not a proof (the spheres overlap at their boundaries), but it captures the essential geometry.

The Gaussian channel with coloured noise

When the noise is not white but has a non-flat power spectral density , the capacity is found by water-filling in the frequency domain:

where is the water level chosen to satisfy . This generalises the parallel-channel result to a continuum of sub-channels, one for each frequency. The optimal input power spectral density is .

This result connects to the rate-distortion water-filling 46.02.05 by the observation that the same variational problem arises in both contexts: allocate a fixed resource (power in channel coding, rate in source coding) across parallel sub-problems with varying quality (noise levels in channels, variances in sources).

The information bottleneck and the Gaussian case

The information bottleneck method asks: given and a relevant variable , find a compressed representation that preserves information about while minimising the description length of . For Gaussian , the optimal is a Gaussian test channel that admits a water-filling solution analogous to the rate-distortion case. The information bottleneck curve in the Gaussian case is parametrically identical to the Gaussian rate-distortion curve, establishing a deep connection between compression, prediction, and channel capacity.

Fading channels

When the channel gain varies randomly (as in wireless communication), the channel becomes where is a random fading coefficient. The ergodic capacity (averaged over fading realisations known at the receiver) is:

For Rayleigh fading ( complex Gaussian), this integral evaluates to where is the exponential integral. The outage capacity (the rate achievable with probability ) is determined by the tail of the fading distribution.

Synthesis. The Gaussian channel capacity is the central formula of continuous-alphabet information theory; it builds toward the code constructions in 46.08.04 that approach this limit; the central insight is that Gaussian input achieves capacity because of the maximum-entropy property, and this generalises to the water-filling principle for parallel channels where power is allocated to equalise marginal benefit; putting these together, the Gaussian capacity connects source coding 46.02.05, channel coding, and the Blahut-Arimoto computation 46.04.04 through the shared logarithmic structure of mutual information; the foundational reason water-filling is optimal is the KKT stationarity condition that equalises the derivative of the objective across all active channels.

Full proof set Master

Proposition (High-SNR approximation). For the AWGN channel, when , the capacity satisfies , and each doubling of power adds exactly bit per channel use.

Proof. when . If power is doubled from to :

when , since the fraction inside the log approaches 1. More precisely, as .

Proposition (Entropy power inequality implies Gaussian optimality). If and are independent with and , then , with equality iff .

Proof. By the entropy power inequality 46.01.04:

Since (maximum entropy under variance ) and :

Therefore . Wait — this gives a lower bound. The upper bound follows from the maximum-entropy property: since , the entropy . Equality iff is Gaussian with variance , which occurs iff .

Connections Master

  • 46.03.01 — The discrete channel capacity is generalised to continuous alphabets by the Gaussian channel; the same max-mutual-information principle governs both.
  • 46.01.04 — Differential entropy, the maximum-entropy property of Gaussians, and the entropy power inequality are the tools used to prove the capacity formula.
  • 46.02.05 — The Gaussian rate-distortion function is the source-coding dual of the channel capacity; water-filling appears in both.
  • 44.02.01 — The KKT conditions and Lagrangian duality provide the optimisation framework for water-filling.
  • 46.08.04 — LDPC, turbo, and polar codes are designed to approach the Gaussian channel capacity; the gap to capacity is the figure of merit.

Historical & philosophical context Master

Shannon derived the band-limited Gaussian channel capacity in his 1949 paper "Communication in the Presence of Noise" (Proceedings of the IRE 37(1):10-21). The derivation used the sampling theorem (each band-limited signal of bandwidth can be represented by samples per second) and the maximum-entropy argument. The paper also introduced the geometric sphere-packing interpretation of the capacity formula.

The water-filling solution for parallel Gaussian channels was derived independently by several researchers in the 1960s. The earliest complete treatment is in Gallager's 1968 textbook Information Theory and Reliable Communication (Wiley, Chapter 8), which also contains the rigorous proof of achievability via random coding and the converse via the entropy power inequality.

The extension to fading channels has been central to wireless communication theory since the 1990s. The ergodic capacity formula for Rayleigh fading channels was derived by Ozarow, Shamai, and Wyner in 1994 ("Information Theoretic Considerations for Cellular Mobile Radio," IEEE Trans. IT 40(3):747-763). The outage capacity formulation is due to Cover and its collaborators in the early 1990s.

The connection between water-filling in channel coding and reverse water-filling in rate-distortion (the information-theoretic duality) was recognised by Shannon in his 1959 paper and has been developed extensively by Berger, Dubois, and others. The duality is not merely formal: it reflects a deep symmetry between the source and channel coding problems that is made explicit by the lossy source-channel separation theorem.

Bibliography Master

@article{shannon1949,
  author  = {Shannon, C. E.},
  title   = {Communication in the Presence of Noise},
  journal = {Proceedings of the IRE},
  volume  = {37},
  number  = {1},
  pages   = {10--21},
  year    = {1949},
}
@book{gallager1968,
  author    = {Gallager, R. G.},
  title     = {Information Theory and Reliable Communication},
  publisher = {Wiley},
  year      = {1968},
}
@book{cover-thomas2006,
  author    = {Cover, T. M. and Thomas, J. A.},
  title     = {Elements of Information Theory},
  edition   = {2nd},
  publisher = {Wiley},
  year      = {2006},
}
@article{ozarow-shamai-wyner1994,
  author  = {Ozarow, L. H. and Shamai, S. and Wyner, A. D.},
  title   = {Information Theoretic Considerations for Cellular Mobile Radio},
  journal = {IEEE Transactions on Information Theory},
  volume  = {40},
  number  = {3},
  pages   = {747--763},
  year    = {1994},
}
@book{pinsker1964,
  author    = {Pinsker, M. S.},
  title     = {Information and Information Stability of Random Variables and Processes},
  publisher = {Holden-Day},
  year      = {1964},
}