Thermodynamics Fundamentals


Thermodynamics Fundamentals

Simon
So today we're diving into thermodynamics, and Professor Yarger kicks it off by saying it's really the macroscopic study of energy in all its forms. But defining energy itself is surprisingly tricky—the Encyclopedia Britannica even says it's hard to pin down precisely. He describes it as anything that produces an effect typically has energy associated with it.

Hope
That makes sense in a vague way, but why call it macroscopic? What's the big distinction there?

Simon
Great question. Microscopic theories like classical or quantum mechanics track every particle's position and momentum—or a probability wave function for all of them. But in a macroscopic system, you're talking about 10^23 particles—a mole of atoms. That's far too many variables to handle individually. So thermodynamics emerges from averaging over all those microscopic details using statistics, giving us a theory with far fewer variables. That's why it's a macroscopic theory.

Hope
And it's famously robust. Einstein said that of all the theories he'd seen, he was most convinced that classical thermodynamics would never be overthrown, because it's so well tested in the macroscopic world we live in.

Simon
Exactly. That's the motivation he gives—thermodynamics is probably the most fundamental and most used theory for chemists. So let's get into the vocabulary. First, we define a 'system' as the part of the universe we're interested in. Everything else is the 'surroundings.' And there are boundaries or walls that separate them, which can be real or imaginary.

Hope
Right, and those walls determine what kind of system we have. If matter can flow between system and surroundings, it's an open system. If only energy can flow, it's closed. If neither matter nor energy can cross, it's isolated.

Simon
Precisely. And walls can also restrict specific things. For example, an adiabatic wall prevents heat flow, so dq = 0. A diathermal wall allows heat. If we hold temperature constant, that's isothermal. If we hold volume constant, that's isochoric. If we hold pressure constant, that's isobaric. And if we prevent matter exchange, it's closed; if we allow only certain components to pass, it's semi-permeable.

Hope
That's a lot of conditions. But the point is that each restriction simplifies the analysis, letting us focus on one variable at a time. Now, the variables themselves are also categorized as intensive or extensive. An intensive variable doesn't change when you double the system—like pressure or temperature. An extensive variable does scale with size, like volume or number of moles.

Simon
And each extensive variable has a conjugate intensive partner. For volume, it's pressure. For number of moles of a component, it's chemical potential. For entropy, it's temperature. These pairs multiply to give an energy term: PdV, μdN, TdS. All these pieces add up to the change in internal energy, dU.

Hope
So the fundamental equation of thermodynamics is dU = TdS - PdV + ΣμᵢdNᵢ, plus maybe other work terms like electrical or magnetic. But as chemists, we often focus on chemical work, which is the μdN terms. That's the combined first and second law, and Yarger says he starts 90% of problems right there.

Simon
Now, from that basic equation we can transform to other thermodynamic potentials that are more convenient for different conditions. The internal energy U has natural variables S, V, and N. But if we want to hold temperature and pressure constant, we use the Gibbs free energy, G = H - TS. Its natural variables are T, P, and N. That's why for chemists, Gibbs is so popular—we can control T and P in a lab and then dG directly tells us about chemical change.

Hope
And enthalpy H = U + PV is another one, useful for heat effects at constant pressure. The Helmholtz free energy A = U - TS is more common in physics, with natural variables T, V, N. But in chemistry, constant volume is harder experimentally, so we use Gibbs more.

Simon
Exactly. And each of these potentials comes from a Legendre transform of the internal energy. That's the math we'll see in a later lecture. But there's also a practical issue: sign conventions. In most chemistry texts, heat q is positive when it flows into the system, and work w is positive when work is done by the system on the surroundings. Getting those signs right is essential for bookkeeping.

Hope
So to wrap up, thermodynamics gives us a macroscopic framework with a few variables, built on the idea of conjugate pairs and thermodynamic potentials. Yarger's next lectures will cover the laws, the mathematics of partial derivatives, equilibrium versus reversibility, and calorimetry for experiments. That's a lot, but it's all about understanding energy changes in chemical systems.

Simon
And as he says, all the details are in the lecture notes and textbooks. But for now, we've got the core ideas: system vs surroundings, types of walls, intensive/extensive variables, conjugate pairs, the fundamental equation, and the key potentials. A solid foundation for what's to come.

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