# 7.4: Work

- Page ID
- 41246

Skills to Develop

- To know the relationship between energy, work, and heat.

One definition of energy is the capacity to do work. There are many kinds of work, including mechanical work, electrical work, and work against a gravitational or a magnetic field. Here we will consider only mechanical work and focus on the work done during changes in the pressure or the volume of a gas.

### Mechanical Work

The easiest form of work to visualize is mechanical work (Figure \(\PageIndex{1}\)), which is the energy required to move an object a distance d when opposed by a force F, such as gravity:

\[w=F\,d \label{7.4.1}\]

with

- \(w\) is work
- \(F\) is opposing force
- \(d\) is distance

**Figure 7.4.1:** One form of energy is mechanical work, the energy required to move an object of mass \(m\) a distance d when opposed by a force \(F\), such as gravity.

Because the force (F) that opposes the action is equal to the mass (m) of the object times its acceleration (\(a\)), Equation \ref{7.4.1} can be rewritten to:

\[w = m\,a\,d \label{7.4.2}\]

with

- \(w\) is work
- \(m\) is mass
- \(a\) is a acceleration, and
- \(d\) is distance

Recall from that weight is a force caused by the gravitational attraction between two masses, such as you and Earth. Hence for works against gravity (on Earth), \(a\) can be set to \(g=9.8\; m/s^2)\). Consider the mechanical work required for you to travel from the first floor of a building to the second. Whether you take an elevator or an escalator, trudge upstairs, or leap up the stairs two at a time, energy is expended to overcome the opposing force of gravity. The amount of work done (*w*) and thus the energy required depends on three things:

- the height of the second floor (the distance \(
*d\)*); - your mass, which must be raised that distance against the downward acceleration due to gravity; and
- your path.

### Pressure-Volume (PV) Work

To describe this pressure–volume work (PV work), we will use such imaginary oddities as frictionless pistons, which involve no component of resistance, and ideal gases, which have no attractive or repulsive interactions. Imagine, for example, an ideal gas, confined by a frictionless piston, with internal pressure P_{int} and initial volume V_{i} (Figure 7.4.2). If \(P_{ext} = P_{int}\), the system is at equilibrium; the piston does not move, and no work is done. If the external pressure on the piston (P_{ext}) is less than P_{int}, however, then the ideal gas inside the piston will expand, forcing the piston to perform work on its surroundings; that is, the final volume (V_{f}) will be greater than \(V_i\). If \(P_{ext} > P_{int}\), then the gas will be compressed, and the surroundings will perform work on the system.

**Figure 7.4.2: **PV Work. Using a frictionless piston, if the external pressure is less than P_{int} (a), the ideal gas inside the piston will expand, forcing the piston to perform work on its surroundings. The final volume (V_{f}) will be greater than V_{i}. Alternatively, if the external pressure is greater than P_{int} (b), the gas will be compressed, and the surroundings will perform work on the system.

If the piston has cross-sectional area \(A\), the external pressure exerted by the piston is, by definition, the force per unit area:

\[P_{ext} = \dfrac{F}{A}\]

The volume of any three-dimensional object with parallel sides (such as a cylinder) is the cross-sectional area times the height (V = Ah). Rearranging to give F = P_{ext}A and defining the distance the piston moves (d) as Δh, we can calculate the magnitude of the work performed by the piston by substituting into Equation 7.4.1:

\[w = F d = P_{ext}AΔh \label{7.4.3}\]

The change in the volume of the cylinder (ΔV) as the piston moves a distance d is ΔV = AΔh, as shown in Figure 7.4.3. The work performed is thus

\[ w = P_{ext}ΔV \label{7.4.4}\]

The units of work obtained using this definition are correct for energy: pressure is force per unit area (newton/m^{2}) and volume has units of cubic meters, so

**Figure 7.4.3**: Work Performed with a change in volume. The change in the volume (ΔV) of the cylinder housing a piston is ΔV = AΔh as the piston moves. The work performed by the surroundings on the system as the piston moves inward is given by w = P_{ext}ΔV.

If we use atmospheres for P and liters for V, we obtain units of L·atm for work. These units correspond to units of energy, as shown in the different values of the ideal gas constant R:

\[R=\dfrac{0.08206\;\mathrm{L\cdot atm}}{\mathrm{mol\cdot K}}=\dfrac{8.314\textrm{ J}}{\mathrm{mol\cdot K}}\]

Thus 0.08206 L·atm = 8.314 J and 1 L·atm = 101.3 J.

Whether work is defined as having a positive sign or a negative sign is a matter of convention. Heat flow is defined from a system to its surroundings as negative; using that same sign convention, we define work done by a system on its surroundings as having a negative sign because it results in a transfer of energy from a system to its surroundings. This is an arbitrary convention and one that is not universally used. Some engineering disciplines are more interested in the work done on the surroundings than in the work done by the system and therefore use the opposite convention. Because ΔV > 0 for an expansion, Equation 7.4.4 must be written with a negative sign to describe PV work done by the system as negative:

\[ w = −P_{ext}ΔV \label{7.4.5}\]

The work done by a gas expanding against an external pressure is therefore negative, corresponding to work done by a system on its surroundings. Conversely, when a gas is compressed by an external pressure, ΔV < 0 and the work is positive because work is being done on a system by its surroundings.

Note: A Matter of Convention

- Heat flow is defined from the system to its surroundings as
**negative** - Work is defined as by the system on its surroundings as
**negative**

Suppose, for example, that the system under study is a mass of steam heated by the combustion of several hundred pounds of coal and enclosed within a cylinder housing a piston attached to the crankshaft of a large steam engine. The gas is not ideal, and the cylinder is not frictionless. Nonetheless, as steam enters the engine chamber and the expanding gas pushes against the piston, the piston moves, so useful work is performed. In fact, PV work launched the Industrial Revolution of the 19th century and powers the internal combustion engine on which most of us still rely for transportation.

**Figure 7.4.4**: Work Is Not a State Function. In pathway A, the volume of a gas is initially increased while its pressure stays constant (step 1). Its pressure is then decreased while the volume remains constant (step 2). Pathway B reverses these steps. Although (\(V_1\), \(P_1\)) and (\(V_2\), \(P_2\)) are identical in both cases, the amount of work done (shaded area) depends on the pathway taken.

In contrast to internal energy, work is not a state function. We can see this by examining Figure 7.4.4, in which two different, two-step pathways take a gaseous system from an initial state to a final state with corresponding changes in temperature. In pathway A, the volume of a gas is initially increased while its pressure stays constant (step 1); then its pressure is decreased while the volume remains constant (step 2). In pathway B, the order of the steps is reversed. The temperatures, pressures, and volumes of the initial and final states are identical in both cases, but the amount of work done, indicated by the shaded areas in the figure, is substantially different. As we can see, the amount of work done depends on the pathway taken from (\(V_1\), \(P_1\)) to (\(V_2\), \(P_2\)), which means that work is **not **a state function.

Note

Internal energy is a state function, whereas work is not.

Example 7.4.1

A small high-performance internal combustion engine has six cylinders with a total nominal displacement (volume) of 2.40 L and a 10:1 compression ratio (meaning that the volume of each cylinder decreases by a factor of 10 when the piston compresses the air–gas mixture inside the cylinder prior to ignition). How much work in joules is done when a gas in one cylinder of the engine expands at constant temperature against an opposing pressure of 40.0 atm during the engine cycle? Assume that the gas is ideal, the piston is frictionless, and no energy is lost as heat.

**Given**: final volume, compression ratio, and external pressure

**Asked for**: work done

**Strategy**:

- Calculate the final volume of gas in a single cylinder. Then compute the initial volume of gas in a single cylinder from the compression ratio.
- Use Equation 7.4.5 to calculate the work done in liter-atmospheres. Convert from liter-atmospheres to joules.

**Solution**:

A To calculate the work done, we need to know the initial and final volumes. The final volume is the volume of one of the six cylinders with the piston all the way down: V_{f} = 2.40 L/6 = 0.400 L. With a 10:1 compression ratio, the volume of the same cylinder with the piston all the way up is V_{i} = 0.400 L/10 = 0.0400 L. Work is done by the system on its surroundings, so work is negative.

w = −P_{ext}ΔV = −(40.0 atm)(0.400 L − 0.0400 L) = −14.4 L·atm

Converting from liter-atmospheres to joules,

In the following exercise, you will see that the concept of work is not confined to engines and pistons. It is found in other applications as well.

Exercise 7.4.1

Breathing requires work, even if you are unaware of it. The lung volume of a 70 kg man at rest changed from 2200 mL to 2700 mL when he inhaled, while his lungs maintained a pressure of approximately 1.0 atm. How much work in liter-atmospheres and joules was required to take a single breath? During exercise, his lung volume changed from 2200 mL to 5200 mL on each in-breath. How much additional work in joules did he require to take a breath while exercising?

**Answer**: −0.500 L·atm, or −50.7 J; −304 J; if he takes a breath every three seconds, this corresponds to 1.4 Calories per minute (1.4 kcal).

### Work and Chemical Reactions

We have stated that the change in energy (Δ*U*) is equal to the sum of the heat produced and the work performed. Work done by an expanding gas is called *pressure-volume work*, (or just *PV work)*. Consider, for example, a reaction that produces a gas, such as dissolving a piece of copper in concentrated nitric acid. The chemical equation for this reaction is as follows:

\[ Cu_{(s)} + 4HNO_{3(aq)} \rightarrow Cu(NO_{3})_{2(aq)} + 2H_{2}O_{(l)} + 2NO_{2(g)} \]

If the reaction is carried out in a closed system that is maintained at constant pressure by a movable piston, the piston will rise as nitrogen dioxide gas is formed (Figure 7.4.5). The system is performing work by lifting the piston against the downward force exerted by the atmosphere (i.e., *atmospheric pressure*). We find the amount of *PV* work done by multiplying the external pressure *P* by the change in volume caused by movement of the piston (Δ*V*). At a constant external pressure (here, atmospheric pressure)

\[w = −PΔV \label{7.4.6}\]

The negative sign associated with *PV* work done indicates that the system loses energy. If the volume increases at constant pressure (Δ*V* > 0), the work done by the system is negative, indicating that a system has lost energy by performing work on its surroundings. Conversely, if the volume decreases (Δ*V* < 0), the work done by the system is positive, which means that the surroundings have performed work on the system, thereby increasing its energy.

**Figure 7.4.5**: An Example of Work Performed by a Reaction Carried Out at Constant Pressure. (a) Initially, the system (a copper penny and concentrated nitric acid) is at atmospheric pressure. (b) When the penny is added to the nitric acid, the volume of NO_{2} gas that is formed causes the piston to move upward to maintain the system at atmospheric pressure. In doing so, the system is performing work on its surroundings.

The symbol \(U\) in Equation 5.2.2 represents the internal energy of a system, which is the sum of the kinetic energy and potential energy of all its components. It is the change in internal energy that produces heat plus work. To measure the energy changes that occur in chemical reactions, chemists usually use a related thermodynamic quantity called enthalpy (*H*) (from the Greek *enthalpein*, meaning “to warm”). The enthalpy of a system is defined as the sum of its internal energy \(U\) plus the product of its pressure *P* and volume *V*:

\[H =U + PV \label{7.4.7}\]

Because internal energy, pressure, and volume are all state functions, enthalpy is also a state function.

If a chemical change occurs at constant pressure (i.e., for a given *P*, Δ*P* = 0), the change in enthalpy (Δ*H*) is

\[ ΔH = Δ(U + PV) = ΔU + ΔPV = ΔU + PΔV \label{7.4.8}\]

Substituting *q* + *w* for ΔU (Equation 5.2.2) and −*w* for *P*Δ*V* (Equation 7.4.6), we obtain

\[ΔH = ΔU + PΔV = q_p + w − w = q_p \label{7.4.9}\]

The subscript \(p\) is used here to emphasize that this equation is true only for a process that occurs at constant pressure. From Equation 7.4.9 we see that at constant pressure the change in enthalpy, Δ*H* of the system, defined as *H*_{final} − *H*_{initial}, is equal to the heat gained or lost.

\[ΔH = H_{final} − H_{initial} = q_p \label{7.4.10}\]

Just as with ΔU, because enthalpy is a state function, the magnitude of Δ*H* depends on only the initial and final states of the system, not on the path taken. Most important, the enthalpy change is the same even if the process does *not* occur at constant pressure.

Note

To find \(ΔH\) *for a reaction*, measure \(q_p\).

### Summary

- All forms of energy can be interconverted. Three things can change the energy of an object: the transfer of heat, work performed on or by an object, or some combination of heat and work.

### Problems

- How much work is done by a gas that expands from 2 liters to 5 liters against an external pressure of 750 mmHg?
- How much work is done by 0.54 moles of a gas that has an initial volume of 8 liters and expands under the following conditions: 30
^{o}C and 1.3 atm? - How much work is done by a gas (p=1.7 atm, V=1.56 L) that expands against an external pressure of 1.8 atm?

### Solutions

1. W = − pΔV

ΔV = Vfinal - VInitial = 5 L - 2 L = 3 L

Convert 750 mmHg to atm: 750 mmHg * 1/760 (atm/mmHg) = 0.9868 atm.

W = − pΔV = -(.9868 atm)(3 Liters) = -2.96 L atm.

2. First we must find the final volume using the idela gas law: pv = nRT or v = (nRT)/P = [(.54 moles)(.082057(L atm)/ (mol K))(303K)] / (1.3 atm) = 10.33 L

ΔV = Vfinal - Vinitial = 10.3 Liters - 8 Liters = 2.3 Liters

W = − pΔV = - (1.3 atm)(2.3 Liters) = -3 L atm.

3. \(W = - p * ΔV\) = - 1.8 atm * ΔV.

Given \(p_1\),\(V_1\), and \(p_2\), find \(V_2\): \(p_1V_1=p_2V_2\) (at constant \(T\) and \(n\))

\(V_2= (V_1* P_1) / P_2\) = (1.56 L * 1.7 atm) / 1.8 atm = 1.47 L

Now, \(ΔV = V_2 - V_1=1.47 L - 1.56 L = -0.09\)

W = - (1.8 atm) * (-0.09 L) = 0.162 L atm.