AP Physics 2 · Unit 9 · Topic 9.4

    9.4 The First Law of Thermodynamics

    Reviewed by P V Satish, Senior Faculty of Science and Academic Consultant · PG Life Sciences, PGD Biotechnology · 20+ years teaching NEET and AP · Special interest in biotechnology, biochemistry and the basics of physics
    Updated

    In short

    The first law of thermodynamics is energy conservation for a system such as a gas: ΔU=Q+W\Delta U = Q + W, where QQ is heat added to the gas and WW is work done on it. For an ideal gas, internal energy depends only on temperature, so ΔU=0\Delta U = 0 whenever the temperature returns to its starting value, including over any complete cycle on a PV diagram.

    What you need to know

    • Apply ΔU = Q + W with correct signs for heat and work.
    • Relate the internal energy of an ideal gas to its temperature.
    • Analyse isobaric, isochoric, isothermal and adiabatic processes.
    • Find net work and net heat for a cycle on a PV diagram.

    Energy in, energy out

    ΔU=Q+W\Delta U = Q + W

    Energy can enter a gas in two ways: as heat QQ, because the surroundings are hotter, or as work WW, when something compresses it. Both are positive when energy goes in. Example. A gas absorbs 500 J of heat while expanding and doing 200 J of work on a piston. The work done on the gas is W=−200W = -200 J, so ΔU=500+(−200)=300\Delta U = 500 + (-200) = 300 J, and the gas gets hotter.

    For an ideal gas, internal energy is the total kinetic energy of the molecules, so it depends only on temperature. For a monatomic gas, U=32nRTU = \frac{3}{2}nRT, which is 32kBT\frac{3}{2}k_BT per molecule from 9.1 multiplied by the number of molecules. If TT rises, ΔU\Delta U is positive; if TT is unchanged, ΔU=0\Delta U = 0, whatever else happened.

    Four standard processes

    What stays fixed, and what follows
    ProcessHeld constantConsequence
    IsobaricPressureW=−PΔVW = -P\Delta V; Q and ΔU both nonzero
    IsochoricVolumeW=0W = 0, so ΔU=Q\Delta U = Q
    IsothermalTemperatureΔU=0\Delta U = 0, so Q=−WQ = -W
    AdiabaticNo heat exchangedQ=0Q = 0, so ΔU=W\Delta U = W

    Adiabatic changes happen when the process is too fast for heat to flow or the gas is insulated. Pumping a bicycle tyre quickly compresses air adiabatically: work goes in, no heat leaves, so the air and the pump barrel get warm. In the reverse case, gas that expands quickly, such as spray from an aerosol can, does work and cools.

    Worked isobaric example. A monatomic gas at 2.0×1052.0 \times 10^5 Pa expands by 2.0×10−32.0 \times 10^{-3} m³. Then W=−400W = -400 J. Since U=32nRT=32PVU = \frac{3}{2}nRT = \frac{3}{2}PV, ΔU=32PΔV=600\Delta U = \frac{3}{2}P\Delta V = 600 J. The heat needed is Q=ΔU−W=600−(−400)=1000Q = \Delta U - W = 600 - (-400) = 1000 J: of the 1000 J added, 600 J raised the temperature and 400 J left as work.

    Cycles on a PV diagram

    Each segment can be analysed with ΔU = Q + W; the shaded area is the magnitude of the work for the expansion.

    In a cycle the gas returns to its starting state, so its temperature and internal energy return too: ΔUcycle=0\Delta U_{cycle} = 0 and therefore Qnet=−WnetQ_{net} = -W_{net}. The net work equals the area enclosed by the loop. If the loop runs clockwise, the gas does more work expanding at high pressure than is done on it while compressing at low pressure, so the work done on the gas is negative and the gas takes in net heat. That is how an engine turns heat into work; a counterclockwise loop does the reverse, as in a refrigerator.

    Key terms

    First law of thermodynamics
    ΔU=Q+W\Delta U = Q + W: the change in internal energy equals heat added plus work done on the system.
    Isobaric
    A process at constant pressure.
    Isochoric
    A process at constant volume, in which no work is done.
    Isothermal
    A process at constant temperature, so ΔU = 0 for an ideal gas.
    Adiabatic
    A process with no heat exchange, so ΔU = W.

    Common mistakes

    • Treating work done by the gas as positive W.

      In AP Physics 2, W is work done on the gas: expansion gives negative W.

    • Assuming an isothermal process has no heat flow.

      ΔU = 0, but Q = −W, which is usually not zero.

    • Assuming an adiabatic process has constant temperature.

      With Q = 0, ΔU = W: compression heats the gas and expansion cools it.

    How this topic is tested

    • Make a table of Q, W and ΔU for each step, with signs.
    • Use temperature to decide the sign of ΔU, and volume change to decide the sign of W.
    • For a complete cycle, start from ΔU = 0.

    Practice questions

    Original AP-style multiple-choice questions. Pick an answer to see the explanation.

    1. Question 1 · SP 2 · Mathematical Routines

      A gas absorbs 500 J of heat and does 200 J of work on its surroundings. What is the change in its internal energy?

    2. Question 2 · SP 3 · Scientific Questioning and Argumentation

      A gas is compressed rapidly in an insulated cylinder. What happens to its temperature?

    3. Question 3 · SP 3 · Scientific Questioning and Argumentation

      An ideal gas expands isothermally. Which is true?

    4. Question 4 · SP 1 · Creating Representations

      A gas is taken once around a closed cycle on a PV diagram. What is ΔU for the cycle?

    5. Question 5 · SP 2 · Mathematical Routines

      300 J of heat is added to a gas held at constant volume. What is ΔU?

    Free-response practice

    Write your answer first, then mark it against the scoring guide.

    Free response (calculator) · 4 points

    An ideal monatomic gas is taken around a rectangular cycle: A (2.0×1052.0 \times 10^5 Pa, 1.0×10−31.0 \times 10^{-3} m³) to B (2.0×1052.0 \times 10^5 Pa, 3.0×10−33.0 \times 10^{-3} m³) to C (1.0×1051.0 \times 10^5 Pa, 3.0×10−33.0 \times 10^{-3} m³) to D (1.0×1051.0 \times 10^5 Pa, 1.0×10−31.0 \times 10^{-3} m³) and back to A.

    1. (a) Calculate the work done on the gas from A to B and the heat added in that step.
    2. (b) Calculate the net work done on the gas for one cycle.
    3. (c) Justify the value of the net heat added to the gas in one cycle.

    Connected topics

    Frequently asked questions

    Is the first law just energy conservation?

    Yes. It counts both ways energy can cross the boundary of a thermodynamic system: heat and work.

    Why does U depend only on T for an ideal gas?

    Its molecules have no interaction energy, so all internal energy is kinetic, and average kinetic energy is set by temperature.

    Do I need U = (3/2)nRT?

    It applies to monatomic ideal gases and makes many questions quicker, as in the worked example; check what the question states about the gas.

    How this shows up on the exam42 multiple-choice questions and 4 free-response questions. See what each FRQ type asks you to do.

    Free Unit 9 cheat sheet

    Every topic in Unit 9: Thermodynamics on a few printable pages: the core idea, key terms, the two traps students fall into and what the exam asks.

    We'll use your email to tell you when new AP Physics 2 practice material is ready. No spam, and we'll delete it if you ask.

    Full-length AP Physics 2 practice examsUnit 9 is one of 7 units on the exam. Two timed exams in the 2027 format (42 MCQ + 4 FRQ), with explanations, scoring guides and an estimated 1–5 score. $14.99 · try 5 questions free.

    Related lessons in other AP courses

    All topics in Unit 9: Thermodynamics

    1. 9.1 Kinetic Theory of Temperature and Pressure
    2. 9.2 The Ideal Gas Law
    3. 9.3 Thermal Energy Transfer and Equilibrium
    4. 9.4 The First Law of Thermodynamics
    5. 9.5 Specific Heat and Thermal Conductivity
    6. 9.6 Entropy and the Second Law of Thermodynamics

    Other units in AP Physics 2

    AP® is a trademark registered by College Board, which is not affiliated with, and does not endorse, this website.