Historical Context & Motivation
The concept of entropy arose from efforts to understand why heat engines could never achieve perfect efficiency. In the early nineteenth century, engineers and physicists grappled with a fundamental asymmetry in nature: mechanical work could be fully converted into heat, yet heat could never be fully converted back into work. This observation, formalized through the Second Law of Thermodynamics, demanded a new state property—entropy—to quantify the irreversibility inherent in real processes. Understanding how entropy changes for ideal gases became particularly important because many engineering working fluids (air, combustion products, refrigerants at low density) behave approximately as ideal gases under common operating conditions.
The central question this lesson addresses is: Given two equilibrium states of an ideal gas, how do we compute the entropy change Δs using only measurable thermodynamic properties? Because entropy is a state property, the answer depends solely on the endpoints—not on the process path—and the derivation exploits the ideal gas equation of state together with the Tds relations.
Core Principles & Definitions
Before deriving the entropy-change formulas, several foundational ideas must be firmly in place. The calculation rests on the interplay between the ideal gas law, the Tds relations (also called the Gibbs equations), and the definition of entropy as a state function. Understanding why entropy is path-independent is essential: it means we can always choose a convenient reversible path to evaluate Δs, regardless of whether the actual process was irreversible.
Entropy Is a State Property
Ideal Gas Equation of State
Tds Relations (Gibbs Equations)
Specific Heats cₚ and cᵥ
Constant vs. Variable Specific Heats
Visual Explanation — The T–s Diagram
The T–s diagram is one of the most powerful graphical tools in classical thermodynamics. For an ideal gas, lines of constant pressure (isobars) and constant volume (isochores) appear as curves whose spacing encodes information about entropy changes. On this diagram, the area beneath a reversible process curve equals the heat transfer per unit mass, and the vertical separation between isobars at a given entropy quantifies the temperature rise associated with a pressure increase.
Several features of the diagram deserve attention. First, the isobars diverge as entropy increases, meaning that the entropy difference between two pressures grows with temperature—a direct consequence of the logarithmic terms in the entropy-change formulas. Second, the slope of any isobar at a point is (∂T/∂s)P = T/cp, so the curve is always concave upward for a substance with positive cp. Finally, an isentropic process (Δs = 0) is a vertical line on this diagram, making it easy to visualize the ideal behavior of compressors and turbines.
Mathematical Framework — Deriving Δs for Ideal Gases
The derivation begins with the two Tds relations, which are exact differential expressions valid for any simple compressible substance. By substituting the ideal gas relations du = cv dT, dh = cp dT, and Pv = RT, we obtain two equivalent entropy-change expressions for an ideal gas. Each form is useful depending on which pair of state variables is most convenient.
First Tds Relation (T, v form)
Starting from Tds = du + Pdv and substituting du = cv dT and P = RT/v, we divide both sides by T to isolate ds:
Second Tds Relation (T, P form)
Starting from Tds = dh − vdP and substituting dh = cp dT and v = RT/P:
Variable Specific Heats — The s°(T) Function
When temperature changes are large (e.g., across a combustion chamber), treating cp as constant introduces significant error. In this case, we define the standard-state entropy function s°(T) as the integral of cp(T)/T from a reference temperature to T at a reference pressure (typically 1 atm). The entropy change then becomes:
Detailed Breakdown — Forms and Special Cases
The two general entropy-change formulas can be specialized for common ideal gas processes. Recognizing these special cases accelerates problem-solving and deepens physical intuition. The diagram below maps the three equivalent general forms and shows how each reduces when one thermodynamic variable is held constant.
| Process | Constraint | Δs Expression | Physical Meaning |
|---|---|---|---|
| Isothermal | T = const | R ln(v₂/v₁) = −R ln(P₂/P₁) | Entropy change driven entirely by volume (or pressure) change |
| Isochoric | v = const | cᵥ ln(T₂/T₁) | No work exchange; entropy reflects heat addition at constant volume |
| Isobaric | P = const | cₚ ln(T₂/T₁) | Heat exchange includes both Δu and boundary work; uses cₚ > cᵥ |
| Isentropic | Δs = 0 | 0 (by definition) | Reversible and adiabatic; T, P, v linked by k = cₚ/cᵥ |
| Polytropic | Pvⁿ = const | cᵥ(n − k)/(n − 1) × ln(T₂/T₁) | General family; n = 1 → isothermal, n = k → isentropic |
Worked Example — Entropy Change in a Compressor
Air enters a steady-flow compressor at T₁ = 300 K and P₁ = 100 kPa, and exits at T₂ = 550 K and P₂ = 600 kPa. Treating air as an ideal gas with constant specific heats (cp = 1.005 kJ/(kg·K), R = 0.287 kJ/(kg·K)), compute the specific entropy change Δs = s₂ − s₁.
Constant vs. Variable Specific Heats — Strengths & Limitations
The choice between the constant-specific-heat (also called cold-air-standard) assumption and the variable-specific-heat (exact) approach is one of the most important practical decisions in ideal gas entropy calculations. The following comparison highlights when each method is appropriate and the magnitude of error introduced by the simpler approach.
| Feature | Constant cₚ, cᵥ | Variable cₚ(T) — s° Tables |
|---|---|---|
| Formula | Δs = cₚ ln(T₂/T₁) − R ln(P₂/P₁) | Δs = s°(T₂) − s°(T₁) − R ln(P₂/P₁) |
| Data needed | Single value of cₚ (or cᵥ and R) | Tabulated s°(T) at each temperature |
| Accuracy | Good for ΔT < 200 K near 300 K; errors grow with temperature range | Exact for ideal gases; accounts for molecular vibration modes |
| Ease of use | Algebraically simple; good for quick estimates and exams | Requires table look-up or polynomial fits; standard in industry |
| Typical application | HVAC systems, moderate-temperature compressors, classroom exercises | Gas turbines, combustion analysis, rocket nozzles, precision cycle analysis |
| Error example | For air 300→1500 K: ≈ 5–10% error in Δs | Negligible (limited only by table resolution) |
Connection to Advanced Theory — Real Gases and Exergy
The ideal gas entropy relations are a stepping stone to more general frameworks. When intermolecular forces and finite molecular volume matter—high pressures, low temperatures, or near the critical point—the ideal gas model breaks down and departure functions or equations of state (van der Waals, Redlich-Kwong, Peng-Robinson) must be used. Additionally, entropy changes feed directly into exergy (availability) analysis, which quantifies the maximum useful work obtainable from a system interacting with a specified environment.
| Aspect | Ideal Gas Δs (This Lesson) | Real Gas / Advanced |
|---|---|---|
| Equation of State | Pv = RT | Cubic EOS (e.g., P = RT/(v−b) − a/v²) or generalized correlations |
| Entropy Calculation | Closed-form logarithmic expressions | Δs = Δsⁱᵍ + (s − sⁱᵍ)₂ − (s − sⁱᵍ)₁ using departure functions or tables |
| Phase changes | Not applicable (single phase assumed) | Δs includes latent heat contribution: Δs_fg = h_fg / T_sat |
| Exergy / Availability | ψ = (h − h₀) − T₀(s − s₀); Δs used directly | Same framework, but s computed from real-substance tables or software |
| Entropy generation | S_gen = Δs_sys + Δs_surr ≥ 0 | Identical inequality; more complex property evaluation |
In subsequent coursework—particularly in thermodynamics of mixtures and chemical equilibrium—the ideal gas entropy-change formula extends to mixtures via Gibbs' theorem (each component contributes as if it alone occupied the total volume at the mixture temperature). The entropy of mixing for ideal gases is always positive, reflecting the irreversibility of spontaneous diffusion. Mastering the single-component entropy-change formulas in this lesson builds the foundation for all these extensions.
Practice Problems
Lesson Summary
The entropy change of an ideal gas between two equilibrium states is computed using the Tds relations combined with the ideal gas equation of state. Two primary forms emerge: the T–v form (Δs = cᵥ ln(T₂/T₁) + R ln(v₂/v₁)) and the T–P form (Δs = cₚ ln(T₂/T₁) − R ln(P₂/P₁)). Because entropy is a state function, these expressions depend only on the initial and final states, not the process path. For moderate temperature ranges, constant specific heats yield simple logarithmic formulas; for large temperature swings, the variable specific heat method using tabulated s°(T) values provides exact results.
These formulas underpin the analysis of virtually every gas-phase device in engineering: compressors, turbines, nozzles, and heat exchangers. Setting Δs = 0 recovers the isentropic relations that define ideal device performance, while positive Δs quantifies the entropy generated by irreversibilities. Mastery of these relations prepares you for exergy analysis, cycle optimization, and real-gas corrections encountered in advanced thermodynamics courses.