summaryrefslogtreecommitdiff
path: root/content/know/concept/microcanonical-ensemble/index.pdc
blob: 16628b843d3f9533367e0725b7848941f5b2ec14 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
---
title: "Microcanonical ensemble"
firstLetter: "M"
publishDate: 2021-07-09
categories:
- Physics
- Thermodynamics
- Thermodynamic ensembles

date: 2021-07-08T11:00:59+02:00
draft: false
markup: pandoc
---

# Microcanonical ensemble

The **microcanonical** or **NVE ensemble** is a statistical model
of a theoretical system with constant internal energy $U$,
volume $V$, and particle count $N$.

Consider a box with those properties.
We now put an imaginary rigid wall inside the box,
thus dividing it into two subsystems $A$ and $B$,
which can exchange energy (i.e. heat), but no particles.
At any time, $A$ has energy $U_A$, and $B$ has $U_B$,
so that in total $U = U_A \!+\! U_B$.

The particles in each subsystem are in a certain **microstate** (configuration).
For a given $U$, there is a certain number $c$
of possible whole-box microstates with that energy, given by:

$$\begin{aligned}
    c(U)
    = \sum_{U_A \le U} c_A(U_A) \: c_B(U - U_A)
\end{aligned}$$

Where $c_A$ and $c_B$ are the numbers of subsystem microstates
at the given energy levels.

The core assumption of the microcanonical ensemble
is that each of these microstates has the same probability $1 / c$.
Consequently, the probability of finding an energy $U_A$ in $A$ is:

$$\begin{aligned}
    p_A(U_A)
    = \frac{c_A(U_A) \: c_B(U - U_A)}{c(U)}
\end{aligned}$$

If a certain $U_A$ has a higher probability,
then there are more $A$-microstates with that energy,
so, statistically, for an *ensemble* of many boxes,
we expect that $U_A$ is more common.

The maximum of $p_A$ will be the most common in the ensemble.
Assuming that we have given the boxes enough time to settle,
we go one step further,
and refer to this maximum as "equilibrium".
In other words, the subsystem microstates at equilibrium
are maxima of $p_A$ and $p_B$.

We only need to look at $p_A$.
Clearly, a maximum of $p_A$ is also a maximum of $\ln p_A$:

$$\begin{aligned}
    \ln p_A(U_A)
    = \ln{c_A(U_A)} + \ln{c_B(U - U_A)} - \ln{c(U)}
\end{aligned}$$

Here, in the quantity $\ln{c_A}$,
we recognize the definition of
the entropy $S_A \equiv k \ln{c_A}$,
where $k$ is Boltzmann's constant.
We thus multiply by $k$:

$$\begin{aligned}
    k \ln p_A(U_A)
    = S_A(U_A) + S_B(U - U_A) - k \ln{c(U)}
\end{aligned}$$

Since entropy is additive over subsystems,
the total is $S = S_A + S_B$.
To reach equilibrium, we are thus
**maximizing the total entropy**,
meaning that $S$ is the [thermodynamic potential](/know/concept/thermodynamic-potential/)
that corresponds to the microcanonical ensemble.

For our example, maximizing gives the following,
more concrete, equilibrium condition:

$$\begin{aligned}
    0
    = k \dv{(\ln{p_A})}{U_A}
    = \pdv{S_A}{U_A} + \pdv{S_B}{U_A}
    = \pdv{S_A}{U_A} - \pdv{S_B}{U_B}
\end{aligned}$$

By definition, the energy-derivative of the entropy
is the reciprocal temperature $1 / T$.
In other words,
equilibrium is reached when both subsystems
are at the same temperature:

$$\begin{aligned}
    \frac{1}{T_A}
    = \pdv{S_A}{U_A}
    = \pdv{S_B}{U_B}
    = \frac{1}{T_B}
\end{aligned}$$

Recall that our partitioning into $A$ and $B$ was arbitrary,
meaning that, in fact, the temperature $T$ must be uniform in the whole box.
We get this specific result because
heat was the only thing that $A$ and $B$ could exchange.

The point is that the most likely state of the box
maximizes the total entropy $S$.
We also would have reached that conclusion
if our imaginary wall was permeable and flexible,
i.e if it allowed changes in volume $V_A$ and particle count $N_A$.



## References
1.  H. Gould, J. Tobochnik,
    *Statistical and thermal physics*, 2nd edition,
    Princeton.