# The Canonical Ensemble This framework describes a system in thermal equilibrium with a heat reservoir. Unlike the Microcanonical ensemble (fixed \(E\)), here the Temperature \(T\) is fixed, and energy fluctuates. 1. Derivation of the Canonical Probability System Setup We consider a composite system \(A^0\) which is isolated (Microcanonical) with total energy \(E^0\). It is divided into two parts: System \(A\): The small system of interest (energy \(E_r\)). Reservoir \(A'\): A large heat bath (energy \(E'\)). The conservation of energy requires: \( E_r + E' = E^0 \implies E' = E^0 - E_r \). The Probability Condition We ask: What is the probability \(P_r\) of finding system \(A\) in a specific microstate \(r\) with energy \(E_r\)? According to the principle of equal a priori probability, \(P_r\) is proportional to the number of microstates available to the reservoir when system \(A\) is in state \(r...