- Practice
- About 24 min
- 5 practice questions
Internal energy, heat, work and the first law
Describe internal energy, apply the sign conventions for heat and work, calculate pressure-volume work for irreversible and reversible expansions, state the zeroth and first laws, and use ΔU = q + w in isochoric, adiabatic, isobaric and cyclic processes.
If something looks wrong, please tell us.
By the end of this lesson you can
- Describe internal energy and its main properties.
- Apply the sign conventions for q and w.
- Calculate work against a constant external pressure, w = −PₑₓₜΔV, and in a reversible isothermal expansion, w = −2.303 nRT log(V_f/V_i).
- State the zeroth and first laws and use ΔU = q + w for different processes.
When a gas in a cylinder is heated, the piston may move out. Part of the heat raises the energy of the gas and part pushes the piston. The first law of thermodynamics keeps the accounts of this exchange.
Internal energy U
The internal energy of a system is the total energy of all its particles: translational, rotational and vibrational energy, bond energy, electronic energy and energy of interaction between molecules: U = Uₜ + Uᵣ + Uᵥ + U_b + Uₑ + Uᵢ. Its absolute value cannot be measured; only the change ΔU = U_f − U_i matters. U is an extensive property and a state function, so ΔU is zero for a cycle; ΔU is negative if the final state has less energy and positive if it has more. Graphite and diamond, two forms of carbon with different structures, have different internal energies.
Heat and work, with signs
Heat (q) is energy crossing the boundary because of a temperature difference. Work (w) is energy crossing it in any other way, such as a gas pushing a piston. Both are path functions and appear only at the boundary during a change. Their SI unit is the joule (J); heat is also given in calories, 1 cal being the heat needed to warm 1 g of water by 1 °C near 15 °C (1 cal = 4.184 J).
| Change | Sign |
|---|---|
| Heat absorbed by the system | q positive (+q) |
| Heat given out by the system | q negative (−q) |
| Work done on the system | w positive (+w) |
| Work done by the system | w negative (−w) |
The rule is simple: anything that adds energy to the system is positive; anything that removes energy is negative.
Pressure-volume work
Consider a gas in a cylinder with a frictionless piston of area A. Against an external pressure Pₑₓₜ, the force on the piston is F = PₑₓₜA. If the piston moves a distance Δx, the volume changes by AΔx = V_f − V_i = ΔV. With the sign convention, w = −PₑₓₜΔV. In an expansion ΔV is positive, so w is negative (the gas does work); in a compression ΔV is negative, so w is positive.
If the external pressure is kept only infinitesimally different from the gas pressure at every moment, the change is reversible and w = −∫P dV. For an ideal gas at constant temperature, P = nRT/V, which integrates to the result below. A reversible expansion gives the maximum work a gas can do between two volumes.
Irreversible (constant Pₑₓₜ): w = −PₑₓₜΔV. Reversible isothermal, ideal gas: w = −nRT ln(V_f/V_i) = −2.303 nRT log(V_f/V_i).
Zeroth and first laws
Zeroth law: if two systems are each in thermal equilibrium with a third, they are in thermal equilibrium with each other. It gives meaning to temperature and is the principle behind a thermometer (the third system). It was stated after the first and second laws but logically comes before them.
First law (law of conservation of energy): the total energy of an isolated system stays constant; energy can be changed from one form to another but cannot be created or destroyed. Heat and work are the two ways of changing a closed system's internal energy:
First law: ΔU = q + w (q = heat supplied to the system, w = work done on the system).
The first law in special processes
-
Isochoric (ΔV = 0)
- No expansion work, w = 0
- ΔU = q_v: all heat goes into internal energy
-
Adiabatic (q = 0)
- ΔU = w
- Work done by the gas lowers its internal energy and temperature
-
Isobaric (P constant)
- ΔU = q − PΔV
- Part of the heat does expansion work, the rest raises U
-
Cyclic, or isothermal ideal gas
- ΔU = 0
- q = −w: heat absorbed equals work done by the system
Worked example 1: expansion against a constant pressure
A gas expands from 2.0 L to 6.0 L against a constant external pressure of 1.5 atm and absorbs 800 J of heat. Find w and ΔU (1 L atm = 101.3 J). Working: ΔV = 6.0 − 2.0 = 4.0 L. w = −PₑₓₜΔV = −1.5 atm × 4.0 L = −6.0 L atm = −6.0 × 101.3 J = −608 J (work done by the gas). q = +800 J (absorbed). ΔU = q + w = 800 − 608 = +192 J: the gas gained a little internal energy.
Worked example 2: reversible isothermal expansion
2.0 mol of an ideal gas expands reversibly and isothermally at 300 K from 10 L to 20 L. Find w, ΔU and q (R = 8.314 J K⁻¹ mol⁻¹, log 2 = 0.3010). Working: w = −2.303 nRT log(V_f/V_i) = −2.303 × 2.0 × 8.314 × 300 × log 2 = −2.303 × 4988.4 × 0.3010 = −3458 J ≈ −3.46 kJ. For an ideal gas at constant temperature U does not change, so ΔU = 0 and q = −w = +3.46 kJ: all the heat absorbed is turned into work.
Key takeaways: energy into the system is positive, energy out is negative. w = −PₑₓₜΔV for a constant external pressure; reversible isothermal work is −2.303 nRT log(V_f/V_i), the largest possible. ΔU = q + w; ΔU = q_v at constant volume, ΔU = w when adiabatic, ΔU = 0 for a cycle.
Check your understanding
-
1. A system gives out 250 J of heat and has 400 J of work done on it. What is ΔU?
- +150 J
- −650 J
- +650 J
- −150 J
Show answer
Answer: A. Heat given out: q = −250 J. Work done on the system: w = +400 J. ΔU = q + w = −250 + 400 = +150 J.
-
2. A gas expands from 1.0 L to 3.0 L against a constant external pressure of 2.0 atm. How much work is done? (1 L atm = 101.3 J)
- +405 J
- −203 J
- −405 J
- −608 J
Show answer
Answer: C. ΔV = 3.0 − 1.0 = 2.0 L. w = −PₑₓₜΔV = −2.0 atm × 2.0 L = −4.0 L atm = −4.0 × 101.3 J = −405 J. It is negative because the gas does work on the surroundings.
-
3. In an adiabatic expansion of a gas, which statement is correct?
- The temperature of the gas rises.
- Heat flows into the gas to keep its temperature constant.
- ΔU = w, so the internal energy and temperature of the gas fall.
- ΔU = q, because no work is done.
Show answer
Answer: C. Adiabatic means q = 0, so ΔU = w. In an expansion the gas does work (w negative), so ΔU is negative and the gas cools.
-
4. 1.0 mol of an ideal gas expands reversibly and isothermally at 300 K until its volume is ten times larger. What is the work done? (R = 8.314 J K⁻¹ mol⁻¹)
- −2494 J
- −5744 J
- +5743 J
- −57.4 J
Show answer
Answer: B. w = −2.303 nRT log(V_f/V_i) = −2.303 × 1.0 × 8.314 × 300 × log 10 = −2.303 × 2494.2 × 1 = −5744 J. −2494 J leaves out the 2.303 conversion from log to ln.
-
5. The principle on which a thermometer works is given by
- the zeroth law of thermodynamics
- the first law of thermodynamics
- the second law of thermodynamics
- the third law of thermodynamics
Show answer
Answer: A. The zeroth law says that two bodies each in thermal equilibrium with a third are in equilibrium with each other. The thermometer is the third body, so equal readings mean equal temperatures.
Sign in to keep track of the lessons you finish.