Skip to the content
Thermodynamics · Concept

The first law for a closed system

Heat in, minus work out, is the energy a closed system keeps.

airheat inwork outit lifts the weightsweightspistonenergy storedthe air gets hotterthe system:the air insideburner
A burner heats the air. The air lifts the weighted piston and keeps the rest of the energy.
In plain words

Put a burner under a cylinder of air with a heavy piston on top. The burner's heat flows into the air. Some of that energy pushes the piston up, and a push that moves something is work. The rest stays in the air and makes it hotter. So the heat in, minus the work out, is the energy the air keeps.

What it is

The first law is energy bookkeeping for a fixed batch of matter. Energy can cross its edge as heat or as work. Whatever crosses and is not passed on stays inside, as internal energy.

Why it matters

Every heating, cooling, squeezing or expanding problem starts here. It tells you how hot something ends up, or how much work it can do. Its steady-flow form runs every turbine and pump.

The rule

Heat put in, minus the work the air does, equals the energy the air stores.

heat: energy that flows in because the burner is hotter than the air; 1 kJ is 1000 joules · in kJ
work: energy the air gives out by pushing the piston · in kJ
the change in internal energy: what the air stores · in kJ

See it

A closed system is a fixed batch of matter: no air gets in or out. Energy can still cross its edge, as heat or as work.

Heat a cylinder of air

Try: Turn the burner up. Then pin the piston and turn it up again.

startair · 16.9 L169 °Cheat in3 kJwork out0.857 kJstored2.14 kJwhere the heat wentwork outstored in the air
work out (lifting the piston)
0.8567 kJ
energy stored in the air
2.143 kJ
air temperature
169.3 °C

Notice: Free, part of the heat lifts the piston and the rest is stored. Pinned, no work is done, so all of it is stored.

The energy the air holds inside is its internal energy, . For air, it rises as the air gets hotter.

Mind the signs. Heat flowing in counts as plus. Work the air does on the piston counts as plus too.

A worked example

A cylinder holds 0.02 kg of air (about 11 litres) at 150 kPa (1.5 bar) and 20 °C, under weights. A burner adds 3 kJ. Where does it go?

  1. The weights hold the pressure. How much does the air warm? Use , with = 1.005 kJ/kg·K.

  2. How much work does it do lifting the piston? Use , with = 0.287 kJ/kg·K.

  3. How much does it store? Use , with = 0.718 kJ/kg·K.

  4. Check the rule: is equal to ?

  5. Now pin the piston and add the same 3 kJ. How much is stored?

Common mistakes

  • Heat is not temperature. Heat is energy crossing the wall; temperature tells how hot the air is.
  • Watch the sign of work. Here it is plus when the air pushes out, and minus when the piston is pushed in.
  • A pinned piston or a rigid tank does no work. Then every bit of the heat is stored.

Related pages