# Why do the first and second laws of thermodynamics not contradict each other?

We're learning about entropy right now in general chemistry, and I'm trying to understand something.

From the fact that entropy can be directly compared with enthalpy, free energy, electromotive force, etc., and its being measured in units of $$\pu{J//mol*K}$$ – including joules, the units of energy – it would seem that entropy is some form of energy. By the first law of thermodynamics, then, entropy can't be created nor destroyed, only transformed and transferred. From Gibbs' equation we see that entropy is being transformed out of the molecular potential energy, and from Clausius' equations we see that entropy can be transferred between a system and its surroundings, with $$\Delta S_\mathrm{system}=-\Delta S_\mathrm{surroundings}$$. Since $$\Delta S_\mathrm{universe}=\Delta S_\mathrm{system}+\Delta S_\mathrm{surroundings}$$, it follows that $$\Delta S_\mathrm{universe}=0$$ – as one would expect from the first law.

Yet the second law of thermodynamics states that $$\Delta S_\mathrm{universe}>0$$.

1. If entropy is a form of energy, then how can universal entropy tend to increase?
2. If entropy is not a form of energy, then how can it be compared with actual forms of energy and measured in energy units?
• Whoever downvoted and voted to close as unclear: which part is unclear that you'd like me to clarify? May 11, 2020 at 20:28
• Entropy is not energy. Entropy times temperature has energy units. Entropy can be regarded as a statistical property of thermodynamic systems. Although such a definition is not necessary to apply the concept, it is difficult otherwise to grasp what entropy represents. It is a measure of the number of ways you can configure a system of fixed volume, energy and composition. May 11, 2020 at 21:18
• @Buck Okay, so that’s where my confusion lies. Maybe you can flesh that out into a fuller answer? May 11, 2020 at 23:06
• Just because the units match up doesn't mean it's the same quantity, it just means it is measured in the same units. May 12, 2020 at 6:38
• To those who voted to close as homework question: This is very clearly not a homework question, and I've shown my effort to understand the underlying principles. To those who voted to close as unclear: once again, what is unclear that you'd like me to clarify? May 12, 2020 at 15:36

It is something of a historical accident that entropy has units of J/K. It came out of the fact that the connection between heat, temperature, and energy was not obvious to early scientists, and so they effectively picked different units for measuring temperature and for measuring energy.

In the more modern statistical interpretation of entropy, the entropy of a system is simply a number. Specifically, if the number of microstates associated with a given macrostate is $$\Omega$$, then $$S = k \ln \Omega$$. The number of microstates ($$\Omega$$) is just a number, without any units, and therefore so is $$\ln \Omega$$. You can see that we actually have to insert Boltzmann's constant, with its units of J/K, to make the units "come out right".

Arguably, a more natural way to define entropy would be to just make it it a dimensionless quantity: $$S = \ln \Omega$$, without the factor of $$k$$.1 This would be equivalent to measuring temperature in units where $$k$$ is equal to 1 exactly, rather than defining our unit of temperature such that $$k= 1.380649 \times 10^{-23}$$ J/K exactly. If we did this, we'd be effectively measuring temperature in units of energy as well; for example, in an ideal monatomic gas with a "temperature of 1 J", the average KE of each molecule would be $$\frac{3}{2}$$ J. Quantities such as Helmholtz free energy would still have units of energy, since we'd still define $$F = U - TS$$, with $$T$$ having units of energy and $$S$$ being dimensionless.

Of course, in this parallel universe where entropy is defined as a dimensionless number, another gen. chem. student would be asking why temperature is not the same thing as energy, even though they're measured in the same units. But that's another question and another answer.

1 In fact, entropy is defined exactly this way in information theory, since there's not really a notion of energy (or temperature) to speak of in such contexts.

• "Here's Boltzmann's equation, but you don't need to know it" – my chemistry professor, when she just briefly discussed it in class. No, ma'am, skipping over that is much of what led to my confusion. Seems like it would be more intuitive if $k$ were separated from $S$, defining it the same way in chemistry as it is in information theory, and with Gibbs' equation being rewritten as $G=H-kTS$, thus leaving $S$ dimensionless as it seemingly should be. May 12, 2020 at 15:44
• "RMS speed of each molecule would be $\frac32$ J" — this doesn't make sense. Joule is mass times velocity squared, while RMS speed has the units of velocity. They can't be equal even if we somehow take mass as dimensionless. May 12, 2020 at 18:34
• @Ruslan: You're quite right; I should have said "average energy". Corrected. May 12, 2020 at 18:48
• "It is something of a historical accident that entropy has units of J/K. It came out of the fact that the connection between heat, temperature, and energy was not obvious to early scientists." I don't believe that's giving those who developed the foundations of thermodynamics enough credit. I would say entropy historically had those units precisely because they did understand the relationship between heat flow, temperature, and entropy change: $dS = \frac{\text{đ}q_{rev}}{T}$ => $\text{absolute entropy at } T' \equiv S(T') =\Delta S_{0 \rightarrow T'}= \int_{0}^{T'}\frac{\text{đ}q_{rev}}{T}$ May 14, 2020 at 4:59
• I'll add that the framework that represents entropy as dimensionless isn't a better framework, it's simply a different one. Your choice of which to use is based on which you find more convenient and meaningful for the specific type of problem you're trying to solve. E.T. Janynes may have argued otherwise, but there are those on both sides of this. May 14, 2020 at 5:12

Incorrect assumptions

[OP] we see that entropy can be transferred between a system and its surroundings, with $$\Delta S_\mathrm{system}=-\Delta S_\mathrm{surroundings}$$

This equation is usually not correct, except when you have a reversible process (an ideal situation where something happens even though everything is at equilibrium). For an equilibrium, you are right: The entropy does not increase.

[OP] If entropy is a form of energy, then how can universal entropy tend to increase?

Entropy is not a form of energy. It does not even have the same dimensions. Also, there are forms of energy that increase without breaking the first law. You could have a space heater turning electrical energy into thermal energy. The first law can't be applied separately to electrical energy ("the electrical energy in the universe is constant" is not true).

[OP] If entropy is not a form of energy, then how can it be compared with actual forms of energy and measured in energy units?

It is not measured in energy units. The term $$T \Delta S$$ is measured in energy units. Consider speed vs time and speed vs distance. They share units, but that does not mean speed is the same thing as time, or as distance. And laws about distances or time do not automatically apply to speed.

Simple counter example

If two bodies of different temperature are brought into thermal contact, they will reach thermal equilibrium (same temperature). The thermal energy lost by the hotter body is equal to the thermal energy gained by the colder body (first law). The entropy lost by the hotter body is less than the entropy gained by the colder body (entropy increases, second law).

Lots of quantities have the same dimensions as energy (work, heat), and there are a lot of forms of energy. The first law does not apply to any of those, just to all energy combined. So applying the first law directly to entropy does not make any sense, and entropy is not a form of energy.

Entropy is not energy. Entropy times temperature has energy units. Entropy can be regarded as a statistical property of thermodynamic systems. Although such a definition is not necessary to apply the concept, it is difficult otherwise to grasp what entropy represents. It is a measure of the number of ways you can configure a system of fixed volume, energy and composition.

It is worth repeating: entropy is a statistical property. So why can you transform it into a property with energy units through simple multiplication with temperature? Temperature is a measure of the ease with which new confígurations become available through an increase in energy, or rather the inverse temperature is:

$$\left(\frac{\partial S}{\partial U} \right)_V=\frac{1}{T}$$

At low T it takes just a bit of energy to expand the number of possible configurations of the system (logarithmically scaled). On the other hand, when a system is "hot" you have to add a lot of additional energy in order to significantly expand the number of available configurations (on a logarithmic scale). Borrowing the definition $$S \propto \log W$$ provided by another answer we can rewrite this last equation as

$$\frac{1}{W} \left(\frac{\partial W}{\partial U} \right)_V\propto\frac{1}{T}$$

to emphasize that $$T^{-1}$$ measures the relative scale of the change, that is, the rate of change of the logarithm of the number of configurations.