JentooPhysics 2

AP® Physics 2: Algebra-Based · Unit 9 · Topic 9.4

The First Law of Thermodynamics

The first law of thermodynamics says a gas's internal energy changes by exactly the heat it absorbs minus the work it does: dU = Q - W. Energy is never created or lost, only moved around.

The first law is energy conservation applied to gases. Internal energy U is the total kinetic energy of all the jittering molecules inside the gas, and it can only change two ways: heat flows in or out, or the gas does work on its surroundings (or has work done on it). Write it as dU = Q - W, where Q is heat added to the gas and W is work done BY the gas. Nothing escapes this bookkeeping. That is also why a perpetual motion machine is impossible: running forever with no fuel means producing work with no energy input, and the first law forbids pulling W out of nothing. Every joule of work a machine delivers has to come from somewhere, either heat supplied or a drop in its own internal energy, and once that reserve is spent, the machine stops.

Sign conventions are where students lose points, so anchor them to physical direction, not memorized rules. Q is positive when heat enters the gas, negative when heat leaves. W is positive when the gas expands and pushes outward on its surroundings, negative when the surroundings compress the gas and push in on it. So during compression, the gas has work done ON it, meaning W is negative, and that negative W subtracted in dU = Q - W actually adds to internal energy. That is also the key to the misconception that heat always raises temperature: if the gas is expanding while heat enters, some or all of that heat exits again as work, leaving temperature unchanged or even falling.

This connects forward to specific processes: isochoric (W = 0, so dU = Q), isothermal (dU = 0, so Q = W), and adiabatic (Q = 0, so dU = -W), each a special case of the same master equation.

Key terms

Internal energy (U)
The total kinetic energy of all the particles in a gas, which rises and falls with temperature.
Heat (Q)
Energy transferred into or out of a gas due to a temperature difference, positive when entering.
Work (W)
Energy transferred by the gas expanding against its surroundings, positive when the gas pushes outward.
Adiabatic process
A process with no heat exchange at all, so Q = 0 and dU = -W.
Perpetual motion machine
A hypothetical device that produces work forever without any energy input, ruled out by the first law.

Watch it explained

  1. How it worksWalk me through the sign bookkeeping in the first law when a gas is being compressed.
  2. Worked exampleFind the internal energy change when 500 J of heat enters a gas that does 200 J of work.
  3. Common mistakeWhy doesn't pouring heat into a gas always push its temperature up?
  4. Going furtherWhat does the first law reduce to when a process is adiabatic and Q is exactly zero?

Check yourself

Your turn1 of 2
Find the internal energy change when 687 J of heat enters a gas that does 277 J of work on its surroundings.

End of topic.