Microcanonical ensemble: In a system of N two-level particles
(e.g., N spins that can be up or down) each particles can be assumed to
be either in the ground state with energy equal to zero, or in the excited
state with energy
.
The total internal energy is
![]() |
(50) |
where
and
is the number of particels with energy
.
The number of possible states
with energy
,
![]() |
(51) |
determines the entropy of the system according to Eq. (46),
| (52) |
and, therefore, the average temperature
of the system according to Eq. (39),
ln |
(53) |
since according to the Stirling formula,
| ln |
(54) |
ln
ln
,
etc. Therefore,
![]() |
(55) |
or
ln
ln![]() |
(56) |
Thus,
exp![]() |
(57) |
and, therefore, the internal energy
is obtained as follows,
![]() |
(58) |
Canonical Ensemble: The partition function of the canonical ensemble is
![]() |
(59) |
Therefore,
| ln |
(60) |
and
![]() |
(61) |
which coincides with Eq. (58).