The first law tracks where transferred energy goes in a process. Exact arithmetic here means exact results for the stated model inputs; measured inputs still carry uncertainty and significant-figure limits.
highlighted = computed this step
Start with a heat input
A process receives 20 joules of heat. Some energy leaves as work and the rest stays as internal energy.
Qin=20J
Split the energy
The process does 12 joules of work and stores 8 joules as internal energy.
Qin=W+ΔU
Check the budget
Adding 12 joules and 8 joules gives the original 20 joules.
Qin=12J+8J=20J
More work means more input if internal change is fixed
Hold the internal-energy change at 8 joules. The diagram shows the last row; more work requires more input energy.
W4J8J12JΔU8J8J8JQin12J16J20J
More internal storage also raises input
Now hold work at 12 joules. More stored internal energy also requires more heat input.
W12J12J12JΔU4J8J12JQin16J20J24J
The same input can split different ways
For a fixed 20 joule input, the work and internal-energy rows must still add to the same total. The diagram shows the middle row.