Mid-October 2026: in Year 4, at technical institutes of the technology track (and in many licei, the Italian academic high schools), in class you are still between heat and the gas laws. The first law of thermodynamics usually arrives in November, and the test that puts it to the proof falls five to nine weeks later, between the end of November and mid-December. I am writing now because this topic rests on a base that has to be built calmly: the equation of state, the - plane and, above all, a single sign convention that you must never betray.
In my lessons the first law is almost always lost for the same reason: the student knows the formula, but can’t say whether in that transformation the work is positive or negative, and then one wrong sign drags everything else down. The rest is mechanics: four transformations, four rules. If you lack the basics on gases, first review the gas laws (there I see them from the chemistry side) and specific heat and thermal equilibrium.
System, internal energy, and what the law says
A thermodynamic system is the portion of the world you are studying: here it will almost always be a gas in a cylinder with a piston. Everything else is the environment. The system has an internal energy , the sum of the kinetic and potential energy of its molecules. For an ideal gas depends only on temperature: if doesn’t change, doesn’t change.
The system can exchange energy with the environment in two ways: as heat (because of a temperature difference) and as work (the piston moving). The first law is the conservation of energy written for these two exchanges:
The sign convention, written once and for all
In this post I use the convention most common in Italian schools:
- : the system absorbs heat; : it gives it off.
- : the work is done by the system on the environment (the gas expands); : it is done on the system (the gas is compressed).
Some books instead use for the work done on the gas and write . It is the same physics with the sign of reversed. Check in your book and notes which one your teacher uses, and then don’t change halfway through a test. Whoever mixes the two notations gets it wrong.
Equation of state and molar specific heats
For an ideal gas:
with in pascals, in cubic metres, in kelvin, in moles and . Remember the conversions: , , . Here the temperature must be absolute, unlike the specific heat formulas where the difference is enough.
For a monatomic ideal gas (helium, neon, argon) the molar specific heats are
The first applies to heating at constant volume, the second at constant pressure, and . The useful fact is that for an ideal gas, in any transformation,
even when the transformation is not at constant volume: depends only on , and is its coefficient. Almost all exercises are solved by calculating from here, the work from the graph or from the formula, and the heat by difference.
Work is an area
On the - plane the work done by the gas in a transformation is the area under the curve:
- expansion (the point moves to the right): ;
- compression (to the left): ;
- at constant volume the point doesn’t move horizontally: ;
- in a cycle (you return to the starting point) the total work is the enclosed area, positive if the cycle runs clockwise, negative if anticlockwise.
If the pressure is constant the calculation is a rectangle: . If it changes, you need the formula for the specific transformation.
The four transformations
| Transformation | What stays constant | Work | Heat | |
|---|---|---|---|---|
| isochoric | ||||
| isobaric | ||||
| isothermal | ||||
| adiabatic | no heat exchange |
What the first law says in each case:
- Isochoric: the piston is locked, , so . All the heat ends up as internal energy and the temperature changes.
- Isobaric: . The heat is split: part heats the gas, part moves the piston. That is why : to rise one kelvin at constant pressure you need more heat, because a fraction goes into work.
- Isothermal: constant, , so . A gas that expands absorbs heat and gives it all back as work. The fact that the formula contains a natural logarithm shouldn’t frighten you: in exercises the text or the book supplies it, and you substitute. If the logarithm is positive and .
- Adiabatic: no heat exchanged, , so . If the gas expands it does work at the expense of its internal energy, and cools; if it is compressed it heats up. It is the reason a bicycle pump gets hot.
A quick example on the adiabatic: of monatomic ideal gas expands without exchanging heat and the temperature drops by . Then , so : the gas has done of work, paying for it with its own internal energy.
Exercise 1: the isobaric
of monatomic ideal gas are at and at the constant pressure of . They are heated to . Calculate , and .
Step 1: the temperature change. .
Step 2: the work. At constant pressure :
Step 3: the change in internal energy.
Step 4: the heat, two ways. From the first law . As a check, by the isobaric formula (the one-joule difference is just rounding). The two ways agree: it is the check I recommend you always do.
Check on the volume. With : and , so and . The gas has expanded (by about ), the work is positive, everything adds up. Note that only about of the heat becomes work: the rest heats the gas.
To practise on timed questions there are the high school physics and maths tests: the correct answer is visible straight away, the guided step-by-step solution unlocks with your first lesson.
Exercise 2: the isothermal
of ideal gas at expands isothermally from to . Calculate , and , and say whether the gas absorbs or gives off heat.
Step 1: internal energy. The temperature doesn’t change, so . No calculation needed.
Step 2: work. The volume ratio is , and :
The factor coincides by chance with the work in Exercise 1 (): it is not a rule, just a numerical equality of the data chosen.
Step 3: heat. implies . The gas absorbs heat from the environment and turns all of it into work.
Check on the graph. On the - plane the isotherm is a falling hyperbola: and . The area under the curve lies between the two rectangles: the smaller () and the larger (). The result falls in between, as it should.
Exercise 3: a cycle
A monatomic ideal gas goes round the cycle on the - plane:
- : , ;
- : isochoric up to ;
- : isobaric up to ;
- : isochoric down to ;
- : isobaric down to .
Calculate , and for each stage and the total work.
A trick that shortens the calculation: for a monatomic gas , so and, in the isobaric stages, . You need neither the temperatures nor the number of moles.
| Stage | |||
|---|---|---|---|
| isochoric | |||
| isobaric | |||
| isochoric | |||
| isobaric |
Here is: at , at , at , at . I obtained each as and checked it with the isobaric formula ( and ).
Totals. ; ; .
The three checks the cycle must pass: (internal energy is a state function, and at the end of the cycle you are back at the starting point); (a consequence of the first law); and equal to the area of the rectangle, base times height , that is , positive because the cycle runs clockwise ( goes up, goes right, comes down, goes back left).
If the test asks for the efficiency, it is the useful work divided by the heat absorbed: , so , that is about . More on efficiency in the second law, which usually follows straight after.
The mistakes that cost marks
- The sign of the work. Expansion means , compression . With the convention of this post it is the last thing to check before handing in: did the gas expand or get compressed?
- Celsius temperatures in the equation of state. needs kelvin. With you write , never .
- Litres instead of cubic metres. If is in litres and in pascals, the work comes out a thousand times bigger or smaller. Convert to at the start.
- everywhere. It holds only at constant volume. In an isobaric transformation part of the heat becomes work; in an isothermal one and is all work.
- Using for . is always calculated with , even in a constant-pressure transformation. is only for the heat of the isobaric.
- Clockwise or anticlockwise cycle. If the cycle runs anticlockwise the total work is negative: the system has work done on it, and that is how a fridge works. Look at the direction of the arrows before writing the sign.
- Forgetting that of a cycle is zero. It is the free check that tells you whether you made a mistake in a stage: if the sum isn’t zero, look for the error before going on.
How to prepare
Redo the three exercises without looking, changing and the temperatures. Then try drawing each transformation on the - plane with arrows, and write next to each stage the three signs of , , : if the drawing and the signs are consistent, the calculations follow. If you still have basic thermal physics pending, after specific heat move on to changes of state and thermal expansion, and for those coming from a track with chemistry I recommend thermochemistry and enthalpy, where the first law reappears in a different notation. The overall picture of the subject is on the physics page.
If you want a check before the test
If the formulas make sense but the problems don’t, what is usually missing is a method: draw the - plane, write the signs of , and before the numbers, and use the first law as a final check. Write to me from the contact page and we’ll do a free introductory call: send me a thermodynamics exercise that doesn’t work out and I’ll tell you where it gets stuck.