Skip to ContentGo to accessibility pageKeyboard shortcuts menu
OpenStax Logo
College Physics

15.2 The First Law of Thermodynamics and Some Simple Processes

College Physics15.2 The First Law of Thermodynamics and Some Simple Processes

An old photo of a steam turbine at a turbine production plant. People are shown working on the turbine.
Figure 15.6 Beginning with the Industrial Revolution, humans have harnessed power through the use of the first law of thermodynamics, before we even understood it completely. This photo, of a steam engine at the Turbinia Works, dates from 1911, a mere 61 years after the first explicit statement of the first law of thermodynamics by Rudolph Clausius. (credit: public domain; author unknown)

One of the most important things we can do with heat transfer is to use it to do work for us. Such a device is called a heat engine. Car engines and steam turbines that generate electricity are examples of heat engines. Figure 15.7 shows schematically how the first law of thermodynamics applies to the typical heat engine.

The figure shows a schematic representation of a heat engine. The heat engine is represented by a circle. The heat entering the system is shown as Q sub in, represented as a bold arrow toward the circle, and the heat coming out of the heat engine is shown as Q sub out, represented by a narrower bold arrow leaving the circle. The work labeled as W is shown to leave the heat engine as represented by another bold arrow leaving the circle. At the center of the circle are two equations. First, the change in internal energy of the system, delta U, equals zero. Consequently, W equals Q sub in minus Q sub out.
Figure 15.7 Schematic representation of a heat engine, governed, of course, by the first law of thermodynamics. It is impossible to devise a system where Qout=0Qout=0 size 12{Q rSub { size 8{"out"} } =0} {}, that is, in which no heat transfer occurs to the environment.
Figure a shows a piston attached to a movable cylinder which is attached to the right of another gas filled cylinder. The heat Q sub in is shown to be transferred to the gas in the cylinder as shown by a bold arrow toward it. The force of the gas on the moving cylinder with the piston is shown as F equals P times A shown as a vector arrow pointing toward the right. The change in internal energy is marked in the diagram as delta U sub a equals Q sub in. Figure b shows a piston attached to a movable cylinder which is attached to the right of another gas filled cylinder. The force of the gas has moved the cylinder with the piston by a distance d toward the right. The change in internal energy is marked in the diagram as delta U sub b equals negative W sub out. The piston is shown to have done work by change in position, marked as F d equal to W sub out. Figure c shows a piston attached to a movable cylinder which is attached to the right of another gas filled cylinder. The piston attached to the cylinder is shown to reach back to the initial position shown in figure a. The distance d is traveled back and heat Q sub out is shown to leave the system as represented by an outward arrow. The force driving backward is shown as a vector arrow pointing to the left, labeled F prime. F prime is shown less than F. The work done by the force F prime is shown by the equation W sub in equal to F prime times d.
Figure 15.8 (a) Heat transfer to the gas in a cylinder increases the internal energy of the gas, creating higher pressure and temperature. (b) The force exerted on the movable cylinder does work as the gas expands. Gas pressure and temperature decrease when it expands, indicating that the gas’s internal energy has been decreased by doing work. (c) Heat transfer to the environment further reduces pressure in the gas so that the piston can be more easily returned to its starting position.

The illustrations above show one of the ways in which heat transfer does work. Fuel combustion produces heat transfer to a gas in a cylinder, increasing the pressure of the gas and thereby the force it exerts on a movable piston. The gas does work on the outside world, as this force moves the piston through some distance. Heat transfer to the gas cylinder results in work being done. To repeat this process, the piston needs to be returned to its starting point. Heat transfer now occurs from the gas to the surroundings so that its pressure decreases, and a force is exerted by the surroundings to push the piston back through some distance. Variations of this process are employed daily in hundreds of millions of heat engines. We will examine heat engines in detail in the next section. In this section, we consider some of the simpler underlying processes on which heat engines are based.

PV Diagrams and their Relationship to Work Done on or by a Gas

A process by which a gas does work on a piston at constant pressure is called an isobaric process. Since the pressure is constant, the force exerted is constant and the work done is given as

PΔV.PΔV. size 12{PΔV} {}
15.10
The diagram shows an isobaric expansion of a gas filled cylinder held vertically. V is the volume of gas in the cylinder. A is the area of cross section of the cylinder. The cylinder has a movable piston with a rod attached to it at the top of the cylinder. A heat Q sub in is shown to enter the cylinder from below. A force F equals P times A is shown to act upward from the bottom of the cylinder. The piston is shown to have been displaced by a vertical distance d upward. The volume displaced is given by delta V equals A times d. The work output shown as W sub out is equal to F times d, which is also equal to P times A times d, which in turn equals P times delta V.
Figure 15.9 An isobaric expansion of a gas requires heat transfer to keep the pressure constant. Since pressure is constant, the work done is PΔVPΔV size 12{PΔV} {}.
W = Fd W = Fd size 12{W= ital "Fd"} {}
15.11

See the symbols as shown in Figure 15.9. Now F=PAF=PA size 12{F= ital "PA"} {}, and so

W=PAd.W=PAd. size 12{W= ital "PAd"} {}
15.12

Because the volume of a cylinder is its cross-sectional area AA size 12{A} {} times its length dd size 12{d} {}, we see that Ad=ΔVAd=ΔV size 12{ ital "Ad"=ΔV} {}, the change in volume; thus,

W=PΔV (isobaric process).W=PΔV (isobaric process). size 12{W=PΔV} {}
15.13

Note that if ΔVΔV size 12{ΔV} {} is positive, then WW size 12{W} {} is positive, meaning that work is done by the gas on the outside world.

(Note that the pressure involved in this work that we’ve called P P size 12{P} {} is the pressure of the gas inside the tank. If we call the pressure outside the tank P ext P ext size 12{P rSub { size 8{"ext"} } } {} , an expanding gas would be working against the external pressure; the work done would therefore be W = P ext Δ V W = P ext Δ V size 12{W= - P rSub { size 8{"ext"} } ΔV} {} (isobaric process). Many texts use this definition of work, and not the definition based on internal pressure, as the basis of the First Law of Thermodynamics. This definition reverses the sign conventions for work, and results in a statement of the first law that becomes Δ U = Q + W Δ U = Q + W size 12{ΔU=Q+W} {} .)

It is not surprising that W=PΔVW=PΔV size 12{W=PΔV} {}, since we have already noted in our treatment of fluids that pressure is a type of potential energy per unit volume and that pressure in fact has units of energy divided by volume. We also noted in our discussion of the ideal gas law that PVPV size 12{ ital "PV"} {} has units of energy. In this case, some of the energy associated with pressure becomes work.

Figure 15.10 shows a graph of pressure versus volume (that is, a PVPV size 12{ ital "PV"} {} diagram for an isobaric process. You can see in the figure that the work done is the area under the graph. This property of PVPV size 12{ ital "PV"} {} diagrams is very useful and broadly applicable: the work done on or by a system in going from one state to another equals the area under the curve on a PVPV size 12{ ital "PV"} {} diagram.

The graph of pressure verses volume is shown for a constant pressure. The pressure P is along the Y axis and the volume is along the X axis. The graph is a straight line parallel to the X axis for a value of pressure P. Two points are marked on the graph at either end of the line as A and B. A is the starting point of the graph and B is the end point of graph. There is an arrow pointing from A to B. The term isobaric is written on the graph. For a length of graph equal to delta V the area of the graph is shown as a shaded area given by P times delta V which is equal to work W.
Figure 15.10 A graph of pressure versus volume for a constant-pressure, or isobaric, process, such as the one shown in Figure 15.9. The area under the curve equals the work done by the gas, since W=PΔVW=PΔV size 12{W=PΔV} {}.
The diagram in part a shows a pressure versus volume graph. The pressure is along the Y axis and the volume is along the X axis. The curve is a smooth falling curve from the highest point A to the lowest point B. The curve is segmented into small vertical rectangular sections of equal width. One of the sections is marked as width of delta V sub one along the X axis. The pressure P sub one average multiplied by delta V sub one gives the work done for that strip of the graph. Part b of the figure shows a similar graph for the reverse path. The curve now slopes upward from point A to point B. An equation in the top right of the graph reads W sub in equals the opposite of W sub out for the same path.
Figure 15.11 (a) A PVPV size 12{ ital "PV"} {} diagram in which pressure varies as well as volume. The work done for each interval is its average pressure times the change in volume, or the area under the curve over that interval. Thus the total area under the curve equals the total work done. (b) Work must be done on the system to follow the reverse path. This is interpreted as a negative area under the curve.

We can see where this leads by considering Figure 15.11(a), which shows a more general process in which both pressure and volume change. The area under the curve is closely approximated by dividing it into strips, each having an average constant pressure Pi(ave)Pi(ave) size 12{P rSub { size 8{i \( "ave" \) } } } {}. The work done is Wi=Pi(ave)ΔViWi=Pi(ave)ΔVi size 12{W rSub { size 8{i} } =P rSub { size 8{i \( "ave" \) } } DV rSub { size 8{i} } } {} for each strip, and the total work done is the sum of the WiWi size 12{W rSub { size 8{i} } } {}. Thus the total work done is the total area under the curve. If the path is reversed, as in Figure 15.11(b), then work is done on the system. The area under the curve in that case is negative, because ΔVΔV size 12{ΔV} {} is negative.

PVPV size 12{ ital "PV"} {} diagrams clearly illustrate that the work done depends on the path taken and not just the endpoints. This path dependence is seen in Figure 15.12(a), where more work is done in going from A to C by the path via point B than by the path via point D. The vertical paths, where volume is constant, are called isochoric processes. Since volume is constant, ΔV=0ΔV=0 size 12{ΔV=0} {}, and no work is done in an isochoric process. Now, if the system follows the cyclical path ABCDA, as in Figure 15.12(b), then the total work done is the area inside the loop. The negative area below path CD subtracts, leaving only the area inside the rectangle. In fact, the work done in any cyclical process (one that returns to its starting point) is the area inside the loop it forms on a PVPV size 12{ ital "PV"} {} diagram, as Figure 15.12(c) illustrates for a general cyclical process. Note that the loop must be traversed in the clockwise direction for work to be positive—that is, for there to be a net work output.

Part a of the diagram shows a pressure versus volume graph. The pressure is along the Y axis and the volume is along the X axis. The curve has a rectangular shape. The curve is labeled A B C D. The paths A B and D C represent isobaric processes as shown by lines pointing toward the right, and A D and B C represent isochoric processes, as shown by lines pointing vertically downward. W sub A B C is shown greater than W sub A D C. The area below the curve A B C D, filling the rectangle A B C D, and the area immediately below path D C are also shaded. Part b of the diagram shows a pressure versus volume graph. The pressure is along the Y axis and the volume is along the X axis. The curve has a rectangular shape and is labeled A B C D. The paths A B and C D represent isobaric processes; A B is a line pointing to the right, and C D is a line pointing to the left. The paths B C and D A represent isochoric processes; B C points vertically downward, and D A points vertically upward. The length of the graph along A B is marked as delta V equals five hundred centimeters cubed. The line A B on the graph is shown to have a pressure P sub A B equals one point five multiplied by ten to the power six Newtons per meter square. The line D on the graph is shown to have a pressure P sub C D equals one point two multiplied by ten to the power five Newtons per meter squared. The total work is marked as W sub tot equals W sub out plus W sub in. Part c of the diagram shows a pressure versus volume graph. The pressure is along the Y axis and the volume is along the X axis. The graph is a closed loop in the form of an ellipse with the arrow pointing in clockwise direction. The shaded area inside the ellipse represents the work done.
Figure 15.12 (a) The work done in going from A to C depends on path. The work is greater for the path ABC than for the path ADC, because the former is at higher pressure. In both cases, the work done is the area under the path. This area is greater for path ABC. (b) The total work done in the cyclical process ABCDA is the area inside the loop, since the negative area below CD subtracts out, leaving just the area inside the rectangle. (The values given for the pressures and the change in volume are intended for use in the example below.) (c) The area inside any closed loop is the work done in the cyclical process. If the loop is traversed in a clockwise direction, WW size 12{W} {} is positive—it is work done on the outside environment. If the loop is traveled in a counter-clockwise direction, WW size 12{W} {} is negative—it is work that is done to the system.

Example 15.2

Total Work Done in a Cyclical Process Equals the Area Inside the Closed Loop on a PV Diagram

Calculate the total work done in the cyclical process ABCDA shown in Figure 15.12(b) by the following two methods to verify that work equals the area inside the closed loop on the PVPV size 12{ ital "PV"} {} diagram. (Take the data in the figure to be precise to three significant figures.) (a) Calculate the work done along each segment of the path and add these values to get the total work. (b) Calculate the area inside the rectangle ABCDA.

Strategy

To find the work along any path on a PVPV size 12{ ital "PV"} {} diagram, you use the fact that work is pressure times change in volume, or W=PΔVW=PΔV size 12{W=PΔV} {}. So in part (a), this value is calculated for each leg of the path around the closed loop.

Solution for (a)

The work along path AB is

W AB = P AB ΔV AB = ( 1 . 50 × 10 6 N/m 2 ) ( 5 . 00 × 10 –4 m 3 ) = 750 J. W AB = P AB ΔV AB = ( 1 . 50 × 10 6 N/m 2 ) ( 5 . 00 × 10 –4 m 3 ) = 750 J. alignl { stack { size 12{W rSub { size 8{"AB"} } =P rSub { size 8{"AB"} } DV rSub { size 8{"AB"} } } {} # = \( 1 "." "50"´"10" rSup { size 8{6} } " N/m" rSup { size 8{2} } \) \( 5 "." "00"´"10" rSup { size 8{4} } " m" rSup { size 8{3} } \) ="750"" J" "." {} } } {}
15.14

Since the path BC is isochoric, ΔVBC=0ΔVBC=0 size 12{DV rSub { size 8{"BC"} } =0} {}, and so WBC=0WBC=0 size 12{W rSub { size 8{"BC"} } =0} {}. The work along path CD is negative, since ΔVCDΔVCD size 12{DV rSub { size 8{"CD"} } } {} is negative (the volume decreases). The work is

W CD = P CD ΔV CD = ( 2 . 00 × 10 5 N/m 2 ) ( –5 . 00 × 10 –4 m 3 ) = 100 J . W CD = P CD ΔV CD = ( 2 . 00 × 10 5 N/m 2 ) ( –5 . 00 × 10 –4 m 3 ) = 100 J . alignl { stack { size 12{W rSub { size 8{"CD"} } =P rSub { size 8{"CD"} } DV rSub { size 8{"CD"} } } {} # = \( 2 "." "00"´"10" rSup { size 8{5} } " N/m" rSup { size 8{2} } \) \( 5 "." "00"´"10" rSup { size 8{4} } " m" rSup { size 8{3} } \) "=-""100"" J" "." {} } } {}
15.15

Again, since the path DA is isochoric, ΔVDA=0ΔVDA=0 size 12{DV rSub { size 8{"DA"} } =0} {}, and so WDA=0WDA=0 size 12{W rSub { size 8{"DA"} } =0} {}. Now the total work is

W = W AB + W BC + W CD + W DA = 750 J + 0 + ( 100 J ) + 0 = 650 J. W = W AB + W BC + W CD + W DA = 750 J + 0 + ( 100 J ) + 0 = 650 J.
15.16

Solution for (b)

The area inside the rectangle is its height times its width, or

area = ( P AB P CD ) ΔV = ( 1.50 × 10 6 N/m 2 ) ( 2 . 00 × 10 5 N/m 2 ) ( 5 . 00 × 10 4 m 3 ) = 650 J. area = ( P AB P CD ) ΔV = ( 1.50 × 10 6 N/m 2 ) ( 2 . 00 × 10 5 N/m 2 ) ( 5 . 00 × 10 4 m 3 ) = 650 J. alignl { stack { size 12{"area"= \( P rSub { size 8{"AB"} } -P rSub { size 8{"CD"} } \) DV} {} # = left [ \( 1 "." "50"´"10" rSup { size 8{6} } " N/m" rSup { size 8{2} } \) - \( 2 "." "00"´"10" rSup { size 8{5} } " N/m" rSup { size 8{2} } \) right ]´ \( 5 "." "00"´"10" rSup { size 8{-4} } " m" rSup { size 8{3} } \) {} # ="750"" J" "." {} } } {}
15.17

Thus,

area=650 J=W.area=650 J=W. size 12{"area"="650"" J"=W} {}
15.18

Discussion

The result, as anticipated, is that the area inside the closed loop equals the work done. The area is often easier to calculate than is the work done along each path. It is also convenient to visualize the area inside different curves on PVPV size 12{ ital "PV"} {} diagrams in order to see which processes might produce the most work. Recall that work can be done to the system, or by the system, depending on the sign of WW size 12{W} {}. A positive WW size 12{W} {} is work that is done by the system on the outside environment; a negative WW size 12{W} {} represents work done by the environment on the system.

Figure 15.13(a) shows two other important processes on a PVPV size 12{ ital "PV"} {} diagram. For comparison, both are shown starting from the same point A. The upper curve ending at point B is an isothermal process—that is, one in which temperature is kept constant. If the gas behaves like an ideal gas, as is often the case, and if no phase change occurs, then PV=nRTPV=nRT size 12{ ital "PV"= ital "nRT"} {}. Since TT size 12{T} {} is constant, PVPV size 12{ ital "PV"} {} is a constant for an isothermal process. We ordinarily expect the temperature of a gas to decrease as it expands, and so we correctly suspect that heat transfer must occur from the surroundings to the gas to keep the temperature constant during an isothermal expansion. To show this more rigorously for the special case of a monatomic ideal gas, we note that the average kinetic energy of an atom in such a gas is given by

1 2 m v ¯ 2 = 3 2 kT . 1 2 m v ¯ 2 = 3 2 kT . size 12{ { {1} over {2} } m { bar {v}} rSup { size 8{2} } = { {3} over {2} } ital "kT" "." } {}
15.19

The kinetic energy of the atoms in a monatomic ideal gas is its only form of internal energy, and so its total internal energy UU size 12{U} {} is

U=N12mv¯2=32NkT, (monatomic ideal gas),U=N12mv¯2=32NkT, (monatomic ideal gas), size 12{U=N cdot { {1} over {2} } m { bar {v}} rSup { size 8{2} } = { {3} over {2} } ital "NkT",} {}
15.20

where NN size 12{N} {} is the number of atoms in the gas. This relationship means that the internal energy of an ideal monatomic gas is constant during an isothermal process—that is, ΔU=0ΔU=0 size 12{ΔU=0} {}. If the internal energy does not change, then the net heat transfer into the gas must equal the net work done by the gas. That is, because ΔU=QW=0ΔU=QW=0 size 12{ΔU=Q - W=0} {} here, Q=WQ=W size 12{Q=W} {}. We must have just enough heat transfer to replace the work done. An isothermal process is inherently slow, because heat transfer occurs continuously to keep the gas temperature constant at all times and must be allowed to spread through the gas so that there are no hot or cold regions.

Also shown in Figure 15.13(a) is a curve AC for an adiabatic process, defined to be one in which there is no heat transfer—that is, Q=0Q=0 size 12{Q=0} {}. Processes that are nearly adiabatic can be achieved either by using very effective insulation or by performing the process so fast that there is little time for heat transfer. Temperature must decrease during an adiabatic expansion process, since work is done at the expense of internal energy:

U=32NkT.U=32NkT. size 12{U= { {3} over {2} } ital "NkT"} {}
15.21

(You might have noted that a gas released into atmospheric pressure from a pressurized cylinder is substantially colder than the gas in the cylinder.) In fact, because Q=0, ΔU=WQ=0, ΔU=W size 12{Q=0, DU"=-"W} {} for an adiabatic process. Lower temperature results in lower pressure along the way, so that curve AC is lower than curve AB, and less work is done. If the path ABCA could be followed by cooling the gas from B to C at constant volume (isochorically), Figure 15.13(b), there would be a net work output.

Part a of the figure shows a graph for pressure versus volume. The pressure is along the y axis and the volume is along the x axis. There are two curves. The first curve begins at point A and falls smoothly downward to point B. The graph is shown for an isothermal process. The second curve also begins at point A but falls below the first curve and ends at point C vertically below point B. This graph is shown for an adiabatic process. A line joins point B and C to meet on the X axis. Also a line is drawn from point A to meet the X axis. The area under both the curves is shaded. The graph in figure b is similar to the graph in figure a. Only the directions of the curves are changed. The graph begins from A and moves downward to point B. Then from point B the curve drops vertically downward to C. From point C the graph has a smooth rise back to point A. All directions represented using arrows.
Figure 15.13 (a) The upper curve is an isothermal process (ΔT=0ΔT=0 size 12{ΔT=0} {}), whereas the lower curve is an adiabatic process (Q=0Q=0 size 12{Q=0} {}). Both start from the same point A, but the isothermal process does more work than the adiabatic because heat transfer into the gas takes place to keep its temperature constant. This keeps the pressure higher all along the isothermal path than along the adiabatic path, producing more work. The adiabatic path thus ends up with a lower pressure and temperature at point C, even though the final volume is the same as for the isothermal process. (b) The cycle ABCA produces a net work output.

Reversible Processes

Both isothermal and adiabatic processes such as shown in Figure 15.13 are reversible in principle. A reversible process is one in which both the system and its environment can return to exactly the states they were in by following the reverse path. The reverse isothermal and adiabatic paths are BA and CA, respectively. Real macroscopic processes are never exactly reversible. In the previous examples, our system is a gas (like that in Figure 15.9), and its environment is the piston, cylinder, and the rest of the universe. If there are any energy-dissipating mechanisms, such as friction or turbulence, then heat transfer to the environment occurs for either direction of the piston. So, for example, if the path BA is followed and there is friction, then the gas will be returned to its original state but the environment will not—it will have been heated in both directions. Reversibility requires the direction of heat transfer to reverse for the reverse path. Since dissipative mechanisms cannot be completely eliminated, real processes cannot be reversible.

There must be reasons that real macroscopic processes cannot be reversible. We can imagine them going in reverse. For example, heat transfer occurs spontaneously from hot to cold and never spontaneously the reverse. Yet it would not violate the first law of thermodynamics for this to happen. In fact, all spontaneous processes, such as bubbles bursting, never go in reverse. There is a second thermodynamic law that forbids them from going in reverse. When we study this law, we will learn something about nature and also find that such a law limits the efficiency of heat engines. We will find that heat engines with the greatest possible theoretical efficiency would have to use reversible processes, and even they cannot convert all heat transfer into doing work. Table 15.2 summarizes the simpler thermodynamic processes and their definitions.

Isobaric Constant pressure W=PΔVW=PΔV size 12{W=PΔV} {}
Isochoric Constant volume W=0W=0 size 12{W=0} {}
Isothermal Constant temperature Q=WQ=W size 12{Q=W} {}
Adiabatic No heat transfer Q=0Q=0 size 12{Q=0} {}
Table 15.2 Summary of Simple Thermodynamic Processes

States of Matter

Watch different types of molecules form a solid, liquid, or gas. Add or remove heat and watch the phase change. Change the temperature or volume of a container and see a pressure-temperature diagram respond in real time. Relate the interaction potential to the forces between molecules.

Figure 15.14
Citation/Attribution

This book may not be used in the training of large language models or otherwise be ingested into large language models or generative AI offerings without OpenStax's permission.

Want to cite, share, or modify this book? This book uses the Creative Commons Attribution License and you must attribute OpenStax.

Attribution information Citation information

© Mar 3, 2022 OpenStax. Textbook content produced by OpenStax is licensed under a Creative Commons Attribution License . The OpenStax name, OpenStax logo, OpenStax book covers, OpenStax CNX name, and OpenStax CNX logo are not subject to the Creative Commons license and may not be reproduced without the prior and express written consent of Rice University.