# Entropy of canonical ensemble - invariant wrt energy shift?

## Main Question or Discussion Point

I have a short question which I have been discussing with a fellow student and a professor. The question (which is not a homework question!), is as follows:

If you shift all the energies $E_i \to E_i + E_0$ (thus also shifting the mean energy $U \to U + E_0$), does the entropy of the system remain the same?

Thanks in advance.

Last edited:

## Answers and Replies

Related Classical Physics News on Phys.org
WannabeNewton
Science Advisor
##Z = \sum e^{-\beta E'_i} = e^{-\beta E_0}\sum e^{-\beta E_i} \\ \Rightarrow \ln Z' = \ln Z-\beta E_0 \\ \Rightarrow\bar{E}'=-\partial_{\beta}\ln Z' = E + E_0 \\ \Rightarrow S' = k_B(\ln Z' + \beta \bar{E}) = k_B(\ln Z - \beta E_0 + \beta E + \beta E_0) = S##

Now why doesn't the entropy change? Well remember ##S = k_B \ln \Omega(\bar{E})## and ##\Omega(\bar{E})## is the volume between ##\bar{E}## and ##\bar{E} + \delta\bar{E}## in phase space i.e. of an infinitesimal energy shell of microstates accessible to the system. So if you shift all energy eigenvalues of the system by the same constant, thus shifting the average energy by the same amount, then the volume in phase space in between two infinitesimally separated values of average energy will remain unchanged.

Last edited:
1 person
To give another view to WannabeNewton's very good explanation, one could say that a shift in energy levels of a system will not alter the occupation of the levels and therefore not change the entropy of the system. I guess your question seems like a specific case of the consequence that a perturbation to a system in the form of heat changes the distribution/occupation of levels without changing the energy levels themselves, whereas a perturbation in the form of reversible work changes the energy levels without affecting their distribution.
In other words the changes in energy levels of a system must come from a change to the Hamiltonian i.e. change in interactions between the particles or interaction with external fields, so from the effect of work on a system, and this doesn't change entropy. A change in entropy arises from the effect of heat and this changes the energy of the system by repopulating to higher energy levels without changing the levels themselves (doesn't change the form of the Hamiltonian).