Skip to main content
Chemistry LibreTexts

7.4: Work

  • Page ID
    24203
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \) \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)\(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\) \(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\)\(\newcommand{\AA}{\unicode[.8,0]{x212B}}\)

    Learning Objectives
    • 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
    ezgif.com-rotate.gif e8a623a85f15c38665020775b3df8095.jpg
    Figure \(\PageIndex{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:

    1. the height of the second floor (the distance \(d\));
    2. your mass, which must be raised that distance against the downward acceleration due to gravity; and
    3. 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 Pint and initial volume Vi (Figure \(\PageIndex{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 (Pext) is less than Pint, however, then the ideal gas inside the piston will expand, forcing the piston to perform work on its surroundings; that is, the final volume (Vf) 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 \(\PageIndex{2}\): PV Work. Using a frictionless piston, if the external pressure is less than Pint (a), the ideal gas inside the piston will expand, forcing the piston to perform work on its surroundings. The final volume (Vf) will be greater than Vi. Alternatively, if the external pressure is greater than Pint (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 = PextA 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 \(\PageIndex{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/m2) and volume has units of cubic meters, so

    \[w=\left(\dfrac{F}{A}\right)_{\textrm{ext}}(\Delta V)=\dfrac{\textrm{newton}}{\textrm m^2}\times \textrm m^3=\mathrm{newton\cdot m}=\textrm{joule}\]

    Figure \(\PageIndex{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 = PextΔ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 \(\PageIndex{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 \(\PageIndex{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 \(\PageIndex{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:

    1. 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.
    2. 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: Vf = 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 Vi = 0.400 L/10 = 0.0400 L. Work is done by the system on its surroundings, so work is negative.

    w = −PextΔV = −(40.0 atm)(0.400 L − 0.0400 L) = −14.4 L·atm

    Converting from liter-atmospheres to joules,

    \[w=-(14.4\;\mathrm{L\cdot atm})[101.3\;\mathrm{J/(L\cdot atm)}]=-1.46\times10^3\textrm{ J}\]

    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 \(\PageIndex{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 \(\PageIndex{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.

    Fig5.4.1.jpg
    Figure \(\PageIndex{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 NO2 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 HfinalHinitial, 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

    1. How much work is done by a gas that expands from 2 liters to 5 liters against an external pressure of 750 mmHg?
    2. 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 oC and 1.3 atm?
    3. 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.

    Outside Links

    • Gasparro, Frances P. "Remembering the sign conventions for q and w in deltaU = q - w." J. Chem. Educ. 1976: 53, 389.
    • Koubek, E. "PV work demonstration (TD)." J. Chem. Educ. 1980: 57, 374. '

    7.4: Work is shared under a CC BY-NC-SA 4.0 license and was authored, remixed, and/or curated by LibreTexts.

    • Was this article helpful?