Chapter 5: Fundamental Thermodynamic Equations

0:00 / 0:00
Report an issue

Welcome to Last Minute Lecture.

This free chapter overview is designed to help students review and understand key concepts.

These summaries supplement not replaced the original textbook and may not be redistributed or resold.

For complete coverage, always consult the official text.

Welcome back to The Deep Dive.

Today, we are really taking a big jump into the foundational structure of materials thermodynamics.

If you think about the first and second laws as these grand philosophical statements, what we're doing today is getting into the operational rules.

We're making it practical.

Exactly.

How do we actually establish criteria for equilibrium in systems we can control in a real lab?

That's it.

Our mission today is, well, it's highly pragmatic.

We're starting with that core relationship, the combined first and second laws for a simple closed system.

Which gives us the change in internal energy.

Right.

The familiar DU equals TDS minus PDV.

And, you know, we immediately hit a wall with that.

The equation itself is perfect, mathematically, but it's independent variables.

Entropy S and volume V.

They're just so inconvenient for a working scientist.

You can't just walk into a lab and, you know, dial up the entropy of your system.

It just doesn't work that way.

Precisely.

So we need criteria for equilibrium that depend on variables we can easily measure and control.

Things like temperature T and pressure P.

The things you actually have knobs for.

Exactly.

And this necessity, it forces us to introduce a whole family of what we call auxiliary functions or thermodynamic potentials.

They're designed specifically to swap those awkward variables for useful ones.

Okay.

So let's look at how we actually create these functions.

We can start with the one most people see first, right?

Enthalpy H.

We define it with a pretty simple transformation.

H is defined as U plus PV.

So what do we gain by just tacking on that PV term?

Well, by adding that term, you're essentially changing the natural variables of the function.

When you take the full differential and you substitute in our equation for DU, you find that for a simple closed system, DH is TDS plus VDP.

Okay.

And the physical meaning.

The physical meaning is key.

If you hold the pressure constant, that VDP term just, it vanishes.

And there's the insight.

At constant pressure, the change in enthalpy, delta H, is just equal to the thermal energy going in or out of the system.

Yet the Q sub P.

It's literally the heat function, but only under constant pressure conditions.

And now our natural variables are S and P.

Exactly.

So moving on, the next potential helps us understand work.

This is the Helmholtz free energy, which we call A.

It defined as A equals U minus TS.

So here we're subtracting the entropic energy term.

We are.

And the physical interpretation here is, well, it's crucial.

A measures the maximum total work a system can perform during a reversible isothermal process.

Isothermal means constant T.

And if we also hold V constant, this gives us our criterion for spontaneity.

A has to decrease.

It must decrease.

So delta A has to be less than zero for a spontaneous process.

And that decreasing potential is what drives the system towards?

Towards equilibrium.

Equilibrium is reached when A hits its minimum possible value, where dA equals zero.

This function, it governs systems like, say, an internal combustion engine or really anything held at a fixed volume and temperature.

You can almost visualize it, can't you?

The minimum of A is this balancing point.

The system wants to minimize its internal energy, U, but it also wants to maximize its entropy, S.

And A finds the sweet spot.

It's the point where those two opposing drives, U and TS, are perfectly balanced.

Which brings us to, I mean, the function that really rules the world of material science, the Gibbs free energy, G.

The gold standard.

Defined as G equals H minus TS.

And it's so important because virtually all material synthesis, processing, testing, it all happens at constant temperature and constant pressure.

And that combination, constant T and constant P is what gives G its incredible power.

It's change, delta G, dictates the maximum non -PV work you can get out of a process.

So things like electrical work from a battery.

Exactly.

So if a phase change can happen or a reaction can occur, it absolutely must drive G down.

So if we're in the lab controlling T and P, the condition for any spontaneous change is always that G decreases.

Equilibrium is when G hits its absolute minimum.

Where DG equals zero.

We've successfully traded our inconvenient variables for the ones we can actually use.

Yeah.

So now that we have these four potentials, U, H, A, and G, we can formalize their structure.

These are what we call the four fundamental differential equations for any closed, simple system.

Okay.

Let's lay them out.

First, DU equals TDS minus PDV.

Its variables are S and V.

Right.

Second, DH equals PDS plus VDP.

Right.

Variables are S and P.

Yeah.

Okay.

Third, DA equals minus SDT minus PDV.

Variables T and V.

And finally, the big one.

And finally, DG equals minus SDT plus VDP.

The variables are, of course, T and P.

And just looking at those, you see these really clear mathematical patterns.

In that DG equation, the volume, V, is just the partial derivative of G with respect to P at constant T.

The structure itself tells you how the variables are linked.

It's beautiful.

But this all assumes nothing is changing chemically.

That's the catch.

As soon as you allow for chemical reactions or phase changes or open systems where material can come and go, we have to expand our equations.

We have to introduce the concept of chemical potential.

The symbol mu.

So how does that fit into our G minimum criterion?

If G has to minimize, adding a new term for composition change has to sort of respect that principle.

It does.

It fits perfectly because we define the chemical potential of the species, we'll call it mui, as the partial derivative of G with respect to the number of moles of that species ni.

So mui is the partial of G with respect to ni holding T, P, and all the other species constant.

Exactly.

Physically, you can think of it as the incremental change in the system's energy when you add just a tiny bit more of species i while keeping T and P constant.

Ah, so it's like the energy cost or maybe the energy gain associated with changing the composition.

Precisely.

And this allows us to write the complete fundamental equation.

Let's focus on the Gibbs function.

DG now equals minus SDT plus VDP plus the sum of mui, dni.

And that final term, the sum of mui, dni.

We often call that chemical work.

It's the work associated with changing the composition of the system.

And the power of thermodynamics is its flexibility, right?

If you're dealing with, say, a magnetic material, you just add another work term.

You do.

For the DG equation, you just tack on a term like minus mu not Vmdh, where m is magnetization and h is the magnetic field.

It's this beautiful, expandable framework.

Okay, let's pivot to the tools that really connect these theoretical definitions to what you can actually do on a lab bench, the Maxwell relations.

Right.

So because U, H, A, N, G are all state functions, their differentials are what mathematicians call exact.

And this property is our secret weapon.

The main value here is what?

The main value of the Maxwell relations is that they mathematically guarantee that things we can't measure.

And that's usually derivatives involving entropy.

S can be figured out just from derivatives of things we can measure, like PV and T.

Let's use that DG equation again as an example.

DG equals SDT plus VDP.

What's the Maxwell relation that falls out of that?

The resulting Maxwell relation is that the partial of S with respect to P at constant T is equal to the negative of the partial of V with respect to T at constant P.

So what does that mean in, you know, plain English?

It's a beautiful relationship.

It means that the change in a material's entropy, when you squeeze it, that's directly tied to how much that material expands when you heat it up.

So if material expands when you heat it, which most do, then increasing the pressure on it must decrease its entropy.

The math just forces that connection.

It connects these two seemingly separate properties.

It does.

And we use these relations to derive what are called the TDS equations.

These are pivotal because they let us calculate changes in entropy using measurable things like heat capacities and expansion coefficients.

The second TDS equation is probably the most useful one since it uses T and P as the variable.

It is.

It says TDS equals CPDT minus T times the partial of V with respect to T at constant P, all times DP.

And that shows us exactly how entropy changes with temperature through the heat capacity term and how it changes with pressure through that thermal expansion term.

And this framework also provides a really fundamental explanation for something we always observe.

That the heat capacity at constant pressure, CP,

must always be larger than the heat capacity at constant volume, CV.

That's a key insight.

The difference, CP minus CV, is proven to be proportional to a bunch of terms that all have to be positive.

So the difference has to be positive.

But why physically?

Because when you heat a system at constant pressure, some of that energy goes into raising the temperature.

That's the CV part.

But, and this is the key, additional energy is required for the system to expand against that external pressure.

So CP has to account for that expansion work.

It has to.

And CV doesn't.

So CP is always bigger.

So now for a couple of fundamental applications that really highlight the power of this whole mathematical structure.

First, the behavior of an ideal gas.

Using the Maxwell relations, we can derive what's called the internal energy equation of state.

It's that the partial of U with respect to V at constant T equals T times the partial of P with respect to T at constant V minus P.

That sounds complicated, but if you plug in the ideal gas law, P equals RT over V.

The whole right -hand side just simplifies to zero.

Which is a huge deal.

What does that prove?

It proves rigorously that for an ideal gas, the internal energy U is completely independent of its volume.

You can expand an ideal gas isothermally.

Its internal energy doesn't change.

And you find a similar thing for enthalpy.

Yes.

Similarly, we find that the enthalpy H of an ideal gas is independent of pressure.

This is the mathematical reason why for ideal gases, we often say their energy is only a function of temperature.

Okay, what's the second big application?

The second one is essential for any experimental thermodynamics.

The Gibbs -Helmholtz equation.

This equation is the bridge between the change in Gibbs free energy, delta G, and the change in enthalpy, delta H.

And the relationship is?

It's that the partial of delta G over T with respect to T at constant P is equal to minus delta H over T squared.

Why is that so powerful?

Because you can run an experiment.

You can measure an equilibrium constant over a range of temperatures, which gives you delta G.

Then you can just use the Gibbs -Helmholtz equation to calculate the enthalpy change of the reaction, delta H, without ever picking up a calorimeter.

It's an absolutely indispensable tool.

Let's end with a really cool physical application of these cross -property relationships.

The magnetocaloric effect.

This is an indirect effect that comes from the Maxwell relation connecting entropy and magnetic field.

So how does this abstract derivative actually create a cooling effect?

It all comes down to manipulating entropy.

First, you apply a really strong magnetic field H while keeping the temperature constant.

Isothermally.

Right.

This forces the magnetic spins in the material to align, which decreases the magnetic entropy.

Since the whole process is isothermal, the system has to dump that excess entropy as heat into its surroundings.

Okay, so spins align, heat gets removed, temperature stays constant.

Got it.

Then you isolate the system so no heat can get in or out.

Etibatically.

And you remove the magnetic field.

The magnetic spins immediately want to go back to their random high entropy state.

But since the total entropy of the system has to stay constant,

the increase in spin entropy has to be perfectly balanced by a decrease in the thermal entropy of the lattice.

And decreasing the thermal entropy means?

The temperature of the material drops, sometimes significantly.

That's magnetocaloric cooling, a direct consequence of a Maxwell relation.

So let's bring it all together.

What does this all mean for you, the listener?

We started with, you know, the mathematical inconvenience of using entropy and volume.

And through these Legendre transformations, we defined four fundamental thermodynamic potentials.

UH, A, and the really indispensable G, the Gibbs free energy.

And we established that the criterion for equilibrium, especially for reactions and phase stability, it all boils down to finding the minimum of the Gibbs free energy when you're working at constant temperature and pressure.

The real power of the Maxwell relations and the TDS equations is that they transform this whole theoretical framework into a measurable,

usable science.

They connect theory to the lab bench.

And as a final thought for you to mull over, the fundamental math actually constrains the physical world.

Remember that relationship we found.

The one connecting the curvature of the Gibbs free energy with respect to temperature?

Yeah, the second derivative, the partial square root of G with respect to T squared at constant P equals minus Cp over T.

So because heat capacity, Cp, must always be a positive quantity.

Which it must.

This equation proves that a plot of Gibbs free energy against temperature has to always curve downward.

It must always have a negative curvature.

The mathematics fundamentally defines the shape of stability.

It's not an accident, it's a requirement.

A perfect encapsulation of how these fundamental equations govern everything we observe.

Use this framework as your core map as you go on to explore reactions and equilibria.

Thank you for joining us on this deep dive.

ⓘ This audio and summary are simplified educational interpretations and are not a substitute for the original text.

Chapter SummaryWhat this audio overview covers
Thermodynamic potentials serve as mathematical functions that transform the description of systems from using difficult-to-control variables like entropy and volume to employing readily measurable quantities such as temperature and pressure. Beginning with the combined First and Second Laws expressed through internal energy as a function of entropy and volume, the chapter systematically develops four characteristic potentials tailored to different experimental conditions. Enthalpy emerges as the appropriate potential for constant pressure processes, with its change directly equaling the heat transferred to the system, making it essential for understanding reactions and phase transitions in open systems. Helmholtz free energy becomes the relevant potential for isothermal, isochoric conditions, reaching its minimum value at equilibrium and quantifying the maximum useful work available from reversible processes. Gibbs free energy, defined as enthalpy minus the temperature-entropy product, proves indispensable for materials engineering and chemistry because it naturally depends on temperature and pressure, the variables most easily controlled in laboratories and industrial settings; equilibrium stability at constant temperature and pressure corresponds to minimization of this potential. Chemical potential extends this framework to systems with changing composition, representing the intensive measure of how each component contributes to the overall thermodynamic state. Maxwell relations bridge the gap between quantities difficult to measure directly, such as how entropy responds to pressure changes, and those readily accessible experimentally, such as volumetric thermal response, through elegant mathematical identities connecting mixed partial derivatives of the potentials. The three TdS equations reformulate entropy changes using accessible experimental parameters including heat capacities, thermal expansion behavior, and compressibility data. Gibbs-Helmholtz equations establish crucial relationships between the temperature dependence of free energies and their enthalpy or internal energy components, enabling prediction of equilibrium compositions across temperature ranges. Extensions to systems experiencing non-volume work, such as magnetic fields, introduce specialized caloric phenomena including the magnetocaloric effect, wherein adiabatic magnetic field application produces temperature changes in materials, and pyromagnetism, describing magnetization's temperature dependence. Together, these interconnected frameworks provide the mathematical and conceptual foundation for predicting spontaneity, equilibrium conditions, and the direction of thermodynamic processes under virtually any set of controlled constraints encountered in scientific and engineering practice.

Using this chapter to study? Last Minute Lecture is free and student-run. If it helped, consider supporting the project.

Support LML ♥