AP Physics 2 · Unit 9 · Thermodynamics
9.4 First law of thermodynamics
State the first law of thermodynamics and use it to calculate changes in internal energy, heat, and work for a gas.
1/5Internal energy is the energy stored within a system
- Internal energy is the energy stored within a system
- Heat and work are the two ways to change internal energy
- The first law says internal energy changes by heat plus work
- Work on a gas equals minus pressure times volume change
- Four special processes simplify the first law
- Check your recall
- Practice: 10 questions
Part 1 of 5: Internal energy is the energy stored within a system
Push the plunger of a bicycle pump, and the barrel warms. To analyze this, choose the gas inside the pump as the system. Everything else, including the plunger and the outside air, is the surroundings.
The gas particles have kinetic energy from their motion and potential energy from their interactions. The sum is the internal energy of the gas. For an ideal gas, particle interactions are negligible, so depends only on temperature.
When the temperature rises, the internal energy rises. When the temperature is constant, the internal energy of an ideal gas stays constant.
Key terms · tap one for its definition
system
The object or collection of objects chosen for analysis; forces from outside it are treated as external.
internal energy
The internal energy of a system is the total kinetic and potential energy of its particles, measured in joules (J).
Part 2 of 5: Heat and work are the two ways to change internal energy
Energy can enter the pump’s gas in two ways. Heat is energy transferred because of a temperature difference. Work is energy transferred by a force acting through a displacement.
We write for the work done on the system. Compressing a gas does positive work on it. When a gas expands, it does work on its surroundings, so is negative. Heat and work describe transfers, and neither is stored in the system. Both are measured in joules, like all energy quantities. Keeping signs consistent prevents most errors in later steps.
Sign conventions used with the first law.
- Quantity
- Positive when
- energy enters the system
- Negative when
- energy leaves the system
- Quantity
- Positive when
- the surroundings do work on the system
- Negative when
- the system does work on the surroundings
- Quantity
- Positive when
- internal energy increases
- Negative when
- internal energy decreases
Key term
work
For a constant force, ; a scalar measured in joules, equal to the energy transferred by that force.

Quick check
One question on the part you just read
Easy
Show answer and explanation
Answer: B · Worked explanation
Part 3 of 5: The first law says internal energy changes by heat plus work
Now combine the two transfers. Energy is conserved, so the system’s energy changes only by what crosses its boundary. This idea is the first law of thermodynamics: .
Here is the final internal energy minus the initial internal energy. Heat is positive when it enters. Work is positive when it is done on the system.
Suppose a gas absorbs 100 J of heat and has 40 J of work done on it. Its internal energy rises by 140 J.
Key term
first law of thermodynamics
The first law of thermodynamics states that a system’s change in internal energy equals the heat added to it plus the work done on it: .
Part 4 of 5: Work on a gas equals minus pressure times volume change
Heat is easy to read from a problem, but work needs a formula. When the pressure stays constant, the work done on a gas is .
Here is the final volume minus the initial volume. Expansion gives , so is negative. Compression gives , so is positive.
On a graph of pressure against volume, the area under the process line has magnitude .
Worked example
Expanding gas at constant pressure
- Convert units: and .
- Use .
- Substitute: .
- Apply the first law with : .
Answer: The work done on the gas is , and the internal energy rises by .

Quick check
One question on the part you just read
Easy
Show answer and explanation
Answer: C · Worked explanation
Part 5 of 5: Four special processes simplify the first law
Some processes hold one quantity fixed, which removes a term from the first law. These four appear often with gases. Recognizing the process lets you cross out terms immediately.
Four common gas processes.
- Process
- Isothermal
- What stays fixed
- temperature
- Result
- , so
- Process
- Isochoric
- What stays fixed
- volume
- Result
- , so
- Process
- Isobaric
- What stays fixed
- pressure
- Result
- Process
- Adiabatic
- What stays fixed
- no heat transfer
- Result
- , so
In an isothermal process, an ideal gas keeps its internal energy because its temperature is constant. Work done on the gas leaves as heat. In an isochoric process, the gas cannot expand or be compressed, so no work is done.
Check your recall[13 marks]
5 written questions. Answer each one in your head or on paper, then open the mark scheme.
- 1.Describe[3 marks]
Describe the first law of thermodynamics in words, and write it as an equation with the sign convention for each quantity.
Show mark schemeHide mark scheme
Model answer
The change in a system’s internal energy equals the heat added plus the work done on it, so energy is conserved: . Heat is positive when it enters, and work is positive when done on the system.
- 1 mark for stating that internal energy changes by the heat added plus the work done on the system, as energy conservation
- 1 mark for writing
- 1 mark for giving the signs: positive when heat enters and positive when work is done on the system
- 2.Calculate[3 marks]
Calculate the work done on a gas that is compressed at a constant pressure of from to .
Show mark schemeHide mark scheme
Model answer
. .
- 1 mark for finding
- 1 mark for substituting into
- 1 mark for obtaining with a positive sign
- 3.Determine[2 marks]
Determine the change in internal energy of a gas that absorbs 300 J of heat while doing 120 J of work on its surroundings.
Show mark schemeHide mark scheme
Model answer
Work done by the gas is negative, so . .
- 1 mark for using for work done by the gas
- 1 mark for obtaining
- 4.Explain[3 marks]
Explain why the temperature of an ideal gas rises when it is compressed rapidly in an insulated cylinder.
Show mark schemeHide mark scheme
Model answer
No heat enters or leaves, so Q is zero. Compression does positive work on the gas, so its internal energy increases. For an ideal gas, internal energy depends only on temperature, so the temperature rises.
- 1 mark for stating that Q = 0 because the cylinder is insulated
- 1 mark for stating that positive work is done on the gas, so internal energy increases
- 1 mark for linking the increase in internal energy of an ideal gas to a rise in temperature
- 5.Identify[2 marks]
Identify the change in internal energy of an ideal gas in an isothermal process, and the relationship between Q and W.
Show mark schemeHide mark scheme
Model answer
The change in internal energy is zero, because temperature is constant. Then .
- 1 mark for identifying that the change in internal energy is zero
- 1 mark for identifying that

Practice this topic
10 quick-fire multiple-choice questions, easy to hard. Tap an answer to see if you're right and the worked explanation. (The written questions with mark schemes are under “Check your recall” above.)
0 right0 of 10 answered
Includes the 2 quick checks in the note above.
EasyIdentify[1 mark]
Show answer and explanation
Answer: D · Worked explanation
MediumDetermine[2 marks]
Show answer and explanation
Answer: B · Worked explanation
MediumCalculate[2 marks]
Show answer and explanation
Answer: D · Worked explanation
MediumDetermine[2 marks]
Show answer and explanation
Answer: C · Worked explanation
MediumPredict[2 marks]
Show answer and explanation
Answer: D · Worked explanation
HardDetermine[2 marks]
Show answer and explanation
Answer: D · Worked explanation
HardDetermine[2 marks]
Show answer and explanation
Answer: B · Worked explanation
HardPredict[2 marks]
Show answer and explanation
Answer: C · Worked explanation