Theory — The First Law of Thermodynamics

Energy Conservation for a Gas

The First Law of Thermodynamics is the law of conservation of energy applied to a gas. The internal energy of the gas can change in two ways: by heat flowing in or out, and by work done on or by the gas as its volume changes.

First Law of Thermodynamics ΔU = q + W

ΔU = change in internal energy (J)
q = heat added to the gas (J)
W = work done on the gas (J)
Energy is conserved: heat in and work done on the gas change its internal energy

This lab uses the convention that W is the work done on the gas. When a gas expands it does work on its surroundings, so the work done on the gas is negative (W = −PΔV); when it is compressed, work done on it is positive.

Internal Energy of an Ideal Gas

For an ideal gas, the internal energy depends only on temperature — not on pressure or volume separately. Raising the temperature raises the internal energy in direct proportion.

Internal Energy Change ΔU = n · Cᵥ · ΔT

n = moles of gas, Cᵥ = molar heat capacity at constant volume
Monatomic ideal gas: Cᵥ = (3/2)R, Cₚ = (5/2)R, R = 8.314 J/mol·K
ΔU depends only on the temperature change

Work Done During a Volume Change

When the gas changes volume against a pressure, work is done. At constant pressure the work done on the gas is simply −P times the volume change.

Work (constant pressure) W = −P · ΔV  (work done on the gas)

Expansion (ΔV > 0): gas does work, W < 0
Compression (ΔV < 0): work done on gas, W > 0

Two Special Processes

Isochoric (constant V)

Volume fixed, so ΔV = 0 and W = 0. All the heat becomes internal energy: ΔU = q = n·Cᵥ·ΔT.

Isobaric (constant P)

Gas expands as it is heated. Heat splits: q = n·Cₚ·ΔT, work W = −PΔV, leaving ΔU = n·Cᵥ·ΔT.

Always

Whatever the process, ΔU = q + W. Internal energy is set by temperature alone.

ProcessHeld constantWork W (on gas)First Law
IsochoricVolume0ΔU = q
IsobaricPressure−PΔVΔU = q − PΔV
Any ideal-gas processvariesΔU = q + W = n·Cᵥ·ΔT

Apparatus

The equipment a real first-law-of-thermodynamics experiment uses. In the simulation these are modelled for you, but the readings correspond to what each instrument would measure.

compresses gas
Piston cylinder
A gas is compressed or expanded so work and heat can be tracked.
measures pressure
Pressure gauge
Reads the gas pressure for the pressure-volume work.
measures temperature
Thermometer
Measures the gas temperature and its change.
supplies heat
Hot plate
Adds a measured quantity of heat Q to the gas.
varies gas volume
Gas syringe
Changes the gas volume to do work on or by the gas.
0.00 gmeasures mass
Electronic balance
Measures the gas sample for the internal-energy bookkeeping.

Instructions — Running the Virtual Experiment

This is a measurement-and-calculation lab. For each scenario you will record the gas state and the energies from the simulation, then calculate the same quantities by hand from the First Law, and compare the two. Use n = 1.00 mol of a monatomic ideal gas, R = 8.314 J/mol·K, Cᵥ = 12.47 J/mol·K, and Cₚ = 20.79 J/mol·K. Record every value in your worksheet with units.

Scenario 1 — Isochoric process, constant volume (Isochoric tab)
1
Record the start. Open Simulation → Isochoric and write down the initial temperature, pressure, and volume from the readout.
2
Record as you heat. Click Add heat, then Record point, at several temperatures (for example 350, 400, 450, and 500 K). Each click logs T, P, V, q, W, and ΔU to the data table. Note that the volume never changes and the pressure rises in proportion to temperature.
3
Calculate. For one of your recorded steps, work out the temperature change ΔT, then ΔU = n·Cᵥ·ΔT. Because the volume is fixed, ΔV = 0, so W = 0 and the heat added is q = ΔU.
4
Compare. Put your calculated q, W, and ΔU next to the simulation's values for the same step. They should agree, confirming that with the volume fixed all of the heat becomes internal energy.
Scenario 2 — Isobaric expansion, constant pressure (Expansion tab)
1
Record the start. Open Expansion and write down the initial pressure, temperature, and volume.
2
Record as you heat. Click Add heat, then Record point, capturing at least five steps as the gas expands. The table logs T, P, V, q, W, and ΔU for each.
3
Calculate. For one step, work out ΔT and ΔV, then the heat q = n·Cₚ·ΔT, the work done on the gas W = −P·ΔV, and ΔU = n·Cᵥ·ΔT.
4
Compare. Check that your calculated q + W equals ΔU, and that all three match the simulation. The heat added is larger than ΔU because part of it leaves as work the gas does while expanding — the First Law, ΔU = q + W.

Simulation — Heating a Gas

First Law Virtual LabAdd heat and track energy, heat, and work
heat in
Piston locked · volume fixed · n = 1.00 mol monatomic gas.

Add heat (volume locked)

State & energy
Volume V (fixed)24.9 L
Temperature T300 K
Pressure P100.0 kPa
Work W = −PΔV0 J
Heat added q0 J
ΔU = n·Cᵥ·ΔT0 J
Add heat: with V fixed, ΔU = q (W = 0).
T (K)P (kPa)V (L)q (J)W (J)ΔU = q+W (J)
Add heat and click "Record point" to log each step.
heat in
piston (free)
Pressure constant · gas expands · n = 1.00 mol.

Add heat (pressure constant)

State & energy
Pressure P (fixed)100.0 kPa
Temperature T300 K
Volume V24.9 L
Heat q = n·Cₚ·ΔT0 J
Work W = −PΔV0 J
ΔU = n·Cᵥ·ΔT0 J
Add heat: energy splits between ΔU and work.
T (K)P (kPa)V (L)q (J)W (J)ΔU = q+W (J)
Add heat and click "Record point" to log the process.

Team Questions

Question 1. State the First Law of Thermodynamics as an equation relating ΔU, q, and W (work done on the gas). (Type it — e.g. ΔU = q + W)
Question 2. In a constant-volume (isochoric) process, what is the work W done on or by the gas? (Type just the number in J)
Question 3. 1.00 mol of a monatomic gas (Cᵥ = 12.47 J/mol·K) is heated at constant volume from 300 K to 400 K. Find ΔU. (Type just the number in J — e.g. 1247)
Question 4. For that constant-volume process, how much heat q was added to the gas? (Type just the number in J)
Question 5. A gas expands at a constant pressure of 100 kPa (= 100000 Pa), with its volume increasing by 0.00833 m³. What is the work W done on the gas? Use W = −PΔV. (Type just the number in J — e.g. −833)
Question 6. In that isobaric expansion, q = 2079 J is added and W = −833 J. Using the First Law, what is ΔU? (Type just the number in J)
Question 7 — Challenge. For an ideal gas, the internal energy depends on only one state variable. Which one? (One word)

Example Lab Report

Sample report demonstrating the expected format and level of detail. Use as a guide for your own submission, and include labelled screenshots of the start and end states for each scenario.

The First Law of Thermodynamics

Physics | Section: [Your Section] | Date: [Date]

Lab Members: [Names of all members present]

Purpose

To verify the First Law of Thermodynamics, ΔU = q + W, for an ideal gas by carrying out two processes: an isochoric (constant-volume) heating, in which all the heat becomes internal energy, and an isobaric (constant-pressure) expansion, in which the heat divides between internal energy and the work done by the gas. The number of moles is found from the ideal gas law at the initial state.

Theory

The First Law states ΔU = q + W, where W is the work done on the gas. For an ideal gas the internal energy depends only on temperature, ΔU = n·Cᵥ·ΔT. At constant volume W = 0, so ΔU = q = n·Cᵥ·ΔT. At constant pressure the work done on the gas is W = −PΔV and the heat is q = n·Cₚ·ΔT, with Cₚ = Cᵥ + R. A monatomic ideal gas has Cᵥ = (3/2)R = 12.47 J/mol·K and Cₚ = (5/2)R = 20.79 J/mol·K.

ΔU = q + W · ΔU = n·Cᵥ·ΔT
Isochoric: W = 0, ΔU = q · Isobaric: W = −PΔV, q = n·Cₚ·ΔT

Determining the Moles (initial state)

n = PV/RT = (100000 Pa)(0.0249 m³)/[(8.314)(300)] = 1.00 mol

Scenario 1 — Isochoric (V = 24.9 L constant)

Measured: T: 300 → 400 K, P: 100.0 → 133.3 kPa, V constant

Work: W = −PΔV = 0 (no volume change)

Internal energy: ΔU = n·Cᵥ·ΔT = (1.00)(12.47)(100) = 1247 J

Heat: q = ΔU = 1247 J, confirming ΔU = q when W = 0.

Scenario 2 — Isobaric Expansion (P = 100 kPa constant)

T (K)P (kPa)V (L)q (J)W (J)ΔU = q+W (J)
30010024.9000
32510027.0520−208312
35010029.11039−416624
37510031.21559−624935
40010033.32079−8331247

At each step q + W equalled n·Cᵥ·ΔT, and the final ΔU of 1247 J matched the isochoric result for the same temperature change.

Discussion

In the isochoric process the volume did not change, so no work was done and all 1247 J of heat went into internal energy — the readout confirmed ΔU = q. In the isobaric expansion, 2079 J of heat was added but the gas did 833 J of work pushing the piston out (W = −833 J on the gas), leaving 1247 J as the internal-energy increase. Both processes raised the temperature by the same 100 K, and indeed both gave the same ΔU = 1247 J, illustrating that for an ideal gas the internal energy depends only on temperature, not on the path taken.

The numerical check q + W = ΔU held at every step of the expansion, confirming the First Law. Small differences between calculated and on-screen values came from reading precision and from averaging the pressure while the piston moved. The constant-volume case had the lowest uncertainty because only temperature and pressure had to be read.

Conclusion

The First Law of Thermodynamics was confirmed: in constant-volume heating ΔU ≈ q (W = 0), while the expansion required the work term, with q + W = ΔU throughout. Internal energy was set by temperature alone, and the results were consistent with ideal-gas thermodynamics within reading precision.

Practice Questions

Show all work and include units. Use R = 8.314 J/mol·K; for a monatomic ideal gas Cᵥ = 12.47 and Cₚ = 20.79 J/mol·K.

Question 1
2.0 mol of a monatomic ideal gas is heated at constant volume from 290 K to 350 K. Find the heat added, the work done, and the change in internal energy.
Hint: W = 0; ΔU = q = n·Cᵥ·ΔT.
Question 2
A gas at constant pressure 1.0×10⁵ Pa expands from 2.0×10⁻³ m³ to 5.0×10⁻³ m³. How much work is done on the gas, and how much work does the gas do?
Hint: W_on = −PΔV; the gas does +PΔV.
Question 3
300 J of heat is added to a gas while the gas does 120 J of work on its surroundings. What is the change in internal energy?
Hint: ΔU = q + W, with W = −120 J (work done on the gas).
Question 4
Explain why heating an ideal gas at constant pressure requires more heat than heating it the same amount at constant volume.
Hint: at constant pressure some heat goes into work; Cₚ > Cᵥ by R.
Question 5
A gas is compressed (work is done on it) while 50 J of heat is removed. If 200 J of work is done on the gas, what is ΔU?
Hint: q = −50 J, W = +200 J; ΔU = q + W.
Question 6 — Challenge
1.00 mol of a monatomic gas is taken from 300 K to 400 K once at constant volume and once at constant pressure. Show that ΔU is the same for both paths, and explain why, even though q and W differ.
Hint: ΔU = n·Cᵥ·ΔT depends only on ΔT; internal energy is a state function.