# Hard hexagon model

In statistical mechanics, the hard hexagon model is a 2-dimensional lattice model of a gas, where particles are allowed to be on the vertices of a triangular lattice but no two particles may be adjacent.
The model was solved by Baxter (1980), who found that it was related to the Rogers–Ramanujan identities.

## The partition function of the hard hexagon model

The hard hexagon model occurs within the framework of the grand canonical ensemble, where the total number of particles (the "hexagons") is allowed to vary naturally, and is fixed by a chemical potential. In the hard hexagon model, all valid states have zero energy, and so the only important thermodynamic control variable is the ratio of chemical potential to temperature μ/(kT). The exponential of this ratio, z = exp(μ/(kT)) is called the activity and larger values correspond roughly to denser configurations.
For a triangular lattice with N sites, the grand partition function is
    $\displaystyle {\mathcal {Z}}(z)=\sum _{n}z^{n}g(n,N)=1+Nz+{\tfrac {1}{2}}N(N-7)z^{2}+\cdots$
where g(n, N) is the number of ways of placing n particles on distinct lattice sites such that no 2 are adjacent. The function κ is defined by
    $\kappa (z)=\lim _{N\rightarrow \infty }{\mathcal {Z}}(z)^{1/N}=1+z-3z^{2}+\cdots$
so that log(κ) is the free energy per unit site. Solving the hard hexagon model means (roughly) finding an exact expression for κ as a function of z.
The mean density ρ is given for small z by
    $\rho =z{\frac {d\log(\kappa )}{dz}}=z-7z^{2}+58z^{3}-519z^{4}+4856z^{5}+\cdots .$
The vertices of the lattice fall into 3 classes numbered 1, 2, and 3, given by the 3 different ways to fill space with hard hexagons. There are 3 local densities ρ$_1$, ρ$_2$, ρ$_3$, corresponding to the 3 classes of sites. When the activity is large the system approximates one of these 3 packings, so the local densities differ, but when the activity is below a critical point the three local densities are the same. The critical point separating the low-activity homogeneous phase from the high-activity ordered phase is $z_{c}=(11+5{\sqrt {5}})/2=\phi ^{5}=11.09017....$ with golden ratio φ. Above the critical point the local densities differ and in the phase where most hexagons are on sites of type 1 can be expanded as
    $\rho _{1}=1-z^{-1}-5z^{-2}-34z^{-3}-267z^{-4}-2037z^{-5}-\cdots$
    $\rho _{2}=\rho _{3}=z^{-2}+9z^{-3}+80z^{-4}+965z^{-5}-\cdots .$

## Solution

The solution is given for small values of z < z$_c$ by
    $\displaystyle z={\frac {-xH(x)^{5}}{G(x)^{5}}}$
    $\kappa ={\frac {H(x)^{3}Q(x^{5})^{2}}{G(x)^{2}}}\prod _{n\geq 1}{\frac {(1-x^{6n-4})(1-x^{6n-3})^{2}(1-x^{6n-2})}{(1-x^{6n-5})(1-x^{6n-1})(1-x^{6n})^{2}}}$
    $\rho =\rho _{1}=\rho _{2}=\rho _{3}={\frac {-xG(x)H(x^{6})P(x^{3})}{P(x)}}$
where
    $G(x)=\prod _{n\geq 1}{\frac {1}{(1-x^{5n-4})(1-x^{5n-1})}}$
    $H(x)=\prod _{n\geq 1}{\frac {1}{(1-x^{5n-3})(1-x^{5n-2})}}$
    $P(x)=\prod _{n\geq 1}(1-x^{2n-1})=Q(x)/Q(x^{2})$
    $Q(x)=\prod _{n\geq 1}(1-x^{n}).$
For large z > z$_c$ the solution (in the phase where most occupied sites have type 1) is given by
    $\displaystyle z={\frac {G(x)^{5}}{xH(x)^{5}}}$
    $\kappa =x^{-{\frac {1}{3}}}{\frac {G(x)^{3}Q(x^{5})^{2}}{H(x)^{2}}}\prod _{n\geq 1}{\frac {(1-x^{3n-2})(1-x^{3n-1})}{(1-x^{3n})^{2}}}$
    $\rho _{1}={\frac {H(x)Q(x)(G(x)Q(x)+x^{2}H(x^{9})Q(x^{9}))}{Q(x^{3})^{2}}}$
    $\rho _{2}=\rho _{3}={\frac {x^{2}H(x)Q(x)H(x^{9})Q(x^{9})}{Q(x^{3})^{2}}}$
    $R=\rho _{1}-\rho _{2}={\frac {Q(x)Q(x^{5})}{Q(x^{3})^{2}}}.$
The functions G and H turn up in the Rogers–Ramanujan identities, and the function Q is the Euler function, which is closely related to the Dedekind eta function. If x = e$^{2πiτ}$, then x$^{−1/60}$G(x), x$^{11/60}$H(x), x$^{−1/24}$P(x), z, κ, ρ, ρ$_1$, ρ$_2$, and ρ$_3$ are modular functions of τ, while x$^{1/24}$Q(x) is a modular form of weight 1/2. Since any two modular functions are related by an algebraic relation, this implies that the functions κ, z, R, ρ are all algebraic functions of each other (of quite high degree) (Joyce 1988). In particular, the value of κ(1), which Eric Weisstein dubbed the hard hexagon entropy constant (Weisstein), is an algebraic number of degree 24 equal to 1.395485972... (OEIS: A085851).

## Related models

The hard hexagon model can be defined similarly on the square and honeycomb lattices. No exact solution is known for either of these models, but the critical point z$_c$ is near 3.7962±0.0001 for the square lattice and 7.92±0.08 for the honeycomb lattice; κ(1) is approximately 1.503048082... (OEIS: A085850) for the square lattice and 1.546440708... for the honeycomb lattice (Baxter 1999).