betaFeedback

WorksPhysics and Astronomy

Revisiting the First, Second and Combined Laws of Thermodynamics

Abstract

First, Second and Combined Laws of Thermodynamics are revised in terms of entropy change, partial entropy, partial volume, and chemical potential.

Chen and Mauro [1] published a paper interpreting the first law of thermodynamics for open systems and commented on the present author’s definition of the first law of thermodynamics [2, 3, 4, 5, 6, 7] (Eq. 2 in their paper, Eq. 13 in the last paper by the present author [6] among the four papers cited in their Endnote 4) and chemical potential (Eq. 3 in their paper, Eq. 14 in ref. [6]). The present author would like to thank them for pointing out the error in Eq. 13 and Eq. 14 in ref. [6]. Accordingly, with Eq. 13 in ref. [6] containing the term of −P dV-P\,dV, Eq. 14 in ref. [6] should be revised as follows

μi=Ui−TSi+PVi(1)\mu_i = U_i - TS_i + PV_i \tag*{(1)}

where the definitions of all variables in Eq. (1) and the rest of the present paper are shown in the footnotes of Table 1 and Table 2, respectively.

Gibbs [10, 11]Hillert [8]Liu_2016 [12]Liu_2020 [2]
First Law, dUdUdQ+dW=dQ−PdVdQ+dW\\=dQ-PdVdQ+dW+HmdN=dQ−PdV+HmdNdQ+dW+H_m dN\\=dQ-PdV\\+H_m dNdQ+dW+∑HidNidQ+dW\\+\sum H_i dN_idQ+dW+∑UidNidQ+dW+\sum U_i dN_i
Second LawdipS=0d_{ip}S=0dipS≥0d_{ip}S\ge0
Entropy Change, dSdSdQT\frac{dQ}{T}dQT+SmdN+dipS\frac{dQ}{T}+S_m dN+d_{ip}SdQT+∑SidNi+dipS\frac{dQ}{T}+\sum S_i dN_i+d_{ip}S
Combined Law for Multicomponent Systems, dUdUTdS−PdV+∑μidNiTdS-PdV\\+\sum\mu_i dN_iTdS−PdV+∑μidNi−TdipS=∑YadXa−∑DjdξjTdS-PdV+\sum\mu_i dN_i-Td_{ip}S\\=\sum Y^a dX^a-\sum D_jd\xi_jTdS+dW+∑(Ui−TSi)dNi−TdipSTdS+dW\\+\sum(U_i-TS_i)dN_i\\-Td_{ip}S

Table 1. First, second, and combined laws of thermodynamics and their derivations by Gibbs [10, 11], Hillert [8], and the present author [2, 12]. The red and bold texts, i.e., HmH_m and HiH_i, are incorrect and should be replaced by UmU_m and UiU_i, respectively.

WorkdWdWChemical Potential of component ii, μi\mu_iCombined Law of Thermodynamics, dUdU
Hydrostatic−P(dV−∑VidNi)-P\left(dV-\sum V_i dN_i\right)Ui−TSi+PViU_i-TS_i+PV_iTdS−PdV+∑μidNi−TdipSTdS-PdV+\sum\mu_i dN_i-Td_{ip}S
Mechanical−Vσ(dε−∑εidNi)-V\sigma\left(d\varepsilon-\sum\varepsilon_i dN_i\right)Ui−TSi+VσεiU_i-TS_i+V\sigma\varepsilon_iTdS−Vσdε+∑μidNi−TdipSTdS-V\sigma d\varepsilon+\sum\mu_i dN_i-Td_{ip}S
Electric−VE(dθ−∑θidNi)-VE\left(d\theta-\sum\theta_i dN_i\right)Ui−TSi+VEθiU_i-TS_i+VE\theta_iTdS−VEdθ+∑μidNi−TdipSTdS-VEd\theta+\sum\mu_i dN_i-Td_{ip}S
Magnetic−VH(dB−∑BidNi)-V\mathcal{H}\left(dB-\sum B_i dN_i\right)Ui−TSi+VHBiU_i-TS_i+V\mathcal{H}B_iTdS−VHdB+∑μidNi−TdipSTdS-V\mathcal{H}dB+\sum\mu_i dN_i-Td_{ip}S
Mechanical + Electric + Magnetic−V[σ(dε−∑εidNi)+E(dθ−∑θidNi)+H(dB−∑BidNi)]-V\left[\sigma\left(d\varepsilon-\sum\varepsilon_i dN_i\right)+E\left(d\theta-\sum\theta_i dN_i\right)+\mathcal{H}\left(dB-\sum B_i dN_i\right)\right]Ui−TSi+V(σεi+Eθi+HBi)U_i-TS_i+V(\sigma\varepsilon_i+E\theta_i+\mathcal{H}B_i)TdS−V(σdε+Edθ+HdB)+∑μidNi−TdipSTdS-V(\sigma d\varepsilon+Ed\theta+\mathcal{H}dB)+\sum\mu_i dN_i-Td_{ip}S

Table 2. Chemical potential and combined laws of thermodynamics under various types of work

This issue concerns fundamentally how the first, second, and combined laws of thermodynamics are written in textbooks and taught in classrooms and is worth further discussion. These laws address three distinctive aspects of a system [8]. The first law concerns the exchanges of heat, work, and mass between a system and its surroundings. The second law focuses on internal processes and the admissible direction of these processes. The combination of the first and second laws is based on the definition of the entropy change of the system and results in the combined law of thermodynamics. The partial derivative of internal energy with respect to a molar quantity results in various potentials, including UiU_i, TT, −P-P, and μi\mu_i as shown in Table 1, noting that “potential theory involves problems describable in terms of a partial differential equation, in which the dependent variable is the appropriate potential” [9]. These four partial derivatives, i.e., potentials, are related to each other by Eq. (1).

From Table 1, it seems that one would have dWdW equal to −PdV-P dV from the first law by Gibbs [10, 11] and Hillert [8]. However, this is only valid for a closed system in the first law by Gibbs, i.e., dNi=0dN_i = 0. The two equations in the first law by Hillert shown in Table 1, i.e., Eqs. 1.7 and 1.11 in his book [8], imply that dWdW is equal to −PdV-P dV for an open system, which is incorrect. The present author followed Hillert’s first law (column Liu_2016 in Table 1 [12]) and corrected it in his next paper (column Liu_2020 in Table 1 [2]) by introducing the partial internal energy of a component, UiU_i.

However, the present author did not realize that when the hydrostatic pressure is introduced, the total work exchange between a system and its surroundings should be defined as follows

dW=−P(dV−∑iVidNi)(2)dW = -P\left(dV - \sum_i V_i dN_i\right) \tag*{(2)}

because the exchange of mass between a system and its surroundings affects the volume of the system as shown by Eq. 14 in the paper by Chen and Mauro [1] and Eq. (2) in the present paper. Consequently, the PViPV_i term must be added to the definition of the chemical potential in Eq. 14 in ref. [6] as shown by Eq. (1) in the present paper.

It is noted in Table 1 that both Gibbs [10, 11] and Hillert [8] introduced the term of −PdV-P dV into the first law before entropy was introduced. For an open system, i.e., dN≠0dN \ne0, Hillert introduced HmH_m without using Eq. (2) above, resulting in the error in the two forms of the first law as shown in Table 1 and Eqs. 1.7 and 1.11 in his book [8]. Berry et al. [13] considered the hydrostatic work and the mass addition in two steps. The first step is with dQ=0dQ = 0 and dW=0dW = 0, i.e., dV=∑VidNidV = \sum V_i dN_i from Eq. (2).

The second step is to compress the system, so its volume is not changed due to the mass addition, i.e., dV=0dV = 0 and dW=P∑VidNidW = P \sum V_i dN_i from Eq. (2). The first law of thermodynamics under dQ=0dQ = 0 and dV=0dV = 0 is thus written as follows [13]

dU=dW+∑UidNi=−P(dV−∑VidNi)+∑UidNi=∑(Ui+PVi)dNi(3)dU = dW + \sum U_i dN_i = -P\left(dV - \sum V_i dN_i\right) + \sum U_i dN_i = \sum(U_i + PV_i)dN_i \tag*{(3)}

which was what Hillert [8] obtained. When dQ≠0dQ \ne0 and dV≠0dV \ne0, the first law of thermodynamics becomes

dU=dQ−PdV+∑(Ui+PVi)dNi(4)dU = dQ - P dV + \sum(U_i + PV_i)dN_i \tag*{(4)}

It is important to emphasize that −PdV≠dW-P dV \ne dW in Eq. (4), and their relation is shown by Eq. (2) above for hydrostatic work, which was the origin of the error in Eq. 14 in ref. [6].

In the other three papers [2, 3, 5] cited in the Endnote 4 of the paper by Chen and Mauro [1], the present author developed the combined law of thermodynamics by combining the first and second laws without specifying the types of work (column Liu_2020 in Table 1) and defined the chemical potential as Ui−TSiU_i - TS_i. However, this definition is inconsistent with the definition of chemical potential by Gibbs and Hillert who introduced the hydrostatic work in the first law of thermodynamics. Therefore, chemical potential should be defined using Eq. (1) in the present paper when −PdV-P dV is used in the combined law.

Consequently, the chemical potential for different types of work exchange between a system and its surroundings are different due to their unique contributions from mass exchange, as shown in Table 2, i.e., hydrostatic or nonhydrostatic mechanical works, electric work, and magnetic work, respectively [14]. The last row in Table 2 represents the most general form of the chemical potential and the combined law of thermodynamics. Furthermore, the first law defined by Chen and Mauro [1], i.e., their Eq. 7 for equilibrium systems and Eq. 45 for non-equilibrium closed systems, where dipSd_{ip}S was introduced through an ad hoc process with different definitions of dSdS in their Eq. 7 and Eq. 45, can be related to the Gibb’s and Hillert’s combined laws through the definition of dSdS shown in Table 1.

It is noted that the present author [3, 6, 15] divided the entropy production of each independent internal process into four actions: (1) heat generation (dipQd_{ip}Q), (2) consumption of some components as reactants (dNr,jdN_{r,j}) with entropy SjS_j, (3) formation of some components as products (dNp,kdN_{p,k}) with entropy SkS_k, and (4) reorganization of its configurations (dipSconfigd_{ip}S^{config}), as follows,

dipS=dipQT−∑jSjdNr,j+∑kSkdNp,k+dipSconfig≥0(5)d_{ip}S = \frac{d_{ip}Q}{T} - \sum_j S_j dN_{r,j} + \sum_k S_k dN_{p,k} + d_{ip}S^{config} \ge0 \tag*{(5)}

It was pointed out that the microscopic ‘violation of second law of thermodynamics’ discussed in the literature is due to the incomplete consideration of all contributions to entropy production [3, 5, 6].

Acknowledgements

The present author thanks Long-Qing Chen and John Mauro for pointing out and discussing the error in chemical potential when hydrostatic work was specified in the combined law of thermodynamics. The author thanks Xiaofeng Guo, John Mauro, David McDowell, and Yu Zhong for their valuable comments on the manuscript. This work was supported by the U.S. Department of Energy (DOE) through Grant No. DE-SC0023185 and the Endowed Dorothy Pate Enright Professorship at Penn State.

  • dUdU: Internal energy change in the system

  • dQdQ: Exchange of heat between the system and its surroundings

  • PP: Pressure

  • VV: Volume

  • dWdW: Exchange of work between the system and its surroundings

  • UmU_m: Molar internal energy of the system

  • HmH_m: Molar enthalpy of the system

  • NN: Moles of the system

  • NiN_i: Moles of component ii

  • Ui=(∂U∂Ni)dQ=0,dW=0,Nj≠iU_i=\left(\frac{\partial U}{\partial N_i}\right)_{dQ=0,dW=0,N_{j\ne i}}: Partial internal energy of component ii

  • dipSd_{ip}S: Entropy production due to internal processes (ipip)

  • dSdS: Total entropy change of the system

  • SmS_m: Molar entropy of the system

  • Si=(∂s∂Ni)dQ=0,Nj≠i,dipS=0S_i = \left(\frac{\partial s}{\partial N_i}\right)_{dQ=0,N_{j\ne i},d_{ip}S=0}: Partial entropy of component ii

  • μi=(∂U∂Ni)S,V,Nj≠i,dipS=0\mu_i = \left(\frac{\partial U}{\partial N_i}\right)_{S,V,N_{j\ne i},d_{ip}S=0}: Chemical potential of component ii

  • Ya=(∂U∂Xa)Xb≠a,dipS=0Y^a = \left(\frac{\partial U}{\partial X^a}\right)_{X^{b\ne a},d_{ip}S=0}: Potentials, denoting TT, −P-P, and μi\mu_i in the combined law

  • XaX^a: Conjugate molar quantities of YaY^a, i.e., SS, VV, and NiN_i, in the combined law

  • ξj\xi_j: Internal variables, represented by an independent internal molar quantity

  • Dj=(∂U∂ξj)S,V,NiD_j = \left(\frac{\partial U}{\partial\xi_j}\right)_{S,V,N_i}: Driving force for the internal process (dξjd\xi_j), represented by the difference of the conjugate potential of ξj\xi_j due to dξjd\xi_j

  • TdipS=∑DjdξjT d_{ip}S = \sum D_j d\xi_j: The overall contribution of independent internal processes to the total entropy production.

  • Vi=(∂V∂Ni)dW=0,Nj≠iV_i=\left(\frac{\partial V}{\partial N_i}\right)_{dW=0,N_{j\ne i}}: Partial volume of component ii

  • σ\sigma and ε\varepsilon: Stress and strain tensors

  • εi=(∂ε∂Ni)dW=0,Nj≠i\varepsilon_i=\left(\frac{\partial\varepsilon}{\partial N_i}\right)_{dW=0,N_{j\ne i}}: Partial strain tensor of component ii

  • EE and θ\theta: Electric field and electric displacement tensors

  • θi=(∂θ∂Ni)dW=0,Nj≠i\theta_i=\left(\frac{\partial\theta}{\partial N_i}\right)_{dW=0,N_{j\ne i}}: Partial electric displacement tensor of component ii

  • H\mathcal{H} and BB: Magnetic field and magnetic flux tensors

  • Bi=(∂B∂Ni)dW=0,Nj≠iB_i=\left(\frac{\partial B}{\partial N_i}\right)_{dW=0,N_{j\ne i}}: Partial magnetic flux tensor of component ii

References

  1. [1]Chen, L.-Q. & Mauro, J. C. On the first law of thermodynamics for open systems. MRS Bull. 50, 215–226 (2025). https://doi.org/10.1557/s43577-025-00871-5
  2. [2]Liu, Z. K. Computational thermodynamics and its applications. Acta Mater. 200, 745–792 (2020). https://doi.org/10.1016/j.actamat.2020.08.008
  3. [3]Liu, Z. K. Theory of cross phenomena and their coefficients beyond Onsager theorem. Mater. Res. Lett. 10, 393–439 (2022). https://doi.org/10.1080/21663831.2022.2054668
  4. [4]Liu, Z. K. Thermodynamics and its prediction and CALPHAD modeling: Review, state of the art, and perspectives. CALPHAD 82, 102580 (2023). https://doi.org/10.1016/j.calphad.2023.102580
  5. [5]Liu, Z. K. Quantitative Predictive Theories through Integrating Quantum, Statistical, Equilibrium, and Nonequilibrium Thermodynamics. J. Phys. Condens. Matter 36, 343003 (2024). https://doi.org/10.1088/1361-648x/ad4762
  6. [6]Liu, Z. K. On Gibbs Equilibrium and Hilbert Nonequilibrium Thermodynamics. J. Phase Equilibria Diffus. 45, 965–985 (2024). https://doi.org/10.1007/s11669-024-01157-0
  7. [7]Liu, Z. K. Fundamentals on dependence of volume on pressure and temperature. Phys. Chem. Miner. 52, 3 (2025). https://doi.org/10.1007/s00269-024-01305-5
  8. [8]Hillert, M. Phase Equilibria, Phase Diagrams and Phase Transformations. (Cambridge University Press, 2007).
  9. [9]Narasimhan, T. N. Fourier’s heat conduction equation: History, influence, and connections. Rev. Geophys. 37, 151–172 (1999). https://doi.org/10.1029/1998rg900006
  10. [10]Gibbs, J. W. Graphical methods in the thermodynamics of fluids. Trans. Connect. Acad. II April-May, 309–342 (1873).
  11. [11]Gibbs, J. W. On the equilibrium of heterogeneous substances. Trans. Connect. Acad. III May, 108–248 (1876).
  12. [12]Liu, Z. K. & Wang, Y. Computational Thermodynamics of Materials. (Cambridge University Press, 2016).DOI
  13. [13]Berry, R. S., Rice, S. A. & Ross, J. Matter in Equilibrium: Statistical Mechanics and Thermodynamics. (Oxford University Press, 2001). https://www.amazon.com/Matter-Equilibrium-Statistical-Mechanics-Thermodynamics/dp/0195147499
  14. [14]Nye, J. F. Physical Properties of Crystals: Their Representation by Tensors and Matrices. (Clarendon Press, 1985).
  15. [15]Liu, Z. K., Li, B. & Lin, H. Multiscale Entropy and Its Implications to Critical Phenomena, Emergent Behaviors, and Information. J. Phase Equilibria Diffus. 40, 508–521 (2019). https://doi.org/10.1007/s11669-019-00736-w

Paper details

vlnc:W_xr6vn57k
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 0

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Physics and Astronomy

Not recorded for this paper

View statement
Looking for related papers…
Contents