1. Home
  2. Explore
  3. Mathematics
  4. Homework Feedback

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Homework Feedback

Thermodynamics: The Second Law, Clausius Inequality, and Entropy

The Second Law of Thermodynamics – Overview

The second law is fundamentally different from the first law. The first law provides specific relationships to show energy conservation (e.g., Q−W=ΔEQ - W = \Delta EQ−W=ΔE). The second law denies the possibility of using energy in certain ways or performing processes in certain ways. It exists in many forms based on the type of problem being analyzed.

For cycles, the key statements are:

  • No heat engine cycle can have an efficiency greater than that of the Carnot cycle operating between the same temperature limits.

  • No refrigeration cycle can have a coefficient of performance (COP) greater than that of the Carnot cycle.

When problems ask for "minimum" or "maximum" work, or whether a process is "possible" or "impossible," the Carnot cycle is the reference for these limits.


Heat Pump Problem – Minimum Power Requirement

Problem Statement

  • A house is heated using a heat pump.

  • Heat is lost from the house at a rate of 80,000 BTU/hr.

  • House is maintained at 68 °F; outside air is at 20 °F.

  • Find the minimum power required by the heat pump.

Interpretation

The house loses 80,000 BTU/hr to the environment. To maintain constant temperature, the heat pump must reject exactly that much heat into the house. Therefore, the heat rejection rate Q˙H=80,000 BTU/hr\dot{Q}_H = 80,000 \text{ BTU/hr}Q˙​H​=80,000 BTU/hr is known. The heat pump operates between:

  • High‑temperature reservoir (the house): TH=68°FT_H = 68°FTH​=68°F

  • Low‑temperature reservoir (outside): TL=20°FT_L = 20°FTL​=20°F

The minimum power corresponds to the Carnot heat pump (ideal cycle).

Analysis

For a heat pump, the coefficient of performance is defined as:

COPHP=Q˙HW˙net,inCOP_{HP} = \frac{\dot{Q}_H}{\dot{W}_{net,in}}COPHP​=W˙net,in​Q˙​H​​

For a Carnot heat pump:

COPHP,Carnot=11−TLTHCOP_{HP, Carnot} = \frac{1}{1 - \frac{T_L}{T_H}}COPHP,Carnot​=1−TH​TL​​1​

Both temperatures must be in absolute units (Rankine for the British system):

TR=TF+459.67T_R = T_F + 459.67TR​=TF​+459.67

Thus:

  • TH=68+459.67=527.67 RT_H = 68 + 459.67 = 527.67 \text{ R}TH​=68+459.67=527.67 R (approximate with 528 R)

  • TL=20+459.67=479.67 RT_L = 20 + 459.67 = 479.67 \text{ R}TL​=20+459.67=479.67 R

Calculation:

COPHP,Carnot=11−479.67527.67≈11.0COP_{HP, Carnot} = \frac{1}{1 - \frac{479.67}{527.67}} \approx 11.0COPHP,Carnot​=1−527.67479.67​1​≈11.0

Set this equal to the actual COP for the ideal cycle:

11.0=80,000 BTU/hrW˙min⇒W˙min=80,00011.0≈7,273 BTU/hr11.0 = \frac{80,000 \text{ BTU/hr}}{\dot{W}_{min}} \quad \Rightarrow \quad \dot{W}_{min} = \frac{80,000}{11.0} \approx 7,273 \text{ BTU/hr}11.0=W˙min​80,000 BTU/hr​⇒W˙min​=11.080,000​≈7,273 BTU/hr

Convert to horsepower (1 hp = 2545 BTU/hr approximately):

W˙min=7,2732545≈2.86 hp\dot{W}_{min} = \frac{7,273}{2545} \approx 2.86 \text{ hp}W˙min​=25457,273​≈2.86 hp

Conclusion: The minimum power required is 2.86 hp. A real heat pump would require more (e.g., 4 hp) due to irreversibilities. This illustrates how the Carnot cycle provides a theoretical lower bound.


Heat Engine Efficiency Comparison – Reversible, Irreversible, or Impossible?

Given Data

  • High‑temperature source: TH=1000 KT_H = 1000 \text{ K}TH​=1000 K

  • Low‑temperature sink: TL=400 KT_L = 400 \text{ K}TL​=400 K

  • Heat input: QH=325 kJQ_H = 325 \text{ kJ}QH​=325 kJ

  • Heat rejected: QL=125 kJQ_L = 125 \text{ kJ}QL​=125 kJ

  • Net work output: Wnet,out=200 kJW_{net,out} = 200 \text{ kJ}Wnet,out​=200 kJ (implied from QH−QLQ_H - Q_LQH​−QL​)

This is clearly a heat engine (heat in at high T, work out, heat out at low T).

Carnot Efficiency (maximum possible)

ηCarnot=1−TLTH=1−4001000=0.60\eta_{Carnot} = 1 - \frac{T_L}{T_H} = 1 - \frac{400}{1000} = 0.60ηCarnot​=1−TH​TL​​=1−1000400​=0.60

Actual Efficiency

ηactual=Wnet,outQH=200325=0.615(or 61.5%)\eta_{actual} = \frac{W_{net,out}}{Q_H} = \frac{200}{325} = 0.615 \quad (\text{or } 61.5\%)ηactual​=QH​Wnet,out​​=325200​=0.615(or 61.5%)

Comparison and Classification

Since ηactual>ηCarnot\eta_{actual} > \eta_{Carnot}ηactual​>ηCarnot​, the machine violates the second law. It is impossible.

If ηactual=ηCarnot\eta_{actual} = \eta_{Carnot}ηactual​=ηCarnot​, the cycle would be reversible (ideal).
If ηactual<ηCarnot\eta_{actual} < \eta_{Carnot}ηactual​<ηCarnot​, the cycle would be irreversible (real/possible).

Key: The second law is satisfied when the actual efficiency is less than or equal to the Carnot efficiency. If it is greater, the process is impossible.


The Clausius Inequality

The Clausius inequality provides a single equation to test whether a cycle satisfies the second law, without computing efficiencies separately.

For any cycle (heat engine or refrigeration):

∮δQT≤0\oint \frac{\delta Q}{T} \leq 0∮TδQ​≤0
  • Reversible cycle: ∮δQT=0\oint \frac{\delta Q}{T} = 0∮TδQ​=0

  • Irreversible cycle: ∮δQT<0\oint \frac{\delta Q}{T} < 0∮TδQ​<0

  • If ∮δQT>0\oint \frac{\delta Q}{T} > 0∮TδQ​>0, the cycle is impossible.

Derivation (Outline)

For a Reversible Cycle

Consider a reversible heat engine operating between two reservoirs at THT_HTH​ and TLT_LTL​:

  • Heat added: QHQ_HQH​ at THT_HTH​

  • Heat rejected: QLQ_LQL​ at TLT_LTL​

For a reversible cycle, the temperatures and heat transfers are proportional:

QHTH=QLTL\frac{Q_H}{T_H} = \frac{Q_L}{T_L}TH​QH​​=TL​QL​​

Thus:

∮δQT=QHTH−QLTL=0\oint \frac{\delta Q}{T} = \frac{Q_H}{T_H} - \frac{Q_L}{T_L} = 0∮TδQ​=TH​QH​​−TL​QL​​=0

For an Irreversible Cycle

With the same QHQ_HQH​ and the same reservoirs:

  • Reversible cycle produces more work → rejects less heat (QL,revQ_{L,rev}QL,rev​)

  • Irreversible cycle produces less work → rejects more heat (QL,irrQ_{L,irr}QL,irr​)

Because ηrev>ηirr\eta_{rev} > \eta_{irr}ηrev​>ηirr​ and η=1−QL/QH\eta = 1 - Q_L/Q_Hη=1−QL​/QH​, we get:

QL,irr>QL,revQ_{L,irr} > Q_{L,rev}QL,irr​>QL,rev​

Therefore:

QHTH−QL,irrTL<QHTH−QL,revTL=0\frac{Q_H}{T_H} - \frac{Q_{L,irr}}{T_L} < \frac{Q_H}{T_H} - \frac{Q_{L,rev}}{T_L} = 0TH​QH​​−TL​QL,irr​​<TH​QH​​−TL​QL,rev​​=0

Hence for an irreversible cycle:

∮δQT<0\oint \frac{\delta Q}{T} < 0∮TδQ​<0

Application to the Earlier Heat Engine Example

For the engine with QH=325 kJQ_H = 325 \text{ kJ}QH​=325 kJ, QL=125 kJQ_L = 125 \text{ kJ}QL​=125 kJ, TH=1000 KT_H = 1000 \text{ K}TH​=1000 K, TL=400 KT_L = 400 \text{ K}TL​=400 K:

∮δQT=3251000−125400=0.325−0.3125=0.0125>0\oint \frac{\delta Q}{T} = \frac{325}{1000} - \frac{125}{400} = 0.325 - 0.3125 = 0.0125 > 0∮TδQ​=1000325​−400125​=0.325−0.3125=0.0125>0

Since the result is positive, the cycle violates the second law – it is impossible. This matches the efficiency comparison.

Note: For a refrigeration cycle, the sign conventions must be adjusted (heat absorbed at low temperature is positive, heat rejected at high temperature is negative), but the inequality ∮δQT≤0\oint \frac{\delta Q}{T} \leq 0∮TδQ​≤0 still holds.


Entropy – A Thermodynamic Property

Derivation of Entropy as a Property

Consider two internally reversible cycles between state points 1 and 2:

Cycle 1: Path A (from 2 to 1) + Path B (from 1 to 2) – both internally reversible.
Cycle 2: Path A (from 2 to 1) + Path C (from 1 to 2) – both internally reversible.

Since both cycles are internally reversible, for each:

∮δQT=0\oint \frac{\delta Q}{T} = 0∮TδQ​=0

Write the integrals:

  • For Cycle 1: ∫12(δQT)B+∫21(δQT)A=0\int_1^2 \left(\frac{\delta Q}{T}\right)_B + \int_2^1 \left(\frac{\delta Q}{T}\right)_A = 0∫12​(TδQ​)B​+∫21​(TδQ​)A​=0

  • For Cycle 2: ∫12(δQT)C+∫21(δQT)A=0\int_1^2 \left(\frac{\delta Q}{T}\right)_C + \int_2^1 \left(\frac{\delta Q}{T}\right)_A = 0∫12​(TδQ​)C​+∫21​(TδQ​)A​=0

Subtract the second from the first:

∫12(δQT)B−∫12(δQT)C=0⇒∫12(δQT)B=∫12(δQT)C\int_1^2 \left(\frac{\delta Q}{T}\right)_B - \int_1^2 \left(\frac{\delta Q}{T}\right)_C = 0 \quad \Rightarrow \quad \int_1^2 \left(\frac{\delta Q}{T}\right)_B = \int_1^2 \left(\frac{\delta Q}{T}\right)_C∫12​(TδQ​)B​−∫12​(TδQ​)C​=0⇒∫12​(TδQ​)B​=∫12​(TδQ​)C​

Paths B and C are arbitrary internally reversible processes between the same two states. The integral ∫δQrevT\int \frac{\delta Q_{rev}}{T}∫TδQrev​​ depends only on the endpoints – not on the path. Therefore, it is a property of the system. This property is called entropy and is denoted by SSS (extensive) or sss (specific).

Mathematical Forms

In differential form for an internally reversible process:

dS=δQrevTdS = \frac{\delta Q_{rev}}{T}dS=TδQrev​​

The change in entropy between two states 1 and 2:

ΔS=S2−S1=∫12δQrevT\Delta S = S_2 - S_1 = \int_1^2 \frac{\delta Q_{rev}}{T}ΔS=S2​−S1​=∫12​TδQrev​​

Units

  • SI: kJ/K\text{kJ/K}kJ/K (extensive), kJ/(kg⋅K)\text{kJ/(kg·K)}kJ/(kg⋅K) (specific)

  • British: BTU/°R\text{BTU/°R}BTU/°R (extensive), BTU/(lbm⋅°R)\text{BTU/(lbm·°R)}BTU/(lbm⋅°R) (specific)

Entropy in Property Tables

Because entropy is a property, its values for common substances (water, refrigerants, etc.) are tabulated as specific entropy sss in the same tables used for vvv, uuu, hhh, etc. This eliminates the need to integrate δQrev/T\delta Q_{rev}/TδQrev​/T for every process; instead, one can look up s1s_1s1​ and s2s_2s2​ and compute s2−s1s_2 - s_1s2​−s1​.

Entropy and Disorder

Entropy is often interpreted as a measure of randomness or disorder:

  • A process with a large entropy increase involves significant losses (high disorder).

  • A process with a small entropy change is more orderly (fewer losses). Engineers use entropy changes to compare the quality of different designs (e.g., two pumps: the one with the lower entropy increase is more efficient).

Important: Entropy Is a Property – Applicable to All Processes

Although derived using reversible cycles, entropy is a state function. It can be used to analyze any process – reversible or irreversible, cyclic or non‑cyclic, closed or open systems. The definition dS=δQrev/TdS = \delta Q_{rev}/TdS=δQrev​/T only gives a way to calculate entropy changes; actual processes may have irreversibilities, but the entropy change between two states remains the same regardless of the path.

Special Case: Internally Reversible Isothermal Process

If a reversible process occurs at constant temperature T0T_0T0​:

ΔS=∫12δQrevT0=1T0∫12δQrev=Q12T0\Delta S = \int_1^2 \frac{\delta Q_{rev}}{T_0} = \frac{1}{T_0} \int_1^2 \delta Q_{rev} = \frac{Q_{12}}{T_0}ΔS=∫12​T0​δQrev​​=T0​1​∫12​δQrev​=T0​Q12​​

This is a useful shortcut when the heat transfer and constant temperature are known.


The Increase of Entropy Principle (Partial Derivation)

This principle states that for any real (irreversible) process, the entropy of the universe (system + surroundings) increases. The derivation begins by comparing two cycles that share a common internally reversible path.

Setup

  • State points 1 and 2.

  • Path A: Internally reversible process from 2 to 1.

  • Path B: Internally reversible process from 1 to 2.

  • Path C: Irreversible (real) process from 1 to 2.

Cycle 1: Path B (rev) + Path A (rev) → fully internally reversible.
Cycle 2: Path C (irr) + Path A (rev) → contains an irreversible process.

Applying the Clausius Inequality

  • For Cycle 1 (all reversible):

    ∮δQT=∫12(δQT)B+∫21(δQT)A=0\oint \frac{\delta Q}{T} = \int_1^2 \left(\frac{\delta Q}{T}\right)_B + \int_2^1 \left(\frac{\delta Q}{T}\right)_A = 0∮TδQ​=∫12​(TδQ​)B​+∫21​(TδQ​)A​=0
  • For Cycle 2 (contains irreversibility):

    ∮δQT=∫12(δQT)C+∫21(δQT)A<0\oint \frac{\delta Q}{T} = \int_1^2 \left(\frac{\delta Q}{T}\right)_C + \int_2^1 \left(\frac{\delta Q}{T}\right)_A < 0∮TδQ​=∫12​(TδQ​)C​+∫21​(TδQ​)A​<0

Subtract the Second Equation from the First

The integrals over path A cancel, leaving:

∫12(δQT)B−∫12(δQT)C>0\int_1^2 \left(\frac{\delta Q}{T}\right)_B - \int_1^2 \left(\frac{\delta Q}{T}\right)_C > 0∫12​(TδQ​)B​−∫12​(TδQ​)C​>0

Or equivalently:

∫12(δQT)B>∫12(δQT)C\int_1^2 \left(\frac{\delta Q}{T}\right)_B > \int_1^2 \left(\frac{\delta Q}{T}\right)_C∫12​(TδQ​)B​>∫12​(TδQ​)C​

For the reversible path B, ∫12(δQ/T)B=S2−S1\int_1^2 (\delta Q/T)_B = S_2 - S_1∫12​(δQ/T)B​=S2​−S1​. For the irreversible path C, the integral ∫12(δQ/T)C\int_1^2 (\delta Q/T)_C∫12​(δQ/T)C​ is less than the entropy change. This leads to the conclusion that for an irreversible process:

S2−S1>∫12δQTS_2 - S_1 > \int_1^2 \frac{\delta Q}{T}S2​−S1​>∫12​TδQ​

When the system is isolated (δQ=0\delta Q = 0δQ=0), the inequality becomes:

ΔSisolated≥0\Delta S_{isolated} \geq 0ΔSisolated​≥0

This is the increase of entropy principle: the entropy of an isolated system can never decrease; it increases for real processes and remains constant for reversible processes. (The derivation will be completed in later lectures.)

Key Takeaway: Entropy is a property. Its change between states is the same for any path, but for an irreversible process, the entropy generation (due to irreversibilities) appears as an additional positive term on the right side of the entropy balance.

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent