Article 5Y4NA Logarithms yearning to be free

Logarithms yearning to be free

by
John
from John D. Cook on (#5Y4NA)

I got an evaluation copy of The Best Writing on Mathematics 2021 yesterday. One article jumped out as I was skimming the table of contents: A Zeroth Power Is Often a Logarithm Yearning to Be Free by Sanjoy Mahajan. Great title.

There are quite a few theorems involving powers that have an exceptional case that involves a logarithm. The author opens with the example of finding the antiderivative of xn. When n -1 the antiderivative is another power function, but when n = -1 it's a logarithm.

Another example that the author mentions is that the limit of power means as the power goes to 0 is the geometric mean. i.e. the exponential of the mean of the logarithms of the arguments.

I tried to think of other examples where this pattern pops up, and I thought of a couple related to entropy.

q-logarithm entropy

The definition of q-logarithm entropy takes Mahajan's idea and runs it backward, turning a logarithm into a power. As I wrote about here,

The natural logarithm is given by

lndef.svg

and we can generalize this to the q-logarithm by defining

lnqdef.svg

And so ln1 = ln.

Then q-logarithm entropy is just Shannon entropy with natural logarithm replaced by q-logarithm.

Renyi entropy

Quoting from this post,

If a discrete random variable X has n possible values, where the ith outcome has probability pi, then the Renyi entropy of order is defined to be

renyi_discrete.svg

for 0 . In the case = 1 or this expression means the limit as approaches 1 or respectively.

...

When = 1 we get the more familiar Shannon entropy:

renyi_shannon.svg

In this case there's already a logarithm in the definition, but it moves inside the parentheses in the limit.

And if you rewrite

p

as

p p-1

then as the exponent in p-1 goes to zero, we have a logarithm yearning to be free.

The post Logarithms yearning to be free first appeared on John D. Cook.
External Content
Source RSS or Atom Feed
Feed Location http://feeds.feedburner.com/TheEndeavour?format=xml
Feed Title John D. Cook
Feed Link https://www.johndcook.com/blog
Reply 0 comments