Table of Contents

1. Microstate

  • \(\psi_i\)
  • Because all \(\psi_i\) are indistinguishable, they are equally likely to occur.

2. Ensemble

2.1. Micro-Canonical Ensemble

2.1.1. Definition

  • The set of all microstates with the same energy.
  • \(\Omega(E)\) is the number of microstates in a micro-canonical ensemble with energy \(E\).

2.2. Canonical Ensemble

  • A system in thermal contact with a heat reservoir.

2.3. Grand Canonical Ensemble

  • A system thermally and molecularly open to its environment.

3. Macrostate

  • Many microstates can have the same macrostate.

4. Boltzmann Distribution

  • Named after Ludwig Eduard Boltzmann.
  • Probability distribution of microstates, given macrostate under thermal equilibrium.
  • Thermal equilibrium is achieved when the probability distribution becomes time independent.

4.1. Derivation

  • Let the closed system \(\psi_i\) have the energy of \(E_i\), and the system is within the environment with the energy of \(E_{\rm env}\). The total energy is \(E_i + E_{\rm env} = E\).
  • \(P(\psi_i)\) is proportional to the number of microstates of environment \(\Psi_I\), consistent with \(\psi_i\).
    • \[ P(\psi_i) \propto \Omega(E_{\rm env}) = \Omega(E - E_i) \]
  • Taylor expand at \(E\), then truncate it under the assumption \(E,E_{\rm env} \gg E_i\) \[ \ln(\Omega(E-E_i)) \rightsquigarrow \ln(\Omega(E)) - \frac{\partial \ln(\Omega(E))}{\partial E}E_i \]
    • \(\frac{\displaystyle\partial f(E)}{\displaystyle \partial E}\) represents the derivative evaluated at \(E\).
    • Therefore, \[ P(\psi_i) \propto \exp\left(-\frac{\partial \ln(\Omega(E))}{\partial E}E_i\right) \]
    • Introduce \[ \beta = \frac{1}{k_B T} = \frac{\partial \ln(\Omega(E))}{\partial E} \]
    • Finally, \[ P(\psi_i) = \frac{1}{Z}\exp(-\beta E_i) \] where \(Z\) is the normalizing factor which is the sum of Boltzmann weight of every state.
    • \(\psi_i\) is in the canonical ensemble by definition.

4.2. Open System

  • \[ P(\psi_i) \propto \Omega(E-E_i, N-N_i) \]
    • The Taylor expansion then becomes \[ \ln(\Omega(E-E_i,N-N_i)) \approx \ln(\Omega(E,N)) - \frac{\partial \ln(\Omega(E,N))}{\partial E}E_i - \frac{\partial \ln(\Omega(E,N))}{\partial N}N_i. \]
    • Introduce the chemical potential \[ \beta\mu = - \frac{\partial \ln(\Omega(E,N))}{\partial N}. \]
      • Negative sign is included to make the particles flow from the higher potential area to the lower potential area.
      • It is more negative when the entropy is more variable per molecule transfer.
    • Finally, \[ P(\psi_i) = \frac{1}{Z}\exp(-\beta E_i + \beta\mu N_i) \]

4.3. Multiple Chemicals

  • \[ P(\psi_i) = \frac{1}{Z}\exp(-\beta E_i + \beta\sum_j\mu_j N_i^{(j)}) \] where \(N_i^{(j)}\) each represent a unique chemical.

5. Entropy

\[ S := k\ln \Omega \]

6. Temperature

  • It tells how little the entropy changes due to the change in energy.

6.1. Definition

\[ \frac{1}{T} = \frac{\partial S(E)}{\partial E} \]

7. Partition Function

7.1. Definition

\[ Z = \sum_i \exp(-\beta E_i) \]

It contains the information of all the microstates available at thermal equillibrium.

\[ Z = \frac{\Omega(E)}{\Omega_{\rm env}(E)} \]

8. Macroscopic Quantity

  • Macroscopic quantity is the average of microscopic quantities within the ensemble.
  • \[ X \equiv \langle X_i \rangle = \sum_i P(\psi_i) X_i \]

8.1. Number

\begin{align*} N =& \sum_i P(\psi_i)N_i\\ =& \frac{1}{\beta}\sum_i \frac{1}{Z} \frac{\partial}{\partial \mu}\exp(-\beta E_i + \beta\mu N_i) \\ =& \frac{1}{\beta}\frac{\partial}{\partial \mu} \ln Z \end{align*}

8.2. Internal Energy

\begin{align*} U =& \frac{1}{Z}\sum_i -\left( \frac{\partial}{\partial \beta} \exp(-\beta E_i + \beta \mu N_i)\right)_{\mu} + \mu N\\ =& -\left(\frac{\partial}{\partial \beta} \ln Z\right)_{\mu} + \mu N \end{align*}

8.3. Pressure

\begin{align*} P =& \sum_i P(\psi_i) \left(-\frac{\partial E_i}{\partial V}\right)\\ =& \frac{1}{Z}\left( \frac{1}{\beta}\frac{\partial}{\partial V}\right) \sum_i \exp(-\beta E_i + \beta\mu N_i)\\ =& \frac{1}{\beta}\frac{\partial}{\partial V} \ln Z \end{align*}

8.4. Energy

  • When we do not care about \(N\), we can set \(\mu = 0\).
\begin{align*} E =& \sum_i P(\psi_i)E_i\\ =& \frac{1}{Z}\sum_i -\frac{\partial}{\partial \beta} \exp(-\beta E_i)\\ =& -\frac{\partial}{\partial \beta} \ln Z \end{align*}

8.5. Energy Fluctuation

  • \[ \delta E^2 = \langle E_i^2\rangle - E^2 \]
  • \[ \delta E^2 = -\frac{\partial^2}{\partial\beta^2}\ln Z \]

9. The Law of Thermodynamics

9.1. Zeroth

  • Energy flows from the higher temperature to the lower temperature.
    • It is due to the entropy in the lower temperature part increases faster than it decreases in the higher temperature part.

9.2. First

  • \[ dE = TdS - PdV + \mu dN \]

9.3. Second

  • \[dS \ge 0\]

9.4. Third

  • \[ T = 0 \implies S = 0 \]

Created: 2025-05-25 Sun 03:19