For Midterm 2: the Gaussian relay question and the squared-error rate distortion bounds are solved with the tools of Section 1. The explanations are in note 6, Differential Entropy. is base 2 (bits), gives nats. is differential entropy, is discrete entropy.
1. Tools the exam problems use
| Tool | Formula | Use it when |
|---|---|---|
| Additive noise | with independent of | |
| Gaussian is largest | , equality only if Gaussian | Bounding the output term |
| Variances add | if independent | Finding |
| Variance of a multiple | A stage that amplifies, | |
| Sum of Gaussians | Independent Gaussians add to a Gaussian | Showing the bound is reached |
| Scaling | , | A scaled or shifted variable |
| Scaling and | Dropping a constant gain | |
| Gaussian pair | Jointly Gaussian, correlation | |
| Gaussian Markov chain | gives | Several Gaussian stages in a row |
| Conditioning | Dropping a condition in a bound |
The first four rows in one line. For with and Gaussian of variance , independent of :
with equality when is Gaussian with variance .
2. Homework patterns
HW5 P4, Gaussian chain. jointly Gaussian, correlations (for ) and (for ). Find .
- Take mean and variance for all three, so .
- , , and the Markov chain gives .
- .
- Answer: , which is at most .
HW5 P1, find . Use . The problem uses , so the answers are in nats.
- (a) Exponential: and . Answer: nats.
- (b) Laplace: and . Answer: nats, one bit more than (a).
- (c) , independent Gaussians: the sum is Gaussian with variance . Answer: nats.
HW5 P3, uniform noise. , , uniform on . Find .
- bit, for every .
- lies in , so , with equality only if is uniform.
- is uniform when and (the three output intervals do not overlap).
- Answer: bits.
HW5 P2, determinants. Show .
- with and an independent coin Bernoulli(). is a mixture, not Gaussian.
- .
- has covariance , so .
- , then cancel the common terms.
3. Entropies to know
| Distribution | Density | (bits) |
|---|---|---|
| Uniform, interval of width | ||
| Gaussian, variance , any mean | ||
| Exponential, rate | , | |
| Laplace, rate | ||
| Jointly Gaussian, covariance | variables | |
| Two Gaussians, variance , correlation |
4. Rules
| Rule | Statement |
|---|---|
| Mutual information | |
| Conditional entropy | |
| Never negative | and |
| Chain rule | |
| Independence bound | , equality only if independent |
| Vectors | , invertible |
| Discrete input, continuous output | , with averaged over |
| Quantization, bins of width |
5. Maximum entropy
| Constraint | Largest | Reached by |
|---|---|---|
| Variance | Gaussian only | |
| Mean zero, covariance | only | |
| Values in an interval of width | Uniform |
Proof pattern, with the candidate and any density under the same constraint:
The middle step holds because is a constant plus a multiple of , and and have the same variance.
6. Checks and common mistakes
- can be negative (uniform of width ). and cannot.
- , but and .
- goes inside the logarithm, with the variance and not : .
- The entropy of a Gaussian does not depend on its mean.
- Nats and bits: an answer with is in nats. One nat is bits.
- A sum of independent Gaussians is Gaussian. A mixture of Gaussians is not.
- The bound must match the constraint: fixed variance gives the Gaussian, a fixed interval gives the uniform.
- gives . That is correct for continuous variables.
- Numbers: , , , , .