1. Home
  2. Explore
  3. Chemistry
  4. Entropy and the Second Law

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Entropy and the Second Law

Second Law of Thermodynamics, Entropy, and Free Energy

Entropy and the second law

Entropy, denoted by SSS, is a state function used to describe the dispersal of energy and the number of microscopic arrangements compatible with a system’s macroscopic state. It connects measurable quantities such as heat and temperature to the microscopic behavior of matter. Entropy is central to chemistry, biochemistry, and physics because it helps predict which processes can occur and which direction they tend to take.

The second law of thermodynamics describes the direction of spontaneous change. For an isolated system, entropy cannot decrease:

  • A reversible change leaves the entropy of an isolated system unchanged.

  • An irreversible change increases the entropy of an isolated system.

  • A process that would decrease the entropy of an isolated system cannot occur spontaneously.

The total entropy of an isolated system stays constant in a reversible process and increases in an irreversible process.

The second law gives physical meaning to an arrow of time: processes proceed in the direction that increases the total entropy of the universe, when the universe is treated as an isolated system.

Heat, entropy, and reversible processes

For a reversible process, the infinitesimal entropy change is defined by

dS=δQrevT,dS = \frac{\delta Q_{\mathrm{rev}}}{T},dS=TδQrev​​,

where δQrev\delta Q_{\mathrm{rev}}δQrev​ is the infinitesimal heat transferred reversibly and TTT is the absolute temperature. Equivalently,

δQrev=T dS.\delta Q_{\mathrm{rev}} = T\,dS.δQrev​=TdS.

The symbol δ\deltaδ distinguishes heat from a state-function differential: heat depends on the path taken, while entropy depends only on the initial and final states.

For an actual process, which may be irreversible, the entropy change satisfies

dS≥δQT.dS \geq \frac{\delta Q}{T}.dS≥TδQ​.

Equality applies to a reversible process; the inequality applies when irreversibility is present. For a finite process, the corresponding relationship is

ΔS≥∫δQT,\Delta S \geq \int \frac{\delta Q}{T},ΔS≥∫TδQ​,

with equality when the process follows a reversible path. The entropy change between two states can therefore be calculated using any convenient reversible path connecting those states, even if the actual process was irreversible.


The Carnot cycle and the Clausius inequality

The Carnot cycle illustrates the relationship between heat, work, and entropy using an ideal gas that undergoes four reversible steps. In a pressure–volume diagram, the cycle forms a loop.

  1. Isothermal expansion at the higher temperature: The gas expands while its temperature remains constant. Heat enters the gas.

  2. Adiabatic expansion: The gas expands without exchanging heat with its surroundings. Its temperature falls.

  3. Isothermal compression at the lower temperature: The gas is compressed while its temperature remains constant. Heat leaves the gas.

  4. Adiabatic compression: The gas is compressed without exchanging heat. Its temperature rises until the gas returns to its starting state.

An adiabatic process has no heat transfer, so δQ=0\delta Q=0δQ=0. Along a reversible adiabatic segment, dS=0dS=0dS=0 as well. The two isothermal steps involve heat transfer and corresponding entropy changes.

Heat and work over a cycle

Heat and work are path-dependent: their values depend on the route taken through the cycle. Internal energy, by contrast, is a state function. Since the system returns to its initial state at the end of a complete cycle,

ΔUcycle=0.\Delta U_{\mathrm{cycle}} = 0.ΔUcycle​=0.

Using the convention that WWW is work done by the system, the first law gives

ΔU=Q−W.\Delta U = Q - W.ΔU=Q−W.

Thus, over a complete cycle, the net heat transferred equals the net work done by the system:

Qnet=Wnet.Q_{\mathrm{net}} = W_{\mathrm{net}}.Qnet​=Wnet​.

On a pressure–volume diagram, the area enclosed by the cycle corresponds to the net work. The heat absorbed and released along individual steps need not sum to zero; instead, their net amount balances the net work.

The distinctive result for a reversible cycle is that the heat transfers, each divided by their respective temperatures, sum to zero:

∮δQrevT=0.\oint \frac{\delta Q_{\mathrm{rev}}}{T} = 0.∮TδQrev​​=0.

This result shows that reversible heat divided by temperature gives a quantity whose change depends only on the system’s states: entropy.

Clausius inequality

For any cycle, including an irreversible one, the Clausius inequality is

∮δQT≤0.\oint \frac{\delta Q}{T} \leq 0.∮TδQ​≤0.

For a reversible cycle, the integral equals zero. For an irreversible cycle, it is less than zero. This is a general mathematical statement of the second law: irreversible processes produce entropy, while reversible processes represent the limiting case with no entropy production.


Entropy from heat capacity and temperature

Heat capacity describes how much heat is needed to change a system’s temperature under specified conditions. Because entropy changes with temperature, heat capacity provides a way to calculate entropy changes.

At constant volume, reversible heating gives δQrev=CV dT\delta Q_{\mathrm{rev}}=C_V\,dTδQrev​=CV​dT, where CVC_VCV​ is the heat capacity at constant volume. Substituting into the entropy definition gives

dS=CV(T)T dT.dS = \frac{C_V(T)}{T}\,dT.dS=TCV​(T)​dT.

Therefore, the entropy change from temperature T1T_1T1​ to T2T_2T2​ at constant volume is

ΔS=∫T1T2CV(T)T dT.\Delta S = \int_{T_1}^{T_2} \frac{C_V(T)}{T}\,dT.ΔS=∫T1​T2​​TCV​(T)​dT.

If CVC_VCV​ is approximately constant over this temperature range,

ΔS=CVln⁡(T2T1).\Delta S = C_V \ln\left(\frac{T_2}{T_1}\right).ΔS=CV​ln(T1​T2​​).

At constant pressure, the analogous expression uses the heat capacity CPC_PCP​:

ΔS=∫T1T2CP(T)T dT.\Delta S = \int_{T_1}^{T_2} \frac{C_P(T)}{T}\,dT.ΔS=∫T1​T2​​TCP​(T)​dT.

If CPC_PCP​ is constant,

ΔS=CPln⁡(T2T1).\Delta S = C_P \ln\left(\frac{T_2}{T_1}\right).ΔS=CP​ln(T1​T2​​).

The heat capacity must be paired with the condition under which it is measured: CVC_VCV​ for constant volume and CPC_PCP​ for constant pressure. If the heat capacity varies with temperature, its temperature dependence must remain inside the integral.

The third law

The third law of thermodynamics provides a reference point for entropy. For a perfect crystal, the entropy approaches zero as the temperature approaches absolute zero:

lim⁡T→0S=0.\lim_{T\to 0} S = 0.limT→0​S=0.

This reference makes it possible, in principle, to determine absolute entropies by integrating heat-capacity data from temperatures near absolute zero. Absolute zero cannot be reached through a finite sequence of physical processes, but the limiting behavior remains useful in thermodynamics.


Molecular interpretations of entropy

Boltzmann’s relation

A molecular interpretation of entropy connects macroscopic states to their microscopic realizations. A microstate is a specific microscopic arrangement of a system; a macrostate is described by macroscopic properties such as pressure, volume, and temperature.

Boltzmann’s relation is

S=kBln⁡Ω,S = k_{\mathrm B}\ln \Omega,S=kB​lnΩ,

where kBk_{\mathrm B}kB​ is Boltzmann’s constant and Ω\OmegaΩ is the number of microstates consistent with the macrostate. A macrostate with more compatible microstates has greater entropy.

This relation helps explain why spontaneous processes often look like spreading, mixing, or randomizing. Such processes typically move a system toward macrostates that can be realized in many more microscopic ways.

Expansion, mixing, and equilibration

Examples illustrate the connection between entropy and the number of accessible configurations:

  • Pressure equilibration: If two connected regions contain gas at different pressures, opening a valve allows the gas to redistribute. The resulting pressure difference becomes smaller as the gas occupies more possible arrangements. The spontaneous change is not a coordinated movement of all gas molecules toward an even more unequal pressure distribution.

  • Mixing: When different gases are separated and a barrier is removed, the gases mix. There are vastly more microscopic arrangements in which the gases are distributed throughout both regions than arrangements in which each gas remains confined to one side.

  • Expansion into a room: Gas released from a container spreads through the available room. The dispersed state has many more possible molecular arrangements than the state in which all the gas is confined to the original container.

These examples are not driven by a tendency for each molecule to “seek disorder.” Rather, the macroscopic outcome arises because high-multiplicity macrostates are overwhelmingly more probable than low-multiplicity ones.

Entropy can also be considered through information theory, where it is related to uncertainty about possible states. This provides a useful conceptual perspective alongside the thermodynamic and molecular interpretations.


Energy functions and Gibbs free energy

Thermodynamic energy functions are useful because different experimental conditions make different variables convenient to control. The internal energy is a natural starting point for a closed, simple compressible system with pressure–volume work:

dU=T dS−P dV.dU = T\,dS - P\,dV.dU=TdS−PdV.

Here, internal energy UUU has natural variables entropy SSS and volume VVV. Other kinds of work, such as electrical or chemical work, may need additional terms. For example, a change in the amount of a chemical species can contribute a term involving its chemical potential.

Enthalpy

Enthalpy is defined as

H=U+PV.H = U + PV.H=U+PV.

For a closed, simple compressible system, its differential is

dH=T dS+V dP.dH = T\,dS + V\,dP.dH=TdS+VdP.

Enthalpy has natural variables SSS and PPP. Under appropriate constant-pressure conditions, an enthalpy change is related to heat transferred at constant pressure. This makes enthalpy useful in many chemical and biological settings.

Helmholtz free energy

The Helmholtz free energy is defined as

A=U−TS.A = U - TS.A=U−TS.

Its differential is

dA=−S dT−P dV.dA = -S\,dT - P\,dV.dA=−SdT−PdV.

Its natural variables are temperature TTT and volume VVV, making it especially suited to processes studied at constant temperature and constant volume.

Gibbs free energy

The Gibbs free energy is defined by

G=H−TS=U+PV−TS.G = H - TS = U + PV - TS.G=H−TS=U+PV−TS.

Its differential for a closed, simple compressible system is

dG=−S dT+V dP.dG = -S\,dT + V\,dP.dG=−SdT+VdP.

Gibbs free energy has natural variables temperature and pressure. These conditions are convenient for many chemical reactions and biological processes, since temperature and pressure are often easier to control experimentally than entropy and volume.

For a system whose composition can change, the differential includes chemical-potential terms:

dG=−S dT+V dP+∑iμi dni,dG = -S\,dT + V\,dP + \sum_i \mu_i\,dn_i,dG=−SdT+VdP+∑i​μi​dni​,

where μi\mu_iμi​ is the chemical potential of species iii and dnidn_idni​ is its change in amount. For a closed system with fixed composition, the composition term is omitted.

Gibbs free energy and spontaneity

At constant temperature and pressure, the Gibbs free energy change is commonly written

ΔG=ΔH−TΔS.\Delta G = \Delta H - T\Delta S.ΔG=ΔH−TΔS.

This relationship expresses the competition between enthalpic and entropic effects:

  • A decrease in enthalpy, ΔH<0\Delta H<0ΔH<0, tends to favor a process.

  • An increase in entropy, ΔS>0\Delta S>0ΔS>0, tends to favor a process.

  • The temperature determines the relative influence of the entropy term.

Under constant-temperature, constant-pressure conditions with no relevant non-expansion work, a process is spontaneous in the forward direction when ΔG<0\Delta G<0ΔG<0. At equilibrium, the system is at a minimum of Gibbs free energy under those constraints, and an infinitesimal change has ΔG=0\Delta G=0ΔG=0. A zero change alone is not sufficient to identify a stable equilibrium; the free energy must be at a minimum.

The usefulness of Gibbs free energy in biochemistry comes partly from the way it combines energy and entropy effects. Changes in bonding and intermolecular interactions contribute to enthalpy, while changes in the number of available molecular arrangements contribute to entropy. Their combined effect helps determine whether a process is favorable under specified conditions.


Noncovalent interactions in biological systems

Many important biological interactions do not involve forming or breaking covalent bonds. Instead, molecules associate through noncovalent forces that contribute to their energy and structure.

Ionic interactions

An ionic interaction is an electrostatic attraction or repulsion between charged species. For example, sodium and chloride ions attract one another through Coulombic forces. In solution, surrounding molecules can influence the strength and behavior of such interactions.

Ion–dipole interactions

A polar molecule has a permanent dipole: an uneven distribution of charge. An ion can interact with this dipole. Water molecules, for example, can orient around ions in solution, helping stabilize dissolved ions.

Dipole and induced-dipole interactions

A permanent dipole can interact with another permanent dipole. In addition, an ion or a permanent dipole can distort the electron distribution of a nearby neutral molecule and induce a temporary dipole. The ease with which an electron cloud can be distorted is called polarizability.

An induced dipole can also induce a dipole in a neighboring particle. These fluctuating, induced-dipole interactions are known as London dispersion forces. Such dispersion forces can occur even between molecules that lack permanent dipoles.

Hydrogen bonding

A hydrogen bond is a directional noncovalent interaction involving a hydrogen atom associated with an electronegative atom and an acceptor atom on another part of a molecule or on another molecule. It is often described as involving a donor, the hydrogen, and an acceptor, giving it a three-center character.

Hydrogen bonding is important in biological structure:

  • In proteins, hydrogen bonds between peptide groups help stabilize structures such as alpha helices and beta sheets.

  • In DNA and RNA, hydrogen bonding between appropriate nucleotides helps hold paired strands or regions together.

These interactions help determine molecular structure and contribute to the enthalpy and entropy changes involved in molecular association.


Partial derivatives and thermodynamic potentials

Thermodynamics frequently describes how one property changes as another changes while specified variables are held constant. A partial derivative expresses this dependence. For instance, a derivative with respect to temperature at fixed volume is written

(∂U∂T)V.\left(\frac{\partial U}{\partial T}\right)_V.(∂T∂U​)V​.

The subscript VVV indicates that volume is held constant. The choice of what is held constant is essential: the same property can have different derivatives under different conditions.

Natural variables and differentials

The differential forms of the four energy functions show their natural variables:

  • Internal energy: U=U(S,V)U=U(S,V)U=U(S,V), with dU=T dS−P dVdU=T\,dS-P\,dVdU=TdS−PdV.

  • Enthalpy: H=H(S,P)H=H(S,P)H=H(S,P), with dH=T dS+V dPdH=T\,dS+V\,dPdH=TdS+VdP.

  • Helmholtz free energy: A=A(T,V)A=A(T,V)A=A(T,V), with dA=−S dT−P dVdA=-S\,dT-P\,dVdA=−SdT−PdV.

  • Gibbs free energy: G=G(T,P)G=G(T,P)G=G(T,P), with dG=−S dT+V dPdG=-S\,dT+V\,dPdG=−SdT+VdP.

The enthalpy, Helmholtz, and Gibbs functions are obtained from internal energy through Legendre transforms, which replace one natural variable with its conjugate variable. For example, H=U+PVH=U+PVH=U+PV replaces volume with pressure, while A=U−TSA=U-TSA=U−TS replaces entropy with temperature. Gibbs free energy performs both replacements.

Maxwell relations

Because thermodynamic potentials are state functions, their exact differentials have equal mixed partial derivatives. This produces the Maxwell relations, which connect partial derivatives that may be difficult to measure directly to other measurable quantities:

(∂T∂V)S=−(∂P∂S)V,\left(\frac{\partial T}{\partial V}\right)_S = -\left(\frac{\partial P}{\partial S}\right)_V,(∂V∂T​)S​=−(∂S∂P​)V​,
(∂T∂P)S=(∂V∂S)P,\left(\frac{\partial T}{\partial P}\right)_S = \left(\frac{\partial V}{\partial S}\right)_P,(∂P∂T​)S​=(∂S∂V​)P​,
(∂S∂V)T=(∂P∂T)V,\left(\frac{\partial S}{\partial V}\right)_T = \left(\frac{\partial P}{\partial T}\right)_V,(∂V∂S​)T​=(∂T∂P​)V​,
(∂S∂P)T=−(∂V∂T)P.\left(\frac{\partial S}{\partial P}\right)_T = -\left(\frac{\partial V}{\partial T}\right)_P.(∂P∂S​)T​=−(∂T∂V​)P​.

Each relation follows from equating mixed partial derivatives of the corresponding thermodynamic potential.

Expanding a state-function differential

A state function can be expressed in terms of variables other than its natural variables by using the multivariable chain rule. For example, if internal energy is expressed in terms of temperature and volume, then

dU=(∂U∂T)VdT+(∂U∂V)TdV.dU = \left(\frac{\partial U}{\partial T}\right)_V dT + \left(\frac{\partial U}{\partial V}\right)_T dV.dU=(∂T∂U​)V​dT+(∂V∂U​)T​dV.

This expansion describes how small changes in temperature and volume contribute to the change in internal energy. Such partial-derivative relationships are fundamental tools for analyzing thermodynamic systems and relating quantities that are experimentally accessible.

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent