Loading
Energy can neither be created nor destroyed — only transformed, transferred, and conserved in every process across the universe.
For millennia, humans relied on fire, wind, and flowing water to do useful work without understanding why these processes behaved the way they did. The question at the heart of thermodynamics is deceptively simple: what is heat, and how does it relate to mechanical work? Answering that question required centuries of experiment, fierce debate, and the overthrow of an entire theory—the caloric model—that treated heat as a fluid substance flowing between objects.
The story of the first law is really the story of how scientists came to understand that heat and work are both manifestations of the same underlying quantity: energy. That insight—the principle of conservation of energy—is now considered one of the most fundamental laws in all of physics.
By the mid-nineteenth century, the idea that energy is neither created nor destroyed—but merely changes form—had evolved from a vague intuition into a precise, testable law. The first law of thermodynamics gave engineers a bookkeeping tool to track energy flows in engines, chemical reactions, and natural processes. It remains one of the most universally applicable principles in science.
Before we state the first law formally, we need to define several key concepts precisely. Thermodynamics is careful about language because the same everyday words—"heat," "work," "energy"—carry specific technical meanings that differ from casual usage.
A crucial distinction lies between state functions and path functions. Internal energy U is a state function: the change ΔU between two equilibrium states is the same regardless of the path taken. Heat Q and work W, however, are path-dependent—their individual values depend on how the process unfolds. The remarkable insight of the first law is that while Q and W each depend on the path, their sum (Q + W) is always path-independent.
The following diagram illustrates the fundamental bookkeeping of the first law. A thermodynamic system exchanges energy with its surroundings through only two channels: heat and work. The change in the system's internal energy equals the net result of these transfers.
In this diagram, the central box represents our chosen thermodynamic system. Energy enters as heat (Q > 0) when the surroundings are hotter than the system, or leaves as heat (Q < 0) when the system is hotter. Similarly, energy enters as work done on the system (W > 0)—for example, compressing a gas—or leaves as work done by the system (W < 0)—for example, a gas pushing a piston outward. The net result of all these transfers is the change in the system's internal energy, ΔU.
Notice that the diagram has no "creation" or "destruction" port for energy. There is no arrow labeled "energy appears from nowhere" or "energy vanishes." That is the essence of the first law: the only way to change the internal energy of a system is to transfer energy across its boundary as heat or work.
The first law of thermodynamics can be stated in several equivalent mathematical forms, each useful in different contexts. We begin with the most general statement and then derive specialized versions for common thermodynamic processes.
This equation states that the change in a system's internal energy equals the heat transferred to it plus the work done on it. It is a conservation statement: every joule of energy that enters the system (by either channel) must show up as an increase in U, and every joule that leaves must show up as a decrease.
Sign convention note: In this lesson we use the IUPAC (physics) convention where W is positive when work is done on the system. Many chemistry and engineering textbooks instead define W as work done by the system, yielding ΔU = Q − W. Both conventions are correct; just be consistent.
The notation here is important. We write dU with a plain "d" because internal energy is a state function—its differential is exact. Heat and work are path functions, so their infinitesimal quantities are written with δ (or sometimes đ) to emphasize that they are not exact differentials.
For the common case of a gas expanding or compressing in a cylinder with a movable piston, the work is related to the external pressure and the change in volume. During a quasi-static (infinitely slow) process, the external pressure equals the system pressure at every instant, so Pext = P, and we can integrate along the process path on a PV diagram.
For an ideal gas, internal energy depends only on temperature (not on pressure or volume). This remarkable simplification means that whenever we know the temperature change, we can immediately compute ΔU using the heat capacity at constant volume. For a monatomic ideal gas, Cv = 3/2R ≈ 12.47 J/(mol·K). For a diatomic ideal gas near room temperature, Cv = 5/2R ≈ 20.79 J/(mol·K).
The first law applies to every thermodynamic process, but its practical form simplifies beautifully when one state variable is held constant. Understanding these special cases is essential for solving problems and for building intuition about how energy flows through physical systems.
The PV diagram above shows several paths connecting state A (high pressure, small volume) to state B (lower pressure, larger volume). The isothermal curve follows the equation PV = nRT with T constant. The adiabatic curve is steeper because the gas cools as it expands without heat input. The two-step path (isobaric expansion then isochoric cooling) illustrates that the work—the area under the curve—depends on the path, even though ΔU is the same for all paths.
| Process | Constraint | First Law Simplification | Key Result |
|---|---|---|---|
| Isothermal | ΔT = 0 | ΔU = 0, so Q = −W | All heat absorbed equals work done by gas |
| Adiabatic | Q = 0 | ΔU = W | Internal energy changes only through work |
| Isochoric | ΔV = 0 | W = 0, so ΔU = Q | All heat goes into changing internal energy |
| Isobaric | ΔP = 0 | Q = ΔU + PΔV = nCpΔT | Some heat changes U, some does PΔV work |
| Free expansion | Pext = 0, Q = 0 | ΔU = 0 | No work, no heat → T unchanged (ideal gas) |
Let us work through a complete problem that ties together the first law, ideal gas behavior, and a two-step process. This example demonstrates how to track energy carefully through each step.
The first law of thermodynamics is extraordinarily powerful, but it has clear limitations. Understanding both is essential for knowing when to apply it confidently and when to reach for additional tools.
| Aspect | Strength | Limitation |
|---|---|---|
| Universality | Applies to all systems — gases, liquids, solids, biological organisms, stars | So general that it provides no details about how a process unfolds |
| Energy accounting | Perfectly tracks every joule entering and leaving a system | Says nothing about the direction — it treats Q flowing hot→cold the same as cold→hot |
| State function (ΔU) | ΔU depends only on initial and final states, simplifying calculations | Cannot determine Q and W individually without knowing the process path |
| Predictive power | Can calculate any one of ΔU, Q, W if the other two are known | Cannot predict whether a process will occur spontaneously — need the second law for that |
| Perpetual motion | Rules out machines that create energy from nothing (perpetual motion of the first kind) | Does not rule out 100% efficient conversion of heat to work — that requires the second law |
Perhaps the most important limitation is the directionality problem. The first law is satisfied equally well by a process running forward or backward. If you drop a hot stone into cold water, the first law tells you the total energy is conserved as the stone cools and the water warms. But the first law is equally satisfied by the reverse scenario — the stone spontaneously heating up while the water cools down — which never happens in nature. Explaining why requires the second law of thermodynamics and the concept of entropy.
The first law, as presented above, is the starting point for much deeper physics and engineering. As you progress, you will encounter extensions and reformulations that expand the law's reach into chemistry, fluid dynamics, statistical mechanics, and even cosmology.
| Introductory Concept | Advanced Extension | Key Idea |
|---|---|---|
| ΔU = Q + W (closed system) | Open system: ΔU = Q + W + Σ(ṁh) for mass flow | Enthalpy (h) accounts for flow work in open systems like turbines and nozzles |
| Internal energy U as a macroscopic quantity | Statistical mechanics: U = ⟨E⟩ = Σ Ei e−βEi / Z | Internal energy is the ensemble average of microscopic energies over all microstates |
| First law alone (energy conservation) | Combined first + second: TdS = dU + PdV | The fundamental relation unites energy, entropy, temperature, pressure, and volume |
| Ideal gas applications | Real gas equations (van der Waals, Redlich-Kwong) | Intermolecular forces make U depend on V as well as T; the first law still applies exactly |
| Heat capacity Cv as a constant | Quantum theory: Cv(T) depends on activated degrees of freedom | Einstein and Debye models explain why heat capacities decrease at low temperatures |
In engineering thermodynamics, the first law is extended via the steady-state energy equation for open systems (control volumes), incorporating kinetic and potential energy terms along with mass flow rates. In chemistry, the first law at constant pressure gives rise to enthalpy (H = U + PV), which simplifies calorimetry and reaction energetics. In astrophysics, the first law governs stellar structure — the balance between gravitational contraction (doing work on the star) and nuclear fusion (releasing heat) determines a star's equilibrium.
No matter how far you go in science, the first law remains inviolable. There is no known exception to conservation of energy, making it one of the deepest symmetry principles in physics — connected via Noether's theorem to the time-translation invariance of the laws of nature.
Test your understanding with these five problems, arranged from conceptual to challenging. Try each one before revealing the answer.
The first law of thermodynamics is a statement of energy conservation: the change in a system's internal energy (ΔU) equals the heat (Q) transferred to the system plus the work (W) done on it. Mathematically, ΔU = Q + W. Internal energy is a state function — it depends only on the current thermodynamic state, not on the path taken — while heat and work are path functions whose individual values depend on how a process unfolds. For an ideal gas, U depends only on temperature, giving ΔU = nCvΔT regardless of the process.
Special cases simplify the first law: in isothermal processes (ΔU = 0 for ideal gases), all heat converts to work. In adiabatic processes (Q = 0), only work can change U. In isochoric processes (W = 0), all heat changes U directly. The first law governs every thermodynamic process from engine cycles to chemical reactions, but it cannot predict directionality — for that, we need the second law and entropy. The historical journey from Rumford's cannon-boring observations to Clausius's formal statement illustrates how experiment and theory together forged one of the most inviolable principles in all of science.
Keep learning with more lessons from the same subject.