How does energy conservation apply to a gas, and how do you read the work done from a PV diagram?
Topic 9.4 First Law of Thermodynamics and PV Diagrams: apply the first law to track internal energy, heat and work, and read work as the area on a PV diagram.
A focused answer to AP Physics 2 Topic 9.4, covering the first law of thermodynamics as energy conservation, internal energy and its link to temperature, work done by and on a gas as the area on a PV diagram, the four named processes (isothermal, isobaric, isovolumetric, adiabatic), and the sign conventions, with full worked examples.
Reviewed by: AI editorial process; not yet individually human-reviewed
Have a quick question? Jump to the Q&A page
Jump to a section
What this topic is asking
The College Board (Topic 9.4) wants you to apply the first law of thermodynamics, the conservation of energy for a gas, tracking how heat and work change the internal energy. You must also read the work as an area on a PV diagram and recognize the four named processes.
The first law of thermodynamics
The first law is just conservation of energy applied to a gas: energy can enter as heat or leave as work, and whatever is left over changes the internal energy. For an ideal gas the internal energy is the total kinetic energy of the atoms, so : raising the internal energy raises the temperature, and vice versa. Watch the sign convention. AP uses (work by the gas), but some texts write . They are the same law; just be consistent.
Work is the area on a PV diagram
The PV diagram turns the work into geometry: trace the gas's path from its start to end state and the area beneath it is the work. This is why constant-volume (vertical) lines do no work (no area), and why the work depends on the path, not just the endpoints. A cyclic process, returning to its start, encloses an area equal to the net work done per cycle, which is how engines are analyzed.
The four named processes
Each standard process pins down one variable, which simplifies the first law:
- Isothermal (): internal energy is unchanged, , so . All heat added becomes work done.
- Isobaric (constant ): work is simply , the rectangular area.
- Isovolumetric (constant ): no work, , so . All heat goes into internal energy.
- Adiabatic (): no heat exchanged, so . Compressing warms the gas; expanding cools it.
The strategic move in any first-law problem is to identify which quantity is fixed, use it to evaluate one term, then apply . Because internal energy is proportional to temperature, the change in temperature tells you directly. This energy accounting, built on conservation of energy from mechanics, is what lets you predict whether a gas heats or cools in any process, and it leads into the directionality of energy flow captured by entropy and the second law (Topic 9.6).
Try this
Q1. A gas does J of work while J of heat is added. State the change in its internal energy. [1 point]
- Cue. J (an isothermal process).
Q2. State the work done by a gas in an isovolumetric (constant-volume) process. [1 point]
- Cue. Zero, because so there is no area under the path.
Exam-style practice questions
Practice questions written in the style of College Board exam questions on this dot point, with worked answer explainers. The year tag is the paper they imitate, not the source.
AP 2024 (style)7 marksSection II (long FRQ). A fixed amount of ideal gas is taken around a process. (a) The gas absorbs J of heat and does J of work on its surroundings. Calculate the change in its internal energy. (b) On a PV diagram, the gas expands at a constant pressure of Pa from m cubed to m cubed. Calculate the work done by the gas. (c) State and justify what happens to the internal energy of an ideal gas during an isothermal process.Show worked answer →
A 7-point FRQ on the first law and PV work.
(a) Internal energy (2 points): with the convention , J. Internal energy rises by J.
(b) Work (3 points): at constant pressure, J. This is the rectangular area under the line on the PV diagram.
(c) Isothermal (2 points): for an ideal gas, internal energy depends only on temperature, . In an isothermal process the temperature is constant, so .
Markers reward the first law for internal energy, area-under-the-curve for the work, and constant internal energy for the isothermal case.
AP 2023 (style)1 marksSection I (multiple choice). A gas is compressed adiabatically (no heat is exchanged with the surroundings). What happens to its internal energy and temperature? (A) both decrease (B) both increase (C) both stay the same (D) internal energy rises but temperature falls. Justify your reasoning.Show worked answer →
A 1-point MCQ on an adiabatic process. The answer is (B).
Adiabatic means , so . Compressing the gas means work is done on it (), so : internal energy rises. Since internal energy is proportional to temperature, the temperature rises too. The trap is (A): compressing a gas warms it, it does not cool.
Related dot points
- Topic 9.1 Kinetic Theory of Gases: relate the pressure and temperature of an ideal gas to the average kinetic energy and motion of its atoms.
A focused answer to AP Physics 2 Topic 9.1, covering the kinetic theory model of an ideal gas, how molecular collisions produce pressure, the link between absolute temperature and average translational kinetic energy, the relation between root-mean-square speed and temperature, and the assumptions of the model, with full worked examples.
- Topic 9.3 The Ideal Gas Law: apply PV = nRT (and PV = N k_B T) to relate the state variables of an ideal gas.
A focused answer to AP Physics 2 Topic 9.3, covering the ideal gas law in both molar and molecular forms, the meaning of each state variable, the use of absolute temperature, the special-case proportionalities (Boyle, Charles, Gay-Lussac), and the before-and-after ratio method, with full worked examples.
- Topic 9.2 Thermal Equilibrium and Temperature: define temperature through average kinetic energy and explain heat transfer and thermal equilibrium between systems in contact.
A focused answer to AP Physics 2 Topic 9.2, covering temperature as a measure of average kinetic energy, the direction of heat flow from hot to cold, thermal equilibrium and the zeroth law, the three mechanisms of heat transfer (conduction, convection, radiation), and the distinction between heat and temperature, with full worked examples.
- Topic 9.5 Specific Heat and Thermal Conductivity: apply Q = mc(delta T) for heating and the conduction rate equation for steady heat flow.
A focused answer to AP Physics 2 Topic 9.5, covering specific heat capacity and the relation Q = mc(delta T), calorimetry with conservation of energy, the rate of heat conduction through a material, and the role of thermal conductivity, with full worked examples.
- Topic 9.6 Entropy and the Second Law of Thermodynamics: relate entropy to disorder and apply the second law to the direction of energy transfer.
A focused answer to AP Physics 2 Topic 9.6, covering entropy as a measure of disorder and energy dispersal, the second law of thermodynamics, the irreversibility of natural processes, why heat flows only from hot to cold, and the impossibility of a perfectly efficient engine, with full worked examples.
Sources & how we know this
- AP Physics 2: Algebra-Based Course and Exam Description — College Board (2024)