A power plant burns fuel and sends out electricity. A refrigerator draws electricity and pumps heat out of your food. A falling weight stirs a tank of water and the water gets warm. Energy changes form in all three, but none of it is ever created or lost. Where does the energy go, and how do you keep the books?
Energy, in three accounts
From mechanics you already know two forms of energy. A mass moving at speed carries kinetic energy ; lifted to height , it stores gravitational potential energy . In mechanics, work done on a body changes these and nothing else.
Thermodynamics adds a third account: internal energy, . It is everything stored inside the matter — the jiggling, spinning and vibrating of its molecules, the energy of their chemical bonds, the energy holding nuclei together. We never need its absolute value, only how it changes. A system's total energy is
There are exactly two ways to change for a closed system: work and heat. Both are energy in transit across a boundary. A system contains energy; it does not contain work or heat.
Work is an area
Thermodynamics takes the mechanical definition of work, force times distance, and broadens it: work is any energy transfer across the boundary whose sole effect outside could have been the lifting of a weight. A spinning shaft, an electric current and a moving piston all qualify.
Sign convention. Following Moran and Shapiro, is positive when the system does work on its surroundings — a gas pushing a piston out, steam spinning a turbine — and negative when work is done on the system.
The most important kind for us is the work of a moving boundary. Gas at pressure pushes on a piston of area with force ; if the piston moves , the gas does work . Over a quasi-equilibrium process,
which is just the area under the process curve on a p–V diagram. Many real expansions and compressions follow a polytropic path , and the exponent tells you a lot about what is going on:
The first thing the diagram teaches is that work depends on the path. Two processes between the same pair of states can have completely different areas under them. Work is not a property of a state; it is a property of a process. That is why we write for a little bit of it, not .
Heat is energy crossing because of a temperature difference
Heat, , is energy transferred across a boundary because of a temperature difference — and only that. Its sign convention is the opposite of work's: is positive when heat flows into the system. (The two conventions together reflect the steam engine: heat in, work out, both positive.) A process with is adiabatic.
Heat travels in three ways:
- Conduction, through a material, by molecules passing on their agitation: Fourier's law, .
- Convection, between a surface and a moving fluid: .
- Radiation, as electromagnetic waves, needing no medium at all: from a surface at absolute temperature .
Thermodynamics tells you how much heat must cross; these rate laws, the province of heat transfer, tell you how fast it will.
The first law
Two hundred years ago, heat was thought to be a fluid — "caloric" — that flowed from hot bodies to cold ones and was conserved in its own right. James Joule killed the idea in the 1840s by showing that work could do exactly what heat does. Stir water hard enough, and it warms just as if it had been heated:
Joule's experiments, and every experiment since, establish the First lawEnergy is conserved: for a closed system, ΔE = Q − W. Energy can change form and cross boundaries, but never appears or disappears.: energy is conserved. For a closed system,
The change in the energy stored equals the net energy that crossed the boundary as heat and work. On the left, a change in a property — it depends only on the end states. On the right, two quantities that depend on the path. The magic of the first law is that their difference doesn't.
Cycles: the books must balance to zero
A cycle returns a system to its starting state, so every property — internal energy included — comes back to where it was. Over a whole cycle , and the first law collapses to
The net work out of a cycle is the net heat into it. That single line underlies every engine and every refrigerator in this course. Three kinds of cycle matter:
Power cycles take in heat from a hot source, deliver work, and reject the rest. Their figure of merit is the thermal efficiency,
Refrigeration cycles take work and use it to pull heat out of a cold space. Their measure is the Coefficient of performanceUseful heat moved divided by work in: Q_C/W for a refrigerator, Q_H/W for a heat pump. It can exceed 1., .
Heat-pump cycles are the same machine, valued for the heat they deliver to a warm space: .
Going deeper
Going deeper: why the polytropic exponent tells you about heat
For an ideal gas with constant specific heats, depends only on temperature: . Along constant, the work is for , and for . Combining these with the first law gives the heat:
So for an expansion (), heat flows in when and out when ; at the process is adiabatic. For compression the signs reverse. When , something curious happens in a compression: the gas gets hotter even as heat flows out — the work done on it raises its internal energy faster than the heat loss lowers it. Internal-combustion engine compression strokes live in exactly this range.
- A system's energy is internal + kinetic + potential. It changes only by work and heat crossing the boundary.
- Boundary work is , the area under the path on a p–V diagram. Work and heat depend on the path; does not.
- Sign convention: when the system does work, when heat flows in.
- First law: . Joule showed that work and heat are interchangeable ways of changing .
- Over a cycle, . Efficiency ; refrigerators and heat pumps are rated by coefficients of performance.
Next: to use the first law on real substances we need their properties. Why does water boil at 70 °C on Everest — and how do engineers read a steam table?