Internal energy and the first law of thermodynamics

Physics · Heat and thermodynamics. The idea in plain words, the rules to remember, the mistake to avoid and a worked example, written and checked by Mega Lecture.

Test this topic freeAll Physics topics

The idea

Internal energy U is the sum of all the energies of the molecules of a system. For an ideal gas it is only the kinetic energy of the molecules, so it depends on temperature alone. It is a function of state: the change ΔU does not depend on the path taken.

The first law of thermodynamics is the conservation of energy for heat and work. Heat Q supplied to a system goes partly into raising its internal energy and partly into work W done by the system on its surroundings.

In an isothermal process the temperature stays constant. In an adiabatic process no heat enters or leaves, which happens when a change is very fast or the system is well insulated.

In simpler words

Internal energy is the total energy of all the molecules. For an ideal gas it depends only on temperature. The first law says energy is kept. Heat given to a gas does two jobs. It raises the internal energy, and it lets the gas do work by pushing outwards. In an isothermal change the temperature stays the same. In an adiabatic change no heat gets in or out.

An everyday comparison

Think of your salary as heat Q. Part goes into savings (internal energy ΔU) and part is spent (work W). If someone hands you money instead, that is like work done on the gas: spending becomes negative. The comparison stops working because internal energy is a function of state, depending only on the gas's present condition, while savings depend on your whole history of income and spending.

Rules to remember

Common mistake

Getting the sign of W wrong. In Q = ΔU + W, work done on the gas is negative W. If 150 J of work is done on a gas, put W = −150 J, not +150 J.

In the exam

Write the first law with its sign convention: Q = ΔU + W, Q positive for heat supplied, W positive for work done by the gas. Then identify the process and say what is zero: isothermal ΔU = 0, adiabatic Q = 0, constant volume W = 0. Calculate W = PΔV if needed. Substitute with correct signs, for example W = −150 J when work is done on the gas, and give the answer in joules.

Worked example

A gas at a constant pressure of 1.5 × 105 Pa expands from 2.0 × 10−3 m3 to 5.0 × 10−3 m3 while 700 J of heat is supplied. Find the change in its internal energy.

  1. ΔV = 5.0 × 10−3 − 2.0 × 10−3 = 3.0 × 10−3 m3.
  2. W = PΔV = 1.5 × 105 × 3.0 × 10−3 = 450 J, done by the gas.
  3. ΔU = Q − W = 700 − 450 = 250 J.

Answer: ΔU = +250 J.

Ask about this

Type what you are stuck on. The helper finds the explanation, worked examples and the notes to read, free and instant.

Read the full notes

Keep going

← Kinetic theory of gasesSecond law, heat engines and entropy →Take a Physics test