Thermodynamics Fundamentals


Thermodynamics Fundamentals

Anna
Welcome to thermodynamics. At its heart, this branch of physics studies how heat energy changes into work and other forms of energy—and how those changes can happen in reverse. A gas pushing a piston, a kettle boiling over a flame, and steam driving a turbine may look different, but they share a central story: heat enters a system, and some of that energy can produce mechanical work.

Michael
And we’ll keep returning to five quantities: pressure, volume, temperature, internal energy, and heat. The symbols are P, V, T, U, and Q. The goal is to understand what they mean before leaning on equations.

Anna
Let’s begin with the word system. It’s the part of the universe we choose to study. Everything outside it is the surroundings. A system’s state is its current condition, described by parameters; a process is a change from one state to another.

Michael
And equilibrium is the condition in which the system’s macroscopic variables have settled and are no longer changing with time. In a problem, the first move is to draw a boundary around the system. Then ask: what crosses that boundary? Thermodynamics keeps track of two things crossing it—matter and energy.

Anna
That boundary tells us what kind of system we have. An open system can exchange both matter and energy with its surroundings. A closed system exchanges energy but not matter. An isolated system exchanges neither. The isolated case is especially useful because conservation laws are easiest to read when nothing crosses the boundary.

Michael
Once we choose the system, we describe it with parameters such as pressure, volume, temperature, internal energy, and number of moles. Some parameters depend on how much system we have. Those are extensive: double the system, and quantities like volume, mass, and total internal energy double too.

Anna
Intensive variables don’t depend on the system’s size. A quick test is to imagine doubling the system: if the quantity doubles, it’s extensive; if it stays the same, it’s intensive. Ratios of extensive quantities can be intensive—for example, mass divided by volume gives density.

Michael
Equilibrium is also important for temperature. A system is in thermal equilibrium when macroscopic quantities such as pressure, volume, temperature, mass, and composition stop changing with time. And the boundary itself can have different thermal properties.

Anna
An adiabatic wall is insulating: heat cannot flow across it. It can still move, though, so work can happen—for example, when a piston slides. A thermos wall is a useful mental picture. A diathermic wall conducts heat, allowing heat to flow until the two sides reach the same temperature, like a thin metal wall between gas reservoirs.

Michael
Those wall types will matter again when we discuss the Second Law and the Carnot cycle. But first, let’s define work. For a constant-pressure change, the work done by the system is pressure times the change in volume: W equals P times delta V.

Anna
Picture gas pushing a piston. Pressure times the piston’s area gives the force, and the piston’s distance times that area gives the change in volume. Put those together and you get pressure times change in volume. If pressure varies along the way, work is the integral of pressure with respect to volume.

Michael
On a pressure-volume, or p-V, diagram, the area under the path represents the work. With the sign convention we’ll use throughout: expansion means positive work, because the system does work on its surroundings. Compression means negative work, because the surroundings do work on the system.

Anna
Work also depends on the path, not just the starting and ending states. Two different curves connecting the same states can enclose different areas, and therefore represent different amounts of work. That’s why a p-V diagram is more than a picture: it’s a ledger of work.

Michael
The next quantity is internal energy, U. It is the energy a system has because of its molecules. One contribution is molecular kinetic energy—the molecules moving and vibrating. Another is molecular potential energy, associated with the forces between molecules.

Anna
For an ideal gas, intermolecular forces are negligible, so internal energy depends only on temperature. For real substances, internal energy can also depend on pressure and volume. In energy bookkeeping, the change in internal energy, delta U, is usually what matters—not the system’s absolute value of U.

Michael
That brings us to the Zeroth Law, which gives temperature a well-defined meaning. If system A is in thermal equilibrium with system C, and system B is also in thermal equilibrium with C, then A and B are in thermal equilibrium with each other. In symbols, if T-A equals T-C and T-B equals T-C, then T-A equals T-B.

Anna
That is what lets a thermometer work: when it reaches thermal equilibrium with the system, its temperature is the system’s temperature. The law is called the Zeroth Law because it is logically prior to the First and Second Laws. We need a consistent idea of temperature before we can state those laws.

Michael
The First Law is the energy bookkeeping rule. Heat supplied to a system can increase its internal energy or be used to do work on the surroundings. With our sign convention, delta Q equals delta U plus delta W. In differential form, dQ equals dU plus dW.

Anna
So every joule of heat entering the system is accounted for: some may remain as internal energy, and some may leave as work. The First Law is conservation of energy written in terms of heat, work, and internal energy. But it does not tell us which way heat will flow, or whether a process is possible. Those questions belong to the Second Law.

Michael
A process is simply a change of state. We’ll organize familiar processes by what stays fixed. The prefix iso means ‘same,’ and the rest of the name tells us what remains constant: isothermal means constant temperature, isobaric means constant pressure, and isochoric means constant volume. Adiabatic means no heat crosses the boundary.

Anna
The curves we draw for these processes are idealized as quasi-static: slow enough that quantities such as temperature and pressure are uniform throughout the system at each instant. Real processes can approximate that ideal when they happen slowly enough.

Michael
First, an isothermal process keeps temperature constant. For an ideal gas, the ideal gas law then means pressure and volume trade off so that P times V stays constant. That’s Boyle’s law. On a p-V diagram, an isotherm is a rectangular hyperbola, and each temperature has its own curve; the higher-temperature curve lies farther from the origin.

Anna
For an ideal gas, constant temperature means internal energy doesn’t change, because U depends only on temperature. So dU is zero, and the First Law becomes dQ equals dW: heat absorbed by the gas becomes work done by the gas. The work can be written as nRT times the natural logarithm of final volume over initial volume, or equivalently nRT times the natural logarithm of initial pressure over final pressure.

Michael
That logarithm is just another way of expressing the curved path’s area. A useful check on the isotherm is its slope: from PV constant, the slope is minus P over V. The isothermal bulk modulus of an ideal gas—the quantity minus V times dP over dV—is therefore P. Phase changes such as melting and boiling can also occur at constant temperature.

Anna
Next is the adiabatic process: no heat crosses the system boundary, so dQ is zero. For an ideal gas, the process obeys Poisson’s law, P times V to the gamma equals a constant. Equivalent forms are T times V to the gamma minus one equals a constant, and T to the gamma divided by P to the gamma minus one equals a constant.

Michael
As an adiabatic gas expands, it does positive work, its internal energy drops, and its temperature falls. Pressure drops faster with volume than it does along an isotherm, because both increasing volume and decreasing temperature reduce pressure. During compression, the reverse happens: work is done on the gas, and its temperature rises.

Anna
For an ideal gas in an adiabatic process, the work done by the gas can be written as nR times the initial temperature minus the final temperature, divided by gamma minus one. Examples that approximate adiabatic changes include a sudden burst of a tyre tube, sound-wave propagation in air, and sudden compression in a non-conducting piston.

Michael
Third is the isobaric process, where pressure is constant. On a p-V diagram it’s a horizontal line. Expansion moves to the right as volume increases; compression moves to the left. At constant pressure, some heat goes into increasing internal energy and some goes into work as the gas expands.

Anna
The heat-capacity relation for an ideal gas is C-P equals C-V plus R per mole. The difference between C-P and C-V accounts for the extra energy needed when heating at constant pressure, because the gas can also expand and do work.

Michael
Fourth, an isochoric process holds volume constant. Its ideal-gas relation is P over T equals a constant, known as Gay-Lussac’s law. On a p-V diagram, it is a vertical line, because volume does not change.

Anna
Since the volume doesn’t change, work is zero. The heat supplied goes entirely into internal energy: dQ equals dU equals n C-V dT. So in this process, no part of the heat leaves as work.

Michael
Fifth is the cyclic process. The system passes through several states and returns to its starting state. Since internal energy is a state function, the total change in U over a complete cycle is zero. The First Law then gives net heat supplied equal to net work done.

Anna
On a p-V diagram, the net work done over a cycle is the area enclosed by its loop. A clockwise loop represents net work done by the system, as in a heat engine. An anticlockwise loop represents net work done on the system, as in a refrigerator or heat pump.

Michael
Now we reach the Second Law, which limits what machines can do. A heat engine cannot convert all absorbed heat into work: its efficiency cannot be one hundred percent, and it cannot reject zero heat to a cold reservoir. Another way to state the same limit is that heat cannot move from a colder body to a hotter one without an external agency.

Anna
The Second Law is expressed using entropy, S, a measure associated with the randomness of molecular motion. Greater randomness corresponds to greater entropy. During a phase change at constant temperature, the entropy change is delta Q divided by T, or plus or minus mL over T, where mL is the heat involved in the phase change.

Michael
When a substance’s temperature changes from T-one to T-two, its entropy change is m times its specific heat times the natural logarithm of T-two over T-one. You can also write that using a base-ten logarithm with the corresponding factor of about 2.303. The Second Law also gives macroscopic physics a direction in time: past and future are not interchangeable.

Anna
Let’s pull the five process types together. Isothermal: T is fixed, PV is constant, and for an ideal gas dQ equals dW. Adiabatic: no heat crosses, PV to the gamma is constant, and dU equals minus dW. Isobaric: P is fixed, V over T is constant, and the First Law includes both internal-energy change and pressure-volume work.

Michael
Isochoric: V is fixed, P over T is constant, and dQ equals dU because there’s no work. Cyclic: the system returns to its initial state, so delta U over the loop is zero and net heat equals net work. That reference table is a useful starting point for problems.

Anna
With the laws in place, we can ask what machines can be built. A heat engine converts heat energy into mechanical energy. External-combustion engines burn fuel outside the main body, as in a steam engine; their practical efficiency is around twelve to sixteen percent.

Michael
Internal-combustion engines burn fuel inside the main body, as petrol and diesel engines do. The practical efficiency figures in the material are about twenty-six percent for petrol engines and forty percent for diesel engines. Thermal efficiency, eta, is the work done per cycle divided by the heat absorbed per cycle.

Anna
If Q-one is heat absorbed from the hot source and Q-two is heat rejected to the cold sink, then eta equals one minus Q-two over Q-one. For a reversible engine operating between absolute temperatures T-one and T-two, eta equals one minus T-two over T-one. That temperature-based expression gives the Carnot efficiency ceiling.

Michael
Real engines fall well below that ceiling because of effects such as friction, heat leaks, and combustion that takes finite time. The Carnot cycle is an ideal, reversible cycle between two temperatures. Its path has four stages, and the work done per cycle is the area enclosed on the p-V diagram.

Anna
On the isothermal stages of a Carnot cycle, an ideal gas’s internal energy stays constant, so heat flows to or from the reservoirs while work is done. On the adiabatic stages, there is no heat exchange; work changes internal energy and therefore changes temperature. The cycle is a thought experiment rather than a practical machine because its steps are reversible and quasi-static.

Michael
For the reversible cycle, the ratio of heat absorbed at the hot temperature T-one to heat rejected at the cold temperature T-two is T-one over T-two. Substituting that relationship into the efficiency formula gives eta equals one minus T-two over T-one. Carnot’s theorem says no engine between those same two temperatures can be more efficient, and every Carnot engine’s efficiency depends only on the reservoir temperatures—not on the working substance.

Anna
So the way to raise the ideal efficiency is to widen the temperature gap between the hot source and the cold sink. Changing the working substance doesn’t change the Carnot limit. And if we run the Carnot cycle backward, we get a refrigerator.

Michael
A refrigerator uses work to move heat from the cold reservoir to the hot one. A refrigerator and a heat pump are the same kind of device; we call it a refrigerator when we care about cooling the cold side, and a heat pump when we care about heating the hot side.

Anna
For a refrigerator, the useful output is the heat extracted from the cold reservoir, Q-two, not the work input. So we use the coefficient of performance, beta, defined as Q-two over W. Since W equals Q-one minus Q-two, beta is also Q-two divided by Q-one minus Q-two.

Michael
For a reversible refrigerator operating between cold temperature T-two and hot temperature T-one, beta is T-two divided by T-one minus T-two. Unlike an engine’s efficiency, a refrigerator’s coefficient of performance can be greater than one: the device can move more heat than the work supplied. The Carnot limit still applies.

Anna
And the connection between the two ideal performance measures is beta equals one minus eta, divided by eta—that is, one over eta minus one. The key is that they measure different useful outputs: an engine produces work, while a refrigerator removes heat from the cold side.

Michael
That’s our route through thermodynamics: define the system and its boundary, track heat and work, use the Zeroth and First Laws to make sense of temperature and energy, and use the Second Law to understand limits and direction. Then the same ideas let us analyze engines, refrigerators, and the ideal Carnot benchmark.

Anna
For further reading, the material points to Zemansky and Dittman’s Heat and Thermodynamics, and Halliday, Resnick, and Walker’s Fundamentals of Physics, especially chapters eighteen through twenty. The big habit to take into problem-solving is simple: identify the system, decide what can cross its boundary, and then choose the process rule that matches what is held fixed.

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