First Law of Thermodynamics
Idea
We can deduce the First Law of Thermodynamics directly from the principle of maximum entropy in Classical Statistical Mechanics.
The usual thermodynamic statement,
emerges naturally when entropy is maximized subject to multiple constraints.
Related: entropy#Important relation.
Setup
- Consider a system with state space
. - Assign functions:
- Energy:
- Volume:
- Energy:
- For a probability distribution
, define: - Shannon entropy:
- Expected values:
Maximizing Entropy with Two Constraints
- Suppose we only know
and . - By the principle of maximum entropy, the “best” distribution
maximizes under these constraints. - Introducing Lagrange multipliers
, one finds:
From Information Theory to Thermodynamics
- Replace Shannon entropy by Gibbs entropy:
- Solve for
: - Define temperature and pressure as:
- The relation becomes:
Interpretation
This equation decomposes changes in the system’s expected energy into two distinct parts:
- Controlled work:
, coming from macroscopic parameters we can manipulate directly. An increase in volume yields work in the surroundings, which translates into an energy reduction. - Non-controlled contribution:
, the part of the energy change not associated with mechanical work. Traditionally, thermodynamics calls this non-controlled part heat, but more generally it represents any mechanism that increases entropy and contributes to the energy balance without being controlled work.
Relation to the Classical First Law
In classical thermodynamics, the First Law says that
energy is conserved: it can change form but is neither created nor destroyed.
- Here,
tracks the change in expected energy. - The balance shows that such changes always decompose into:
- work done through controllable variables,
- plus non-controlled contributions tied to entropy.
Thus the statistical mechanics formulation recovers the First Law as a precise statement of conservation of energy.