Virtual laboratory/Physics/Thermodynamics/First law of thermodynamics — ΔU = Q + W

First law of thermodynamics — ΔU = Q + W

What we will do: We will supply heat to a gas in a cylinder through different processes and check how it is split between a rise in temperature and expansion work.

What you see on screen: A cylinder with a movable piston and a heater, a process switch (isochoric, isobaric, isothermal, adiabatic) and a heat slider. Three bars — heat, work and the change in internal energy — are always tied together by the balance ΔU = Q + W. Readouts: process, Q, W, ΔU, temperature and volume.

First law of thermodynamics — ΔU = Q + W
Physics · Thermodynamics · First law of thermodynamics (FIZ.TERMO.PP.03)
Supplied heat QQQ = 300 J
You heat the gas at constant volume (piston locked) — will the gas do any work?
process
isochoric
heat Q
300 J
work W
0 J
ΔU
300 J
temperature
330 K
volume
1.00 dm³
🎯 Challenge: hit ΔU
streak: 0

I will give you a target change in internal energy — pick a process and the energy (slider) to reach it. ΔU = Q + W.

What just happened?

With the piston locked (constant volume) all the supplied heat went into internal energy — the temperature rose, but the gas did no work.

The first law of thermodynamics:

is the energy balance for a gas. The change in internal energy equals the sum of the heat supplied and the work done on the gas:

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

Energy is not lost — it can enter as heat (Q) or as work (W) and show up as a rise in internal energy (and therefore temperature).

Four processes:

isochoric (constant volume): W = 0, all the heat → ΔU (temperature rises);

isobaric (constant pressure): the gas expands and does work, part of the heat goes into work;

isothermal (constant temperature): ΔU = 0, the supplied heat is converted entirely into work by the gas;

adiabatic (no heat exchange, Q = 0): ΔU = W — compression warms it, expansion cools it.

Why this matters for the exam:

the balance ΔU = Q + W and recognising the processes are the core of thermodynamics. The trick: find what is zero (W for isochoric, ΔU for isothermal, Q for adiabatic) — the rest follows from the balance.

Remember: the internal energy of a gas changes through heat and work: ΔU = Q + W. It is the conservation of energy in its thermal form.

Illustrative model · NexTutor Virtual laboratory

Enjoyed the experiment? Share it.

It's free — send it to friends from school.

Theory & formulas

Energy balance

The change in internal energy of a gas equals the sum of the heat supplied and the work done on the gas: ΔU=Q+W\Delta U = Q + W

Four processes

  • isochoric (V=constV = \text{const}): W=0W = 0, so ΔU=Q\Delta U = Q — all the heat goes into a rise in temperature,
  • isobaric (p=constp = \text{const}): work done on the gas W=−p ΔVW = -p\,\Delta V,
  • isothermal (T=constT = \text{const}): ΔU=0\Delta U = 0, so Q=−WQ = -W,
  • adiabatic (Q=0Q = 0): ΔU=W\Delta U = W — compression heats the gas, expansion cools it.

Internal energy

For an ideal gas UU depends only on temperature — a rise in TT means a rise in UU.

Symbols: ΔU\Delta U — change in internal energy, QQ — heat supplied to the gas, WW — work done on the gas, pp — pressure, ΔV\Delta V — change in volume, TT — temperature.

Frequently asked questions

›

What is the first law of thermodynamics?

The change in internal energy of a gas equals the sum of the heat supplied and the work done on the gas: ΔU = Q + W.

›

What happens to heat in an isochoric process?

The gas does no work (W = 0), so all the heat increases the internal energy and the temperature.

›

What is an adiabatic process?

A process with no heat exchange (Q = 0) — then ΔU = W: compression heats the gas, while expansion cools it.

Teaching? Embed this experiment on your site.

Free widget — paste it on your school site, blog or notes. It links to the full version.

Teaching a class or tutoring? Guide students in NexTutor →