# 状态函数

状态函数（也称状态量；当它是定义系统的量之一时，也称状态变量）是热力学系统的一种性质，其值只取决于系统的当前状态，如压强、温度、体积和组成，而与系统到达该状态所经历的路径无关。<sup>[1](https://openstax.org/books/university-physics-volume-2/pages/3-3-first-law-of-thermodynamics)</sup><sup> • </sup><sup>[2](https://chem.libretexts.org/Courses/University_of_Toronto/Chemistry%3A_Physical_Principles/05%3A_Thermochemistry/5.03%3A_The_First_Law_of_Thermodynamics)</sup> 内能、焓、熵、吉布斯自由能、温度、压强和体积都是状态函数；热和功则不是。<sup>[2](https://chem.libretexts.org/Courses/University_of_Toronto/Chemistry%3A_Physical_Principles/05%3A_Thermochemistry/5.03%3A_The_First_Law_of_Thermodynamics)</sup><sup> • </sup><sup>[3](https://chem.libretexts.org/Bookshelves/Physical_and_Theoretical_Chemistry_Textbook_Maps/Chemical_Thermodynamics_%28Supplement_to_Shepherd_et_al.%29/10%3A_Extension_7_-_Path_Dependence/10.01%3A_Exact_Differentials)</sup>

| 关键事实 | 详情 |
|---|---|
| 定义 | 一种性质，其在任意时刻的值只取决于系统在该时刻的状态，而与系统如何到达该状态无关<sup>[4](https://chem.libretexts.org/Bookshelves/Physical_and_Theoretical_Chemistry_Textbook_Maps/DeVoes_Thermodynamics_and_Chemistry/15%3A_Appendices/15.06%3A_Appendix_F-_Mathematical_Properties_of_State_Functions)</sup> |
| 例子 | 内能、温度、压强、体积、焓、熵、吉布斯自由能<sup>[2](https://chem.libretexts.org/Courses/University_of_Toronto/Chemistry%3A_Physical_Principles/05%3A_Thermochemistry/5.03%3A_The_First_Law_of_Thermodynamics)</sup><sup> • </sup><sup>[5](https://www-thphys.physics.ox.ac.uk/people/AlexanderSchekochihin/A1/2011/handout4.pdf)</sup> |
| 反例 | 热和功是路径函数；系统“内部”并不存在一定量的热或功<sup>[3](https://chem.libretexts.org/Bookshelves/Physical_and_Theoretical_Chemistry_Textbook_Maps/Chemical_Thermodynamics_%28Supplement_to_Shepherd_et_al.%29/10%3A_Extension_7_-_Path_Dependence/10.01%3A_Exact_Differentials)</sup><sup> • </sup><sup>[6](https://chem.libretexts.org/Bookshelves/Physical_and_Theoretical_Chemistry_Textbook_Maps/Mathematical_Methods_in_Chemistry_%28Levitus%29/09%253A_Exact_and_Inexact_Differentials/9.03%253A_Differentials_in_Thermodynamics_-_State_and_Path_Functions)</sup> |
| 与第一定律的联系 | \( \Delta E_{\text{int}} = Q - W \)：热和功各自依赖于路径，但二者之差不然<sup>[1](https://openstax.org/books/university-physics-volume-2/pages/3-3-first-law-of-thermodynamics)</sup> |
| 数学特征 | 状态函数的微分是恰当微分；它在两个状态之间的积分等于 \( f_2 - f_1 \)，与路径无关，而沿任意闭合路径的积分为零<sup>[4](https://chem.libretexts.org/Bookshelves/Physical_and_Theoretical_Chemistry_Textbook_Maps/DeVoes_Thermodynamics_and_Chemistry/15%3A_Appendices/15.06%3A_Appendix_F-_Mathematical_Properties_of_State_Functions)</sup><sup> • </sup><sup>[7](https://chem.libretexts.org/Bookshelves/Physical_and_Theoretical_Chemistry_Textbook_Maps/Thermodynamics_and_Chemical_Equilibrium_%28Ellgen%29/07%3A_State_Functions_and_The_First_Law/7.04%3A_Exact_Differentials_and_State_Functions)</sup> |
| 实际收益 | 恰当性导出麦克斯韦关系，使熵变可由可测的压强、体积和温度数据算出<sup>[6](https://chem.libretexts.org/Bookshelves/Physical_and_Theoretical_Chemistry_Textbook_Maps/Mathematical_Methods_in_Chemistry_%28Levitus%29/09%253A_Exact_and_Inexact_Differentials/9.03%253A_Differentials_in_Thermodynamics_-_State_and_Path_Functions)</sup> |

## 定义与例子

热力学系统的状态完整地刻画了它在任意时刻的情形，涵盖温度、压强、体积、物质的量及其化学组成等性质。状态函数就是只取决于该当前状态的一种性质。<sup>[2](https://chem.libretexts.org/Courses/University_of_Toronto/Chemistry%3A_Physical_Principles/05%3A_Thermochemistry/5.03%3A_The_First_Law_of_Thermodynamics)</sup> OpenStax的《大学物理学》给出了与之平行的定义：内能和势能这类函数之所以是状态函数，是因为它们的值只取决于系统的状态；内能是热力学变量的函数，例如 \( E_{\text{int}}(T,p) \)，而势能则是空间坐标的函数。<sup>[1](https://openstax.org/books/university-physics-volume-2/pages/3-3-first-law-of-thermodynamics)</sup>

一个熟悉的类比是海拔。一辆汽车在停车楼顶层时的海拔，无论是沿坡道开上去、被吊车吊上去，还是拆成零件搬上去，都是一样的；从底层到顶层之间的海拔变化，无论走哪条路线都相同。而行驶的距离和到达顶层所需的功确实取决于路线，所以海拔是状态函数，距离和功则不是。<sup>[2](https://chem.libretexts.org/Courses/University_of_Toronto/Chemistry%3A_Physical_Principles/05%3A_Thermochemistry/5.03%3A_The_First_Law_of_Thermodynamics)</sup>

## 与路径函数的对比

热和功是路径函数：它们的值取决于两个状态之间所经历的具体过程或路径。<sup>[2](https://chem.libretexts.org/Courses/University_of_Toronto/Chemistry%3A_Physical_Principles/05%3A_Thermochemistry/5.03%3A_The_First_Law_of_Thermodynamics)</sup> 系统内部并不存在所谓一定量的功或热；在连接指定初态和末态的过程中所流动的功和热的量，取决于过程如何进行。<sup>[6](https://chem.libretexts.org/Bookshelves/Physical_and_Theoretical_Chemistry_Textbook_Maps/Mathematical_Methods_in_Chemistry_%28Levitus%29/09%253A_Exact_and_Inexact_Differentials/9.03%253A_Differentials_in_Thermodynamics_-_State_and_Path_Functions)</sup>

**功依赖于路径。** 对于被活塞封闭的气体，准静态体积变化中所做的功为 \( W = \int_{V_1}^{V_2} p\,dV \)，即压强–体积图上曲线下方的面积。由于不同过程描绘出不同的曲线，积分值也不同。OpenStax比较了理想气体从 \( V_1 \) 膨胀到 \( V_2 \) 的两条路径：等温膨胀给出 \( W = nRT \ln(V_2/V_1) \)，而在压强 \( p_1 \) 下等压膨胀后再等容冷却则给出 \( W = p_1(V_2 - V_1) \)。两个值相差很大，这说明功依赖于路径，不知道热力学路径就无法确定。<sup>[8](https://openstax.org/books/university-physics-volume-2/pages/3-2-work-heat-and-internal-energy)</sup>

**第一定律把二者结合起来。** 热力学第一定律指出，两个平衡态之间任何转变的内能变化为 \( \Delta E_{\text{int}} = Q - W \)。尽管 \( Q \) 和 \( W \) 都依赖于两个平衡态之间的热力学路径，它们的差却不然：沿状态A与B之间的任意路径 \( i \)，都有 \( Q_1 - W_1 = Q_2 - W_2 = \cdots \)，因此内能变化与路径无关。<sup>[1](https://openstax.org/books/university-physics-volume-2/pages/3-3-first-law-of-thermodynamics)</sup> 在化学的符号约定中，同一陈述写作 \( \Delta E = q + w \)：热和功各自依赖于路径，但它们的和是状态函数。<sup>[2](https://chem.libretexts.org/Courses/University_of_Toronto/Chemistry%3A_Physical_Principles/05%3A_Thermochemistry/5.03%3A_The_First_Law_of_Thermodynamics)</sup> 一个推论是：对于使系统回到初态的任何闭合路径，\( \Delta E_{\text{int}} \) 为零。<sup>[1](https://openstax.org/books/university-physics-volume-2/pages/3-3-first-law-of-thermodynamics)</sup>

## 恰当微分

状态函数的数学特征是恰当微分。由于状态函数的值只取决于系统的状态，将其微分 \( df \) 在初态1与末态2之间积分，就得到 \( f \) 的变化，与路径无关：\( \int_{f_1}^{f_2} df = f_2 - f_1 = \Delta f \)。具有这一性质的微分称为恰当微分。<sup>[4](https://chem.libretexts.org/Bookshelves/Physical_and_Theoretical_Chemistry_Textbook_Maps/DeVoes_Thermodynamics_and_Chemistry/15%3A_Appendices/15.06%3A_Appendix_F-_Mathematical_Properties_of_State_Functions)</sup> 对于连续函数 \( f(x,y) \)，\( df \) 在两点之间的线积分与积分路径无关，沿任意闭合路径的线积分为零（\( \oint df = 0 \)），且混合二阶偏导数相等。<sup>[7](https://chem.libretexts.org/Bookshelves/Physical_and_Theoretical_Chemistry_Textbook_Maps/Thermodynamics_and_Chemical_Equilibrium_%28Ellgen%29/07%3A_State_Functions_and_The_First_Law/7.04%3A_Exact_Differentials_and_State_Functions)</sup>

热和功作为路径函数，其微分不是恰当微分，写作 \( dq \) 和 \( dw \)（或 \( \delta q \)、\( \delta w \)）以示区别。<sup>[3](https://chem.libretexts.org/Bookshelves/Physical_and_Theoretical_Chemistry_Textbook_Maps/Chemical_Thermodynamics_%28Supplement_to_Shepherd_et_al.%29/10%3A_Extension_7_-_Path_Dependence/10.01%3A_Exact_Differentials)</sup> 写成 \( df(x,y) = X\,dx + Y\,dy \) 的微分，若满足欧拉关系

\[ \left( \frac{\partial X}{\partial y} \right)_x = \left( \frac{\partial Y}{\partial x} \right)_y, \]

则为恰当微分，这等价于混合二阶偏导数相等。<sup>[3](https://chem.libretexts.org/Bookshelves/Physical_and_Theoretical_Chemistry_Textbook_Maps/Chemical_Thermodynamics_%28Supplement_to_Shepherd_et_al.%29/10%3A_Extension_7_-_Path_Dependence/10.01%3A_Exact_Differentials)</sup>

## 热力学势与麦克斯韦关系

热力学中与能量相关的状态函数是热力学势。内能 \( U \) 以熵和体积为自然变量，\( U(S,V) \)，这对等熵或等容过程很方便，但对等温或等压约束则不便。为此，人们通过勒让德型组合定义其他的状态函数：焓 \( H = U + pV \)、亥姆霍兹函数 \( F = U - TS \)（亥姆霍兹自由能）和吉布斯函数 \( G = H - TS \)（吉布斯自由能）。这些都是状态函数，因此各自都有恰当微分：<sup>[5](https://www-thphys.physics.ox.ac.uk/people/AlexanderSchekochihin/A1/2011/handout4.pdf)</sup>

\[ dU = T\,dS - p\,dV, \qquad dH = T\,dS + V\,dp, \]

\[ dF = -S\,dT - p\,dV, \qquad dG = -S\,dT + V\,dp. \]

每个势都有自己的一对独立（自然）变量。<sup>[5](https://www-thphys.physics.ox.ac.uk/people/AlexanderSchekochihin/A1/2011/handout4.pdf)</sup>

由于这些微分是恰当的，混合二阶偏导数相等便导出麦克斯韦关系，把原本需要分别测量的偏导数联系起来。例如，由 \( dG = -S\,dT + V\,dp \) 可得 \( (\partial G/\partial T)_P = -S \) 和 \( (\partial G/\partial P)_T = V \)，因而

\[ -\left( \frac{\partial S}{\partial P} \right)_T = \left( \frac{\partial V}{\partial T} \right)_P. \]

在恒温下对此积分得 \( \Delta S = -\int_{P_1}^{P_2} (\partial V/\partial T)_P\,dP \)，于是没有任何仪器能直接测量的熵变，可以由易于测量的温度、压强和体积所给出的 \( (\partial V/\partial T)_P \) 数据算出。<sup>[6](https://chem.libretexts.org/Bookshelves/Physical_and_Theoretical_Chemistry_Textbook_Maps/Mathematical_Methods_in_Chemistry_%28Levitus%29/09%253A_Exact_and_Inexact_Differentials/9.03%253A_Differentials_in_Thermodynamics_-_State_and_Path_Functions)</sup> 结合响应函数恒等式，麦克斯韦关系意味着：一种简单物质的全部热力学行为，仅由三个经验量决定——一个状态方程 \( P(T,V) \)、一个作为温度函数给出的热容，以及一个用作参考的熵值。<sup>[9](https://notes.amittai.studio/statistical-mechanics/thermodynamics/thermodynamic-potentials-and-maxwell-relations)</sup>

## 状态变量与平衡

状态函数是为平衡态定义的。当一个热力学系统的宏观量——包括压强、温度、体积、质量和组成——随时间保持稳定时，系统就达到了平衡；每个平衡态由其状态变量刻画，而这些变量并非全都独立。状态方程是若干状态变量（通常是压强、温度和体积）之间的关系，系统的平衡态必须满足它。<sup>[10](https://www.geeksforgeeks.org/physics/thermodynamic-state-variables-and-equation-of-state/)</sup><sup> • </sup><sup>[11](https://learnthermo.org/en/chapters/fundamental-concepts)</sup> 例如，功的积分 \( \int p\,dV \) 只对准静态过程有意义，即只对以无限小步骤进行、使系统始终处于热平衡的过程有意义，因为只有这时，一个良定义的状态方程才能把路径上的压强和体积联系起来。<sup>[8](https://openstax.org/books/university-physics-volume-2/pages/3-2-work-heat-and-internal-energy)</sup>

内能和熵被称为热力学中最重要的两个状态函数。<sup>[11](https://learnthermo.org/en/chapters/fundamental-concepts)</sup> 最近一篇arXiv分析以同样的方式界定这一区别：与交换热 \( \delta Q \) 和外界做功 \( \delta W \) 这类过程函数不同，状态函数的变化可以表示为恰当微分。<sup>[12](https://arxiv.org/abs/2012.14787)</sup>

## References

1. [3.3 First Law of Thermodynamics, University Physics Volume 2, OpenStax](https://openstax.org/books/university-physics-volume-2/pages/3-3-first-law-of-thermodynamics)
2. [5.3: The First Law of Thermodynamics, Chemistry LibreTexts](https://chem.libretexts.org/Courses/University_of_Toronto/Chemistry%3A_Physical_Principles/05%3A_Thermochemistry/5.03%3A_The_First_Law_of_Thermodynamics)
3. [10.1: Exact Differentials, Chemistry LibreTexts](https://chem.libretexts.org/Bookshelves/Physical_and_Theoretical_Chemistry_Textbook_Maps/Chemical_Thermodynamics_%28Supplement_to_Shepherd_et_al.%29/10%3A_Extension_7_-_Path_Dependence/10.01%3A_Exact_Differentials)
4. [15.6: Appendix F, Mathematical Properties of State Functions (DeVoe), Chemistry LibreTexts](https://chem.libretexts.org/Bookshelves/Physical_and_Theoretical_Chemistry_Textbook_Maps/DeVoes_Thermodynamics_and_Chemistry/15%3A_Appendices/15.06%3A_Appendix_F-_Mathematical_Properties_of_State_Functions)
5. [Basic Thermodynamics, Handout 4: Thermodynamic Potentials, University of Oxford](https://www-thphys.physics.ox.ac.uk/people/AlexanderSchekochihin/A1/2011/handout4.pdf)
6. [9.3: Differentials in Thermodynamics, State and Path Functions, Chemistry LibreTexts](https://chem.libretexts.org/Bookshelves/Physical_and_Theoretical_Chemistry_Textbook_Maps/Mathematical_Methods_in_Chemistry_%28Levitus%29/09%253A_Exact_and_Inexact_Differentials/9.03%253A_Differentials_in_Thermodynamics_-_State_and_Path_Functions)
7. [7.4: Exact Differentials and State Functions (Ellgen), Chemistry LibreTexts](https://chem.libretexts.org/Bookshelves/Physical_and_Theoretical_Chemistry_Textbook_Maps/Thermodynamics_and_Chemical_Equilibrium_%28Ellgen%29/07%3A_State_Functions_and_The_First_Law/7.04%3A_Exact_Differentials_and_State_Functions)
8. [3.2 Work, Heat, and Internal Energy, University Physics Volume 2, OpenStax](https://openstax.org/books/university-physics-volume-2/pages/3-2-work-heat-and-internal-energy)
9. [Thermodynamic Potentials and Maxwell Relations, study notes](https://notes.amittai.studio/statistical-mechanics/thermodynamics/thermodynamic-potentials-and-maxwell-relations)
10. [Thermodynamic State Variables and Equation of State, GeeksforGeeks](https://www.geeksforgeeks.org/physics/thermodynamic-state-variables-and-equation-of-state/)
11. [Lesson 3: Fundamental Concepts, LearnThermo](https://learnthermo.org/en/chapters/fundamental-concepts)
12. [The uniqueness of the integration factor associated with the exchanged heat in thermodynamics, arXiv](https://arxiv.org/abs/2012.14787)

---
*Initially written Sep 17, 2026 · Reviewed: Sep 17, 2026; Oct 15, 2026 · Edited: Oct 15, 2026 · Last review: Oct 15, 2026*

Topic: 物质世界与数学 › 物理学 › 经典物理学 › Thermodynamics › Laws, states, and potentials › Equilibrium and state functions › State variables and conjugate pairs › Exact differentials of state functions

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/state-function

English original: https://www.edgepedia.org/state-function
