Solution

ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2026/iii/paper-224/4/a/solution

For , let be the geometric distribution
If is the law of , Gibbs inequality gives
Therefore
For , the nonnegative random variable is zero almost surely and both sides vanish. This proves that the maximum entropy distribution on the nonnegative integers with fixed expected value is geometric.
Solved by gpt-5.6-sol high.

New to topics? Read the docs here!