MODULE 2 / 6
First law, work and heat
Relate heat and work exchanges to the change in internal energy.
Internal energy and the first law
Internal energy
Thermodynamic potential
Internal energy is the system's energy at the microscopic scale: it includes the motion energies of its constituents and the energies associated with their interactions. It may change when the system exchanges energy with the surroundings as heat or work.
Internal energy U is a thermodynamic potential describing the system's microscopic energy.
The internal-energy change between an initial and a final state is:
It is expressed in joules (J). 1 calorie is approximately 4.18 J (rounded).
Data: references and notes (water)
First law
Energy is conserved: it can be transferred between a system and its surroundings or converted from one form to another. Heat Q and work W are two modes of energy transfer.
In this chapter's balances, we study a closed system and neglect changes in kinetic and potential energy of the system as a whole. Transfers are counted positive when received, negative when released.
Microscopic energy and motion of the entire system
Motion of the constituents within the system contributes to U. Motion of the entire system and its position in an external field correspond to macroscopic kinetic and potential energies, accounted for separately. When these do not change, the closed-system balance is ΔU = Q + W.
Heat and work are not two components of U: they are two ways to transfer energy. There is no correspondence “heat = kinetic energy” or “work = potential energy”.
State functions and paths
Energy and transfers
U characterises the system's state. Q and W describe transfers during a process : a system does not “contain” an amount of heat Q or an amount of work W.
U is a state function : its change depends on the initial and final states, not the path. Q and W depend on the path.
For an infinitesimal process:
dU is an exact total differential. δQ and δW represent elementary heat and work transfers, which depend on the path.
What is a cycle?
A cycle is a sequence of processes after which the system returns to its starting state: the final state is the same as the initial state. On a state diagram, the path is closed.
ΔUcycle = 0 ; ΔHcycle = 0
Qcycle + Wcycle = 0
Add the changes and exchanges of all steps. Q and W need not be zero individually. Here H denotes enthalpy, another state function introduced in the next module.
Heat and work
Heat Q
Energy transferred between a system and its surroundings because of a temperature difference. Receiving or releasing heat does not necessarily cause a temperature change : during a pure substance's phase transition at constant pressure, temperature remains constant.
For example, an ice cube in a warmer room receives energy while remaining at its melting temperature as it melts. The temperature difference is between the system and surroundings; it should not be confused with a change in system temperature.
Endothermic: heat received, Q > 0. Exothermic: heat released, Q < 0.
Work W
Mode of energy transfer associated with a force.
A change in system volume in the presence of external pressure forces gives the elementary work:
Moving the piston: compression or expansion
The system is the gas below the piston. Here, pext = 1 bar is constant. Each movement starts from Vᵢ = 2 L.
Choose compression or expansion to observe displacement and work.
W = −pext(Vf − Vᵢ), with 1 bar·L = 100 J. The arrow near the piston shows its movement. This diagram illustrates work; it does not impose constant temperature.
If external pressure is constant, the process is monobaric :
At positive external pressure, an increase in volume gives W < 0; a decrease in volume gives W > 0.
Energy received or released: choosing the sign
Always adopt the perspective of the system. Choose the transfer mode, then its direction.
Heat received: Q > 0. Transfer enters the system (endothermic).
The sign indicates transfer direction, not the value of internal energy. To find ΔU, add Q and W.
Processes at a constant parameter
Adiabatic compression: how can U increase without heat received?
Return to the piston: if the walls are adiabatic, Q = 0. During compression, volume decreases and work received is positive. The first law then gives ΔU = W > 0. For an ideal gas, this causes a temperature increase.
Adiabatic means no heat transfer, not constant temperature. Here this assumption is added to the piston model of work.
| Process | Constant quantity or zero exchange | Equation |
|---|---|---|
| Constant volume | W = 0 ; ΔU = QV | |
| Constant temperature | For an ideal gas of fixed composition: ΔU = 0; W = −Q | |
| Constant system pressure | p = constant |
System properties and exchanges with the surroundings
| System or walls | Exchanges | Equation |
|---|---|---|
| No heat transfer | Q = 0 ; ΔU = W | |
| No matter or energy exchange | Q = W = ΔU = 0 |
A process with no heat transfer is also called adiabatic. Adiabatic walls still allow work exchange, unlike an isolated system.
The relationships for W concern pressure–volume work. Adiabatic does not mean isothermal: no heat exchange does not imply constant temperature.
Isobaric refers to the system pressure; monobaric refers to the external pressure used to calculate W.
Understanding the work integral
What is an integral?
For a continuous function f between a and b, the integral is a number that accumulates the contributions of f over this interval. a and b are the bounds; x is the integration variable.
An antiderivative of f is a function F whose derivative is f: F′ = f. It allows the integral to be calculated:
Find an antiderivative, evaluate it at the upper and then lower bounds, and subtract. For example, an antiderivative of 2x is x², so .
When f is positive and a < b, this number represents the area under the curve. The rectangles below illustrate this accumulation; an antiderivative gives the exact value.
If pressure varies, add the small work contributions along the process:
On the graph, a rectangle represents a small volume change multiplied by a pressure: its area is pext × ΔV. The sum of the areas approximates the integral. The curve stays the same when the number of rectangles increases: the rectangles become narrower and follow the curve more closely.
Comparing rectangles and the area under the curve
The two graphs show the same curve over the same 1–3 L interval. Compare the approximation with 4 rectangles to your chosen number.
Illustrative curve: pext(V) = 2/V, with pext in bar and V in L.
Pressure curve Approximation rectangles
Relating rectangles to an antiderivative
The rectangles illustrate the integral. An antiderivative gives its value: if F′(V) = pext(V), the integral equals F(Vf) − F(Vi). At constant pressure, one rectangle already gives the exact area.
Choosing the work calculation and reading a diagram
The starting formula is always . The process name alone is insufficient: external pressure must be known along the path.
| Situation | Pressure–volume work calculation |
|---|---|
| Isochoric: constant V | dV = 0, so W = 0. |
| Constant external pressure: pext constant | W = −pext(Vf − Vi). |
| Ideal gas, fixed amount, reversible isothermal process | pext = p = nRT/V in the reversible limit. Thus W = −nRT ∫ dV/V = −nRT ln(Vf/Vi). |
| Ideal gas, fixed amount, isobaric with p = pext | W = −p(Vf − Vi) = −nR(Tf − Ti). |
p is the gas pressure; pext is the pressure exerted by the surroundings. To replace pext by p, mechanical equilibrium in the reversible limit is required. A slow process alone does not guarantee reversibility: friction may remain.
In a reversible isothermal process, nRT is constant and an antiderivative of 1/V is ln(V). Subtracting the logarithms gives ln(Vf/Vi); the ratio is dimensionless. Since piVi = pfVf, we may also write W = nRT ln(pf/pi).
Thermochemistry · Lénaïc Lartigue · First law, work and heat · CC BY-NC-ND 4.0
8 concept questions
These questions cover definitions and relationships. You may try again.
Exercises
After the quiz, develop your reasoning on paper, then enter the requested results. The calculation steps are provided in the detailed solution, available after an attempt.
Your answers are stored in this browser. This record supports your practice; it is not a grade.
EXERCISE 1
Recovering first-law relationships
Complete the relationships. The work considered is pressure–volume work.
Hint 1
Start from ΔU = Q + W and identify the zero term for each process.
Solution
1. W = 0. 2. ΔU = Q. 3. ΔU = W. 4. ΔU = 0 and W = −Q. 5. Q = W = ΔU = 0.
EXERCISE 2
Assigning signs to exchanges
A closed system receives 200 J of heat and releases 80 J as work. Changes in macroscopic kinetic and potential energy are neglected.
Determine the system's internal-energy change ΔU.
Hint 1
Adopt the system's perspective for both exchanges.
Detailed solution
From the system's perspective, heat received is positive, Q = +200 J; work released is negative, W = −80 J.
The first law gives ΔU = Q + W = 200−80 = +120 J. Internal energy increases.
EXERCISE 3
Calculating work and closing a cycle
A gas expands from 1 to 3 L against a constant external pressure of 1 bar. Consider pressure–volume work only.
Separate question: a cycle has three steps with internal-energy changes +200 J, −80 J and ΔU₃.
Determine the work received by the gas and, for the separate cycle question, the change ΔU₃.
Hint 1
Expansion delivers work; a cycle returns to the same state.
Solution
ΔV = 3 − 1 = 2 L ; W = −1 × 2 × 100 = −200 J.
Over the cycle: 200 − 80 + ΔU₃ = 0, hence ΔU₃ = −120 J.
Discussion · First law, work and heat
Ask your question and describe the reasoning you find difficult. Discussions are public.
You may also ask questions by email or during an online class.