Entropy
Entropy: definitions, Clausius inequality, increase of entropy principle, Tds relations, entropy change formulas for ideal gases/liquids/phase change, entropy balance (closed/CV), isentropic processes and efficiencies, T–s diagram, and entropy generation with worked numericals.
Drafted with Aria, reviewed by the AiCanCode.org team · Updated . How we write and check our notes. Spotted an error? Use Give Feedback at the bottom of the page.
Why it matters
Entropy tells you how much useful energy is lost to irreversibility in real devices like turbines, compressors, heat exchangers and nozzles. It is the bookkeeping tool behind the Second Law that limits efficiency, sizes heat exchangers, and quantifies performance gaps between ideal and real cycles.
Key ideas
- Entropy (S) is a thermodynamic property that measures energy dispersion; for a system, its change is defined by heat transfer along a reversible path: ΔS = ∫(δQ_rev/T). Unit: J/K. Because it is defined via a reversible path but applies to any process between two states, entropy is a state function.
- Specific entropy (s) is entropy per unit mass, s = S/m. Unit: J/(kg·K). Molar entropy has unit J/(mol·K).
- Reversible process: Ideal limit with no friction, no finite temperature difference during heat transfer, no unrestrained expansion; internally reversible implies δQ_rev = T_b dS at the boundary temperature T_b equal to the system boundary temperature. Real devices only approximate this.
- Irreversible process: Any real process with friction, mixing, heat transfer across finite ΔT, electrical resistance, non-quasi-equilibrium effects. These create entropy inside the system.
- Clausius inequality (exact statement): For any cyclic process, ∮(δQ/T) ≤ 0, with equality if and only if the cycle is completely reversible. This inequality leads to the definition of entropy as a property.
- Increase of entropy principle (exact statement): For an isolated system, ΔS ≥ 0; ΔS = 0 only for a reversible process, and ΔS > 0 for an irreversible process. Extended to the universe (system + surroundings), S_gen,universe ≥ 0.
- Entropy generation (S_gen) quantifies irreversibility: Ṡ_gen ≥ 0. Zero only for reversible processes. Sources: friction, mixing, non-isothermal heat transfer, throttling, chemical reactions (covered in Chemical Thermodynamics), etc.
- Entropy transfer: Heat carries entropy with magnitude δQ/T_b at the boundary temperature T_b where the heat crosses the system boundary. Work carries no entropy. Mass flow carries entropy ṁ s with the stream.
- Sign conventions (consistent with First/Second Law notes):
- Heat transfer to the system is positive (Q > 0). Work done by the system is positive (W > 0) for closed systems; in steady devices, it is common to report compressor input as positive magnitude even though sign by convention is Ẇ < 0; state which you use. In these notes we keep the standard sign: Ẇ by system positive; compressor power input then is negative.
- T–s diagram: For internally reversible processes, δQ_rev = T dS, so the area under the process curve on a T–s plot equals the heat transferred reversibly. Isentropic processes are vertical lines (Δs = 0).
- Tds (Gibbs) equations (exact differentials):
- Extensive: T dS = dU + p dV and T dS = dH − V dP.
- Specific: T ds = du + p dv and T ds = dh − v dP. These link entropy to measurable properties.
- Isentropic process: A process with Δs = 0. For a closed adiabatic, internally reversible process in an ideal gas, p v^γ = const, T v^(γ−1) = const, T^γ / p^(γ−1) = const, where γ = c_p/c_v. Real adiabatic devices (turbines/compressors) are not perfectly isentropic due to irreversibilities; we quantify deviation with isentropic efficiency.
- Property models and assumptions:
- Ideal gas with constant specific heats: approximate over moderate T ranges; use c_p ≈ 1005 J/(kg·K) and R ≈ 287 J/(kg·K) for air near room temperature unless stated otherwise. For larger ranges, use temperature-dependent c_p(T) (Thermodynamic Relations topic) or property tables for real gases/steam.
- Incompressible (liquid/solid): v ≈ const; s change depends mainly on temperature: Δs ≈ c_p ln(T2/T1).
- Two-phase mixtures: s = (1 − x) s_f + x s_g, where x is quality, s_f and s_g from saturated property tables (Properties of Pure Substances topic). At saturation, s_g − s_f = h_fg/T_sat.
- Entropy of a reservoir: A thermal reservoir at constant T_R undergoing heat transfer Q (defined positive to the system, i.e., leaving the reservoir) has entropy change ΔS_R = −Q/T_R.
- Clausius inequality to property (derivation outline): Consider a reversible path between two states and any real path between the same states closing a cycle. Apply ∮(δQ/T) ≤ 0; separate the reversible path integral, define ΔS = ∫_rev(δQ/T), and show this depends only on end states; hence S is a property.
- Entropy balance (rate form):
- Closed system (control mass): dS_sys/dt = Σ(Q̇_j/T_b,j) + Ṡ_gen.
- Control volume (steady/unsteady): dS_CV/dt = Σ(Q̇_j/T_b,j) + Σ(ṁ_in s_in) − Σ(ṁ_out s_out) + Ṡ_gen. Here Ṡ_gen ≥ 0, and Ṡ_gen = 0 only if the entire process is internally reversible and all heat transfer occurs reversibly at the boundary temperatures.
- Why real devices differ from ideal: Real turbines and compressors have internal friction, turbulence, shock/viscous dissipation, leakage, and heat leakage to ambient; heat exchangers have finite temperature differences; nozzles have boundary layer and shock losses. All create S_gen > 0, reducing work output (turbine) or increasing work input (compressor) compared to the isentropic ideal.
- Isentropic efficiency (definitions):
- Turbine: η_t = (h_in − h_out,actual)/(h_in − h_out,isentropic). Less than 1 due to S_gen > 0.
- Compressor/Pump: η_c = (h_out,isentropic − h_in)/(h_out,actual − h_in). Less than 1; actual outlet T is higher than isentropic.
- Nozzle: η_n = (V_out^2/2)_actual/(V_out^2/2)_isentropic, for adiabatic flow with negligible inlet KE.
- Standard results and limiting cases:
- Reversible isothermal process (ideal gas): Δs = R ln(v2/v1) = −R ln(p2/p1). Limit: as ΔT → 0 during heat transfer through a finite thermal resistance, S_gen → 0 only if driving ΔT → 0 (infinitely large area).
- Adiabatic reversible (ideal gas): Δs = 0; real adiabatic with friction: Δs > 0.
- Heat transfer between two reservoirs T_H and T_C (T_H > T_C): ΔS_universe = Q(1/T_C − 1/T_H) > 0 if heat flows from hot to cold; equality only if T_H = T_C (impossible unless Q = 0).
- Third Law (context): The entropy of a perfect crystal approaches zero as T → 0 K, enabling absolute entropy scales via integration of c_p/T. Details are treated in Chemical Thermodynamics.
Formulas
ΔS = ∫(δQ_rev / T) — Entropy change of a system along any reversible path between two states; S in J/K, Q in J, T in K; definition of entropy as a property.
∮(δQ / T) ≤ 0 — Clausius inequality; ≤ for any cycle, = only for a reversible cycle; Q in J, T in K; tests feasibility and motivates entropy.
dS_sys/dt = Σ(Q̇_j / T_b,j) + Ṡ_gen — Entropy rate balance for a closed system; Ṡ in W/K, Q̇ in W, T_b in K; applies generally; Ṡ_gen ≥ 0.
dS_CV/dt = Σ(Q̇_j / T_b,j) + Σ(ṁ_in s_in) − Σ(ṁ_out s_out) + Ṡ_gen — Entropy balance for a control volume; ṁ in kg/s, s in J/(kg·K); steady/unsteady as applicable; Ṡ_gen ≥ 0.
T dS = dU + p dV — First Tds relation (extensive form); T in K, S in J/K, U in J, p in Pa, V in m³; exact differential; general.
T dS = dH − V dP — Second Tds relation (extensive form); H in J, V in m³, P in Pa; general. Specific forms: T ds = du + p dv, T ds = dh − v dP.
Δs = c_p ln(T2/T1) − R ln(p2/p1) — Specific entropy change for an ideal gas with constant c_p, R; s in J/(kg·K), T in K, p in Pa; approximate over moderate T ranges.
Δs = ∫_{T1}^{T2} [c_p(T)/T] dT − R ln(p2/p1) — Ideal gas with temperature-dependent c_p(T); s in J/(kg·K), T in K, p in Pa.
Δs = c_v ln(T2/T1) + R ln(v2/v1) — Alternative ideal-gas form; c_v in J/(kg·K), v in m³/kg.
Δs ≈ c_p ln(T2/T1) — Incompressible solid/liquid with negligible pressure change; c_p in J/(kg·K), T in K.
s = (1 − x) s_f + x s_g — Two-phase mixture (saturated) specific entropy; x is quality (0–1), s_f and s_g from tables.
Δs_fg = h_fg / T_sat — Entropy change between saturated liquid and saturated vapor at T_sat; useful for steam.
T2/T1 = (p2/p1)^((γ−1)/γ) — Isentropic ideal-gas relation (adiabatic, reversible); γ = c_p/c_v (dimensionless); T in K, p in Pa.
p v^γ = const; T v^(γ−1) = const; T^γ / p^(γ−1) = const — Isentropic ideal-gas relations; v in m³/kg.
η_t = (h_in − h_out,actual) / (h_in − h_out,isentropic) — Turbine isentropic efficiency; h in J/kg; dimensionless, < 1.
η_c = (h_out,isentropic − h_in) / (h_out,actual − h_in) — Compressor/pump isentropic efficiency; h in J/kg; dimensionless, < 1.
ΔS_universe = Q(1/T_C − 1/T_H) — Entropy change of the universe for heat Q from a reservoir at T_H to reservoir at T_C; Q in J, T in K; assumes reservoirs, no other effects.
Q_rev = ∫ T dS — Heat for an internally reversible process; Q in J; valid when boundary temperature equals system temperature everywhere at the interface.
Ṡ_gen = dS_CV/dt − Σ(Q̇_j/T_b,j) − Σ(ṁ_in s_in) + Σ(ṁ_out s_out) — Rearranged entropy generation rate for a control volume; W/K; ≥ 0.
Worked examples
Example 1 — Direct calculation of specific entropy change (ideal gas) Given: Air (ideal gas) changes from state 1: T1 = 300 K, p1 = 100 kPa to state 2: T2 = 500 K, p2 = 300 kPa. Assume constant specific heats: c_p = 1005 J/(kg·K), R = 287 J/(kg·K). Find Δs = s2 − s1.
Assumptions: Ideal gas, constant c_p and R; quasistatic path not required because entropy is a state property.
Steps:
- Use the ideal-gas entropy formula: Δs = c_p ln(T2/T1) − R ln(p2/p1).
- Plug in numbers with units:
- ln(T2/T1) = ln(500/300) = ln(1.6667) = 0.510826 (dimensionless).
- c_p ln(T2/T1) = 1005 J/(kg·K) × 0.510826 = 513.38 J/(kg·K).
- ln(p2/p1) = ln(300/100) = ln(3) = 1.098612 (dimensionless).
- R ln(p2/p1) = 287 J/(kg·K) × 1.098612 = 315.30 J/(kg·K).
- Compute Δs: Δs = 513.38 − 315.30 = 198.08 J/(kg·K) = 0.19808 kJ/(kg·K).
Answer: Δs = 0.198 kJ/(kg·K) (increase).
Cross-check: If we had used temperature-dependent c_p(T), the value would shift slightly; over 300–500 K, this constant-c_p estimate is acceptable for exam numerics unless stated otherwise.
Example 2 — GATE-style: Adiabatic compressor, isentropic efficiency, exit temperature, work, and entropy generation A steady-flow air compressor raises pressure from p1 = 100 kPa, T1 = 300 K to p2 = 1000 kPa (pressure ratio 10). It is adiabatic (Q̇ ≈ 0) and has isentropic efficiency η_c = 0.80. Treat air as an ideal gas with c_p = 1005 J/(kg·K), R = 287 J/(kg·K), γ = 1.4. Mass flow ṁ = 1.0 kg/s. Find: (a) isentropic exit temperature T2s; (b) actual exit temperature T2a; (c) specific compressor work (per kg); (d) entropy generation rate Ṡ_gen of the compressor (control volume), assuming negligible KE and PE changes.
Assumptions: Steady state, one-inlet/one-outlet, adiabatic (Q̇ = 0), ideal gas with constant c_p and γ, negligible changes in KE and PE, shaft work only.
Steps:
Isentropic exit temperature (ideal gas isentropic relation):
- Formula: T2s/T1 = (p2/p1)^((γ−1)/γ).
- Compute exponent: (γ−1)/γ = 0.4/1.4 = 2/7 ≈ 0.285714 (dimensionless).
- T2s = 300 K × 10^(2/7) = 300 K × exp[(2/7) ln 10] = 300 × exp(0.657881) = 300 × 1.930697 = 579.21 K.
Actual exit temperature from compressor isentropic efficiency definition:
- Formula: η_c = (h2s − h1)/(h2a − h1) = (T2s − T1)/(T2a − T1) for ideal gas with h = c_p T.
- Rearranged: T2a = T1 + (T2s − T1)/η_c.
- T2a = 300 K + (579.21 − 300) K / 0.80 = 300 + 279.21/0.80 = 300 + 349.01 = 649.01 K.
Specific compressor work (per kg):
- Formula: w_in,actual = h2a − h1 = c_p (T2a − T1).
- w_in,actual = 1005 J/(kg·K) × (649.01 − 300) K = 1005 × 349.01 = 350,756 J/kg = 350.76 kJ/kg.
Entropy generation rate of the compressor (control volume):
- Steady-state entropy balance: 0 = Σ(Q̇/T_b) + ṁ(s2a − s1) + Ṡ_gen; with Q̇ ≈ 0 ⇒ Ṡ_gen = ṁ (s2a − s1).
- Compute Δs per kg using ideal-gas formula: Δs = c_p ln(T2a/T1) − R ln(p2/p1). • ln(T2a/T1) = ln(649.01/300) = ln(2.16337) = 0.772082. • c_p ln(T2a/T1) = 1005 × 0.772082 = 775.94 J/(kg·K). • ln(p2/p1) = ln(10) = 2.302585. • R ln(p2/p1) = 287 × 2.302585 = 660.84 J/(kg·K). • Δs = 775.94 − 660.84 = 115.10 J/(kg·K).
- With ṁ = 1.0 kg/s: Ṡ_gen = 1.0 × 115.10 = 115.10 W/K = 0.11510 kW/K.
Answers:
- (a) T2s = 579.21 K.
- (b) T2a = 649.01 K.
- (c) w_in,actual = 350.76 kJ/kg.
- (d) Ṡ_gen = 0.115 kW/K.
Checks: Minimum (isentropic) work per kg = c_p (579.21 − 300) = 280.61 kJ/kg; ratio 280.61/350.76 ≈ 0.80 = η_c, consistent.
Common mistakes
- Assuming Δs = 0 whenever Q = 0: adiabatic does not imply isentropic unless the process is also internally reversible.
- Mixing up c_p and c_v in ideal-gas entropy formulas, or mixing J and kJ inconsistently; always keep SI units consistent.
- Applying isentropic ideal-gas relations to real gases (steam, refrigerants) or to processes with significant pressure drops/heat leaks.
- Forgetting to convert Celsius to Kelvin in logarithms, leading to meaningless results.
- Using s2 − s1 from tables and also adding formula-based Δs, double-counting; use either property tables (for real fluids, two-phase) or ideal-gas relations consistently with stated assumptions.
- Thinking work carries entropy: it does not; only heat and mass transfer entropy.
- Drawing T–s area equals heat even for irreversible processes; Q = ∫ T dS holds only for internally reversible heat transfer at the boundary temperature.
For GATE ME
- Concept questions: Clausius inequality sign and equality cases; increase of entropy principle for isolated systems; whether a proposed process is possible (ΔS_universe ≥ 0 test).
- Ideal-gas numericals: compute Δs between two states using c_p–R form; isentropic relations to find T2 or p2; compare reversible vs actual work in compressors/turbines.
- Device performance: isentropic efficiencies for turbine/compressor/nozzle; finding exit temperature, work and s_gen; interpreting T–s sketches for stages.
- Heat transfer and entropy: entropy change of reservoirs; entropy generation in finite-ΔT heat transfer (e.g., simple heat exchanger end-to-end using inlet/outlet lumped capacities in the absence of LMTD detail).
- Properties of pure substances: using steam tables to get s_f, s_g, and mixture s; checking dryness fraction from s and p (ties to Properties of Pure Substances topic). Use Δs_fg = h_fg/T_sat when applicable.
- Practise: quick evaluation with ideal-gas equations; careful unit handling; setting up entropy balances for closed and open systems; recognizing when Δs = 0 is valid; reading off or interpolating s from tables correctly.
Quick check
- A rigid, insulated container with a paddle wheel stirs water (friction). What happens to the water’s entropy? Briefly justify.
- A system receives 5 kJ of heat reversibly from a reservoir at 400 K. What is the entropy change of the system?
- Air (ideal gas, γ = 1.4) is compressed isentropically from 100 kPa, 300 K to 500 kPa. Find the exit temperature.
Answers: 1) Entropy increases (adiabatic but irreversible due to friction ⇒ S_gen > 0). 2) ΔS = Q_rev/T = 5000 J / 400 K = 12.5 J/K. 3) T2 = 300 × (5)^(0.2857) ≈ 475 K.
Finished this topic? Mark it so your progress, study plan and readiness keep up.
Stuck on something here?