First Law of Thermodynamics: Fix the Sign Before You Solve
The first law of thermodynamics says a system's internal energy changes by the heat added minus the work it does. Chemistry flips the sign on work, so confirm the form first.
By Rahul Jeewani, Founder · Updated 2 Dec 2026

Key takeaways
- The first law of thermodynamics is energy conservation: ΔU = Q − W when W is work done by the system, or ΔU = q + w when w is work done on it. Both give the same ΔU.
- Never pick a sign from memory. Write in words what happened (heat in or out, work on or by the gas) before you put a single number in the equation.
- Check every answer by reading it back. If a gas absorbs 80 J and does work, ΔU must come out below 80 J.
- Isothermal (constant temperature) means ΔU = 0 only for an ideal gas (a gas with no forces between molecules), so the Q = W shortcut needs that condition.
In this article
- 1What does the first law of thermodynamics say?
- 2Why do physics and chemistry use opposite signs for work?
- 3How do you check the sign in a first law numerical? A four-test checker
- 4Test 1: Did you say what happened in words before using any numbers?
- 5Test 2: Does the sign of your work term match the form you are using?
- 6Test 3: Is ΔU larger or smaller than Q in the direction the words predict?
- 7Test 4: Does the other form give the same ΔU?
- 8What does a first law numerical look like in both forms?
- 9Which terms does each gas process fix in ΔU = Q − W?
- 10Which RG Lectures batch covers Physics and Chemistry for MHT-CET?
- 11Frequently asked questions
Most first law numericals lose their marks in one step: writing the work term with the wrong sign. The first law of thermodynamics itself is one sentence, and two correct forms of it are in circulation, ΔU = Q − W in physics books and ΔU = q + w in chemistry books.
Physics books treat W as work done by the gas. Chemistry books treat w as work done on the gas. The gas does exactly the same thing in both; only the bookkeeping changes. If your MHT-CET (Maharashtra Health and Technical Common Entrance Test) preparation covers both Physics and Chemistry, you may well meet both forms in the same week.
This page gives you a four-test sign checker, two numericals solved in both forms with the same answer, and a short table of what each process does to Q, W and ΔU. Padhna aasaan hai, once the sign stops being a coin toss.
What does the first law of thermodynamics say?
The first law of thermodynamics says energy is conserved: a closed system (one that exchanges no matter) can exchange energy with its surroundings only as heat or as work, and its internal energy changes by exactly the difference. In the physics form, ΔU = Q − W, per OpenStax University Physics Volume 2, which writes the internal energy change as ΔE_int.
The first law uses four terms:
- System: the gas or object you are tracking, for example the gas in a cylinder with a piston.
- Internal energy (U): the energy stored inside the system. It depends on the state of the gas, not on how it got there.
- Heat (Q): energy that moves in or out because of a temperature difference.
- Work (W): energy that moves in or out because the system pushes on its surroundings, or they push on it.
In that physics form, Q is positive when heat is added, and W is positive when the system does work on the surroundings. Heat in raises ΔU. Work done by the gas lowers it.

Why do physics and chemistry use opposite signs for work?
They define work from opposite sides. In the physics form, work done by the system is subtracted: ΔU = Q − W. In the chemistry form, set out by IUPAC (the International Union of Pure and Applied Chemistry) in its Green Book, every energy transfer into the system is positive, so work done on the system is added: ΔU = q + w. The Green Book writes it ΔU = Q + W, with Q > 0 and W > 0 meaning an increase in the system's energy.
The two are the same law. The only change is what the symbol W or w means:
- Physics: W = work done by the gas. Expansion makes W positive.
- Chemistry: w = work done on the gas. Expansion makes w negative, because the gas loses energy.
Our view: stop thinking of one as "the right one". When a question hands you the sentence "work done by the system is 30 J", you can solve it in either form, as long as you convert the 30 J into that form's sign. The next section shows how.
How do you check the sign in a first law numerical? A four-test checker
Run four tests, in order, before you trust an answer. Each one has a pass and a fail you can see on the page. We built this as a routine, so you can run it the same way under exam pressure.
Test 1: Did you say what happened in words before using any numbers?
Pass: you have written two phrases, such as "heat in" and "work by the gas". Fail: you went straight to plugging in numbers. Most sign errors start here, because the problem's wording and the equation's symbols use different directions.
Test 2: Does the sign of your work term match the form you are using?
Pass: in ΔU = Q − W, work done by the gas goes in as a positive W, and work done on the gas goes in as a negative W. In ΔU = q + w, it is the other way round. Fail: you wrote the number from the question into the equation without checking whether the question said "by" or "on".
Test 3: Is ΔU larger or smaller than Q in the direction the words predict?
Pass: if heat enters and the gas also does work, ΔU is smaller than the heat that entered. If the gas is compressed, work comes in, so ΔU is larger than Q. Fail: you got ΔU = 110 J from 80 J of heat plus a gas that expanded, which cannot happen.
Test 4: Does the other form give the same ΔU?
Pass: you re-solved quickly in the other convention and got the same number. Fail: the two differ, so one sign is wrong. This test costs ten seconds and catches the flip.

What does a first law numerical look like in both forms?
The same numerical gives the same ΔU in both forms; only the sign of the work term moves. We worked the two examples below ourselves with the formulas above. The numbers are our own practice values, not from any exam paper.
Example A. A gas absorbs 80 J of heat and does 30 J of work on its surroundings. Words: heat in, work by the gas.
Example B. 15 kJ of work is done on a gas, and the gas releases 6 kJ of heat. Words: heat out, work on the gas.
| Physics form: ΔU = Q − W | Chemistry form: ΔU = q + w | |
|---|---|---|
A: signs | Q = +80 J, W = +30 J | q = +80 J, w = −30 J |
A: ΔU | 80 − 30 = +50 J | 80 + (−30) = +50 J |
B: signs | Q = −6 kJ, W = −15 kJ | q = −6 kJ, w = +15 kJ |
B: ΔU | −6 − (−15) = +9 kJ | −6 + 15 = +9 kJ |
Run the checks. In A, the gas expanded, so ΔU (50 J) is below the heat in (80 J): pass. In B, the gas was compressed, so work came in and ΔU (+9 kJ) is above Q (−6 kJ): pass.
When a problem gives you pressure and a volume change, expansion work at constant pressure is pΔV done by the gas. That is W = pΔV in the physics form and w = −pΔV in the chemistry form. Same energy, opposite label.
Which terms does each gas process fix in ΔU = Q − W?
Each process fixes one term in the equation, which makes the first law almost free to apply. These follow from the definitions of the processes, applied to ΔU = Q − W:
| Process | What is fixed | Result |
|---|---|---|
| Adiabatic (no heat exchange) | Q = 0 | ΔU = −W |
| Isochoric (constant volume) | no expansion, so W = 0 | ΔU = Q |
| Isothermal (constant temperature), ideal gas | temperature constant, so ΔU = 0 | Q = W |
| Cyclic (back to the start) | ΔU = 0, since U depends only on the state | Q = W |
Watch the limit on the isothermal row. ΔU = 0 holds for an ideal gas because its internal energy depends only on temperature. For a real gas, internal energy also depends on the volume, so do not use the shortcut unless the question says "ideal gas". Why internal energy depends only on temperature for an ideal gas is the subject of our kinetic theory of gases page. Where the heat Q comes from in a mixing or heating numerical is covered in our calorimetry page. If your confusion is the mechanics meaning of work, see our work energy theorem page.
Which RG Lectures batch covers Physics and Chemistry for MHT-CET?
We teach Physics online for MHT-CET and first-year engineering. RG Sir (Rahul Jewaani) founded RG Lectures in May 2018 and is one of its instructors. For a method that works on any numerical, read how to solve physics numericals.
The MHTCET 2027 Long Term Batch covers the full Class 11 and Class 12 Physics and Chemistry syllabus. It is a Physics and Chemistry course, so it sits where both sign forms meet. It includes live classes with recordings, study notes, previous year questions and mock tests. As of December 2026 it costs ₹1,632.
Check the current syllabus and marking scheme on the official State CET Cell Maharashtra site, which conducts the exam.


