# 玻尔兹曼熵公式

**玻尔兹曼熵公式**是熵的统计力学定义，即 \( S = k \ln W \)，它规定一个热力学状态的熵 \( S \) 等于玻尔兹曼常数 \( k \) 乘以 \( W \) 的自然对数，而 \( W \) 是与该状态相容的微观状态数。微观状态是指构成系统的原子或分子的所有位置与能量的某一特定构型；而诸如给定能量、体积和粒子数这样的宏观条件，通常对应着数量极其巨大的此类微观状态。<sup>[1](https://chem-textbook.ucalgary.ca/version2/chapter-5-introduction/entropy/entropy-and-microstates/)</sup>

| 关键事实 | 详情 |
|---|---|
| 公式 | \( S = k \ln W \)，其中 \( W \) 为对应于所观测宏观状态的微观状态数<sup>[1](https://chem-textbook.ucalgary.ca/version2/chapter-5-introduction/entropy/entropy-and-microstates/)</sup> |
| 常数 | \( k = 1.380\,649 \times 10^{-23} \ \mathrm{J\,K^{-1}} \)，按定义为精确值<sup>[2](https://physics.nist.gov/cgi-bin/cuu/Value?k%7Csearch_for=Boltzmann)</sup> |
| 熵变 | \( \Delta S = k \ln (W_f / W_i) \)；从1个微观状态变为6个微观状态的过程给出 \( \Delta S = 2.47 \times 10^{-23} \ \mathrm{J/K} \)<sup>[1](https://chem-textbook.ucalgary.ca/version2/chapter-5-introduction/entropy/entropy-and-microstates/)</sup> |
| 起源 | 玻尔兹曼1877年的论文首次确立了熵的概率基础<sup>[3](https://doi.org/10.3390/E17041971)</sup> |
| 纪念 | 该公式铭刻在维也纳的玻尔兹曼墓碑上，他于1906年在那里去世<sup>[4](https://www.phys.unsw.edu.au/~jw/entropy.html)</sup> |

## 公式及其各项

在统计热力学中，熵被定义为与产生系统所观测宏观描述的微观构型数之对数成正比：<sup>[5](https://bingweb.binghamton.edu/~suzuki/GeneralPhysNote_PDF/LN20Sv6.pdf)</sup>

\[ S = k_{\mathrm{B}} \ln W \]

这里 \( W \) 是对应于所观测热力学宏观状态的微观状态数，\( k_{\mathrm{B}} \) 是玻尔兹曼常数。这被视为熵的基本定义；吉布斯熵公式将其推广，并且当所有 \( W \) 个可及微观状态等概率时，它约化为 S = k ln W。<sup>[5](https://bingweb.binghamton.edu/~suzuki/GeneralPhysNote_PDF/LN20Sv6.pdf)</sup><sup> • </sup><sup>[14](https://www.damtp.cam.ac.uk/user/tong/statphys/statmechhtml/S1.html)</sup> 由于 \( W \) 无量纲，\( k_{\mathrm{B}} \) 的单位——焦耳每开尔文——赋予了熵以热力学单位，而该常数的取值被固定下来，以使统计定义与熵的热力学定义相一致。<sup>[6](https://chem.libretexts.org/Courses/Western_Washington_University/Biophysical_Chemistry_%28Smirnov_and_McCarty%29/01%3A_Biochemical_Thermodynamics/1.05%3A_The_Boltzmann_Distribution_and_the_Statistical_Definition_of_Entropy)</sup> CODATA值为 \( 1.380\,649 \times 10^{-23} \ \mathrm{J\,K^{-1}} \)，其标准不确定度精确为零。<sup>[2](https://physics.nist.gov/cgi-bin/cuu/Value?k%7Csearch_for=Boltzmann)</sup>

**为什么要取对数。** 对数并非随意选择。对于两个独立的系统 \( A \) 和 \( B \)，组合系统的微观状态数是乘积 \( \Omega_{A+B} = \Omega_A \Omega_B \)，于是公式给出 \( S_{A+B} = k \ln \Omega_A + k \ln \Omega_B = S_A + S_B \)，这正是热力学始终假定的熵的可加性。<sup>[7](https://chem.libretexts.org/Courses/New_York_University/CHEM-UA_652%3A_Thermodynamics_and_Kinetics/01%3A_Lectures/1.02%3A_Ideal_gas_law_introduction_to_statistical_mechanics_and_the_microcanonical_ensemble)</sup> 事实上，对数是以这种方式使 \( S \) 具有广延性的、关于微观状态数的唯一函数。<sup>[8](https://jontalle.web.engr.illinois.edu/Public/BOOKS/Ambaum-ThermalPhysicsAtmosphere.10.pdf)</sup>

## 微观状态的计数

对于由 \( N \) 个粒子组成、分布在各个格中（每格分别有 \( n_1, n_2, \ldots \) 个粒子）的系统，某一给定分布的微观状态数为多项式系数<sup>[6](https://chem.libretexts.org/Courses/Western_Washington_University/Biophysical_Chemistry_%28Smirnov_and_McCarty%29/01%3A_Biochemical_Thermodynamics/1.05%3A_The_Boltzmann_Distribution_and_the_Statistical_Definition_of_Entropy)</sup>

\[ W = \frac{N!}{n_1!\, n_2!\, \cdots} \]

例如，把四个粒子安排到两个格中、每格两个粒子，得到 \( W = 4!/(2!\,2!) = 6 \)，而四个粒子全在一个格中的构型则有 \( W = 1 \)。因此，可及微观状态更多的宏观状态具有更大的熵。<sup>[6](https://chem.libretexts.org/Courses/Western_Washington_University/Biophysical_Chemistry_%28Smirnov_and_McCarty%29/01%3A_Biochemical_Thermodynamics/1.05%3A_The_Boltzmann_Distribution_and_the_Statistical_Definition_of_Entropy)</sup> 计数值随系统尺寸迅速增长：对于粒子数超过 \( 10^{20} \) 的宏观系统，微观状态数变得极其巨大，而最概然分布占据压倒性优势。<sup>[9](https://physicsbook.gatech.edu/Entropy)</sup>

## 熵变与第二定律

熵是态函数，熵变是终态值与初态值之差：<sup>[1](https://chem-textbook.ucalgary.ca/version2/chapter-5-introduction/entropy/entropy-and-microstates/)</sup>

\[ \Delta S = S_f - S_i = k \ln \frac{W_f}{W_i} \]

使微观状态数增加的过程（\( W_f > W_i \)）给出 \( \Delta S > 0 \)，而使其减少的过程给出 \( \Delta S < 0 \)。在一个从1个微观状态变为6个微观状态的过程的算例中，\( \Delta S = 1.38 \times 10^{-23} \ \mathrm{J/K} \times \ln 6 = 2.47 \times 10^{-23} \ \mathrm{J/K} \)。<sup>[1](https://chem-textbook.ucalgary.ca/version2/chapter-5-introduction/entropy/entropy-and-microstates/)</sup>

这一分子尺度的图景把熵与概率联系起来。在统计力学的基本假设下，孤立系统的所有微观状态随时间推移出现的可能性相同，因此最概然宏观状态就是微观状态数最多的那个宏观状态。<sup>[9](https://physicsbook.gatech.edu/Entropy)</sup> 该公式还解释了为什么自发逆转即使不被运动定律禁止也从未被观察到：对于被限制在盒子一半中的理想气体，找到全部 \( N \) 个分子都回到那一半的概率是 \( (1/2)^N \)，因此对于 \( N \sim 10^{23} \)，需要等待的时间是宇宙当前年龄的许多倍；即便对于 \( N = 100 \)，概率也在 \( 10^{-30} \) 的数量级。<sup>[7](https://chem.libretexts.org/Courses/New_York_University/CHEM-UA_652%3A_Thermodynamics_and_Kinetics/01%3A_Lectures/1.02%3A_Ideal_gas_law_introduction_to_statistical_mechanics_and_the_microcanonical_ensemble)</sup>

## 与其他熵定义的关系

吉布斯熵 \( S = -k \sum_i p_i \ln p_i \) 是定义在微观状态的概率分布之上，而非计数之上。在微正则系综中，所有可及微观状态等概率，即 \( p_i = 1/\Omega \)，吉布斯公式精确约化为玻尔兹曼形式 \( S = k \ln \Omega \)。<sup>[10](https://courses.washington.edu/ee567/handouts/entropy.pdf)</sup> 在这一特殊情形之外，两种定义并不相同，而对于小系统比较玻尔兹曼熵与吉布斯熵，至今仍是统计力学基础中的一个活跃课题。<sup>[3](https://doi.org/10.3390/E17041971)</sup>

该公式还与信息论相关联。香农熵与吉布斯熵具有相同的函数形式，只差一个常数因子；而香农的公式早在19世纪末就已由玻尔兹曼作为热力学系统的无序度量而发展出来；当 \( k \) 取为1且所有状态等概率时，\( S = \log W = -\log p \)。<sup>[10](https://courses.washington.edu/ee567/handouts/entropy.pdf)</sup><sup> • </sup><sup>[11](https://csc.ucdavis.edu/~cmg/papers/DPFThesis.pdf)</sup> 概率分布（吉布斯）、量子系统（冯·诺依曼）和信息论（香农）中相关的熵定义，都可以追溯到玻尔兹曼熵。<sup>[12](https://interactivetextbooks.tudelft.nl/NB2220/content/Exercise_set_4.html)</sup>

## 历史

在卡诺和克劳修斯的工作之后，玻尔兹曼建立了一个分子尺度的统计模型，把熵与可能的微观状态数联系起来。<sup>[1](https://chem-textbook.ucalgary.ca/version2/chapter-5-introduction/entropy/entropy-and-microstates/)</sup> 1877年，他想像出一种概率方法来测量理想气体粒子系综的熵，把熵定义为与气体所能占据的微观状态数之对数成正比；他1877年的论文首次确立了熵和第二定律的概率基础。<sup>[5](https://bingweb.binghamton.edu/~suzuki/GeneralPhysNote_PDF/LN20Sv6.pdf)</sup><sup> • </sup><sup>[3](https://doi.org/10.3390/E17041971)</sup> 在他1896年的《气体理论讲义》中，他表明该表达式给出了原子和分子气相系统的熵度量，与经典热力学的熵相符。<sup>[5](https://bingweb.binghamton.edu/~suzuki/GeneralPhysNote_PDF/LN20Sv6.pdf)</sup>

常数k是后来添加的。尽管该方程和常数出现在玻尔兹曼的墓碑上，但常数 \( k \) 和写出的方程 \( S = k \log W \) 是由马克斯·普朗克（Max Planck）在其1900年关于黑体辐射的论文中引入的，同一篇论文还引入了常数 \( h \) 和关系式 \( e = hf \)。玻尔兹曼于1906年在维也纳去世，如今铭刻在他墓碑上的公式正是普朗克写下的形式。<sup>[4](https://www.phys.unsw.edu.au/~jw/entropy.html)</sup><sup> • </sup><sup>[13](https://web.mit.edu/16.unified/www/FALL/thermodynamics/notes/node57.html)</sup>

## References

1. [Entropy and Microstates, UCalgary Chemistry Textbook](https://chem-textbook.ucalgary.ca/version2/chapter-5-introduction/entropy/entropy-and-microstates/)
2. [CODATA Value: Boltzmann constant, NIST](https://physics.nist.gov/cgi-bin/cuu/Value?k%7Csearch_for=Boltzmann)
3. [Translation of Ludwig Boltzmann's 1877 Paper, Entropy (MDPI)](https://doi.org/10.3390/E17041971)
4. [Entropy and disorder. Does entropy have dimensions?, UNSW Physics](https://www.phys.unsw.edu.au/~jw/entropy.html)
5. [Lecture Note 20S: Entropy, Introduction to Statistical Mechanics, Binghamton University](https://bingweb.binghamton.edu/~suzuki/GeneralPhysNote_PDF/LN20Sv6.pdf)
6. [The Boltzmann Distribution and the Statistical Definition of Entropy, Chemistry LibreTexts](https://chem.libretexts.org/Courses/Western_Washington_University/Biophysical_Chemistry_%28Smirnov_and_McCarty%29/01%3A_Biochemical_Thermodynamics/1.05%3A_The_Boltzmann_Distribution_and_the_Statistical_Definition_of_Entropy)
7. [Ideal gas law, statistical mechanics, and the microcanonical ensemble, Chemistry LibreTexts (NYU)](https://chem.libretexts.org/Courses/New_York_University/CHEM-UA_652%3A_Thermodynamics_and_Kinetics/01%3A_Lectures/1.02%3A_Ideal_gas_law_introduction_to_statistical_mechanics_and_the_microcanonical_ensemble)
8. [Ambaum, Thermal Physics of the Atmosphere, Chapter 2: Boltzmann entropy](https://jontalle.web.engr.illinois.edu/Public/BOOKS/Ambaum-ThermalPhysicsAtmosphere.10.pdf)
9. [Entropy, Georgia Tech Physics Book](https://physicsbook.gatech.edu/Entropy)
10. [Machta, Entropy, information, and computation, American Journal of Physics 67, 1074 (1999)](https://courses.washington.edu/ee567/handouts/entropy.pdf)
11. [Shannon Entropy and Its Variants, UC Davis thesis](https://csc.ucdavis.edu/~cmg/papers/DPFThesis.pdf)
12. [Boltzmann statistics and entropy, NB2220 Statistical Physics, TU Delft](https://interactivetextbooks.tudelft.nl/NB2220/content/Exercise_set_4.html)
13. [The Statistical Definition of Entropy and Randomness, MIT 16 Unified Thermodynamics notes](https://web.mit.edu/16.unified/www/FALL/thermodynamics/notes/node57.html)
14. [1 The Fundamentals of Statistical Mechanics‣ Statistical Physics by David Tong](https://www.damtp.cam.ac.uk/user/tong/statphys/statmechhtml/S1.html)

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

Topic: 物质世界与数学 › 物理学 › 经典物理学 › Thermodynamics › Statistical mechanics and kinetic theory › Entropy, microstates, and information-theoretic links

Copyright 2026 Edgepedia

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

Source: https://www.edgepedia.org/zh/boltzmanns-entropy-formula

English original: https://www.edgepedia.org/boltzmanns-entropy-formula
