Prove that if X can take on any of n possible values with respective probabilities P1, ... ,Pn, then H(X) is maximized when Pi = 1/n, i = 1, ... , n. What is H(X) equal to in this case?

Short Answer

Expert verified

The required statement is proved in below step.

Step by step solution

01

Given Information

We have to find H(X)and prove the given statement.

02

Simplify

Considering the problem of maximization

H(p1,...,pn)=-i=1npilog2pi

with condition i=1npi=1.

Considering the Langrangian function

L(p1,...pn,λ)=-i=1npilog2pi-λPii=1n-1

With differentiation, we will get the system of equations

localid="1648209529913" pi=-log2Pi+1log2-λ=0,i=1,...,nλ=pii=1n-1=0

If we look at the first equality a little bit better, we have that

log2p1+1log2=-λ=log2pj+1log2

for every i,j.it implies that pi=pjfor every iand j. Hence, putting these information in the last equality, we have

np1-1=0p1=1n

which implies pi=1n.

Hence, we have proved the statement.

Unlock Step-by-Step Solutions & Ace Your Exams!

  • Full Textbook Solutions

    Get detailed explanations and key concepts

  • Unlimited Al creation

    Al flashcards, explanations, exams and more...

  • Ads-free access

    To over 500 millions flashcards

  • Money-back guarantee

    We refund you if you fail your exam.

Over 30 million students worldwide already upgrade their learning with Vaia!

One App. One Place for Learning.

All the tools & learning materials you need for study success - in one app.

Get started for free

Most popular questions from this chapter

See all solutions

Recommended explanations on Math Textbooks

View all explanations

What do you think about this solution?

We value your feedback to improve our textbook solutions.

Study anywhere. Anytime. Across all devices.

Sign-up for free