Second Law of Thermodynamics and Entropy Summary

Statistical Definition of Entropy and Microstates

  • Macroscopic State Characterization: The state of a thermodynamic system is defined by its macroscopic state variables, such as:

    • NN (Number of molecules)

    • VV (Volume)

    • UU (Internal energy)

  • Microstates (Ω\Omega): There is a vast number of ways in which the values of macroscopic variables like VV and UU can be distributed among all the NN molecules. The specific number of these different ways is defined as the number of microstates (or microrealisations), denoted as Ω\Omega, that correspond to the same single macroscopic state.

  • Boltzmann’s Entropy Formula: For an insulated system at thermodynamic equilibrium, the entropy SS is statistically related to the number of microrealisations of the macroscopic state by the equation:

    • S=kBtan(Ω)S = k_B \tan(\Omega)

    • Where kBk_B is the Boltzmann constant.

Entropy as a State Function and the Thermodynamic Identity

  • State Function Characteristics: Entropy is a state function. This implies that:

    • Its elementary variation dSdS is an exact total differential.

    • The total biological variation between two states AA and BB is path-independent and calculated by: ΔSAB=ABdS\Delta S_{AB} = \int_A^B dS.

  • Entropy in Terms of Energy and Volume: Entropy is a measure of the ways internal energy (UU) and volume (VV) are distributed. It is thus a function of both: S(U,V)S(U, V).

    • The differential for entropy is expressed as: dS=SUdU+SVdVdS = \frac{\partial S}{\partial U} dU + \frac{\partial S}{\partial V} dV.

  • Intensive Variable Definitions: The intensive parameters Temperature (TT) and Pressure (PP) are defined through the partial derivatives of entropy:

    • Definition of Temperature: 1T=SU\frac{1}{T} = \frac{\partial S}{\partial U}

    • Definition of Pressure-to-Temperature ratio: PT=SV\frac{P}{T} = \frac{\partial S}{\partial V}

  • Thermodynamic Identity: Combining these definitions results in the fundamental relationship known as the thermodynamic identity:

    • dS=1TdU+PTdVdS = \frac{1}{T} dU + \frac{P}{T} dV

Physical Temperature and the Kelvin Scale

  • Sign of Temperature: An increase or decrease in internal energy (UU) at constant volume leads to a corresponding increase or decrease in the number of microstates Ω\Omega, which subsequently implies an increase or decrease in entropy SS.

  • Constraint on TT: Because of this direct relationship, the partial derivative SU\frac{\partial S}{\partial U} (and thus the physical temperature) is necessarily positive, with a lower limit of absolute zero:

    • 1T=SU0\frac{1}{T} = \frac{\partial S}{\partial U} \geq 0

  • Kelvin Scale: This logic defines the Kelvin scale, where the zero point is established in a physically correct manner based on the minimum possible value of internal energy and microstate count.

Entropy Change during Reversible Processes

  • General Reversible Variation: By inserting the First Law of Thermodynamics (dU=δW+δQdU = \delta W + \delta Q) into the thermodynamic identity, one obtains: dS=δQ+δWT+PdVTdS = \frac{\delta Q + \delta W}{T} + \frac{P dV}{T}.

    • For any reversible process, the work is δW=PdV\delta W = -P dV, which simplifies the expression for the elementary change in entropy of a system to: dS=δQTdS = \frac{\delta Q}{T}.

    • The total change between state AA and BB is: ΔSAB=ABδQT\Delta S_{AB} = \int_A^B \frac{\delta Q}{T}.

  • Reversible Adiabatic Process: In an adiabatic process, δQ=0\delta Q = 0. For a reversible adiabatic process, this means dS=0dS = 0 and ΔSAB=0\Delta S_{AB} = 0. Such a process is described as being an isentropic process.

  • Reversible Isochoric Process (Constant Volume):

    • The elementary heat received is δQ=CVdT\delta Q = C_V dT.

    • The elementary entropy change is dS=CVdTTdS = \frac{C_V dT}{T}.

    • The total variation is ΔSAB=TATBCVdTT\Delta S_{AB} = \int_{T_A}^{T_B} \frac{C_V dT}{T}.

    • For an ideal gas: ΔSAB=CVln(TBTA)\Delta S_{AB} = C_V \ln\left(\frac{T_B}{T_A}\right).

  • Reversible Isobaric Process (Constant Pressure):

    • The elementary heat received is δQ=CPdT\delta Q = C_P dT.

    • The elementary entropy change is dS=CPdTTdS = \frac{C_P dT}{T}.

    • The total variation is ΔSAB=TATBCPdTT\Delta S_{AB} = \int_{T_A}^{T_B} \frac{C_P dT}{T}.

    • For an ideal gas: ΔSAB=CPln(TBTA)\Delta S_{AB} = C_P \ln\left(\frac{T_B}{T_A}\right).

  • Reversible Isothermal Process (Constant Temperature):

    • Since TT is constant: ΔSAB=1TABδQ=QABT\Delta S_{AB} = \frac{1}{T} \int_A^B \delta Q = \frac{Q_{AB}}{T}.

    • For an ideal gas, this is calculated as: ΔSAB=nRln(VBVA)\Delta S_{AB} = nR \ln\left(\frac{V_B}{V_A}\right).

    • Useful algebraic relationships for rewriting this include: ln(VBVA)=ln(PAPB)\ln\left(\frac{V_B}{V_A}\right) = \ln\left(\frac{P_A}{P_B}\right).

    • Relationships for nRnR: nR=CPCV=CV(γ1)=CP(11γ)nR = C_P - C_V = C_V(\gamma - 1) = C_P\left(1 - \frac{1}{\gamma}\right).

  • Sign Parity: Since T0T \geq 0, the change in entropy ΔSAB\Delta S_{AB} during a reversible process always shares the same sign as the heat received by the system.

Entropy Balance: Exchanged and Created Entropy

  • General Relationship: During any thermodynamic process (reversible or irreversible), the relationship between heat and entropy is generalized by the balance equation: dS=δSe+δScdS = \delta S_e + \delta S_c.

    • δSe\delta S_e is the entropy exchanged with the external environment.

    • δSc\delta S_c is the entropy created within the system.

  • Exchanged Entropy (\delta S_e): This is expressed as the heat received divided by the temperature of the external environment (TextT_{ext}): δSe=δQText\delta S_e = \frac{\delta Q}{T_{ext}}.

    1. For a transition from AA to BB at a constant external temperature (Text=constT_{ext} = \text{const}):

      • Se,AB=1TextQAB=ΔUABWABTextS_{e, AB} = \frac{1}{T_{ext}} Q_{AB} = \frac{\Delta U_{AB} - W_{AB}}{T_{ext}}.

  • Entropy Created (\delta S_c):

    1. Reversible Process: The system is in thermal equilibrium with the environment at every instant (Text=TT_{ext} = T). Thus, δSe=δQT=dS\delta S_e = \frac{\delta Q}{T} = dS. This implies no entropy is created: δSc=0\delta S_c = 0 and Sc,AB=0S_{c, AB} = 0.

    2. Irreversible Process: Since entropy is a state function, the change ΔSAB\Delta S_{AB} is the same as it would be for a reversible path between those states (ΔSAB,rev\Delta S_{AB, rev}). The entropy created during an actual irreversible process is calculated as: Sc,AB=ΔSAB,revSe,ABS_{c, AB} = \Delta S_{AB, rev} - S_{e, AB}.

The Second Law of Thermodynamics and Engine Efficiency

  • The Second Law Statement: During any physical process occurring in a thermodynamic system between initial state AA and final state BB, the total entropy created is always non-negative:

    • Sc,AB=ΔSABSe,AB0S_{c, AB} = \Delta S_{AB} - S_{e, AB} \geq 0

    • Sc,AB=0S_{c, AB} = 0 only if the process is perfectly reversible.

  • Consequences for Single Heat Source Systems: A system interacting with only a single heat source cannot convert heat completely into work over a cycle. During a cyclic process with one source, the system can only:

    1. Receive work (W > 0).

    2. Release heat (Q < 0).

  • Requirements for Heat Engines: A heat engine is a device intended to release work (W < 0). Based on the Second Law, it must necessarily:

    • Be in contact with at least two parts of the external environment at different temperatures.

    • As a result of this necessity and the unavoidable creation of entropy (or simple energy transfer limits), a heat engine cannot have a thermal efficiency of 100%.