Look from the system’s point of view
In the first law, heat and work can flow either way, so they carry a sign. In this course, signs are counted from the point of view of the system (the gas):
| Quantity | Positive (+) | Negative (−) |
|---|---|---|
| heat ΔQ | heat flows into the system | heat flows out of it |
| work ΔW | the system does work (expands) | work is done on it (it is compressed) |
| internal energy ΔU | U rises (an ideal gas warms) | U falls (it cools) |
In the 3D model, choose Which way is positive? A flame heats the first gas (ΔQ > 0); the second stands on ice (ΔQ < 0); the third expands and lifts its weight (ΔW > 0); the fourth is squashed by its weight (ΔW < 0).
With these signs the first law reads
Using the signs
Choose Using the signs:
| Situation | ΔQ | ΔW | ΔU |
|---|---|---|---|
| takes in 300 J, expands doing 120 J of work | +300 J | +120 J | 300 − 120 = +180 J |
| takes in 300 J, is compressed with 120 J of work | +300 J | −120 J | 300 − (−120) = +420 J |
| gives out 200 J, is compressed with 50 J of work | −200 J | −50 J | −200 − (−50) = −150 J |
In the second case both the heat and the work go into the gas, so both raise its internal energy.
The other convention
Many chemistry books count w as the work done on the system, so their first law is . For the second case above: q = +300 J, w = +120 J, ΔU = +420 J, the same answer. Only the sign of the work is counted the other way. Choose one convention for a problem and keep to it.
Worked example
A gas expands and does 250 J of work while its internal energy falls by 100 J. How much heat did it take in or give out?
- ΔW = +250 J (work done by the gas); ΔU = −100 J.
- +150 J: it took in 150 J of heat.
Remember: heat into the system is +, work done by the system is +; then ΔU = ΔQ − ΔW.
Formulas and where to use them
First law with signs
- where
- + when heat flows into the system, − when it flows out
- + when the system does work (expands), − when work is done on it (compressed)
- + when internal energy rises, − when it falls
Use it when: The convention used in this course.
The other convention
- where
- heat given to the system
- work done on the system (+ when compressed)
Use it when: Used in many chemistry books. Same physics, opposite sign for work.
Common mistakes
- Mixing conventions. If W means work done by the gas, use ΔU = ΔQ − ΔW; if w means work done on the gas, use ΔU = q + w. Never mix them.
- Dropping the minus sign. "Heat given out" means ΔQ is negative; "work done on the gas" means ΔW is negative.
- Thinking negative work means no work. It means work flows the other way: into the system.
Quick check
Test yourself — pick an answer to see if you got it.
1. A gas is compressed. With W as the work done by the gas, W is…
Work is done on the gas, so the work done by it is negative.
2. A gas gives out 200 J of heat. ΔQ is…
Heat leaving the system is negative.
3. A gas takes in 300 J of heat while 120 J of work is done on it. ΔU is…
.
4. A gas loses 200 J of heat and is compressed with 50 J of work. ΔU is…
.
5. In the convention ΔU = q + w, w is positive when…
Here w is the work done on the gas.