entropy, entropy change, dS = dQ/T, entropy of an ideal gas, disorder
14 min read
Entropy
EntropyS is a state function that measures the disorder of a system, in joules per kelvin. Its true definition, S=kln(number of accessible microscopic states), is not used in this course. What is used is the rule for how it changes. When a system absorbs a small amount of heat dQ at absolute temperature T in a reversible process, its entropy changes by dS=TdQ,ΔS=∫12TdQ(reversible path).
Heat in raises the entropy and heat out lowers it, and the same heat changes the entropy more at low temperature than at high. Because S is a state function, ΔS between two states is the same for every path, reversible or not. To find it for an irreversible process, integrate dQ/T along any reversible path with the same endpoints. Three cases cover most problems. A reservoir at fixed T that absorbs heat Q changes by ΔS=Q/T. A body of mass m and specific heat c warmed from T1 to T2 changes by ΔS=mcln(T2/T1). A mass m that melts or boils at its transition temperature T absorbs mL at that fixed T. Its entropy changes by ΔS=mL/T, negative when it freezes or condenses.
For an ideal gas with d accessible degrees of freedom the integral can be done in general, and the result is ΔS=2dNklnT1T2+NklnV1V2=2dNkln[T1T2(V1V2)γ−1],
using 2/d=γ−1. In terms of pressure and volume, with T=PV/Nk, ΔS=2dNklnP1P2+(2d+1)NklnV1V2=2dNkln[P1P2(V1V2)γ].
On an adiabatTVγ−1 is constant, the bracket is 1, and ΔS=0: a reversible adiabatic process is isentropic. On an isothermΔS=Nkln(V2/V1). At constant pressure ΔS=(2d+1)Nkln(V2/V1). At constant volume ΔS=2dNkln(T2/T1)=2dNkln(P2/P1). The second law says the total entropy of a system and its surroundings never decreases.
Intuition
Put heat into a gas and its molecules move faster, spread over more speeds, and reach more arrangements. The gas is more disordered, and dQ in the numerator says so. The T in the denominator is less obvious. It says that the same joule of heat disorders a cold system more than a hot one. A cold gas has its molecules in a narrow band of low speeds, and a joule spread among them opens up many new possibilities. A hot gas already has its molecules spread widely, and one more joule barely changes the picture. The factor 1/T is exactly what makes ∫dQ/T come out the same along every reversible path between two states, which is what a state function needs. The diagram shows why the ideal gas formula has two terms: heating raises the entropy, and so does expanding, and the two effects add.
\usepackage{tikz}\begin{document}\definecolor{hot}{HTML}{D9483B}\definecolor{cold}{HTML}{2F80ED}\begin{tikzpicture}[x=1cm,y=1cm,>=latex]\draw[thick] (0,0) rectangle (2.4,2.4);\foreach \p in {(0.5,0.6),(1.1,1.7),(1.8,0.9),(0.7,1.9),(1.6,1.9),(1.9,0.3)} { \fill[cold] \p circle (0.08); }\node[below] at (1.2,-0.1) {cold, small $V$};\draw[->,thick] (2.7,1.2) -- (3.7,1.2) node[midway,above] {heat};\draw[thick] (4.0,0) rectangle (6.4,2.4);\foreach \p/\a in {(4.5,0.6)/40,(5.1,1.7)/200,(5.8,0.9)/300,(4.7,1.9)/120,(5.6,1.9)/250,(5.9,0.3)/80} { \fill[hot] \p circle (0.08); \draw[->,hot,thick] \p -- +(\a:0.45); }\node[below] at (5.2,-0.1) {hot, small $V$};\draw[->,thick] (6.7,1.2) -- (7.7,1.2) node[midway,above] {expand};\draw[thick] (8.0,-0.6) rectangle (11.6,3.0);\foreach \p/\a in {(8.6,0.2)/40,(9.4,2.4)/200,(10.9,1.0)/300,(8.8,2.0)/120,(10.4,2.6)/250,(11.0,-0.2)/80} { \fill[hot] \p circle (0.08); \draw[->,hot,thick] \p -- +(\a:0.45); }\node[below] at (9.8,-0.7) {hot, large $V$};\node at (5.8,3.7) {$\Delta S = \frac{d}{2} Nk \ln(T_2/T_1) + Nk \ln(V_2/V_1)$: more speeds, then more places};\end{tikzpicture}\end{document}
The microscopic definition counts states, and a state lists the position and velocity of every molecule. Entropy measures how much of that list stays unknown once P, V, T, and N are fixed. The two terms of the ideal gas formula match the two halves of a state. The Nkln(V2/V1) term counts positions. A larger volume gives each molecule more places to be. The 2dNkln(T2/T1) term counts velocities. A hotter gas has a wider Maxwell distribution, so each molecule’s speed is harder to predict. The factor d/2 counts the ways a molecule stores energy, as in equipartition. A diatomic molecule also stores energy in rotation, so its T term is larger. The direction of travel never contributes to a change in entropy. In equilibrium every direction is equally likely at any temperature and volume. That part of the uncertainty is always at its maximum.
Not Taught in Lecture
Lecture defined a state as the position and velocity of every particle. It did not match the two terms of the formula to positions and velocities. The paragraph above is standard statistical-mechanics reasoning.
Properties
(A State Function) The entropy change between two states is the same for every process that connects them.
The ideal gas formula proves it for one system: the result contains only the endpoint values of T and V and nothing about the path. The property holds in general and is the reason entropy is useful. Heat and work are process quantities that need a path to be defined. Entropy, like internal energy, is a property of the state. A gas returned to its starting point has ΔS=0, whatever it went through on the way. Around a cycle the changes on the legs add to zero, ∮dS=∑legsΔSi=0.
In the Carnot cycle the adiabats add nothing. The isotherms add Nkln(VC/VB) and Nkln(VA/VD), which cancel because VC/VB=VD/VA.
(Irreversible Paths Use a Reversible Stand-In)∫dQ/T along an irreversible path does not give ΔS, but any reversible path between the same states does.
Pouring hot water into cold water in an insulated container is irreversible. The mixture never separates again into a hot part and a cold part. Its entropy change can still be found, because entropy depends only on the initial and final states. Replace the mixing by reversible steps with the same endpoints. Cool the hot water slowly to the final temperature Tf, for example on ice. Warm the cold water slowly to Tf, for example over a burner. Then pour the two together. Water poured into water at the same temperature can be separated again, so this last step is reversible too. Each step can be run backward, so dS=dQ/T holds on each. Their sum is the ΔS of the real mixing.
\usepackage{tikz}\begin{document}\definecolor{hot}{HTML}{D9483B}\definecolor{cold}{HTML}{2F80ED}\definecolor{mid}{HTML}{8A8A8A}\begin{tikzpicture}[x=1cm,y=1cm,>=latex]\foreach \x/\c/\y in {0/hot/1.5, 1.5/cold/1.5, 4.0/mid/-1.2, 5.5/mid/-1.2} {\begin{scope}\clip (\x+0.05,\y+0.05) rectangle (\x+0.85,\y+0.8);\foreach \i in {-1.0,-0.8,...,1.0} \draw[\c,thin] (\x+\i,\y) -- ++(0.9,0.9);\end{scope}\draw[thick] (\x,\y+1.1) -- (\x,\y) -- (\x+0.9,\y) -- (\x+0.9,\y+1.1);\draw[\c,thick] (\x,\y+0.8) -- (\x+0.9,\y+0.8);}\node[below] at (0.45,1.45) {$m_H$, $T_H$};\node[below] at (1.95,1.45) {$m_C$, $T_C$};\foreach \x in {4.0,4.3,4.6} \draw[cold,thick] (\x,-1.55) rectangle (\x+0.28,-1.27);\node[left] at (3.95,-1.41) {on ice};\fill[hot] (5.75,-1.6) -- (5.95,-1.25) -- (6.15,-1.6) -- cycle;\node[right] at (6.2,-1.42) {over a burner};\node at (4.45,-0.15) {$T_f$};\node at (5.95,-0.15) {$T_f$};\begin{scope}\clip (8.25,1.55) rectangle (9.75,2.3);\foreach \i in {-1.0,-0.8,...,1.6} \draw[mid,thin] (8.2+\i,1.5) -- ++(0.9,0.9);\end{scope}\draw[thick] (8.2,2.6) -- (8.2,1.5) -- (9.8,1.5) -- (9.8,2.6);\draw[mid,thick] (8.2,2.3) -- (9.8,2.3);\node[below] at (9.0,1.45) {$T_f$};\draw[->,very thick] (2.7,2.2) -- (7.9,2.2) node[midway,above] {pour together: irreversible};\draw[->,very thick] (1.3,0.8) -- (3.7,-0.4) node[midway,below left] {reversible};\draw[->,very thick] (6.7,-0.4) -- (8.6,1.0) node[midway,below right] {pour: reversible};\end{tikzpicture}\end{document}
The diagram shows both routes. The top arrow is the real process. The lower route is the reversible stand-in, and it has the same endpoints, so it has the same ΔS. The stand-in is reversible, yet the water’s entropy still changes. Its heat comes from and goes to the surroundings, and the entropy statement counts their entropy too. The rule is to identify the initial and final states, forget the actual process, and integrate along a convenient reversible route.
(Temperature Sets the Exchange Rate) Heat leaving a hot body lowers its entropy by less than the same heat raises the entropy of a cold body.
When Q flows from TH to TL, the hot body loses Q/TH and the cold body gains Q/TL, and since TL<TH the gain is larger. The total entropy rises by Q(1/TL−1/TH)>0. This is the Clausius statement of the second law in entropy form. Heat flow from hot to cold raises total entropy, and the reverse would lower it.
(Units and Size) Entropy is measured in J/K, and everyday changes are of order 1 to 103J/K.
Melting a kilogram of ice adds 1.2kJ/K. Doubling the volume of a mole of gas adds Rln2=5.8J/K. Passing 1kJ from 500K to 300K creates 1.3J/K. In the microscopic definition S=klnΩ, a change of 1J/K corresponds to the number of accessible states growing by a factor of e7×1022. The macroscopic numbers are modest because k is tiny, and the microscopic numbers are astronomical for the same reason.
Derivation
We want the entropy change of an ideal gas between (T1,V1) and (T2,V2). Choose a reversible path and write the first law for a small step, dQ=dEint+PdV. Then dS=TdQ=TdEint+TPdV.
Multiplied by T, this reads dEint=TdS−PdV.
Every term is a state function or its change. So the relation holds for any small change between equilibrium states.
For an ideal gas dEint=2dNkdT and P/T=Nk/V from the gas law, so dS=2dNkTdT+NkVdV.
Each term is a logarithmic derivative, and each depends on one variable only, so the integral separates, ΔS=2dNk∫T1T2TdT+Nk∫V1V2VdV=2dNklnT1T2+NklnV1V2,
the headline result. Factoring out 2dNk and using 2/d=γ−1 turns the sum of logarithms into the logarithm of (T2/T1)(V2/V1)γ−1. The path never had to be specified beyond being reversible, which shows that the result depends only on the endpoints. Replacing T by PV/Nk gives the pressure-volume form.
Examples
(Easy) Melting Ice
One kilogram of ice at 0∘C melts into water at 0∘C.
Find the entropy change of the ice. 273K throughout, so T comes out of the integral and the heat is the latent heat,
ΔS=TQ=TmLF=273(1.00)(333×103)=1.22×103J/K.
The water is more disordered than the ice, and ΔS is positive. If the heat came from a room at 20∘C, the room lost 333×103/293=1.14×103J/K, and the total rose by 83J/K.
The temperature stays at
(Medium) Isothermal Expansion of a Gas
One mole of an ideal gas expands isothermally from V to 2V.
\usepackage{tikz}\begin{document}\definecolor{hot}{HTML}{D9483B}\definecolor{grn}{HTML}{2F9E44}\begin{tikzpicture}[x=1cm,y=1cm,>=latex]\draw[hot,very thick] (-0.6,-0.9) rectangle (3.6,-0.1);\node at (1.5,-0.5) {reservoir at $T$};\draw[very thick] (0,3.2) -- (0,0) -- (3,0) -- (3,3.2);\draw[thick,dashed] (0.05,1.3) -- (2.95,1.3);\node[right] at (3.1,1.3) {$V$};\draw[very thick] (0.05,2.6) rectangle (2.95,2.85);\node[right] at (3.1,2.7) {$2V$};\node at (1.5,1.95) {1 mol, $T$};\draw[->,very thick,hot] (1.5,-0.05) -- (1.5,0.7) node[midway,right] {$Q$};\draw[->,very thick,grn] (1.5,2.9) -- (1.5,3.6) node[right] {piston rises slowly};\end{tikzpicture}\end{document}
Find the entropy change of the gas, and of the reservoir that kept it at temperature T.
The temperature term vanishes and the volume term remains,
ΔSgas=nRlnV1V2=(8.314)ln2=5.76J/K.
The reservoir supplied the heat Q=nRTln2 at temperature T, so its entropy fell by Q/T=nRln2=5.76J/K. The total is zero, as it must be for a reversible process. The answer for the gas does not depend on T: doubling the volume adds Rln2 per mole whatever the temperature.
Not Taught in Lecture
Lecture did not cover free expansion into a vacuum. This example follows Giancoli section 20.6, and it uses the stand-in method that lecture did teach.
(Hard) Free Expansion
The same mole of gas is instead held at V in one half of an insulated container, and the partition is removed so it fills 2V.
\usepackage{tikz}\begin{document}\definecolor{hot}{HTML}{D9483B}\definecolor{mid}{HTML}{8A8A8A}\begin{tikzpicture}[x=1cm,y=1cm,>=latex]\begin{scope}\clip (-0.3,-0.3) rectangle (6.3,2.3);\foreach \i in {-3,-2.8,...,6.4} \draw[mid] (\i,-0.3) -- ++(2.6,2.6);\end{scope}\draw[thick,fill=white] (0,0) rectangle (6,2);\draw[thick] (-0.3,-0.3) rectangle (6.3,2.3);\draw[very thick] (3,0) -- (3,2);\foreach \p in {(0.4,0.4),(1.2,1.65),(2.6,0.3),(0.5,1.7),(2.2,1.65),(2.75,1.2),(1.6,0.35),(0.3,1.05)} \fill[hot] \p circle (0.07);\node[fill=white,inner sep=1.5pt] at (1.5,1.0) {gas, $V$, $T$};\node at (4.5,1.0) {vacuum, $V$};\node[above] at (3,2.3) {partition, removed at $t = 0$};\node[below] at (3,-0.3) {insulated walls};\end{tikzpicture}\end{document}
Find the entropy change of the gas and of the universe. ΔEint=0 and the temperature is unchanged. The final state is the same as in the previous example, 2V at temperature T, and entropy is a state function, so
ΔSgas=nRln2=5.76J/K,
even though ∫dQ/T along the actual path is zero. Nothing else changed, so the surroundings have ΔS=0 and the universe gained 5.76J/K. The process is irreversible: the gas will not return to one half of the box on its own. Compared with the reversible isothermal expansion, the free expansion produced the same ΔSgas but wasted the nRTln2 of work that the slow expansion would have delivered.
No heat flows and no work is done, so
(Hard) Mixing Hot and Cold Water
An insulated container holds 1.00kg of water at 80∘C and 2.00kg of water at 20∘C, separated by a partition. The partition is removed, and the water mixes until it reaches one temperature. Take c=4186J/(kg⋅K).
Find the final temperature, the entropy change of each part, and the total. calorimetry gives the final temperature,
mHc(Tf−TH)+mCc(Tf−TC)=0⇒Tf=mH+mCmHTH+mCTC=40∘C=313K.
The mixing is irreversible, so use the reversible stand-in from the properties. First cool the hot water slowly from TH=353K to Tf. Each small step has dQ=mHcdT~, where T~ is the integration variable and Tf is a fixed limit,
ΔSH=∫THTfT~mHcdT~=mHclnTHTf=(1.00)(4186)ln353313=−503.4J/K.
Warming the cold water slowly from TC=293K to Tf gives
ΔSC=mCclnTCTf=(2.00)(4186)ln293313=+552.8J/K.
The hot water cooled, and its molecules became less disordered, so its entropy fell. The cold water warmed and gained more entropy than the hot water lost. Pouring the two together at one temperature adds nothing, so
ΔS=ΔSH+ΔSC=+49.4J/K.
The container is isolated, so this is the whole entropy change, and it is positive because the mixing is irreversible. The same method works for two bodies with different specific heats, such as a hot iron block dropped into water,
Tf=m1c1+m2c2m1c1T1+m2c2T2,ΔS=m1c1lnT1Tf+m2c2lnT2Tf.
Mixing two different liquids, such as water and alcohol, adds a further entropy of mixing that this calculation leaves out.