Burn a kilogram of petrol in a car and you get about 44 million joules of heat. The car delivers maybe a quarter of that to the wheels. The rest leaves as hot exhaust and hot radiator water. That looks like bad engineering, and for a century people tried to fix it. Nobody has. Not because the metallurgy is hard, but because nature refuses.
This lesson is about that refusal: how much work you can extract from heat, where the limit comes from, and how to test any claim against it in about thirty seconds.
What an engine is, in bookkeeping terms
In the previous lesson you tracked a gas through single processes with the first law, , where is heat added to the gas and is work done by the gas. An engine is just that, run in a loop.
A heat engine takes in heat from something hot, does net work , and dumps heat into something cold. The hot thing is the hot reservoir (a burner, burning fuel, a nuclear core) and "reservoir" means it is big enough that taking heat out doesn't change its temperature. The cold thing is the cold reservoir: the river, the outside air, the sea.
The key structural fact is that an engine runs in a cycle. After one full loop, the working gas is back where it started: same pressure, same volume, same temperature. Internal energy depends only on the state, so over a complete cycle . The first law then collapses to something you can use without thinking:
Whatever heat goes in and doesn't come out the bottom, comes out the side as work. That single line solves a surprising number of problems. An engine absorbing 2000 J and exhausting 1500 J does 500 J of net work per cycle, and that is the whole calculation.
Efficiency: what you want over what you paid for
You paid for : that's the fuel. You wanted . So the thermal efficiency is
It is a pure number between 0 and 1, usually quoted as a percentage. An engine taking in 1000 J and delivering 300 J of work is 30% efficient. Two-thirds of the fuel went out the exhaust pipe.
Read the last form again: . To get you would need , an engine that dumps nothing. Every real engine dumps. The question the rest of this lesson answers is how much it must dump.
Three quantities, one equation between them. Given any two of , , you have the third, and then for free. Before reaching for anything clever, write down and see whether the problem is already finished.
Quick check
An engine absorbs 800 J per cycle and does 250 J of work. How much heat does it reject?
The ceiling nobody gets over
Here is the argument Sadi Carnot made in 1824, before anyone knew what heat was.
Suppose you had an engine that beat every other engine running between the same two reservoirs. Run your super-engine forwards to produce work, and use that work to drive an ordinary engine backwards: running an engine backwards is legitimate, it just pushes heat from cold to hot and consumes work, which is what a fridge does. Line the two up so that all the work from the first goes into the second.
Now look at the pair from outside. The work cancels. The two machines together take in no work and produce none. But because the first engine is more efficient, it needed less heat from the hot reservoir than the second one puts back. The net effect of the combination is heat moving from cold to hot, by itself, with nothing else changing.
That never happens. Put a cold spoon in hot soup and the spoon warms; it does not chill further while the soup boils. This observation (heat does not flow from cold to hot on its own) is the second law of thermodynamics, and the argument above shows it forbids the super-engine. No engine between two reservoirs can beat a reversible one, and every reversible engine between the same two reservoirs must have the same efficiency, since otherwise you could run this trick between two of them.
A reversible engine is one you could run backwards through exactly the same states. That needs no friction, no turbulence, and heat transferred only across vanishingly small temperature differences, which means running infinitely slowly. It's an idealisation. It is also a hard ceiling. For such an engine the heats turn out to be in the same ratio as the absolute temperatures:
Feed that into and you get the Carnot efficiency:
Temperatures in kelvin, always. This is the most useful single equation in thermodynamics, because it needs nothing about the engine, not the fuel, not the gas, not the mechanism. Only the two temperatures.
It also says something bleak. A power plant with a 900 K boiler dumping into 300 K cooling water can never exceed , and in practice reaches about 40%. To do better you have to raise or lower , and is set by the river.
Celsius in the Carnot formula is the most common wrong answer in this topic. An engine between 500 °C and 20 °C is not efficient. Convert first: 773 K and 293 K, giving . If an efficiency you compute comes out suspiciously close to 1, check the units before you check anything else.
Worked example 1: testing a claim
An inventor advertises an engine that is 45.0% efficient between reservoirs at 400 K and 250 K. By how many percentage points does the claim exceed the legal maximum?
The maximum is Carnot's:
That is 37.5%. The claim exceeds it by percentage points. Note the phrasing: percentage points, a subtraction of two percentages, not a ratio. If instead you were asked what fraction of the ideal the engine reaches, that would be , a different number entirely.
Quick check
A Carnot engine rejects heat at 300 K and is 25 percent efficient. What is its hot reservoir temperature?
Real cycles, and the area on a PV diagram
Carnot's cycle is two isotherms and two adiabats, and no real engine uses it: it would run too slowly to produce useful power. Real engines use cycles that fit into metal.
Whatever the cycle, the net work per cycle is the area enclosed by the loop on a PV diagram, positive if the loop runs clockwise. This follows from : on the upper branch the gas expands at high pressure and does a lot of work; on the lower branch you compress it back at low pressure, which costs less. The difference is the area between them. A rectangular loop between Pa and Pa and between m³ and m³ encloses J, and that is the net work, no further physics needed.
The Otto cycle is the petrol engine. Compress the fuel–air mixture adiabatically by a factor (the compression ratio), burn it at constant volume, let it push the piston back adiabatically, then exhaust at constant volume. Because the two adiabats change the temperature by the same factor , the heats work out to give
where is the ratio of heat capacities from the previous lesson: 1.40 for air, 5/3 for a monatomic gas like argon. Higher compression means higher efficiency, which is why compression ratios keep creeping up, and why engines knock when they creep too far.
Two cousins come up often and are worth recognising by name rather than deriving. The Diesel cycle burns at constant pressure instead of constant volume, and its efficiency involves a cutoff ratio as well as a compression ratio. The Brayton cycle is the gas turbine, with for pressure ratio . If a problem hands you one of these formulas, it wants careful substitution and nothing more.
Worked example 2: Otto against Carnot
An Otto cycle with and runs between a lowest temperature of 300 K and a highest of 2000 K. What percentage of the Carnot efficiency does it achieve?
Two efficiencies, then a ratio. Start with the Otto cycle:
Now , which is 2.5119. So , and .
The Carnot engine between the same extreme temperatures gets
The ratio is , so the Otto cycle reaches 70.81% of the Carnot efficiency. The lesson buried in that number: the Otto cycle loses a third of what is theoretically available, not because of friction (this is the ideal Otto cycle) but because it takes in heat over a wide range of temperatures instead of all at .
The Stirling cycle does better. It expands isothermally at , cools at constant volume, compresses isothermally at , and reheats at constant volume. The two isothermal legs each give work , straight from the previous lesson, and the constant-volume legs do no work at all. So for an expansion from to ,
With 1.00 mol, 600 K and 300 K: J per cycle. If a regenerator stores the heat released during the cooling leg and gives it back during the reheat, none of that heat has to be paid for, and the Stirling cycle hits the Carnot efficiency exactly.
Running the engine backwards
Reverse every arrow. Put work in, and heat moves from cold to hot. That is a refrigerator or a heat pump: the same machine, judged by different outputs.
For a refrigerator you want the heat pulled out of the cold box, so the coefficient of performance is
For a heat pump you want the heat delivered into the house, so . Both are ratios of what you want to what you paid, like efficiency, but both are routinely bigger than 1: a fridge removing 400 J for 100 J of work has COP 4. Nothing is violated; you're moving heat, not creating it.
Since , dividing by gives a relation worth memorising: . A machine rated at 4.50 as a fridge is 5.50 as a heat pump.
The Carnot ceiling turns into a floor on the work required. Using again,
A fridge holding 270 K in a 300 K kitchen can at best have COP . Notice what happens as the gap shrinks: the COP blows up, which is why heat pumps are cheap to run in mild weather and expensive in a hard frost.
In the fridge COP the denominator is the temperature difference, not the hot temperature. Writing gives 0.9 instead of 9.0 in the example above: an answer ten times too small, and less than 1, which should immediately look wrong for a fridge.
Worked example 3: an engine driving a fridge
A Carnot engine absorbs 1000 J from an 800 K reservoir and rejects at 300 K. All its work drives a Carnot refrigerator pumping heat from a 250 K cold box into the same 300 K surroundings. How much heat leaves the cold box?
Nothing here is new; it is two machines chained, and the link between them is the work. Do them one at a time.
The engine first. Its efficiency is
so the work it produces is J.
Now the fridge, which gets that 625 J. Its best possible COP between 250 K and 300 K is
and COP is , so
Over 3000 J out of the cold box for 1000 J of fuel. That is not magic: the 3125 J plus the 625 J of work all end up in the 300 K surroundings, which also received 375 J from the engine's exhaust.
The same chaining logic handles two engines in series. A Carnot engine from 900 K to 600 K, feeding everything it rejects into a second from 600 K to 300 K, is exactly equivalent to one Carnot engine from 900 K to 300 K, efficiency . The intermediate temperature cancels, which is worth remembering: it is the reason the Carnot efficiency can only depend on the two end temperatures.
Worked example 4: when the reservoirs are finite
Two identical blocks of heat capacity J/K sit at 400 K and 300 K. A reversible engine runs between them until they reach a common temperature. How much work comes out?
This one takes a real idea. The blocks are not reservoirs: as the engine runs, the hot one cools and the cold one warms, so the efficiency falls to zero by the time they meet. You cannot use a single Carnot efficiency.
What you can use is the property that makes an engine reversible. For a reversible engine the heats satisfy , which rearranged is . The quantity taken from the hot side equals the quantity given to the cold side. That quantity is called entropy, and reversible operation means the total entropy doesn't change. Taking heat out of a block at temperature changes its entropy by , so summing over the whole run from start to the final temperature :
The divides out, and a sum of logs is the log of a product, so . The final temperature is the geometric mean, not the average:
Now energy. The hot block gives up and the cold block absorbs ; the difference is the work:
Sanity check: the arithmetic mean would have been 350 K, and the geometric mean is lower. The engine has pulled energy out of the pair, so their total must be less than if you had simply let them touch. It is, by exactly 35.9 kJ.
Recognising which tool a problem wants
The problems in this topic sort into four kinds, and the first line of the question usually tells you which.
Only joules mentioned, no temperatures. Use and . That is the whole toolkit. Power questions live here too: multiply work per cycle by cycles per second, or work backwards from a fuel burn rate times an energy content.
Two temperatures mentioned. Something is being compared to Carnot. Compute immediately, in kelvin. If the problem also gives a real efficiency, it wants either the gap ("by how many percentage points") or the ratio ("what fraction of the ideal"). Read which.
A compression ratio, a pressure ratio, or a cycle by name. Otto, Diesel, Brayton, Stirling. Use the cycle's own efficiency formula, and expect the problem to then compare it to Carnot between the extreme temperatures.
The words fridge, heat pump, cold box, or a COP. Decide what the machine's user wants (heat removed or heat delivered) before writing anything. Then with the right on top, and the ceiling for a fridge.
And one signal that overrides all of these: if the hot or cold object is described with a heat capacity rather than a fixed temperature, it is not a reservoir. Its temperature will drift, and you will have to track through the whole process as in the last example. That is the bridge to the next lesson, where gets a name of its own and the second law stops being a rule about engines and becomes a statement about everything.