# Durston: Functional Information

**URL:** <https://discourse.peacefulscience.org/t/durston-functional-information/1822>\
**Category:** Office Hours\
**Tags:** Design\
**Created:** [September 25, 2018, 3:54pm UTC](https://discourse.peacefulscience.org/t/durston-functional-information/1822 "2018-09-25T15:54:54Z")\
**Posts on this page:** 1\
**Showing post:** 33

<div class="post-metadata">

**Author:** ![swamidass](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.peacefulscience.org/swamidass/32/3_2.png) [@swamidass](https://discourse.peacefulscience.org/u/swamidass)\
**Post date:** [October 11, 2018, 1:54am UTC](https://discourse.peacefulscience.org/t/durston-functional-information/1822/33 "2018-10-11T01:54:55Z")

</div>

> [@swamidass](#):
>
> The wikipedia page you reference does _ **NOT** _ define KL as the difference in entropy between to probability distributions. Why would you keep saying that when you can just look at the page and see that it is defined differently? It is defined, just as I explained before.

@kirk is it possible that you are mistaking this:

KL(p || q) = \sum\_{x \in X} -p(x) \log {q(x)} \, - \, \sum\_{x \in X} -p(x) \log {p(x)}

for this?

\Delta H =\sum\_{x \in X} -q(x) \log {q(x)} \, - \, \sum\_{x \in X} -p(x) \log {p(x)}

Notice the switch from p to q in the first term. KL looks a lot like a delta H, but it most definitively is not. The first summation in KL is **not** H ( p) or H ( q), because it includes both q and p. The second summation, however, is H(p).

* * *

Just to catch everyone up, if q is MaxEnt (the base state that @kirk is using), then in this case KL = delta H. If q is not MaxEnt, this is not the case. If q is MaxEnt, then for all p:

H(q) =\sum\_{x \in X} -q(x) \log {q(x)} = \sum\_{x \in X} -p(x) \log {q(x)} = \log {N}

Here, N is the number of possible states. In this case it doesn’t matter that p is not q. Usually, however, it matters a great deal. If q is NOT MaxEnt, this not longer is true.

---

_[View the full topic](https://discourse.peacefulscience.org/t/durston-functional-information/1822)._
