# 18.2 The First Law of Thermodynamics

### Learning Objective

To calculate changes in internal energy.

The relationship between the energy change of a system and that of its surroundings is given by the first law of thermodynamics, which states that the energy of the universe is constant. Using Equation 18.1, we can express this law mathematically as follows:

Equation 18.6

ΔEuniv=ΔEsys+ΔEsurr=0
ΔEsys=−ΔEsurr

where the subscripts univ, sys, and surr refer to the universe, the system, and the surroundings, respectively. Thus the change in energy of a system is identical in magnitude but opposite in sign to the change in energy of its surroundings.

An important factor that determines the outcome of a chemical reaction is the tendency of all systems, chemical or otherwise, to move toward the lowest possible overall energy state. As a brick dropped from a rooftop falls, its potential energy is converted to kinetic energy; when it reaches ground level, it has achieved a state of lower potential energy. Anyone nearby will notice that energy is transferred to the surroundings as the noise of the impact reverberates and the dust rises when the brick hits the ground. Similarly, if a spark ignites a mixture of isooctane and oxygen in an internal combustion engine, carbon dioxide and water form spontaneously, while potential energy (in the form of the relative positions of atoms in the molecules) is released to the surroundings as heat and work. The internal energy content of the CO2/H2O product mixture is less than that of the isooctane/O2 reactant mixture. The two cases differ, however, in the form in which the energy is released to the surroundings. In the case of the falling brick, the energy is transferred as work done on whatever happens to be in the path of the brick; in the case of burning isooctane, the energy can be released as solely heat (if the reaction is carried out in an open container) or as a mixture of heat and work (if the reaction is carried out in the cylinder of an internal combustion engine). Because heat and work are the only two ways in which energy can be transferred between a system and its surroundings, any change in the internal energy of the system is the sum of the heat transferred (q) and the work done (w):

Equation 18.7

ΔEsys = q + w

Although q and w are not state functions on their own, their sum (ΔEsys) is independent of the path taken and is therefore a state function. A major task for the designers of any machine that converts energy to work is to maximize the amount of work obtained and minimize the amount of energy released to the environment as heat. An example is the combustion of coal to produce electricity. Although the maximum amount of energy available from the process is fixed by the energy content of the reactants and the products, the fraction of that energy that can be used to perform useful work is not fixed, as discussed in Section 18.5 "Free Energy". Because we focus almost exclusively on the changes in the energy of a system, we will not use “sys” as a subscript unless we need to distinguish explicitly between a system and its surroundings.

#### Note the Pattern

The tendency of all systems, chemical or otherwise, is to move toward the state with the lowest possible energy.

#### Note the Pattern

Although q and w are not state functions, their sum (ΔEsys) is independent of the path taken and therefore is a state function.

Example 2

A sample of an ideal gas in the cylinder of an engine is compressed from 400 mL to 50.0 mL during the compression stroke against a constant pressure of 8.00 atm. At the same time, 140 J of energy is transferred from the gas to the surroundings as heat. What is the total change in the internal energy (ΔE) of the gas in joules?

Given: initial volume, final volume, external pressure, and quantity of energy transferred as heat

Asked for: total change in internal energy

Strategy:

A Determine the sign of q to use in Equation 18.7.

B From Equation 18.5, calculate w from the values given. Substitute this value into Equation 18.7 to calculate ΔE.

Solution:

A From Equation 18.7, we know that ΔE = q + w. We are given the magnitude of q (140 J) and need only determine its sign. Because energy is transferred from the system (the gas) to the surroundings, q is negative by convention.

B Because the gas is being compressed, we know that work is being done on the system, so w must be positive. From Equation 18.5,

$$w=-P_{\textrm{ext}}\Delta V=-8.00\textrm{ atm}(\textrm{0.0500 L} - \textrm{0.400 L})\left(\dfrac{\textrm{101.3 J}}{\mathrm{L\cdot atm}} \right)=284\textrm{ J}$$

Thus

ΔE = q + w = −140 J + 284 J = 144 J

In this case, although work is done on the gas, increasing its internal energy, heat flows from the system to the surroundings, decreasing its internal energy by 144 J. The work done and the heat transferred can have opposite signs.

Exercise

A sample of an ideal gas is allowed to expand from an initial volume of 0.200 L to a final volume of 3.50 L against a constant external pressure of 0.995 atm. At the same time, 117 J of heat is transferred from the surroundings to the gas. What is the total change in the internal energy (ΔE) of the gas in joules?

#### Note the Pattern

By convention, both heat flow and work have a negative sign when energy is transferred from a system to its surroundings and vice versa.

### Enthalpy

To further understand the relationship between heat flow (q) and the resulting change in internal energy (ΔE), we can look at two sets of limiting conditions: reactions that occur at constant volume and reactions that occur at constant pressure. We will assume that PV work is the only kind of work possible for the system, so we can substitute its definition from Equation 18.5 into Equation 18.7 to obtain the following:

Equation 18.8

ΔE = q − PΔV

where the subscripts have been deleted.

If the reaction occurs in a closed vessel, the volume of the system is fixed, and ΔV is zero. Under these conditions, the heat flow (often given the symbol qv to indicate constant volume) must equal ΔE:

Equation 18.9

$$\underset{\textrm{constant volume}}{q_{\textrm v}=\Delta E}$$

No PV work can be done, and the change in the internal energy of the system is equal to the amount of heat transferred from the system to the surroundings or vice versa.

Many chemical reactions are not, however, carried out in sealed containers at constant volume but in open containers at a more or less constant pressure of about 1 atm. The heat flow under these conditions is given the symbol qp to indicate constant pressure. Replacing q in Equation 18.8 by qp and rearranging to solve for qp,

Equation 18.10

$$\underset{\textrm{constant pressure}}{q_{\textrm p}=\Delta E+P\Delta V}$$

Thus, at constant pressure, the heat flow for any process is equal to the change in the internal energy of the system plus the PV work done, as we stated in Chapter 5 "Energy Changes in Chemical Reactions".

Because conditions of constant pressure are so important in chemistry, a new state function called enthalpy (H) is defined as H = E + PV. At constant pressure, the change in the enthalpy of a system is as follows:

Equation 18.11

ΔH = ΔE + Δ(PV) = ΔE + PΔV

Comparing the previous two equations shows that at constant pressure, the change in the enthalpy of a system is equal to the heat flow: ΔH = qp. This expression is consistent with our definition of enthalpy in Chapter 5 "Energy Changes in Chemical Reactions", where we stated that enthalpy is the heat absorbed or produced during any process that occurs at constant pressure.

#### Note the Pattern

At constant pressure, the change in the enthalpy of a system is equal to the heat flow: ΔH = qp.

Example 3

The molar enthalpy of fusion for ice at 0.0°C and a pressure of 1.00 atm is 6.01 kJ, and the molar volumes of ice and water at 0°C are 0.0197 L and 0.0180 L, respectively. Calculate ΔH and ΔE for the melting of ice at 0.0°C. (For more information on enthalpy, see Chapter 5 "Energy Changes in Chemical Reactions", Section 5.2 "Enthalpy".)

Given: enthalpy of fusion for ice, pressure, and molar volumes of ice and water

Asked for: ΔH and ΔE for ice melting at 0.0°C

Strategy:

A Determine the sign of q and set this value equal to ΔH.

B Calculate Δ(PV) from the information given.

C Determine ΔE by substituting the calculated values into Equation 18.11.

Solution:

A Because 6.01 kJ of heat is absorbed from the surroundings when 1 mol of ice melts, q = +6.01 kJ. When the process is carried out at constant pressure, q = qp = ΔH = 6.01 kJ.

B To find ΔE using Equation 18.11, we need to calculate Δ(PV). The process is carried out at a constant pressure of 1.00 atm, so

\begin{align}\Delta(PV)&=P\Delta V=P(V_{\textrm f}-V)=(1.00\textrm{ atm})(\textrm{0.0180 L}-\textrm{0.0197 L}) \\ &=(-1.7\times10^{-3}\;\mathrm{L\cdot atm})(101.3\;\mathrm{J/L\cdot atm})=-0.0017\textrm{ J}\end{align}

C Substituting the calculated values of ΔH and PΔV into Equation 18.11,

ΔE = ΔH − PΔV = 6010 J − (−0.0017 J) = 6010 J = 6.01 kJ

Exercise

At 298 K and 1 atm, the conversion of graphite to diamond requires the input of 1.850 kJ of heat per mole of carbon. The molar volumes of graphite and diamond are 0.00534 L and 0.00342 L, respectively. Calculate ΔH and ΔE for the conversion of C (graphite) to C (diamond) under these conditions.

Answer: ΔH = 1.85 kJ/mol; ΔE = 1.85 kJ/mol

### The Relationship between ΔH and ΔE

If ΔH for a reaction is known, we can use the change in the enthalpy of the system (Equation 18.11) to calculate its change in internal energy. When a reaction involves only solids, liquids, liquid solutions, or any combination of these, the volume does not change appreciably (ΔV = 0). Under these conditions, we can simplify Equation 18.11 to ΔH = ΔE. If gases are involved, however, ΔH and ΔE can differ significantly. We can calculate ΔE from the measured value of ΔH by using the right side of Equation 18.11 together with the ideal gas law, PV = nRT. Recognizing that Δ(PV) = Δ(nRT), we can rewrite Equation 18.11 as follows:

Equation 18.12

ΔH = ΔE + Δ(PV) = ΔE + Δ(nRT)

At constant temperature, Δ(nRT) = RTΔn, where Δn is the difference between the final and initial numbers of moles of gas. Thus

Equation 18.13

ΔE = ΔH − RTΔn

For reactions that result in a net production of gas, Δn > 0, so ΔE < ΔH. Conversely, endothermic reactions (ΔH > 0) that result in a net consumption of gas have Δn < 0 and ΔE > ΔH. The relationship between ΔH and ΔE for systems involving gases is illustrated in Example 4.

#### Note the Pattern

For reactions that result in a net production of gas, ΔE < ΔH. For endothermic reactions that result in a net consumption of gas, ΔE > ΔH.

Example 4

The combustion of graphite to produce carbon dioxide is described by the equation C (graphite, s) + O2(g) → CO2(g). At 298 K and 1.0 atm, ΔH = −393.5 kJ/mol of graphite for this reaction, and the molar volume of graphite is 0.0053 L. What is ΔE for the reaction?

Given: balanced chemical equation, temperature, pressure, ΔH, and molar volume of reactant

Strategy:

A Use the balanced chemical equation to calculate the change in the number of moles of gas during the reaction.

B Substitute this value and the data given into Equation 18.13 to obtain ΔE.

Solution:

A In this reaction, 1 mol of gas (CO2) is produced, and 1 mol of gas (O2) is consumed. Thus Δn = 1 − 1 = 0.

B Substituting this calculated value and the given values into Equation 18.13,

ΔE=ΔH−RTΔn=(−393.5 kJ/mol)−[8.314 J/(mol⋅K)](298 K)(0)
=(−393.5 kJ/mol)−(0 J/mol)=−393.5 kJ/mol

To understand why only the change in the volume of the gases needs to be considered, notice that the molar volume of graphite is only 0.0053 L. A change in the number of moles of gas corresponds to a volume change of 22.4 L/mol of gas at standard temperature and pressure (STP), so the volume of gas consumed or produced in this case is (1)(22.4 L) = 22.4 L, which is much, much greater than the volume of 1 mol of a solid such as graphite.

Exercise

Calculate ΔE for the conversion of oxygen gas to ozone at 298 K: 3O2(g) → 2O3(g). The value of ΔH for the reaction is 285.4 kJ.

As the exercise in Example 4 illustrates, the magnitudes of ΔH and ΔE for reactions that involve gases are generally rather similar, even when there is a net production or consumption of gases.

### Summary

The first law of thermodynamics states that the energy of the universe is constant. The change in the internal energy of a system is the sum of the heat transferred and the work done. At constant pressure, heat flow (q) and internal energy (E) are related to the system’s enthalpy (H). The heat flow is equal to the change in the internal energy of the system plus the PV work done. When the volume of a system is constant, changes in its internal energy can be calculated by substituting the ideal gas law into the equation for ΔE.

### Key Takeaway

• Enthalpy is a state function, and the change in enthalpy of a system is equal to the sum of the change in the internal energy of the system and the PV work done.

### Key Equations

Internal energy change

Equation 18.7: ΔEsys = q + w

Enthalpy change

Equation 18.11: ΔH = ΔE + Δ(PV)

Relationship between Δ H and Δ E for an ideal gas

Equation 18.13: ΔE = ΔH − RTΔn

Conceptual Problems

1. Describe how a swinging pendulum that slows with time illustrates the first law of thermodynamics.
2. When air is pumped into a bicycle tire, the air is compressed. Assuming that the volume is constant, express the change in internal energy in terms of q and w.
3. What is the relationship between enthalpy and internal energy for a reaction that occurs at constant pressure?
4. An intrepid scientist placed an unknown salt in a small amount of water. All the salt dissolved in the water, and the temperature of the solution dropped several degrees.
1. What is the sign of the enthalpy change for this reaction?
2. Assuming the heat capacity of the solution is the same as that of pure water, how would the scientist calculate the molar enthalpy change?
3. Propose an explanation for the decrease in temperature.
1. For years, chemists and physicists focused on enthalpy changes as a way to measure the spontaneity of a reaction. What arguments would you use to convince them not to use this method?
1. What is the relationship between enthalpy and internal energy for a reaction that occurs at constant volume?
1. The enthalpy of combustion (ΔHcomb) is defined thermodynamically as the enthalpy change for complete oxidation. The complete oxidation of hydrocarbons is represented by the following general equation: hydrocarbon + O2(g) → CO2(g) + H2O(g). Enthalpies of combustion from reactions like this one can be measured experimentally with a high degree of precision. It has been found that the less stable the reactant, the more heat is evolved, so the more negative the value of ΔHcomb. In each pair of hydrocarbons, which member do you expect to have the greater (more negative) heat of combustion? Justify your answers.
1. cyclopropane or cyclopentane
2. butane or 2-methylpropane
3. hexane or cyclohexane
1. Using a structural argument, explain why the trans isomer of 2-butene is more stable than the cis isomer. The enthalpies of formation of cis- and trans-2-butene are −7.1 kJ/mol and −11.4 kJ/mol, respectively.
1. Using structural arguments, explain why cyclopropane has a positive ΔHf° (12.7 kJ/mol), whereas cyclopentane has a negative ΔHf° (−18.4 kJ/mol). (Hint: consider bond angles.)

1. At constant pressure, ΔH = ΔE + PΔV.
1. With bond angles of 60°, cyclopropane is highly strained, causing it to be less stable than cyclopentane, which has nearly ideal tetrahedral geometry at each carbon atom.

Numerical Problems

1. A block of CO2 weighing 15 g evaporates in a 5.0 L container at 25°C. How much work has been done if the gas is allowed to expand against an external pressure of 0.98 atm under isothermal conditions? The enthalpy of sublimation of CO2 is 25.1 kJ/mol. What is the change in internal energy (kJ/mol) for the sublimation of CO2 under these conditions?
2. Zinc and HCl react according to the following equation:

Zn(s) + 2HCl(aq) → Zn2+(aq) + 2Cl(aq) + H2(g)

When 3.00 g of zinc metal is added to a dilute HCl solution at 1.00 atm and 25°C, and this reaction is allowed to go to completion at constant pressure, 6.99 kJ of heat must be removed to return the final solution to its original temperature. What are the values of q and w, and what is the change in internal energy?

1. Acetylene torches, used industrially to cut and weld metals, reach flame temperatures as high as 3000°C. The combustion reaction is as follows:
2C2H2(g)+5O2(g)→4CO2(g)+2H2O(l) ΔH=−2599 kJ

Calculate the amount of work done against a pressure of 1.0 atm when 4.0 mol of acetylene are allowed to react with 10 mol of O2 at 1.0 atm at 20°C. What is the change in internal energy for the reaction?

1. When iron dissolves in 1.00 M aqueous HCl, the products are FeCl2(aq) and hydrogen gas. Calculate the work done if 30 g of Fe react with excess hydrochloric acid in a closed vessel at 20°C. How much work is done if the reaction takes place in an open vessel with an external pressure of 1.0 atm?