INTERNAL ENERGY AND THE FIRST LAW
Energy is conserved; heat and work are two ways to spend it.
A doctor reads it in the blood
In 1840 a young German ship's doctor, , was bleeding feverish sailors off the coast of Java when he noticed something that should not have mattered. Their venous blood — the dark blood returning to the lungs — was far brighter red than he was used to seeing in cold Heilbronn. In the tropical heat the body needed to burn less fuel to stay warm, so it drew less oxygen from the blood, and what came back was less depleted.
From this clinical accident Mayer reasoned his way, alone and without a laboratory, to one of the deepest principles in physics: that heat and mechanical work are two forms of one conserved thing, and that the body's chemical fuel, its heat, and its motion must all balance in a single ledger. He published in 1842 — a year before Joule's famous paddle-wheel experiment — and was ignored for a decade. The principle he glimpsed is the first law of thermodynamics.
Internal energy, the only thing that's stored
A gas, a block of iron, a cup of coffee — each holds a definite amount of energy in the motion and arrangement of its molecules: their kinetic energy as they fly and vibrate, the potential energy of the forces between them. The sum of all of it is the Internal energy .
The crucial property of is that it is a State function: it depends only on the current state of the system — its temperature, pressure, volume — and not at all on how the system got there. Two identical cups of coffee at the same temperature have the same internal energy whether one was heated on a stove and the other in a microwave. The history is forgotten; only the state remains.
The first law stated
There are exactly two ways to change a system's internal energy: add heat to it, or do work on it (equivalently, let it do work). The first law is the bookkeeping that ties them together:
In words: the change in internal energy equals the heat added to the system minus the work done by the system on its surroundings. Pour in heat and rises; let the gas push a piston and do work, and falls by the amount it spent. Energy is never created or destroyed — only moved across the boundary as heat or as work, and banked as internal energy.
Sign conventions — pick one and keep it
The equation hides a choice. We have written with positive when heat flows in and positive when the system does work out — the physics convention, and the one used throughout this branch. Chemists often write instead, defining as the work done on the system, which flips its sign.
Both are correct; they describe the same physics with opposite labels on one arrow. The only sin is to mix them mid-calculation. The mnemonic for our convention: heat in is a credit (); work out is a debit (), because the system spent that energy on the world.
Three discoveries, no contact
What makes the first law remarkable is not just its truth but its triple birth. Within five years, three men in different countries and different disciplines arrived at energy conservation by completely different roads, none of them aware of the others.
brought the experimental precision, churning water with a weighted paddle and measuring the faint warming. brought the mathematics, deriving conservation as a law spanning mechanics, heat, electricity, and life itself. That a physician, a brewer, and a polymath converged on the same equation is a sign that the idea's time had simply come.
Why you cannot build a perpetual motion machine
The first law has teeth. A machine that runs forever, producing useful work from nothing, is called a perpetual motion machine of the first kind — and the first law forbids it outright. Over any complete cycle the working substance returns to its starting state, so , and the law collapses to : you can only get out as much work as you put in as heat. There is no surplus to harvest.
In words: around a closed cycle the internal energy comes back to where it began, so the net work out can never exceed the net heat in. The Académie Française stopped accepting perpetual-motion proposals as early as 1775, on hard-won engineering instinct; the first law later explained why every one of them must fail. Inventors still send such designs to patent offices today.
What's next
We now have the central accounting principle: internal energy is the only stored quantity, and it changes only through heat and work crossing the boundary. But the work term has so far been an abstract number on a slider. What does it actually look like for a gas? How does pushing a piston turn into joules?
That is the geometry of work and PV diagrams, where work becomes an area you can measure and the four canonical processes take shape — building toward the heat engines that drove the whole subject into existence, and that took root in the work of heat capacity and calorimetry on which the measurement of heat depends.