<p>In practice the only difference is that Boltzmann entropy deals with a thermodynamical constant $K_B$:</p>

<p>$
H = -K_B\sum_{i=1}^{N} P_i log_e\ P_i
$</p>

<p>i assume you already know that if $K_B=1$ you have Shannon entropy in a different base. 
However the conceptual backgrounds are important; probability of events (Shannon) and probability of a particle being in one of $N$ states (Boltzmann) under a thermodynamical context.</p>

<p>There is theoretical work in making the formal link between the two notions of entropy. Take a look at the work of Edwin Jaynes.</p>

<p><a href="http://en.wikipedia.org/wiki/Edwin_Jaynes">http://en.wikipedia.org/wiki/Edwin_Jaynes</a></p>

CC BY-SA 3.0
2012-09-27T19:31:35.307Z
I would be interested to know whether there could be not only a formal link but sort of a practical link, much like when mass is transformed into energy. As layman I have a little bit "speculative" thought: If in a certain empirical study I have collected data, there is yet no information for me. I get information after I apply, say, a statistical software to the data. But that software must be run on a machine, where thermodynamical processes are certainly involved. So I "guess" that the informational entropy comes somehow from the thermodynamical entropy involved there.
Mok-Kong Shen
CC BY-SA 3.0
2012-09-28T03:40:33.787Z
I cannot prove the following but i think in the case you mention, one should consider entropy on the first event when the data has been collected and contained. Even when at that point there is no practical information for a specific field, that is already information in terms of Shannon entropy. From here, there could be a natural representation of the data as particles for Boltzmann entropy.
labotsirc
CC BY-SA 3.0
2012-09-29T23:27:31.327Z
Changing the constant $K_B$ is the same thing as changing the base of the logarithm, because $\log_a x = \log_b x / \log_b a$. There is no difference between Shannon entropy and Boltzmann entropy except for a change of units.
Peter Shor 
CC BY-SA 3.0
2012-09-27T19:07:56.653Z
2012-09-27T19:07:56.653Z
labotsirc
<p>As has already been answered, Shannon entropy and Boltzman entropy are the same thing, although they are measured in different units. You also asked whether there is a practical link. It may not be practical yet, but the idea of algorithmic cooling uses the link between these two concepts, and has indeed been <a href="http://www.nature.com/nature/journal/v438/n7067/full/nature04272.html">experimentally demonstrated</a>.</p>

CC BY-SA 3.0
2012-09-29T23:45:01.493Z
2012-09-29T23:45:01.493Z
Peter Shor 
<p>I just found the following paragraphs from J. R. Pierce, An Introduction to Information Theory, p.206, which I surmise would also support the thinking that one could practically use a computer and a deterministic program to turn a string A into a string B of higher Shanon entropy:</p>

<p>"We can regard any process which specifies something concerning which state a system in in as a message source. This source generates a message which reduces our uncertainty as to what state the system is in. Such a source has a certain communication-theory entropy per message. This entropy is equal to the number of binary digits necessary to transmit a message generated by the source. It takes a particular energy per binary digit to transmit the message against a noise corresponding to the temperature T of the system."</p>

<p>"The message reduces our uncertainty as to what state the system is in, thus reducing the entropy (of statistical mechanics) of the system. The reduction of entropy increases the free energy of the system. But the increase in free energy is just equal to the minimum energy necessary to transmit the message which led to the increase of free energy, an energy proportional to the entropy of communication theory."</p>

<p>"This, I believe, is the relation between the entropy of communication theory and that of
statistical mechanics. One pays a price for information which leads to a reduction of the
statistical-mechanical entropy of a system. This price is proportional to the communication-theory entropy of the message source which procudes the information. It is always just high enough so that a perpetual motion machine of the second kind is impossible."</p>

CC BY-SA 3.0
2012-12-07T15:09:42.620Z
2012-12-07T15:09:42.620Z
Mok-Kong Shen
<p>Are Shannon entropy and Boltzmann entropy mutually convertible, much like mass and energy according to Einstein's formula? </p>

CC BY-SA 3.0
2013-01-30T11:57:32.277Z
Nothing theoretical but [here](http://en.wikipedia.org/wiki/File:Zentralfriedhof_Vienna_-_Boltzmann.JPG) is the Boltzmann formula on his grave in Vienna.
user1614113
<it.information-theory><physics><shannon-entropy>
Are Shannon entropy and Boltzmann entropy mutually convertible?
Mok-Kong Shen
# Are Shannon entropy and Boltzmann entropy mutually convertible?

(Asked by: username_0 on 2012-09-27)

Are Shannon entropy and Boltzmann entropy mutually convertible, much like mass and energy according to Einstein's formula?

**Tags:** it.information-theory, physics, shannon-entropy

> **Comments:**
> **username_1**: Nothing theoretical but [here](http://en.wikipedia.org/wiki/File:Zentralfriedhof_Vienna_-_Boltzmann.JPG) is the Boltzmann formula on his grave in Vienna.  

---

## 3 answers

### Answer by username_2 on 2012-09-27. Score: 16

In practice the only difference is that Boltzmann entropy deals with a thermodynamical constant $K\_B$:

$
H = -K\_B\sum\_{i=1}^{N} P\_i log\_e\ P\_i
$

i assume you already know that if $K\_B=1$ you have Shannon entropy in a different base.
However the conceptual backgrounds are important; probability of events (Shannon) and probability of a particle being in one of $N$ states (Boltzmann) under a thermodynamical context.

There is theoretical work in making the formal link between the two notions of entropy. Take a look at the work of Edwin Jaynes.

<http://en.wikipedia.org/wiki/Edwin_Jaynes>

> **Comments:**
> **username_0**: I would be interested to know whether there could be not only a formal link but sort of a practical link, much like when mass is transformed into energy. As layman I have a little bit "speculative" thought: If in a certain empirical study I have collected data, there is yet no information for me. I get information after I apply, say, a statistical software to the data. But that software must be run on a machine, where thermodynamical processes are certainly involved. So I "guess" that the informational entropy comes somehow from the thermodynamical entropy involved there.  
> **username_2**: I cannot prove the following but i think in the case you mention, one should consider entropy on the first event when the data has been collected and contained. Even when at that point there is no practical information for a specific field, that is already information in terms of Shannon entropy. From here, there could be a natural representation of the data as particles for Boltzmann entropy.  
> **username_3**: Changing the constant $K_B$ is the same thing as changing the base of the logarithm, because $\log_a x = \log_b x / \log_b a$. There is no difference between Shannon entropy and Boltzmann entropy except for a change of units.  

---

### Answer by username_3 on 2012-09-29. Score: 13

As has already been answered, Shannon entropy and Boltzman entropy are the same thing, although they are measured in different units. You also asked whether there is a practical link. It may not be practical yet, but the idea of algorithmic cooling uses the link between these two concepts, and has indeed been [experimentally demonstrated](http://www.nature.com/nature/journal/v438/n7067/full/nature04272.html).


---

### Answer by username_0 on 2012-12-07. Score: 2

I just found the following paragraphs from J. R. Pierce, An Introduction to Information Theory, p.206, which I surmise would also support the thinking that one could practically use a computer and a deterministic program to turn a string A into a string B of higher Shanon entropy:

"We can regard any process which specifies something concerning which state a system in in as a message source. This source generates a message which reduces our uncertainty as to what state the system is in. Such a source has a certain communication-theory entropy per message. This entropy is equal to the number of binary digits necessary to transmit a message generated by the source. It takes a particular energy per binary digit to transmit the message against a noise corresponding to the temperature T of the system."

"The message reduces our uncertainty as to what state the system is in, thus reducing the entropy (of statistical mechanics) of the system. The reduction of entropy increases the free energy of the system. But the increase in free energy is just equal to the minimum energy necessary to transmit the message which led to the increase of free energy, an energy proportional to the entropy of communication theory."

"This, I believe, is the relation between the entropy of communication theory and that of
statistical mechanics. One pays a price for information which leads to a reduction of the
statistical-mechanical entropy of a system. This price is proportional to the communication-theory entropy of the message source which procudes the information. It is always just high enough so that a perpetual motion machine of the second kind is impossible."


---

