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

ToolFormulaUse it when
Additive noise with independent of
Gaussian is largest, equality only if GaussianBounding the output term
Variances add if independentFinding
Variance of a multipleA stage that amplifies,
Sum of GaussiansIndependent Gaussians add to a GaussianShowing the bound is reached
Scaling, A scaled or shifted variable
Scaling and Dropping a constant gain
Gaussian pairJointly Gaussian, correlation
Gaussian Markov chain gives Several Gaussian stages in a row
ConditioningDropping 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 .

  1. Take mean and variance for all three, so .
  2. , , and the Markov chain gives .
  3. .
  4. 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 .

  1. bit, for every .
  2. lies in , so , with equality only if is uniform.
  3. is uniform when and (the three output intervals do not overlap).
  4. Answer: bits.

HW5 P2, determinants. Show .

  1. with and an independent coin Bernoulli(). is a mixture, not Gaussian.
  2. .
  3. has covariance , so .
  4. , then cancel the common terms.

3. Entropies to know

DistributionDensity (bits)
Uniform, interval of width
Gaussian, variance , any mean
Exponential, rate ,
Laplace, rate
Jointly Gaussian, covariance variables
Two Gaussians, variance , correlation

4. Rules

RuleStatement
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

ConstraintLargest 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: , , , , .