Model: 
Consider a system with  spins in a row.
 spins in a row.
The energy of the system will be given by
 ,
, 
where each variable  can be either -1 or +1.
 can be either -1 or +1.
The partition function of the system will be:
![{\displaystyle Q_{N}=\sum _{\Omega ^{N}}\exp \left[K\sum _{i=1}^{N-1}S_{i}S_{i+1}\right]}](https://wikimedia.org/api/rest_v1/media/math/render/svg/a1419d045395f90f5727c9e80f5550a0aa103109) ,
, 
where  represents the possible configuration of the N spins of the system,
and
 represents the possible configuration of the N spins of the system,
and  
to be continued ...