Skip to main content
\(\require{cancel}\)
Physics LibreTexts

15.3: Introduction to the Second Law of Thermodynamics: Heat Engines and Their Efficiency

  • Page ID
    1596
  • [ "article:topic", "second law of thermodynamics", "authorname:openstax", "irreversible process", "cyclical process", "Otto cycle" ]

     

    Figure \(\PageIndex{1}\): These ice floes melt during the Arctic summer. Some of them refreeze in the winter, but the second law of thermodynamics predicts that it would be extremely unlikely for the water molecules contained in these particular floes to reform the distinctive alligator-like shape they formed when the picture was taken in the summer of 2009. (credit: Patrick Kelley, U.S. Coast Guard, U.S. Geological Survey)

    The second law of thermodynamics deals with the direction taken by spontaneous processes. Many processes occur spontaneously in one direction only—that is, they are irreversible, under a given set of conditions. Although irreversibility is seen in day-to-day life—a broken glass does not resume its original state, for instance—complete irreversibility is a statistical statement that cannot be seen during the lifetime of the universe. More precisely, an irreversible process is one that depends on path. If the process can go in only one direction, then the reverse path differs fundamentally and the process cannot be reversible. For example, as noted in the previous section, heat involves the transfer of energy from higher to lower temperature. A cold object in contact with a hot one never gets colder, transferring heat to the hot object and making it hotter. Furthermore, mechanical energy, such as kinetic energy, can be completely converted to thermal energy by friction, but the reverse is impossible. A hot stationary object never spontaneously cools off and starts moving. Yet another example is the expansion of a puff of gas introduced into one corner of a vacuum chamber. The gas expands to fill the chamber, but it never regroups in the corner. The random motion of the gas molecules could take them all back to the corner, but this is never observed to happen. (See Figure \(\PageIndex{2}\))

     

    Figure \(\PageIndex{2}\): Examples of one-way processes in nature. (a) Heat transfer occurs spontaneously from hot to cold and not from cold to hot. (b) The brakes of this car convert its kinetic energy to heat transfer to the environment. The reverse process is impossible. (c) The burst of gas let into this vacuum chamber quickly expands to uniformly fill every part of the chamber. The random motions of the gas molecules will never return them to the corner.

    The fact that certain processes never occur suggests that there is a law forbidding them to occur. The first law of thermodynamics would allow them to occur—none of those processes violate conservation of energy. The law that forbids these processes is called the second law of thermodynamics. We shall see that the second law can be stated in many ways that may seem different, but which in fact are equivalent. Like all natural laws, the second law of thermodynamics gives insights into nature, and its several statements imply that it is broadly applicable, fundamentally affecting many apparently disparate processes.

    The already familiar direction of heat transfer from hot to cold is the basis of our first version of the second law of thermodynamics.

    The Second Law of Thermodynamics (first expression)

    Heat transfer occurs spontaneously from higher- to lower-temperature bodies but never spontaneously in the reverse direction.

    Another way of stating this: It is impossible for any process to have as its sole result heat transfer from a cooler to a hotter object.

    Heat Engines

    Now let us consider a device that uses heat transfer to do work. As noted in the previous section, such a device is called a heat engine, and one is shown schematically in \(\PageIndex{3}\)(b). Gasoline and diesel engines, jet engines, and steam turbines are all heat engines that do work by using part of the heat transfer from some source. Heat transfer from the hot object (or hot reservoir) is denoted as \(Q_f\), while heat transfer into the cold object (or cold reservoir) is \(Q_c\), and the work done by the engine is \(W\).  The temperatures of the hot and cold reservoirs are \(T_h\) and \(T_c\), respectively.

     

    Figure \(\PageIndex{3}\): (a) Heat transfer occurs spontaneously from a hot object to a cold one, consistent with the second law of thermodynamics. (b) A heat engine, represented here by a circle, uses part of the heat transfer to do work. The hot and cold objects are called the hot and cold reservoirs \(Q_h\) is the heat transfer out of the hot reservoir, \(W\) is the work output, and \(Q_c\) is the heat transfer into the cold reservoir.

    Because the hot reservoir is heated externally, which is energy intensive, it is important that the work is done as efficiently as possible. In fact, we would like \(W\) to equal \(Q_h\) and for there to be no heat transfer to the environment \((Q_c = 0)\). Unfortunately, this is impossible. The second law of thermodynamics also states, with regard to using heat transfer to do work (the second expression of the second law):

    The Second Law of Thermodynamics (second expression)

    It is impossible in any system for heat transfer from a reservoir to completely convert to work in a cyclical process in which the system returns to its initial state.

      A cyclical process brings a system, such as the gas in a cylinder, back to its original state at the end of every cycle. Most heat engines, such as reciprocating piston engines and rotating turbines, use cyclical processes. The second law, just stated in its second form, clearly states that such engines cannot have perfect conversion of heat transfer into work done. Before going into the underlying reasons for the limits on converting heat transfer into work, we need to explore the relationships among \(W, \space Q_h\), and \(Q_c\) and to define the efficiency of a cyclical heat engine. As noted, a cyclical process brings the system back to its original condition at the end of every cycle. Such a system’s internal energy \(U\) is the same at the beginning and end of every cycle—that is, \(\Delta U = 0\). The first law of thermodynamics states that

    \[\Delta U = Q - W,\]

    where \(Q\) is the net heat transfer during the cycle \((Q = Q_h - Q_c)\) and \(W\) is the net work done by the system. Since \(\Delta U = 0\) for a complete cycle, we have

    \[0 = Q - W,\]

    so that

    \[W = Q.\]

    Thus the net work done by the system equals the net heat transfer into the system, or

    \[W = Q_h - Q_c \space (cyclical \space process),\]

    just as shown schematically in Figure \(\PageIndex{3}\)(b). The problem is that in all processes, there is some heat transfer \(Q_c\) to the environment—and usually a very significant amount at that.

    In the conversion of energy to work, we are always faced with the problem of getting less out than we put in. We define conversion efficiency \(Eff\) to be the ratio of useful work output to the energy input (or, in other words, the ratio of what we get to what we spend). In that spirit, we define the efficiency of a heat engine to be its net work output \(W\) divided by heat transfer to the engine \(Q_h\), that is,

    \[Eff = \dfrac{W}{Q_h}.\]

    Since \(W = Q_h - Q_c\) in a cyclical process, we can also express this as

    \[Eff = \dfrac{Q_h - Q_c}{Q_h} = 1 - \dfrac{Q_c}{Q_h} \space (cyclical \space process),\]

    making it clear that an efficiency of 1, or 100%, is possible only if there is no heat transfer to the environment \((Q_c = 0)\). Note that all \(Q\)s are positive. The direction of heat transfer is indicated by a plus or minus sign. For example, \(Q-c\) is out of the system and so is preceded by a minus sign.

    Example \(\PageIndex{1}\): Daily Work Done by a Coal-Fired Power Station, Its Efficiency and Carbon Dioxide Emissions

    A coal-fired power station is a huge heat engine. It uses heat transfer from burning coal to do work to turn turbines, which are used to generate electricity. In a single day, a large coal power station has \(2.50 \times 10^{14} \space J\) of heat transfer from coal and \(1.48 \times 10^14 \space J\) of heat transfer into the environment. (a) What is the work done by the power station? (b) What is the efficiency of the power station? (c) In the combustion process, the following chemical reaction occurs: \(C + O_2 \rightarrow CO_2\) This implies that every 12 kg of coal puts 12 kg + 16 kg + 16 kg = 44 kg of carbon dioxide into the atmosphere. Assuming that 1 kg of coal can provide \(2.5 \times 10^6 \space J\) of heat transfer upon combustion, how much \(CO_2\) is emitted per day by this power plant?

    Strategy for (a)

    We can use \(W = Q_h - Q_c\) to find the work output \(W\),

    assuming a cyclical process is used in the power station. In this process, water is boiled under pressure to form high-temperature steam, which is used to run steam turbine-generators, and then condensed back to water to start the cycle again.

    Solution for (a)

    Work output is given by:

    \[W = Q_h - Q_c.\]

    Substituting the given values:

    \[W = 2.50 \times 10^14 \space J - 1.48 \times 10^{14} \space J\]

    \[= 1.02 \times 10^{14} \space J.\]

    Strategy for (b)

    The efficiency can be calculated with \(Eff = \dfrac{W}{Q_h}\) since \(Q_H\) is given and work \(W\) was found in the first part of this example.

    Solution for (b)

    Efficiency is given by \(Eff = \dfrac{W}{Q_h}\). The work \(W\) was just found to be \(1.01 \times 10^{14}\), and \(Q_h\) is given, so the efficiency is

    \[Eff = \dfrac{1.01 \times 10^{14} \space J}{2.50 \times 10^{14} \space J} = 0.408, \space or \space 40.8\%\]

    Strategy for (c)

    The daily consumption of coal is calculated using the information that each day there is

    \[\dfrac{2.50 \times 10^{14} \space J}{2.50 \times 10^6 \space J/kg} = 1.0 \times 10^8 \space kg.\]

    Assuming that the coal is pure and that all the coal goes toward producing carbon dioxide, the carbon dioxide produced per day is

    \[1.0 \times 10^8 \space kg \space coal \times \dfrac{44 \space kg \space CO_2}{12 \space kg \space coal} = 3.7 \times 10^8 \space kg \space CO_2.\]

    This is 370,000 metric tons of CO2

    produced every day.

    Discussion

    If all the work output is converted to electricity in a period of one day, the average power output is 1180 MW (this is left to you as an end-of-chapter problem). This value is about the size of a large-scale conventional power plant. The efficiency found is acceptably close to the value of 42% given for coal power stations. It means that fully 59.2% of the energy is heat transfer to the environment, which usually results in warming lakes, rivers, or the ocean near the power station, and is implicated in a warming planet generally. While the laws of thermodynamics limit the efficiency of such plants—including plants fired by nuclear fuel, oil, and natural gas—the heat transfer to the environment could be, and sometimes is, used for heating homes or for industrial processes. The generally low cost of energy has not made it economical to make better use of the waste heat transfer from most heat engines. Coal-fired power plants produce the greatest amount of \(CO_2\) per unit energy output (compared to natural gas or oil), making coal the least efficient fossil fuel.

    With the information given in Example \(\PageIndex{1}\), we can find characteristics such as the efficiency of a heat engine without any knowledge of how the heat engine operates, but looking further into the mechanism of the engine will give us greater insight. Figure \(\PageIndex{4}\) illustrates the operation of the common four-stroke gasoline engine. The four steps shown complete this heat engine’s cycle, bringing the gasoline-air mixture back to its original condition.

    The Otto cycle shown in Figure \(\PageIndex{5}\)(a) is used in four-stroke internal combustion engines, although in fact the true Otto cycle paths do not correspond exactly to the strokes of the engine.

    The adiabatic process AB corresponds to the nearly adiabatic compression stroke of the gasoline engine. In both cases, work is done on the system (the gas mixture in the cylinder), increasing its temperature and pressure. Along path BC of the Otto cycle, heat transfer \(Q_h\) into the gas occurs at constant volume, causing a further increase in pressure and temperature. This process corresponds to burning fuel in an internal combustion engine, and takes place so rapidly that the volume is nearly constant. Path CD in the Otto cycle is an adiabatic expansion that does work on the outside world, just as the power stroke of an internal combustion engine does in its nearly adiabatic expansion. The work done by the system along path CD is greater than the work done on the system along path AB, because the pressure is greater, and so there is a net work output. Along path DA in the Otto cycle, heat transfer \(Q_c\)

    from the gas at constant volume reduces its temperature and pressure, returning it to its original state. In an internal combustion engine, this process corresponds to the exhaust of hot gases and the intake of an air-gasoline mixture at a considerably lower temperature. In both cases, heat transfer into the environment occurs along this final path.

    The net work done by a cyclical process is the area inside the closed path on a \(PV\) diagram, such as that inside path ABCDA in Figure \(\PageIndex{5}\). Note that in every imaginable cyclical process, it is absolutely necessary for heat transfer from the system to occur in order to get a net work output. In the Otto cycle, heat transfer occurs along path DA. If no heat transfer occurs, then the return path is the same, and the net work output is zero. The lower the temperature on the path AB, the less work has to be done to compress the gas. The area inside the closed path is then greater, and so the engine does more work and is thus more efficient. Similarly, the higher the temperature along path CD, the more work output there is. (See Figure \(\PageIndex{6}\).) So efficiency is related to the temperatures of the hot and cold reservoirs. In the next section, we shall see what the absolute limit to the efficiency of a heat engine is, and how it is related to temperature.

    The figure shows four diagrams a, b, c, and d representing four stages of a four stroke gasoline engine. The construction of the engine has the base chamber whose cross section is in the shape of a square with flat corners, the top portion of the chamber is extended into a cylindrical section. The cylindrical section ends in the upper section with two valves, an inlet and an outlet. The cylindrical section has a movable cylinder with a piston attached to it. The piston is connected to the crank shaft in the base gas chamber. There is a spark plug on the top most part of the cylinder between the two valves. The four parts of the diagram show various stages of this four stoke engine. Part a of the diagram shows the air fuel mixture enters through the inlet valve in the upper section of the engine. The outlet valve is shown to be closed. The air and fuel is shown to exert a pressure on the piston acting downward. This force is shown to move the rotating crank shaft in clockwise direction in the gas chamber. This is the intake stroke. Part b of the diagram shows the compression stroke. Both the inlet and outlet valves are closed. The air and fuel mixture is shown to be compressed. The piston is shown to rise up as shown by a vertically pointing arrow. The piston is at the edge of the cylinder near the valves. The crankshaft in the gas chamber has shown to complete one complete cycle of rotation in the gas chamber. Part c of the diagram shows the power stroke. It has two parts, first the ignition stroke. This shows ignition of the fuel in the cylinder and pressure buildup in the region. Then in the second part the piston is shown to descend down the cylinder moving the crankshaft in the gas chamber in the clockwise direction. Part d of the figure shows the exhaust stroke. The piston expels the hot gas by moving upward and the gas is expelled through the exhaust valve.

    Figure \(\PageIndex{4}\): In the four-stroke internal combustion gasoline engine, heat transfer into work takes place in the cyclical process shown here. The piston is connected to a rotating crankshaft, which both takes work out of and does work on the gas in the cylinder. (a) Air is mixed with fuel during the intake stroke. (b) During the compression stroke, the air-fuel mixture is rapidly compressed in a nearly adiabatic process, as the piston rises with the valves closed. Work is done on the gas. (c) The power stroke has two distinct parts. First, the air-fuel mixture is ignited, converting chemical potential energy into thermal energy almost instantaneously, which leads to a great increase in pressure. Then the piston descends, and the gas does work by exerting a force through a distance in a nearly adiabatic process. (d) The exhaust stroke expels the hot gas to prepare the engine for another cycle, starting again with the intake stroke.

    Part a of the figure shows a graph of pressure P versus volume V for an Otto cycle. The pressure P is along the Y axis and the volume V is along the X axis. The graph shows a complete cycle A B C D.  The path begins at point A; the curve rises upward from point A to point B along the direction of the negative X axis. This is marked as an adiabatic process. Then the curve rises vertically up from point B to point C in a direction perpendicular to the X axis. Then the curve moves smoothly down to point D along the direction of the positive X axis. This is also marked as an adiabatic process. The last part of the curve drops vertically down from point D back to point A. The path A B is slightly lower than path C D. Heat Q sub h is shown to enter the system as shown by a bold arrow to the curve B C. Heat Q sub c is shown to leave the system as shown by a bold arrow near D A. The area inside A B C D is shaded, and the area of the shaded region is shown proportional to the work W. Part b of the diagram shows an internal combustion engine represented as a circle. The hot reservoir is a rectangular section at the top of the circle shown at temperature T sub h. A cold reservoir is shown as a rectangular section in the bottom part of the circle at temperature T sub c. Heat Q sub h is shown to enter the heat engine, as shown by a bold arrow. Work W is produced as output, shown to leave the system, and the remaining heat Q sub c is returned back to the cold reservoir as shown by bold arrow toward it.

    Figure \(\PageIndex{5}\): \(PV\) diagram for a simplified Otto cycle, analogous to that employed in an internal combustion engine. Point A corresponds to the start of the compression stroke of an internal combustion engine. Paths AB and CD are adiabatic and correspond to the compression and power strokes of an internal combustion engine, respectively. Paths BC and DA are isochoric and accomplish similar results to the ignition and exhaust-intake portions, respectively, of the internal combustion engine’s cycle. Work is done on the gas along path AB, but more work is done by the gas along path CD, so that there is a net work output.

    Part a of the figure shows a graph of pressure P versus volume V for an Otto cycle. The pressure P is along the Y axis and the volume V is along the X axis. The graph shows a complete cycle A B C D. The path begins at point A; the curve rises upward from point A to point B along the direction of the negative X axis. This is marked as an adiabatic process. Then the curve rises vertically up from point B to point C in a direction perpendicular to the X axis. Then the curve moves smoothly down to point D along the direction of the positive X axis. This is also marked as an adiabatic process. The last part of the curve drops vertically down from point D back to point A. The path A B is much lower than path C D, which shows that the starting temperature of path C D is higher than A B. Heat Q sub h prime enters the system as shown by a bold arrow to the curve B C. Heat Q sub c prime leaves the system, as shown by a bold arrow near D A. The area inside A B C D is shaded. Part b of the diagram shows an internal combustion engine represented as a circle. The hot reservoir is a rectangular section at the top of the circle shown at temperature T sub h prime. A cold reservoir is shown as a rectangular section in the bottom part of the circle at temperature T sub c prime. Heat Q sub h prime enters the heat engine as shown by a bold arrow, a work W prime is produced as output, shown to leave the system, and the remaining heat Q sub c prime is returned back to the cold reservoir, as shown by a bold arrow toward it.

    Figure \(\PageIndex{6}\): This Otto cycle produces a greater work output than the one in Figure \(\PageIndex{5}\), because the starting temperature of path CD is higher and the starting temperature of path AB is lower. The area inside the loop is greater, corresponding to greater net work output.

    Summary

    • The two expressions of the second law of thermodynamics are: (i) Heat transfer occurs spontaneously from higher- to lower-temperature bodies but never spontaneously in the reverse direction; and (ii) It is impossible in any system for heat transfer from a reservoir to completely convert to work in a cyclical process in which the system returns to its initial state.
    • Irreversible processes depend on path and do not return to their original state. Cyclical processes are processes that return to their original state at the end of every cycle.
    • In a cyclical process, such as a heat engine, the net work done by the system equals the net heat transfer into the system, or \(W = Q_h - Q_c\), where \(Q_h\)  is the heat transfer from the hot object (hot reservoir), and \(Q_c\) is the heat transfer into the cold object (cold reservoir).
    • Efficiency can be expressed as \(Eff = \dfrac{W}{Q_h}, the ratio of work output divided by the amount of energy input.
    • The four-stroke gasoline engine is often explained in terms of the Otto cycle, which is a repeating sequence of processes that convert heat into work.

    Glossary

    irreversible process
    any process that depends on path direction
    second law of thermodynamics
    heat transfer flows from a hotter to a cooler object, never the reverse, and some heat energy in any process is lost to available work in a cyclical process
    cyclical process
    a process in which the path returns to its original state at the end of every cycle
    Otto cycle
    a thermodynamic cycle, consisting of a pair of adiabatic processes and a pair of isochoric processes, that converts heat into work, e.g., the four-stroke engine cycle of intake, compression, ignition, and exhaust

    Contributors

    Paul Peter Urone (Professor Emeritus at California State University, Sacramento) and Roger Hinrichs (State University of New York, College at Oswego) with Contributing Authors: Kim Dirks (University of Auckland) and Manjula Sharma (University of Sydney). This work is licensed by OpenStax University Physics under a Creative Commons Attribution License (by 4.0).