Entropy

Entropy is a state function that measures the disorder of a system, in joules per kelvin. Its true definition, , 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 at absolute temperature in a reversible process, its entropy changes by

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 is a state function, between two states is the same for every path, reversible or not. To find it for an irreversible process, integrate along any reversible path with the same endpoints. Three cases cover most problems. A reservoir at fixed that absorbs heat changes by . A body of mass and specific heat warmed from to changes by . A mass that melts or boils at its transition temperature absorbs at that fixed . Its entropy changes by , negative when it freezes or condenses.

For an ideal gas with accessible degrees of freedom the integral can be done in general, and the result is

using . In terms of pressure and volume, with ,

On an adiabat is constant, the bracket is , and : a reversible adiabatic process is isentropic. On an isotherm . At constant pressure . At constant volume . 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 in the numerator says so. The 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 is exactly what makes 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 , , , and are fixed. The two terms of the ideal gas formula match the two halves of a state. The term counts positions. A larger volume gives each molecule more places to be. The term counts velocities. A hotter gas has a wider Maxwell distribution, so each molecule’s speed is harder to predict. The factor counts the ways a molecule stores energy, as in equipartition. A diatomic molecule also stores energy in rotation, so its 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 and 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 , whatever it went through on the way. Around a cycle the changes on the legs add to zero,

In the Carnot cycle the adiabats add nothing. The isotherms add and , which cancel because .

(Irreversible Paths Use a Reversible Stand-In) along an irreversible path does not give , 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 , for example on ice. Warm the cold water slowly to , 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 holds on each. Their sum is the 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 . 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 flows from to , the hot body loses and the cold body gains , and since the gain is larger. The total entropy rises by . 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 , and everyday changes are of order to .

Melting a kilogram of ice adds . Doubling the volume of a mole of gas adds . Passing from to creates . In the microscopic definition , a change of corresponds to the number of accessible states growing by a factor of . The macroscopic numbers are modest because is tiny, and the microscopic numbers are astronomical for the same reason.

Derivation

We want the entropy change of an ideal gas between and . Choose a reversible path and write the first law for a small step, . Then

Multiplied by , this reads

Every term is a state function or its change. So the relation holds for any small change between equilibrium states.
For an ideal gas and from the gas law, so

Each term is a logarithmic derivative, and each depends on one variable only, so the integral separates,

the headline result. Factoring out and using turns the sum of logarithms into the logarithm of . The path never had to be specified beyond being reversible, which shows that the result depends only on the endpoints. Replacing by gives the pressure-volume form.

Examples

(Easy) Melting Ice

One kilogram of ice at melts into water at .

(Medium) Isothermal Expansion of a Gas

One mole of an ideal gas expands isothermally from to .

\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}

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 in one half of an insulated container, and the partition is removed so it fills .

\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}

(Hard) Mixing Hot and Cold Water

An insulated container holds of water at and of water at , separated by a partition. The partition is removed, and the water mixes until it reaches one temperature. Take .

\usepackage{tikz}
\begin{document}
\definecolor{hot}{HTML}{D9483B}
\definecolor{cold}{HTML}{2F80ED}
\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);
\begin{scope}
\clip (0,0) rectangle (2,1.6);
\foreach \i in {-2,-1.8,...,2} \draw[hot,thin] (\i,0) -- ++(1.6,1.6);
\end{scope}
\begin{scope}
\clip (2,0) rectangle (6,1.6);
\foreach \i in {0,0.2,...,6} \draw[cold,thin] (\i,0) -- ++(1.6,1.6);
\end{scope}
\draw[hot,thick] (0,1.6) -- (2,1.6);
\draw[cold,thick] (2,1.6) -- (6,1.6);
\draw[very thick] (2,0) -- (2,2);
\node[fill=white,inner sep=1.5pt,align=center] at (1.0,0.8) {$1.00\ \mathrm{kg}$\\ $80\ ^\circ\mathrm{C}$};
\node[fill=white,inner sep=1.5pt,align=center] at (4.0,0.8) {$2.00\ \mathrm{kg}$\\ $20\ ^\circ\mathrm{C}$};
\node[above] at (2,2.3) {partition, removed};
\end{tikzpicture}
\end{document}

See Also