
Optional extension · Interactive lesson
Internal Energy & the First Law
Energy enters a closed system as heat or as work, and once inside it is simply internal energy — the system keeps no record of which door it used. This lesson builds the ledger that tracks that energy, and the sign discipline that keeps the ledger honest.
UPII-E3.01 · Lesson 1 of 9 in this extension. Position is not a completion score.Optional extension. Use this unnumbered support sequence where your university’s syllabus or prerequisite needs require it. It is not an additional numbered unit. Optional work is not a required completion gate.
Build the model
Heat and work cross the boundary; only internal energy stays behind.
The key idea
Internal energy is the total microscopic kinetic and potential energy a system holds in its own rest frame, and the first law says its change equals the heat added minus the work the system does: ΔU = Q − W.
Example. A gas absorbs Q = 1200 J of heat while expanding and doing W = 1450 J of work on its surroundings. Its internal energy falls: ΔU = 1200 J − 1450 J = −250 J, so heat can flow in while an ideal gas cools.
The complete physical model and assumptions
Internal energy U is the total energy a system holds in its own rest frame: the translational kinetic energy of its molecules, their rotation and vibration, and the potential energy of the forces between them. It is a state function — fix the state of a closed system by naming n and any two of p, V and T, and U is fixed with it, no matter how the system got there. Heat Q and work W are not like that. Neither is stored anywhere; each names a process by which energy crosses the boundary, Q driven by a temperature difference and W by a force moving through a displacement. Joule's stirring experiments showed the two are interchangeable joule for joule: the same warming follows from either. What survives is the accounting statement ΔU = Q − W, and its real content is that the combination Q − W is path-independent even though Q and W separately are not. Run a system round two different routes between the same two states and the splits differ while the difference does not. The law is energy conservation extended to include thermal transfer, and it is exact for any closed system. What it will not do is pick a direction: it permits a lukewarm drink to unmix into hot coffee and cold air as readily as the reverse, and it sets no limit on how much of an energy input can be converted into work. Those questions need the second law.
1What internal energy counts, and what it leaves out
Internal energy is the energy of a system's internal degrees of freedom, measured in the rest frame of the system as a whole. A 2.0 kg block sliding at 5.0 m s⁻¹ carries 25 J of bulk kinetic energy, and lifting it 3.0 m gives it 59 J of gravitational potential energy; neither is part of U. What counts is the translational kinetic energy of the molecules, their rotational and vibrational energy, and the potential energy of the intermolecular forces. The payoff is that U belongs to the state. For a closed system of n moles, name any two of p, V and T and U is determined, so ΔU = Uf − Uᵢ and every route between the same two states gives the same number. You never need an absolute value of U, only differences, which is why no zero of internal energy is ever specified.
2Heat and work are traffic across the boundary, not contents
There is no answer to the question of how much heat is in a gas. Heat is energy transferred because of a temperature difference; work is energy transferred by a force acting through a displacement at the boundary. Both exist only while a process is running. When it stops there is no heat and no work anywhere — only a system whose U has changed. Joule made the point with a paddle wheel: a 12.0 kg mass falling 1.80 m, twenty times over, does 20 × 12.0 × 9.81 × 1.80 = 4.24 × 10³ J of work on insulated water, and with c = 4186 J kg⁻¹ K⁻¹ that warms 0.250 kg of it by 4.05 K. A flame delivering the same 4.24 kJ produces the same warming, and nothing in the final state records which route was used. That experimental fact is what licenses putting Q and W into one equation.
3Fix a boundary, fix a convention, and move neither
Two decisions come before any arithmetic: what is inside the system, and which direction counts as positive. The physics convention makes Q positive when heat enters and W positive when the system does work on its surroundings, giving ΔU = Q − W. The chemistry convention tracks the work done on the system, Wₒₙ = −W, and writes ΔU = Q + Wₒₙ. Both are correct and both are in print; mixing them inside one problem is the commonest way to lose a sign. Take a gas that absorbs 850 J of heat while the surroundings compress it, doing 340 J of work on it. In the first convention W = −340 J and ΔU = 850 − (−340) = +1190 J. In the second, Wₒₙ = +340 J and ΔU = 850 + 340 = +1190 J. The bookkeeping changes; the physics does not.
4Two routes, two splits, one ΔU
Carry a gas from state A to state B twice. On route 1, 500 J of heat enters and the gas does 180 J of work, so ΔU = 500 − 180 = 320 J. On route 2, 420 J enters and the gas does 100 J, so ΔU = 420 − 100 = 320 J. The heats differ by 80 J and the works differ by 80 J, and the difference is identical because the end states are identical. Read it backwards and it becomes a tool: know ΔU from the end states and one of Q or W, and the other is forced. The extreme case is free expansion — an insulated rigid vessel split in two, gas on one side and vacuum on the other, partition removed. No heat crosses the insulation and no boundary moves against anything, so Q = 0, W = 0 and ΔU = 0 exactly, even though the volume has doubled.
5For an ideal gas, U is a function of temperature alone
Kinetic theory assigns ½kT per molecule to each active degree of freedom, which sums to U = (f/2)nRT with f = 3 for a monatomic gas and f = 5 for a diatomic one near room temperature. Volume and pressure do not appear. So heating 2.00 mol of helium from 295 K to 345 K raises U by (3/2)(2.00)(8.314)(50.0) = 1.25 × 10³ J, and raises it by exactly that whether the gas was held rigid, allowed to expand, or compressed and then expanded. Writing CV = (f/2)R lets you state it as ΔU = n CV ΔT on any path. The subscript V is historical: constant volume is where the quantity is easiest to measure, because W = 0 there makes Q equal ΔU. Real gases drift from this, since attraction between molecules makes U depend weakly on volume too.
6Closing the books on a multi-stage process
Build a table with one row per stage and columns for Q, W and ΔU, every entry signed. Fill in what is given, use ΔU = Q − W to finish each row, and use the end states to finish the column. If the system returns to where it started, U returns with it, so the ΔU column must sum to zero — a free check, and often the quickest route to a missing entry. Suppose one stage has Q = +1.24 kJ and W = +0.42 kJ, so ΔU = +0.82 kJ, and a second has Q = −0.95 kJ and W = −0.78 kJ, so ΔU = −0.17 kJ. If a third stage closes the cycle, its ΔU must be −0.65 kJ. Summing the columns then gives Qₙₑₜ = Wₙₑₜ automatically; if those two totals disagree, either an entry is wrong or the process never closed.
Key equations
Read the units, assumptions and limits before substituting.
First law for a closed system
ΔU = Q − W
Fixes the third quantity the moment any two are known, on any process at all.
ΔU, Q and W all in J. Q > 0 for heat into the system, W > 0 for work done by the system on its surroundings.The other sign convention
ΔU = Q + Wₒₙ, with Wₒₙ = −W
Lets you read either convention without flipping a sign by accident.
Wₒₙ is the work the surroundings do on the system, also in J; chemistry texts write the first law this way.Differential form
dU = δQ − δW
Says why U comes back to its value after a cycle while Q and W do not.
dU is an exact differential; δQ and δW are inexact, so their integrals depend on the route taken between the states.Internal energy of an ideal gas
U = (f/2) n R T
Makes U a function of temperature alone: volume and pressure drop out.
f is the number of active degrees of freedom, 3 monatomic and 5 diatomic near 300 K; n in mol; R = 8.314 J mol⁻¹ K⁻¹.Change in U for an ideal gas
ΔU = n CV ΔT
Valid on every path, not only at constant volume, because U depends on T alone.
CV in J mol⁻¹ K⁻¹; for a monatomic gas CV = (3/2)R = 12.47 J mol⁻¹ K⁻¹, and ΔT in K.Round one complete cycle
ΔU = 0 for any closed cycle
One equation audits an entire multi-stage table for consistency.
U returns to its starting value, so the signed totals over the stages satisfy Qₙₑₜ = Wₙₑₜ, both in J.Interactive lab
Predict first. Explore the model. Compare the result.
Explore the model
Try this. Set Q = 600 J, then drag W up to 600 J: the arrows stay long but the bar collapses onto the baseline, so 600 J crossed each way and nothing was stored. Push W past Q and the bar drops below the line — U falling while heat still flows in.
Live results
- STORED ΔU = Q − W
- 350 J
- WORK ON SYSTEM Wₒₙ
- -250 J
- CROSSING THE BOUNDARY
- 850 J
- ΔT, 2.00 mol HELIUM
- 14.0 K
Results follow this lesson’s model and assumptions. Displayed values are rounded.
Predict → change one variable → check
Plan a change before running it. Every other input stays at the saved baseline.
Saved baseline. Heat into the system Q: 600 J; Work done by the system W: 250 J
This experiment is kept only while this page is open. It does not change saved course progress.
Catch the common trap
The error is treating heat as something a body contains. A student writes that the hot gas holds more heat, then reasons that a rise in temperature proves heat went in, and that heat going in must raise the temperature. Both inferences fail. Compress a gas quickly in an insulated cylinder: Q = 0 and the temperature climbs anyway, because work done on the gas raised U with no heat crossing the boundary at all. Now let a gas expand while you heat it: 1.85 kJ in while it does 1.85 kJ of work leaves ΔU = 0 and the temperature unchanged. Only U is stored. Q and W are names for traffic across the boundary while a process runs, so asking how much heat a state contains is like asking how much rain is in a river.
Practice & worked examples
3 authored examples. Make an attempt, then reveal the reasoning one step at a time.
EasyExample 1
A sealed cylinder of gas absorbs 1.85 kJ of heat from a hotplate while its piston moves outwards, the gas doing 620 J of work on the surroundings. Find the change in internal energy, then give the same answer in the convention that counts work done on the system as positive.
Sketch your answer or reasoning, then compare it with the authored solution. Your writing is not automatically graded or saved.
0 of 4 steps revealed.
- List the transfers in the physics convention. Heat entering the system is positive, so Q = +1850 J. Work done by the system is positive, so W = +620 J.
- Apply the first law: ΔU = Q − W = 1850 J − 620 J = +1230 J.
- Switch convention. The surroundings do Wₒₙ = −W = −620 J of work on the gas, so ΔU = Q + Wₒₙ = 1850 J + (−620 J) = +1230 J. The bookkeeping changes, the answer does not.
- Check it is sensible: more energy arrived as heat than left as work, so U must rise, and for an ideal gas a rise in U means a rise in temperature.
Answer. ΔU = +1.23 kJ. The gas keeps 1230 J of the 1850 J it absorbed and exports the other 620 J as work.
MediumExample 2
2.00 mol of helium, treated as a monatomic ideal gas, is taken from 295 K to 375 K. (a) Find ΔU. (b) If 5.60 kJ of heat entered during the process, how much work did the gas do? (c) A second process links the same two temperatures but carries only 3.00 kJ of heat. How much work does the gas do then?
Sketch your answer or reasoning, then compare it with the authored solution. Your writing is not automatically graded or saved.
0 of 5 steps revealed.
- Helium is monatomic, so f = 3 and CV = (3/2)R = (3/2)(8.314) = 12.471 J mol⁻¹ K⁻¹.
- U depends on temperature alone, so ΔU = n CV ΔT = 2.00 × 12.471 × (375 − 295) = 2.00 × 12.471 × 80.0 = 1995.4 J ≈ 2.00 kJ. This belongs to the pair of end states, not to either process.
- (b) Rearrange the first law: W = Q − ΔU = 5600 J − 1995.4 J = 3604.6 J ≈ 3.60 kJ.
- (c) Same ΔU, smaller heat: W = 3000 J − 1995.4 J = 1004.6 J ≈ 1.00 kJ.
- Notice the pattern: the two processes differ by 2600 J of heat and by 2600 J of work, and ΔU is untouched. That is what a state function looks like in the accounts.
Answer. ΔU = +2.00 kJ on both routes. The gas does 3.60 kJ of work on the first process and 1.00 kJ on the second.
HardExample 3
A closed system is driven round a three-stage cycle. Stage 1: 1.24 kJ of heat enters and the system does 0.42 kJ of work. Stage 2: the system is compressed, the surroundings doing 0.78 kJ of work on it, while 0.95 kJ of heat leaves. Stage 3 returns the system to its starting state inside rigid walls. Find ΔU for each stage, the heat in stage 3, and check the cycle.
Sketch your answer or reasoning, then compare it with the authored solution. Your writing is not automatically graded or saved.
0 of 6 steps revealed.
- Sign everything in the physics convention. Stage 1: Q₁ = +1240 J, W₁ = +420 J. Stage 2: heat leaves, so Q₂ = −950 J, and the surroundings do the work, so W₂ = −780 J. Stage 3: rigid walls mean no boundary moves, so W₃ = 0.
- Complete the rows that are fully given: ΔU₁ = 1240 − 420 = +820 J, and ΔU₂ = −950 − (−780) = −950 + 780 = −170 J.
- The cycle closes, so U returns to its starting value and the ΔU column must sum to zero: ΔU₃ = −(820 − 170) = −650 J.
- Stage 3 has W₃ = 0, so the first law collapses to Q₃ = ΔU₃ = −650 J. The system must reject 650 J of heat at fixed volume to get home.
- Audit the totals: Qₙₑₜ = 1240 − 950 − 650 = −360 J and Wₙₑₜ = 420 − 780 + 0 = −360 J. They agree, exactly as ΔU = 0 round a cycle demands.
- Read the result physically: over one cycle the surroundings put 360 J of net work into the system and the system rejected 360 J net as heat. Nothing accumulated, because U is back where it began.
Answer. ΔU₁ = +820 J, ΔU₂ = −170 J, ΔU₃ = −650 J, and Q₃ = −650 J. The audit closes with Qₙₑₜ = Wₙₑₜ = −360 J.
Quick check
Select an answer and explain it before checking.
Review & continue
Internal energy is the total microscopic kinetic and potential energy a system holds in its own rest frame, and the first law says its change equals the heat added minus the work the system does: ΔU = Q − W.
- Explain the relationship without looking at the equation.
- Check a sign, a unit and a model assumption in your working.
- Return to the lab or worked example if a step is still unclear.
Optional supporting lessons
These chapter resources can help with earlier ideas; they are not additional required Physics II completion tasks.