Thermodynamics and States of Matter


Thermodynamics and States of Matter

Corey
Today we’re asking a deceptively broad question: what does thermodynamics treat, and what does it leave out? A useful starting point is the idea of a state of matter. We can characterize a material by how it responds when we squeeze it, heat it, add more of the same material, or add something different.

Michael
And those responses aren’t just informal descriptions. Thermodynamics gives us ways to quantify them, called response functions. We’ll work with examples such as compressibility and thermal expansion. Applying fields—like gravitational, magnetic, or electric fields—is another way to affect matter, though that’s mostly outside the scope of this course.

Corey
Thermodynamics also treats transformations between states. We might identify a starting state, change conditions such as temperature or pressure, and predict a final state. Phase diagrams are one tool for representing those states and anticipating what material state we’ll end up with.

Michael
But the transformation itself is largely a black box in equilibrium thermodynamics. The subject describes the beginning and the end, not the detailed path or how quickly the change happens. There’s no time variable or rate calculation in this treatment; kinetics is the class that takes up that how and how fast.

Corey
So a helpful summary is that thermodynamics explains the why, while only hinting at the how. For example, it can explain why a hot pack or cold pack changes spontaneously, perhaps because of energy or entropy. It doesn’t necessarily explain the detailed mechanism inside the package—that might involve things like separate compartments, surface preparation, or supersaturation.

Michael
That distinction matters because thermodynamics is still extremely useful even without a detailed mechanism. We use it to predict and control matter, and to transfer knowledge from observations we already have to situations we haven’t directly tested.

Corey
Consider water at one atmosphere. We know its freezing point is zero degrees Celsius and its boiling point is one hundred degrees Celsius. Those familiar values come from observations and accumulated material-property data, not from an easy first-principles calculation of water’s behavior.

Michael
Thermodynamics provides a framework for using observations like those. Empirical observations go together with the laws of thermodynamics, and that framework lets us deduce predictions. In science we might call those hypotheses or predictions; in engineering, they help us make decisions.

Corey
For instance: at what temperature should a furnace run? How hot can an autoclave get without damaging a product? What temperature can a product tolerate during shipping? We usually can’t run an enormous number of experiments for every decision, so a deductive framework is valuable.

Michael
That framework depends on data. Thermodynamic databases hold observations about materials, and without material data the laws alone are just text on a page. Software can combine databases with thermodynamic methods to make useful predictions in a reasonable time.

Corey
Those databases can also have major economic value. A student version of a program may include only a limited dataset, while broader collections can be costly or guarded as trade secrets. In materials science, the data itself can be a crucial part of how an organization operates.

Michael
Now let’s shift to systems. A thermodynamic system is the part we choose to analyze, described with properties such as temperature, pressure, volume, and composition. We also need to decide where its boundary is—the division between what counts as inside and what counts as outside.

Corey
A balloon is a simple example. If we want to study the gas inside, using the actual balloon as the boundary is convenient. We could draw an imaginary surface through the balloon and analyze only its lower half, but then particles could move between the two halves, so we’d have to track that exchange.

Michael
That illustrates the main rule: choose boundaries to make the analysis convenient for the question you’re asking. The boundary doesn’t have to be a physical wall, but choosing one can determine which exchanges you need to keep track of.

Corey
Let’s try that with sugar added to water and stirred. The water and sugar belong in the system if our question is how sweet the resulting solution will be. The glass probably doesn’t, unless the solution reacts with it. Sugar water won’t etch ordinary glass in this example, but a hydrogen fluoride solution would, so then the glass might need to be included.

Michael
What about the atmosphere? For a quick kitchen example, we can usually leave it out. But in a production process, humidity could matter, so including the atmosphere might help with process control. And in farmhouse brewing, material from the surrounding air can enter the beer and affect it, so there are situations where the atmosphere belongs in the system.

Corey
The stir stick or stir bar is usually outside the thermodynamic system in this example. It helps us stir, but it isn’t part of the sugar-water material we’re trying to characterize.

Michael
Boundaries also have useful classifications. A closed system has no gain or loss of particles—the amount of material stays fixed. If water evaporates out of the system, that’s mass exchange, so we’d call it open; growing crystals while water slowly evaporates is one example.

Corey
A system can also be rigid or nonrigid. A rigid boundary keeps the system’s volume fixed. A nonrigid boundary can move, letting volume change. For the beaker, the glass walls are rigid, but the liquid’s top surface is free to move.

Michael
That freedom to change volume is connected to pressure regulation. A nonrigid system in contact with the atmosphere can respond to atmospheric pressure, whereas a rigid system can build up a pressure different from the outside. A fixed-volume pressure vessel is an example of that possibility.

Corey
There’s another boundary distinction: adiabatic versus diathermal. An adiabatic boundary does not allow heat exchange; it acts as thermal insulation. A diathermal boundary does allow heat to flow across it.

Michael
So in the sugar-water example, the system is closed if we’re not allowing material to leave or enter, nonrigid because the free surface can move, and diathermal because heat can pass through the glass and surface. The nonrigid boundary helps regulate pressure, and the diathermal boundary helps regulate temperature with the surroundings.

Corey
We can classify systems by their components, too. A unary system has one molecular component, such as water. A multicomponent system has more than one; water mixed with sucrose is a binary system.

Michael
Even though sucrose and water contain several chemical elements—carbon, hydrogen, and oxygen—we count the molecular components that remain present, not every element in their formulas. If we’re not breaking molecular bonds and forming new substances, the system is still water plus sucrose.

Corey
That classification depends on what process we’re studying. If we were digesting sugar or splitting water electrochemically, we’d need to consider the new chemical species involved. So the choice of components, like the choice of system boundary, depends on the situation and the question.

Michael
Another classification is homogeneous versus heterogeneous. A homogeneous system has one phase. A heterogeneous system has more than one phase, such as a solution together with solid material.

Corey
A supersaturated sodium acetate solution by itself is one phase, while sodium acetate solution coexisting with solid sodium acetate is a two-phase, heterogeneous system. And the open-versus-closed classification is separate: it tells us whether the system can exchange matter with its surroundings.

Michael
Now for state functions, which are also called state variables here. They characterize a system and are independent of its history. That idea can take some getting used to: if two systems are in the same state, these properties describe that state without needing to know the route each system took to get there.

Corey
Common examples include temperature, volume, pressure, composition, and the amount of material. Thermodynamic examples include enthalpy, entropy, Gibbs free energy, Helmholtz free energy, and internal energy. Material scientists often focus especially on Gibbs free energy and enthalpy.

Michael
An equation of state expresses one state function in terms of others. The familiar ideal-gas law, pressure times volume equals the number of moles times the gas constant times temperature, is an example: PV equals nRT. It holds for an ideal gas at equilibrium.

Corey
It’s a powerful relationship, but it’s also an exception. For most real materials we use, we don’t have such a simple closed-form equation of state. We may have to rely on more complicated data resources instead.

Michael
The gas constant is about 8.314 joules per kelvin. You can see the units by rearranging the ideal-gas law: pressure times volume divided by amount and temperature has units of pressure-volume per kelvin. Since pressure times volume has units of energy, that gives energy per kelvin.

Corey
Let’s return to response functions. Isothermal compressibility describes how volume responds to pressure while temperature stays fixed. One common definition is minus one over volume times the change in volume with pressure at fixed temperature. The minus sign reflects the fact that volume generally decreases as pressure increases.

Michael
Thermal expansion describes how volume responds to temperature at fixed pressure. It’s often written as one over volume times the change in volume with temperature. Both are examples of properties that quantify how matter responds when we change conditions.

Corey
For an ideal gas, we can work through compression at fixed temperature. Since PV equals nRT, volume is nRT divided by pressure. At fixed temperature and amount of gas, that makes volume inversely proportional to pressure.

Michael
Equivalently, the ideal-gas isothermal compressibility is one over pressure. If we integrate the volume change as pressure rises from an initial value to a final value, we get the final volume as nRT divided by the final pressure—just the ideal-gas law again.

Corey
That calculation is straightforward for an ideal gas. The reason to practice the differential and integral steps is that related manipulations become useful later for nonideal gases, where the behavior isn’t captured by such a simple relationship.

Michael
Those fixed-temperature pressure-volume curves are called isotherms. They’ll also be useful when studying heat engines and the Carnot cycle.

Corey
Another important distinction is intensive versus extensive properties. Intensive properties can be defined and measured locally within a system. Temperature, density, pressure, and—in a uniform system—composition are examples.

Michael
Extensive properties depend on the size or extent of the system and scale with it. Examples include volume, mass, energy, and entropy. You can measure a person’s temperature at different locations, but you can’t determine a person’s total mass by weighing just an arm.

Corey
Finally, a phase is a region in which all intensive properties are uniform. Solid sucrose, water, and simple syrup are examples of materials that can form phases. That uniformity is understood at appropriate, macroscopic or molecular length scales—not by zooming all the way down to individual atoms.

Michael
And phase boundaries can be considered using the same kinds of questions as system boundaries. In a sugar-and-water system, sugar molecules can cross the boundary between solid sugar and the solution in either direction. That boundary can also exchange volume and heat energy.

Corey
So the big picture is that thermodynamics characterizes states and predicts how systems change from one state to another, using observations, laws, and material data. It helps us understand why a change is favored and make practical decisions, while leaving the detailed mechanism and rate of the process to other areas such as kinetics.

Michael
And to use it well, we have to define the system thoughtfully: choose convenient boundaries, identify what can cross them, classify the material and its phases, and distinguish state properties from response functions. Those choices set up the thermodynamic analysis that follows.

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