Entropy and the Second Law


Entropy and the Second Law

Maria
Welcome. Today we’re working through the main ideas in chapter three of Tinoco’s physical chemistry text: the second law of thermodynamics and entropy, followed by Gibbs free energy, molecular interactions, and some of the mathematical tools that connect them.

Corey
And entropy is worth spending time with. It’s one of the central ideas in thermodynamics, and it helps connect what we observe in the macroscopic world—like heat and pressure—to what’s happening among molecules. There are several useful ways to approach it, so don’t be surprised if a concept becomes clearer when you encounter it in more than one resource.

Maria
That’s a practical study strategy, too. Alongside Tinoco, you might compare another physical chemistry or thermodynamics textbook, consult library books and online materials, or look for review articles and research papers. Lectures and course videos can offer still another perspective; the chapter overview also points students toward resources such as the ASU library, online course materials, and biopchem.education.

Corey
Let’s start with the classical picture: the Carnot cycle. Imagine a gas that expands in two stages and then is compressed in two stages, returning to its starting pressure and volume. First it expands isothermally, meaning its temperature stays constant; then it expands adiabatically, meaning there’s no heat exchange with its surroundings.

Maria
Then the gas is compressed in the reverse kinds of steps: isothermally at the lower temperature, followed by adiabatic compression back to the starting state. It’s a cycle because the system ends where it began. The particular details can be worked out using an ideal-gas equation of state, but the important lesson is about what the cycle reveals.

Corey
Because internal energy is a state function, its net change over a complete cycle is zero: the system ends in the same state it started in. Heat and work, however, depend on the path. Over the cycle, their net contributions balance one another, with the signs depending on the convention used for work.

Maria
That difference between state functions and path-dependent quantities is crucial. The total heat exchanged in a cycle does not have to be zero. But for a reversible cycle, when each step is carried out in a way that can be reversed, the cyclic integral of heat divided by temperature is zero. That quantity gives us a path toward defining entropy.

Corey
For a reversible change, we define the entropy change through the relation dS equals the reversible heat supplied, divided by the temperature: dS = δQ reversible over T. The symbol δ reminds us that heat itself is not a state function; the relation identifies the entropy change along a reversible path.

Maria
And for an irreversible process, the general statement is an inequality: the entropy change is at least as large as the heat transferred divided by the temperature, with the heat contribution evaluated along the process or its appropriate reversible comparison. Equality applies to a reversible process. That distinction matters because examples often begin with reversible paths, even though real processes can be irreversible.

Corey
An adiabatic process has no heat transfer, but that alone doesn’t guarantee zero entropy change. If the adiabatic process is reversible, its entropy change is zero. If it’s irreversible, the entropy of the isolated system can increase even though no heat crossed the boundary.

Maria
That leads to the second law in its broad form: the entropy of an isolated system cannot decrease. If the change is reversible, it can remain constant; if an irreversible process occurs, it increases. When we treat the universe as an isolated system, this gives us the familiar idea that its entropy tends to increase.

Corey
For a cycle, the corresponding statement is the Clausius inequality: the cyclic integral of heat divided by temperature is less than or equal to zero. It equals zero for a reversible cycle and is less than zero for an irreversible cycle. The second law therefore gives processes a preferred direction—often described as an arrow of time.

Maria
Entropy also has a molecular interpretation. Boltzmann connected it to the number of microscopic configurations available to a system: entropy is proportional to the natural logarithm of that number, with Boltzmann’s constant as the proportionality constant. More available configurations generally means greater entropy.

Corey
Picture gas at high pressure on one side of a container and lower-pressure gas on the other, separated by a valve. Open the valve, and the gas spreads toward a more even distribution. The reverse—molecules spontaneously gathering to make the original pressure difference larger—is not what we observe.

Maria
Or open a pressurized cylinder in a room: the gas disperses into the room rather than all the room’s air spontaneously collecting inside the cylinder. There are many more ways for the molecules to occupy the larger available volume than to remain confined. That’s a concrete way to see the connection between spreading out, microscopic configurations, and entropy.

Corey
When two gases mix, the same idea applies: the molecules distribute through the available space. The molecular picture can be explored further using ideas from the kinetic theory of gases, while the information-theory perspective offers another way to think about the number of possible arrangements.

Maria
Those perspectives complement the classical heat-based one. Boltzmann’s view links entropy to molecular configurations, while Claude Shannon’s work on information theory connects entropy to information. No single viewpoint has to do all the work; comparing them can build a stronger intuition.

Corey
Now let’s turn to how entropy changes with temperature. Starting with dS = δQ reversible over T, we need to know how much heat is required for a temperature change. That’s what heat capacity tells us.

Maria
At constant volume, the relevant heat capacity is C_V. For a system doing only pressure-volume work, holding volume fixed removes that volume-change work, so the heat supplied relates to the change in internal energy. The entropy change can then be calculated by integrating C_V over T with respect to temperature.

Corey
If the heat capacity is constant over the temperature range, that integral gives ΔS = C_V ln(T₂/T₁). If the heat capacity varies with temperature, include that variation inside the integral instead of treating C_V as a constant.

Maria
At constant pressure, we use C_P instead. The corresponding entropy change is the integral of C_P over T as temperature changes. If C_P is constant, the result has the same logarithmic form: C_P ln(T₂/T₁). The choice between C_V and C_P depends on which condition is held fixed.

Corey
The third law gives a reference point for entropy: as a system approaches absolute zero, its entropy approaches zero. Absolute zero cannot be reached, but this limiting behavior lets us establish an absolute entropy scale. The temperature dependence of heat capacity helps determine how entropy changes as we move away from that reference.

Maria
The chapter then moves from entropy to energy functions that are especially useful in chemistry. For a closed system with pressure-volume work, the internal-energy differential is dU = T dS − P dV. So U naturally depends on entropy and volume.

Corey
Enthalpy is defined as H = U + PV. Its differential is dH = T dS + V dP, so its natural variables are entropy and pressure. At constant pressure, enthalpy changes are especially useful because they relate to heat exchanged under those conditions.

Maria
Another energy function is the Helmholtz free energy, A = U − TS. Its differential is dA = −S dT − P dV, which makes temperature and volume its natural variables. These definitions are examples of Legendre transforms: they change which variables are most convenient for describing the system.

Corey
And the Gibbs free energy is G = H − TS, or equivalently U + PV − TS. For a closed system, dG = −S dT + V dP. If the system can also change its chemical composition, the differential includes an additional sum of chemical-potential terms, one for each component.

Maria
Gibbs free energy is especially useful because experiments and biological processes often take place at constant temperature and pressure. At those conditions, the familiar relation is ΔG = ΔH − TΔS. Enthalpy reflects energy changes such as those associated with interactions, while entropy reflects the change in available configurations.

Corey
At constant temperature and pressure, a spontaneous change proceeds toward lower Gibbs free energy, and equilibrium corresponds to a minimum in G under the relevant conditions. So ΔH and ΔS can work together or against each other: the outcome depends on their combined contribution to ΔG.

Maria
That interplay is important in biochemistry. A process may involve changes in bonding or intermolecular forces that affect enthalpy, alongside changes in how many configurations are available that affect entropy. Gibbs free energy gives us a way to bring both contributions into one framework.

Corey
The chapter emphasizes noncovalent interactions as part of that molecular picture. Ionic interactions are a familiar example, such as the attraction between sodium ions and chloride ions. In water, the polar molecules can associate with ions, giving ion-dipole interactions.

Maria
A charged ion can also distort the electron distribution in a nearby neutral molecule and induce a dipole. More generally, fluctuating or induced dipoles can interact with other dipoles; these interactions are grouped among van der Waals forces, and London forces are a key example.

Corey
Hydrogen bonding is another important kind of interaction. It involves a hydrogen bonded to one atom interacting with another nearby atom, creating a directional, three-center arrangement. These interactions help explain structures across many biological molecules.

Maria
In proteins, for instance, hydrogen bonds can form between groups in the backbone. Networks of these bonds help stabilize structures such as alpha helices and beta sheets. The same general interaction is important in nucleic acids, where hydrogen bonding between nucleotides helps hold RNA or DNA structures, including double helices, together.

Corey
The final mathematical theme is partial derivatives. A partial derivative describes how a quantity changes with respect to one variable while the other specified variables are held constant. Thermodynamics uses them constantly because a system’s properties depend on several variables at once.

Maria
For example, if internal energy is being expressed in terms of temperature and volume, its total differential can be written as the sum of two contributions: the partial change with temperature at constant volume, multiplied by dT, and the partial change with volume at constant temperature, multiplied by dV.

Corey
A key idea here is an exact differential. Because U, H, A, and G are state functions, their differentials are exact. Their mixed partial derivatives must agree, and that fact leads to the Maxwell relations—useful connections between partial derivatives that might otherwise seem unrelated.

Maria
The thermodynamic square is a mnemonic for keeping the relationships straight. It places U, H, A, and G alongside their natural variables: U with S and V; H with S and P; A with T and V; and G with T and P. The differentials show which conjugate quantities accompany each variable.

Corey
For instance, from dA = −S dT − P dV, we identify the partial derivatives of A with respect to temperature and volume. Matching the mixed derivatives gives the Maxwell relation that the change in entropy with volume at constant temperature equals the change in pressure with temperature at constant volume.

Maria
The other potentials give related Maxwell relations. From G, for example, (∂S/∂P) at constant T equals minus (∂V/∂T) at constant P. The point isn’t to memorize a square without understanding it: the relations follow from the natural variables and the fact that the potentials are state functions.

Corey
A good way to consolidate the chapter is to work through it from both directions. Derive the Carnot-cycle results for a gas, practice entropy changes using heat capacities, and then connect the molecular picture—configurations and interactions—to the free-energy picture.

Maria
And use more than one resource when a concept feels slippery. A textbook, library reference, review article, online material, or another lecture may explain the same idea from a different angle. The core connections to keep in view are heat and entropy, microscopic configurations and the second law, and enthalpy plus entropy combining into Gibbs free energy.

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