Engineering Thermodynamics

Chapter 5
Second Law of Thermodynamics

Bachelors Program in Mechnical Engineering
Engineering Thermodynamics   •   Bachelor

Second Law of Thermodynamics

Introduction

The first law of thermodynamics expresses conservation of energy, but it does not determine whether a process can occur, in which direction it will proceed, or how much useful work can be obtained. Heat flows naturally from a high-temperature body to a low-temperature body, yet the reverse transfer requires work. A gas may expand freely, but it does not spontaneously reconcentrate in its original region. These directional restrictions are described by the second law of thermodynamics.

The second law is essential in the analysis and design of steam power plants, gas-turbine engines, internal-combustion engines, refrigeration systems, heat pumps, compressors, turbines, and heat exchangers. It establishes performance limits, distinguishes reversible from irreversible processes, and provides the foundation for entropy and exergy analysis.

Learning Objectives

After studying this chapter, you should be able to:

  1. Explain heat engines, refrigerators, and heat pumps.
  2. State and interpret the Kelvin–Planck and Clausius statements.
  3. Demonstrate the equivalence of these two statements.
  4. Define reversible and irreversible processes and identify sources of irreversibility.
  5. Apply the Carnot theorem and calculate maximum engine, refrigerator, and heat-pump performance.
  6. Use entropy inequalities to determine process feasibility and direction.
  7. Assess practical systems against ideal second-law limits.

1. Heat Engines and Thermal Devices

A heat engine operates cyclically and converts part of the heat supplied by a high-temperature source into net work while rejecting the remainder to a low-temperature sink. The working fluid returns to its initial state after each cycle, so its net change in internal energy is zero.

For a heat engine, let QH be heat absorbed from the high-temperature reservoir, QL heat rejected to the low-temperature reservoir, and Wnet net work output. With heat and work taken as positive in the indicated directions, the first law for a cycle gives:

Wnet = QH − QL

The thermal efficiency is the ratio of net work output to heat input:

ηth = Wnet / QH = 1 − QL / QH

Here, ηth is dimensionless, and QH, QL, and Wnet must use consistent energy units, such as kJ per cycle. Since a real engine must reject some heat, its efficiency is less than unity.

A refrigerator removes heat from a low-temperature space and rejects it to a high-temperature environment by consuming work. Its performance is measured by the coefficient of performance (COP), not by efficiency:

COPR = QL / Wnet = QL / (QH − QL)

A heat pump has the same operating cycle as a refrigerator, but its desired effect is heating the high-temperature space. Therefore:

COPHP = QH / Wnet = QH / (QH − QL)

The two coefficients are related by:

COPHP = COPR + 1

COP values may exceed 1 because they measure heat transferred, rather than work converted into heat. This does not violate the first law.

Energy-flow interpretation

In a power plant, chemical, nuclear, or solar energy supplies QH. The engine produces Wnet, while QL is rejected through a condenser, cooling tower, radiator, or exhaust. In a refrigerator, electrical work drives a compressor, enabling heat extraction from the refrigerated compartment and rejection to the surroundings.

A device operating between two reservoirs is idealized as exchanging heat only with reservoirs at fixed temperatures. Real systems also exchange heat with finite-temperature-difference surroundings and experience pressure drops, friction, mixing, and unrestrained expansion.

2. Statements of the Second Law

Kelvin–Planck statement

The Kelvin–Planck statement is:

It is impossible for any device operating on a cycle to receive heat from a single thermal reservoir and produce an equivalent amount of net work.

A cyclic heat engine must reject some heat to a lower-temperature reservoir. Thus, a proposed engine with QL = 0 and Wnet = QH is impossible. Such a device is called a perpetual-motion machine of the second kind.

The statement does not say that heat cannot be converted into work. It says that complete conversion in a cyclic device is impossible. Practical engines can approach, but never attain, the ideal limit established by the Carnot theorem.

Clausius statement

The Clausius statement is:

It is impossible to construct a device operating on a cycle whose sole effect is the transfer of heat from a low-temperature reservoir to a high-temperature reservoir without work input.

A refrigerator therefore requires work. A device that transfers heat from cold to hot without external work would also be a perpetual-motion machine of the second kind.

Equivalence of the statements

The statements are logically equivalent. If a Kelvin–Planck-violating engine existed, its work output could drive a refrigerator. The combined arrangement could transfer heat from a cold reservoir to a hot reservoir with no net work input, violating the Clausius statement. Conversely, if a Clausius-violating refrigerator existed, it could supply heat to an engine and produce a net work surplus while exchanging heat with only one reservoir, violating the Kelvin–Planck statement.

Consequently, rejecting either statement implies rejection of the other. They are two descriptions of the same physical restriction.

3. Reversible and Irreversible Processes

A reversible process is an ideal process that can be reversed so that both the system and its surroundings return exactly to their original states, with no net change anywhere. Reversibility requires that the process proceed through a sequence of equilibrium states and that all driving forces be infinitesimally small.

Examples of idealized reversible behavior include:

  • frictionless piston motion;
  • heat transfer through an infinitesimal temperature difference;
  • expansion or compression with negligible pressure difference;
  • absence of unrestrained expansion, mixing, and electrical resistance.

A reversible process is not merely a process that can be reversed mechanically. If friction converts mechanical energy into internal energy, reversing the piston does not restore the surroundings automatically. The original process is irreversible.

Irreversibility is associated with entropy generation. Common sources include:

  • mechanical friction;
  • heat transfer across a finite temperature difference;
  • fluid friction and pressure losses;
  • mixing of different substances;
  • unrestrained expansion;
  • inelastic deformation;
  • electrical resistance;
  • chemical reactions away from equilibrium;
  • shock waves and turbulence.

All real processes contain some irreversibility. Reversible processes are reference models used to establish maximum work output or minimum work input.

4. Carnot Cycle and Carnot Theorem

The Carnot cycle is a completely reversible cycle operating between a high-temperature reservoir at absolute temperature TH and a low-temperature reservoir at absolute temperature TL, where TH > TL. It consists of four internally reversible processes:

  1. Isothermal expansion at TH, during which the working fluid absorbs QH.
  2. Adiabatic expansion, during which the temperature decreases from TH to TL.
  3. Isothermal compression at TL, during which the fluid rejects QL.
  4. Adiabatic compression, during which the temperature increases from TL to TH.

For a reversible cycle, the heat-transfer relation is:

QH / TH = QL / TL

Temperatures must be absolute, in kelvins. Therefore, the Carnot efficiency is:

ηCarnot = 1 − TL / TH

This formula applies to a reversible heat engine exchanging heat only with two reservoirs. It does not depend on the working fluid.

The Carnot theorem states:

  1. No heat engine operating between two specified reservoirs can be more efficient than a reversible engine operating between the same reservoirs.
  2. All reversible engines operating between the same two reservoirs have the same efficiency.

For a reversible refrigerator and heat pump:

COPR,Carnot = TL / (TH − TL)
COPHP,Carnot = TH / (TH − TL)

The temperature difference appears in the denominator. Hence, refrigeration becomes increasingly difficult as the required temperature lift increases. Reducing the condenser temperature or increasing the evaporator temperature can substantially improve performance, provided the required product temperature is maintained.

Worked Example 1: Carnot engine

A reversible engine operates between reservoirs at 800 K and 320 K. Determine its maximum thermal efficiency. If it receives 1,200 kJ of heat per cycle, determine the work output and heat rejection.

Using absolute temperatures:

ηCarnot = 1 − 320/800 = 0.60

Thus, the maximum efficiency is 60%.

The work output is:

Wnet = ηCarnot QH = 0.60 × 1200 = 720 kJ/cycle

The rejected heat is:

QL = QH − Wnet = 1200 − 720 = 480 kJ/cycle

The result also satisfies QL/QH = TL/TH = 320/800 = 0.40.

5. Entropy and the Second Law

Entropy is a thermodynamic property that measures the dispersal of energy and provides a quantitative criterion for process direction. For an internally reversible process, the differential definition of entropy is:

dS = δQrev / T

Here, S is entropy, measured in kJ/K or kJ/(kg·K); δQrev is infinitesimal heat transfer for a reversible path; and T is absolute temperature in kelvins. Entropy is a state property, even though the defining expression uses reversible heat transfer.

For a finite change between equilibrium states:

ΔS = ∫(1→2) δQrev / T

The integral may be evaluated along any convenient reversible path connecting states 1 and 2, even if the actual process is irreversible.

For an isolated system, the second law requires:

ΔSisolated ≥ 0

Equality applies to a reversible process; a positive value indicates irreversibility. More generally, the entropy balance for a system is:

ΔSsystem = ∫ δQ/Tboundary + Sgen

where Sgen ≥ 0 is entropy generation, measured in kJ/K. The temperature in the heat-transfer term is the boundary temperature at which heat crosses the system boundary. For a closed system exchanging heat with surroundings at a uniform boundary temperature, the expression applies directly. For variable boundary temperature, integration is required.

For a control volume operating at steady state, the rate form is:

0 = ∑(Q̇j/Tj) + ∑ṁin sin − ∑ṁout sout + Ṡgen

Here, Q̇j is heat-transfer rate at boundary temperature Tj, ṁ is mass-flow rate, s is specific entropy, and Ṡgen ≥ 0 is entropy-generation rate. The sign convention takes heat entering the control volume as positive.

Clausius inequality

For any cycle:

∮ δQ/T ≤ 0

Equality applies to a reversible cycle, and strict inequality applies to an irreversible cycle. The Clausius inequality is a central mathematical form of the second law.

For a system undergoing a process from state 1 to state 2, the entropy inequality may be written:

ΔS ≥ ∫(1→2) δQ/Tboundary

This inequality provides a feasibility test. A proposed process that violates it is impossible, regardless of whether it satisfies the first law.

6. Determining Process Direction

The second law predicts natural direction. Heat flows spontaneously from a hotter body to a colder body, not from cold to hot. A gas expands into a vacuum without work output, but spontaneous compression does not occur. Two initially separated gases mix spontaneously, while spontaneous separation requires work or another energy input.

For an isolated composite system containing two bodies initially at temperatures T1 and T2, heat transfer continues until thermal equilibrium is reached. The total entropy change must satisfy:

ΔStotal = ΔS1 + ΔS2 ≥ 0

If ΔStotal < 0, the proposed direction is impossible. If it equals zero, the idealized process is reversible; in real heat transfer across a finite temperature difference, it is positive.

Worked Example 2: Direct heat transfer

A 2 kg aluminum block with specific heat c = 0.90 kJ/(kg·K) cools from 400 K to 300 K while a 3 kg copper block with c = 0.39 kJ/(kg·K) warms from 280 K to 300 K in an insulated enclosure. Determine whether this transfer direction is consistent with the second law.

For constant specific heats:

ΔS = mc ln(T2/T1)

For aluminum:

ΔSAl = 2(0.90) ln(300/400) = −0.518 kJ/K

For copper:

ΔSCu = 3(0.39) ln(300/280) = 0.081 kJ/K

Therefore:

ΔStotal = −0.518 + 0.081 = −0.437 kJ/K

The negative result indicates that the stated final temperatures cannot occur in an insulated enclosure with only these two bodies. Energy conservation also reveals the inconsistency: the aluminum loses 180 kJ, whereas the copper gains only 23.4 kJ. Additional energy storage or another interaction must be specified. This example illustrates why both the first and second laws must be applied; entropy alone cannot repair an energy imbalance.

7. Second-Law Performance and Exergy Perspective

First-law efficiency compares energy outputs and inputs, but energy quality is also important. Work is high-quality energy because it can be completely converted into other forms of work. Heat at a temperature only slightly above the surroundings has lower ability to produce work than heat at a very high temperature.

Second-law efficiency compares actual performance with the maximum performance permitted by the second law. For a heat engine it may be expressed as:

ηII = actual useful work / maximum reversible work

For a refrigerator or heat pump, a common definition is:

ηII = actual COP / reversible COP

The exact definition should be stated because second-law efficiency conventions vary with the chosen product and fuel definitions.

Exergy, or availability, is the maximum theoretical useful work obtainable as a system comes into equilibrium with a specified environment. Exergy is destroyed by irreversibility. The Gouy–Stodola relation is:

Xdestroyed = T0 Sgen

where Xdestroyed is exergy destruction, T0 is the environmental absolute temperature, and Sgen is total entropy generation. Units are consistent when T0 is in K and Sgen is in kJ/K, giving exergy in kJ.

This relation helps engineers identify where performance is lost. For example, a combustion chamber may have substantial exergy destruction because chemical reaction and heat transfer occur over large temperature differences, even though the first-law energy balance closes exactly.

8. Practical Application: Refrigeration-System Improvement

Consider an illustrative vapor-compression refrigeration system maintaining a food-storage room at 278 K while rejecting heat to outdoor air at 308 K. The reversible maximum coefficient of performance is:

COPR,Carnot = 278/(308 − 278) = 9.27

Suppose the actual system has COPR = 3.1. Its approximate second-law efficiency is:

ηII = 3.1/9.27 = 0.334

or 33.4% relative to the Carnot limit.

Background

The system consumes electrical power to maintain a low-temperature space. Its performance affects operating cost, product quality, and indirect greenhouse-gas emissions.

Problem

The system operates at a COP far below the reversible limit. The engineer must determine whether improvement should focus on the compressor, evaporator, condenser, expansion device, or operating conditions.

Analysis and approach

The temperature lift is 30 K. Reducing condensing temperature through improved airflow, cleaner condenser surfaces, or a cooler heat-rejection environment increases COP. Increasing evaporating temperature, while still protecting product quality, also decreases the temperature lift. Compressor isentropic efficiency, refrigerant pressure drops, non-ideal expansion, motor losses, and heat exchanger temperature differences contribute to entropy generation.

An entropy-generation or exergy audit should rank losses rather than relying only on component energy balances. The engineer should also verify refrigerant safety, pressure limits, leakage control, and applicable environmental regulations. A refrigerant with favorable thermodynamic performance is not automatically acceptable if it has high global-warming potential, toxicity, flammability, or poor lifecycle performance.

Outcome and learning points

The Carnot COP is a ceiling, not an expected operating value. Practical improvement is obtained by reducing temperature differences, friction, pressure losses, leakage, and non-ideal compression. The best design balances thermodynamic performance with safety, reliability, cost, environmental impact, and maintainability.

9. Limitations and Engineering Judgment

The Carnot model is powerful but idealized. It assumes reversible heat transfer, reversible compression and expansion, no pressure losses, and well-defined reservoir temperatures. Real heat exchangers require finite temperature differences and surface area; real compressors require work beyond the reversible minimum; and real turbines produce less work than reversible expanders.

The second law does not specify the rate at which a process occurs. A reversible process may require an infinitely slow progression and therefore deliver zero power in the limiting idealization. Engineering design must balance efficiency against size, cost, heat-transfer area, response time, reliability, and control requirements.

Entropy generation is also not itself a complete economic metric. A small entropy-generation rate in an expensive component may be less important than a larger loss in a cheap component. Thermodynamic analysis should therefore be integrated with economic, safety, environmental, and regulatory assessment.

Digital monitoring and artificial-intelligence tools can support second-law analysis by estimating component efficiencies, detecting fouling, predicting compressor degradation, and identifying abnormal entropy-generation patterns. Such tools do not replace conservation laws or measurement validation. Engineers must check sensor calibration, model assumptions, data bias, cybersecurity, and the consequences of automated decisions.

Best-Practice Checklist

  • Use kelvins in Carnot and entropy equations.
  • Apply both the first and second laws to every proposed process.
  • State the system boundary and sign convention before calculating.
  • Distinguish heat-engine efficiency from refrigerator or heat-pump COP.
  • Treat reversible processes as limiting models, not ordinary operating conditions.
  • Identify entropy-generation mechanisms component by component.
  • Compare actual performance with the appropriate reversible benchmark.
  • Include safety, environmental, lifecycle, and regulatory constraints in design decisions.

Chapter Summary

The second law determines the direction and quality of energy transformations. Heat engines must reject heat and cannot convert all supplied heat into work. Refrigerators and heat pumps require work to transfer heat from low to high temperature. These restrictions are expressed equivalently by the Kelvin–Planck and Clausius statements.

Reversible processes provide ideal limits, while real processes are irreversible because of friction, finite temperature differences, pressure losses, mixing, electrical resistance, and other effects. The Carnot theorem establishes the maximum efficiency of engines and the maximum COP of refrigerators and heat pumps operating between specified temperatures. Absolute temperature must be used in all Carnot relations.

Entropy is a property that quantifies the second-law constraint. Entropy generation is never negative, and the Clausius inequality provides a cycle-based feasibility test. Exergy analysis extends these ideas by measuring maximum useful work and locating the work potential destroyed by irreversibility. In practical engineering, second-law analysis supports component improvement, energy-efficient design, environmental assessment, and responsible technology selection.

Key Terms

Second law of thermodynamics: Principle governing process direction, irreversibility, and limits on energy conversion.

Heat engine: Cyclic device that converts part of heat input into net work.

Refrigerator: Device that removes heat from a low-temperature region using work input.

Heat pump: Device that supplies heat to a high-temperature region using work input.

Thermal efficiency: Net work output divided by heat supplied to an engine.

Coefficient of performance: Desired heat-transfer effect divided by work input.

Kelvin–Planck statement: Statement that no cyclic engine can convert heat from one reservoir completely into work.

Clausius statement: Statement that cyclic heat transfer from cold to hot cannot occur without work input.

Reversible process: Ideal process that can be reversed without net changes to system and surroundings.

Irreversible process: Real process involving entropy generation.

Carnot cycle: Reversible cycle consisting of two isothermal and two adiabatic processes.

Carnot theorem: Principle establishing the maximum performance of reversible devices between two reservoirs.

Entropy: Thermodynamic state property used to quantify second-law effects.

Entropy generation: Entropy produced by irreversibility; it is always nonnegative.

Clausius inequality: Cycle relation ∮δQ/T ≤ 0.

Exergy: Maximum theoretical useful work relative to a specified environment.

Exergy destruction: Work potential lost because of irreversibility.

Temperature lift: Difference between heat-rejection and heat-absorption temperatures in a thermal device.

Perpetual-motion machine of the second kind: Hypothetical device violating the second law.

Review Questions

Short Answer Questions

  1. Why can a heat engine not convert all of its heat input into work?
  2. Distinguish the thermal efficiency of an engine from the COP of a refrigerator.
  3. State the Kelvin–Planck and Clausius statements.
  4. List four sources of irreversibility.
  5. Why must absolute temperature be used in Carnot equations?

Long Answer Questions

  1. Explain the operation of a heat engine, refrigerator, and heat pump, including their energy balances and performance measures.
  2. Explain the equivalence of the Kelvin–Planck and Clausius statements using conceptual device combinations.
  3. Describe the four processes of the Carnot cycle and derive its thermal-efficiency expression.
  4. Develop the entropy balance for a closed system and explain the physical meaning of entropy generation.
  5. Discuss the engineering significance and limitations of reversible-process models.

Analytical / Application Questions

  1. A reversible engine operates between 900 K and 300 K and receives 2,000 kJ per cycle. Calculate its maximum efficiency, work output, and heat rejection.
  2. A refrigerator maintains a space at 270 K while rejecting heat at 300 K. Determine its Carnot COP and explain two practical methods for improving an actual refrigerator operating below this value.
  3. An insulated system is proposed to transfer heat spontaneously from a body at 280 K to a body at 350 K without work input. Use the second law to assess feasibility and identify the violated statement.

Multiple Choice Questions with Answers

Question 1

Which statement correctly describes the Kelvin–Planck limitation?

A. A cyclic engine cannot reject heat to a low-temperature reservoir.

B. A cyclic engine cannot convert heat from a single reservoir completely into work.

C. A refrigerator cannot reject heat to the surroundings.

D. Heat cannot be converted into work under any circumstances.

Correct Answer: B. A cyclic engine cannot convert heat from a single reservoir completely into work.

Question 2

A heat engine receives 1,000 kJ and rejects 400 kJ per cycle. Its thermal efficiency is:

A. 0.40

B. 0.60

C. 1.40

D. 2.50

Correct Answer: B. 0.60

Question 3

A refrigerator removes 300 kJ while consuming 100 kJ of work. Its COP is:

A. 0.33

B. 1.00

C. 3.00

D. 4.00

Correct Answer: C. 3.00

Question 4

A reversible engine operates between 600 K and 300 K. Its Carnot efficiency is:

A. 25%

B. 40%

C. 50%

D. 75%

Correct Answer: C. 50%

Question 5

For a reversible refrigerator operating between 270 K and 300 K, the COP is:

A. 0.111

B. 9.00

C. 10.00

D. 30.00

Correct Answer: B. 9.00

Question 6

Which process necessarily has positive entropy generation?

A. An ideal reversible process

B. A real process with friction

C. An internally reversible adiabatic process

D. An ideal Carnot process

Correct Answer: B. A real process with friction

Question 7

The Clausius inequality for any thermodynamic cycle is:

A. ∮δQ/T = 1

B. ∮δQ/T ≥ 1

C. ∮δQ/T ≤ 0

D. ∮δQ/T = T

Correct Answer: C. ∮δQ/T ≤ 0

Question 8

If an isolated system undergoes a possible process, its entropy change must be:

A. Negative

B. Zero only

C. Positive only

D. Nonnegative

Correct Answer: D. Nonnegative

Question 9

The COP of a heat pump is related to the COP of the corresponding refrigerator by:

A. COP_HP = COP_R − 1

B. COP_HP = COP_R

C. COP_HP = COP_R + 1

D. COP_HP = 1/COP_R

Correct Answer: C. COP_HP = COP_R + 1

Question 10

The Gouy–Stodola relation states that exergy destruction equals:

A. T₀S_gen

B. S_gen/T₀

C. Q_H/T_H

D. W_net/T₀

Correct Answer: A. T₀S_gen

Engineering Thermodynamics
Chapter 5 of 15