where U R ( s i ) and E ( s i ) denote the energies of the reservoir and the system at s i , respectively. For the second equality we have used the conservation of energy. Substituting into the first equation relating P ( s 1 ) , P ( s 2 ) :