Canonical ensemble and partition function
Assumption
- Microstate ID -
- Occupancy -
- Energy -
- Total energy
- Total occupancy
Target
We want to find for -th microstates that maximizes maximize entropy
Derivation
Use the Lagrange multiplier method, (note here we have equations…)
With Sterling’s approximation, we have
Then we will have
This is also how we get the partition function .
We will realize that .