Sign up ×
Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

Let $x_1,x_2,\dots,x_n$ by random variables which take the values $0$ or $1$ with $P(x_i = 1) = p_i$ and $P(x_i = 0) = 1-p_i$, where $0 \leq p_i \leq 1$ for $i=1,2,\dots, n$. Let $$X= \sum_{i=1}^n x_i.$$

Is it true that the entropy of $X$ is maximal when $p_i = 1/2$ for $i=1,2,\dots, n$?

share|cite|improve this question
True but not very easy… –  leonbloy Jan 6 '14 at 17:32
@leonbloy Thanks for the reference. I will leave the question open in case anyone has a nice way of explaining it an answer here. –  user115998 Jan 6 '14 at 21:05

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.