🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: de.sci.mathematik
Article #12

Re: entropy

#12
From: Daniel Luecking
Date: Wed, 13 Oct 1999 00:00
28 lines
1844 bytes
"Simon" <s.salm@cable.a2000.nl> writes:

>To all

>X is a discrete random variable that takes on one of the values x1, x2,
>..... , xn, with respective probabilities p1, p2, .... ,pn.

>The entropy of X is defined as:  H(X) = -Sum{pi*log(pi)} in which log means
>log with base 2 and Sum means summation over all i.

>Please, could someone explain to me why H(X) is maximized when all of the pi
>are equal??
>(It is quite easy to prove when n=2)(But what to do when n>2???)

Are you familiar with the method of Lagrange multipliers? Roughly
speaking it says that if H(p1,p2,..pn) has a maximum on the (hyper)surface
F(p1,p2,...pn)=0 then at that point the gradients of G and F are linerly
dependent.

Applying this with the entropy H (considered a function of p1,...,pn)
and F(p1,...pn) being p1 + p2 + ... +pn -1, we get
grad H = (log(p1) - 1 ,...,log(pn) - 1) = k*grad F = (k,k,...,k).
at the maximum.

--
Dan Luecking                           Dept. of Mathematical Sciences     
luecking@comp.uark.edu                 University of Arkansas      
http://comp.uark.edu/~luecking/        Fayetteville, AR 72101
Technical Details
Message-ID: <7u2c6k$c03@picayune.uark.edu>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <7u0bf5$4k3$1@tesla.a2000.nl>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10d29f,a1b4de0cf05f260e
X-Google-Attributes: gid10d29f,public
X-Google-Thread: 1032cb,a1b4de0cf05f260e
X-Google-Attributes: gid1032cb,public
X-Google-Thread: 10d67e,a1b4de0cf05f260e
X-Google-Attributes: gid10d67e,public
From: luecking@comp.uark.edu (Daniel Luecking)
Subject: Re: entropy
Date: 1999/10/13
Message-ID: <7u2c6k$c03@picayune.uark.edu>
X-Deja-AN: 536306874
Approved: Daniel Grayson, dan@math.uiuc.edu, moderator for sci.math.research
References: <7u0bf5$4k3$1@tesla.a2000.nl>
Organization: The University of Arkansas
Newsgroups: de.sci.mathematik,aus.mathematics,sci.math.research
Originator: dan@orion.math.uiuc.edu