Thermodynamics and Kinetics

Heat, Work and Internal Energy: The First Law for Chemists

See how heat and work change a system's internal energy, with sign rules and worked gas examples you can check by hand.

Key takeaways

  • Internal energy U is the total energy of the particles in a system, and only its change, ΔU, is normally measured.
  • The first law is ΔU = q + w, with heat into the system and work done on the system both counted as positive.
  • Heat and work depend on the route taken between two states, while ΔU depends only on the starting and ending states.
  • At constant volume no expansion work is done, so the measured heat equals ΔU.

The first law of thermodynamics says that energy is never created or destroyed, only moved or converted. For a chemist, that becomes a short piece of bookkeeping: the change in a system's internal energy equals the heat that flows into it plus the work done on it. In symbols, ΔU = q + w.

Once you can say what the system is, which way energy crossed its boundary, and whether it crossed as heat or as work, you can account for the energy of a reaction, a heated flask or a gas pushing a piston.

System, surroundings and internal energy

The system is the part of the world you choose to study, such as the contents of a beaker. The surroundings are everything else, including the glass, the bench and the air. An open system exchanges matter and energy, a closed system exchanges only energy, and an isolated system exchanges neither.

Internal energy is the sum of all the energy stored within the system. It includes the motion of molecules (translation, rotation and vibration), the attractions and repulsions between them, and the energy tied up in chemical bonds and electron arrangements. The kinetic picture of matter gives a good feel for the motion part.

It does not include the kinetic energy of the whole flask if you carry it across the room. Nor can you easily state an absolute value for U. What you can measure is how much it changes: ΔU = U(final) − U(initial).

Heat and work are energy in transit

Heat, written q, is energy that crosses the boundary because of a temperature difference. It moves from hotter to colder. Work, written w, is energy transferred when something is moved against a force, or driven by other means such as an electric current pushed through a cell.

A system does not "contain" heat or work. Both words describe transfers while they are happening. After the transfer, you cannot look inside the flask and sort its internal energy into a heat part and a work part.

Temperature is also different from heat. Temperature describes how energy is shared among the particles, as explained in kinetic molecular theory. A bathtub of warm water holds far more internal energy than a red-hot pin, even though the pin is much hotter.

The sign convention

Chemists usually take the system's point of view. Energy that enters is positive, and energy that leaves is negative.

Signs of heat and work from the system's point of view
q is positive Heat flows into the system q is negative Heat flows out to the surroundings w is positive Surroundings compress or drive the system w is negative System expands and pushes outward q is positive Heat flows into the system q is negative Heat flows out to the surroundings w is positive Surroundings compress or drive the system w is negative System expands and pushes outward

Some physics and engineering books write ΔU = q − w, defining w as work done by the system. Both forms describe the same physics. Check which definition a source uses before you copy a formula from it.

Expansion work against a constant pressure

The most common kind of work in introductory chemistry is expansion work. When a gas grows in volume against an outside pressure, it has to push the surroundings back. For a constant external pressure:

w = −P(ext) × ΔV
ΔV = V(final) − V(initial)

The minus sign makes the bookkeeping come out right. Expansion has ΔV > 0, so w is negative and the system loses energy. Compression has ΔV < 0, so w is positive.

A handy conversion is 1 L·bar = 100 J. Say a gas expands from 1.00 L to 3.00 L against a steady 1.00 bar while it absorbs 500 J of heat.

w  = −(1.00 bar)(3.00 L − 1.00 L) = −2.00 L·bar
w  = −200 J                         (1 L·bar = 100 J)
ΔU = q + w = +500 J + (−200 J) = +300 J

The gas took in 500 J, spent 200 J pushing the surroundings back and kept 300 J.

Reactions that make gas do this too. If a reaction in an open vessel produces 1.00 mol of gas at 298 K, treating the gas as ideal gives w ≈ −Δn(gas)RT = −(1.00 mol)(8.314 J/(mol·K))(298 K) ≈ −2.48 kJ. The volumes of solids and liquids are small enough to ignore here.

Why the route matters for q and w

Internal energy is a state function. That means its value depends only on the present condition of the system, such as its composition, temperature and pressure, and not on how it got there. Altitude works the same way: the height difference between two towns is fixed, but the distance you drive between them depends on the road.

Heat and work are like the distance driven. Consider 1.00 mol of ideal gas doubling its volume at a constant 298 K. For an ideal gas at constant temperature, ΔU = 0, so q = −w on every route. The values themselves differ.

Route for doubling the volume Work, w Heat, q
Expansion into a vacuum 0 0
One step against the final pressure about −1.24 kJ about +1.24 kJ
Slow, reversible expansion about −1.72 kJ about +1.72 kJ

The reversible value comes from w = −nRT ln(V₂/V₁), and the one-step value works out to −nRT/2. A reversible process is an idealized one carried out in infinitesimal steps, always almost in balance. It delivers the most work an expansion can give between those two states at that temperature.

Constant volume and constant pressure

If a reaction runs inside a rigid sealed container, ΔV = 0 and no expansion work is possible. With no other kind of work involved, the first law shrinks to ΔU = q(V), where the subscript marks constant volume. This is the idea behind the bomb calorimeter described in calorimetry with a coffee cup or a bomb.

Most bench chemistry happens at constant atmospheric pressure instead, where volume is free to change. The heat then differs from ΔU by the expansion work. Rather than correct for it every time, chemists define enthalpy, H = U + PV, whose change equals the heat at constant pressure when only expansion work occurs.

A full energy account for one reaction

Zinc dropping into hydrochloric acid shows all the pieces at once. The equation is Zn(s) + 2 HCl(aq) → ZnCl₂(aq) + H₂(g). The reaction warms the solution, and it also makes a gas.

Suppose 0.100 mol of zinc reacts at a constant 298 K and 1 bar. The enthalpy change for this reaction is about −153 kJ per mole of zinc. Here is how the energy divides.

q (constant pressure) = 0.100 mol × (−153 kJ/mol)          ≈ −15.3 kJ
w = −Δn(gas)RT = −(0.100)(8.314)(298) J                    ≈ −0.248 kJ
ΔU = q + w = −15.3 kJ + (−0.25 kJ)                          ≈ −15.55 kJ

All three numbers are negative from the system's side. Heat left, and the system also did work pushing back the atmosphere to make room for hydrogen. In a sealed rigid vessel, the same change in state of the chemicals would release roughly the whole ΔU as heat, apart from the small effects of the different final pressure, because no pushing could occur.

The work is under two percent of the total here. That is typical: for most reactions, heat dominates the account unless the system is designed to extract work, as an engine or a battery is.

Engines, batteries and other kinds of work

An engine cylinder is a place where chemists' bookkeeping meets machinery. Burning fuel releases energy, the hot gases expand and push a piston, and the rest leaves as heat through the exhaust and cooling system. The first law says these outputs must add up to the drop in internal energy.

A battery does electrical work instead. Its reaction drives charge through an external circuit, so a good cell can deliver a large share of the reaction energy as electricity and relatively little as heat. Short-circuit the same cell and the energy appears almost entirely as heat, which can be a fire hazard. Same starting and ending chemicals, very different split between q and w.

When any such work is possible, add it to the equation: w is the sum of expansion work and every other kind.

Heating without reacting

The first law also covers plain warming. Add heat to a substance at constant volume and all of it raises the internal energy. How much the temperature rises depends on the heat capacity of the material.

During melting or boiling, heat goes in while the temperature stays steady. The energy goes into overcoming attractions between particles, so U rises even though a thermometer shows no change.

Why energy conservation is trusted

In the nineteenth century, James Joule and others showed that a measured amount of mechanical or electrical work produces a consistent amount of heating. That equivalence is why one unit, the joule, now serves for both.

The first law also rules out a machine that runs in a cycle and delivers net work with no energy input. After a full cycle the system is back where it started, so ΔU = 0 and any work delivered must be matched by heat taken in. Claims of devices that break this balance have not survived careful measurement.

Nuclear reactions do not overturn the rule. They make it necessary to count mass as a form of energy, through E = mc². In ordinary chemical reactions the corresponding mass change is far too small to weigh.

Mistakes to watch for

  • Writing "the heat of the system." A system has internal energy; heat is a transfer.
  • Assuming that no temperature change means no heat flow. Isothermal expansion and melting both disprove it.
  • Using the system's own pressure in w = −PΔV when the outside pressure is what the gas pushes against.
  • Adding joules to kilojoules without converting. Work from gas volumes often comes out in joules, while reaction heats are quoted in kilojoules.
  • Expecting the first law to say which way a process will go. It balances energy for a forward or a backward change equally well. Direction is the business of the second law.

A quick check for any problem is to name the system, draw an arrow for each transfer, give each arrow its sign and only then add.

Written for 4Chemistry with AI writing tools and not reviewed line by line by a person. Check anything you rely on against a textbook or primary source. Report an error.

Keep reading

All 46 articles in Thermodynamics and Kinetics →

Latest news on this topic