Transfer Matrix Formalism for Lattice Models

Statistical mechanics on a lattice usually means summing the Boltzmann weight e−βEe^{-\beta E} over an astronomically large set of configurations — 2N2^N of them for NN Ising spins. The transfer matrix is the trick that tames this sum exactly whenever the interactions are short-ranged. Its one idea is that a nearest-neighbour Boltzmann weight is a product of local bond factors, and any product can be read as a chain of matrix multiplications once you group the degrees of freedom into "slices" — single sites in one dimension, whole rows or columns in two. Define a matrix TT whose entry Ts,s′T_{s,s'} is the weight linking slice ss to the next slice s′s', and the partition function collapses to a trace of a matrix power, Z=Tr TNZ=\mathrm{Tr}\,T^{N}. That single identity converts thermodynamics into linear algebra. In the eigenbasis Z=∑αλαNZ=\sum_\alpha \lambda_\alpha^{N}, so as N→∞N\to\infty the largest eigenvalue λ0\lambda_0 alone fixes the bulk free energy f=−kBTln⁡λ0f=-k_BT\ln\lambda_0, while the ratio of the two leading eigenvalues sets the correlation length, ξ−1=ln⁡(λ0/λ1)\xi^{-1}=\ln(\lambda_0/\lambda_1). A phase transition — a diverging ξ\xi and a non-analytic ff — therefore demands that the top two eigenvalues become degenerate. In one dimension this can never happen at finite temperature: a finite, strictly positive TT is governed by the Perron–Frobenius theorem, which guarantees a unique largest eigenvalue that varies analytically with temperature. That is the cleanest proof that 1D short-range systems do not order. The formalism is far more than a one-dimensional convenience. Onsager's exact solution of the two-dimensional Ising model is the diagonalization of a 2L×2L2^L\times2^L row-to-row transfer matrix, recognised as the exponential of a free-fermion Hamiltonian. Writing T=e−τH^T=e^{-\tau\hat H} quite generally exhibits a dd-dimensional classical model as a (d−1)(d{-}1)-dimensional quantum system evolving in imaginary time — the quantum-to-classical mapping at the heart of modern condensed-matter theory and lattice field theory. Here we build TT explicitly, prove Z=Tr TNZ=\mathrm{Tr}\,T^{N}, extract the free energy and correlations from the spectrum, and use Perron–Frobenius to close the case on one-dimensional order.

Key takeaways
  • The transfer matrix TT stores the Boltzmann weight coupling adjacent lattice slices, so a chain of NN slices has Z=Tr TNZ=\mathrm{Tr}\,T^{N} (periodic) — an exact matrix identity replacing an exponential sum.
  • Thermodynamics is spectral: the free energy per slice is f=−kBTln⁡λ0f=-k_BT\ln\lambda_0 with λ0\lambda_0 the largest eigenvalue, and correlations decay as (λ1/λ0)r=e−r/ξ(\lambda_1/\lambda_0)^r=e^{-r/\xi} with ξ−1=ln⁡(λ0/λ1)\xi^{-1}=\ln(\lambda_0/\lambda_1).
  • Perron–Frobenius: a finite, strictly positive TT has a unique, simple largest eigenvalue, so ff is analytic and no phase transition occurs in any finite-range, finite-state 1D model at T>0T>0.
  • Criticality is eigenvalue degeneracy: ξ→∞\xi\to\infty precisely when the gap λ0−λ1\lambda_0-\lambda_1 closes, which needs an infinite matrix (2D, L→∞L\to\infty) or T=0T=0.
  • T=e−τH^T=e^{-\tau\hat H} maps a dd-dimensional classical model to a (d−1)(d{-}1)-dimensional quantum one; the 1D classical Ising chain becomes a single spin in a transverse field.
  • Key idea: A short-range Boltzmann weight factorizes into a product of identical slice matrices TT, so Z=Tr TNZ=\mathrm{Tr}\,T^{N} and every thermodynamic and correlation property is read directly off the spectrum of TT.
The core insight

A short-range Boltzmann weight factorizes into a product of identical slice matrices TT, so Z=Tr TNZ=\mathrm{Tr}\,T^{N}; the largest eigenvalue λ0\lambda_0 gives the bulk free energy f=−kBTln⁡λ0f=-k_BT\ln\lambda_0, the eigenvalue ratio gives the correlation length ξ−1=ln⁡(λ0/λ1)\xi^{-1}=\ln(\lambda_0/\lambda_1), and Perron–Frobenius forbids a finite-temperature transition in one dimension.

Where this lives today

The transfer matrix is a working tool, not a museum piece. Density-matrix renormalization group (DMRG) and its modern tensor-network descendants — matrix product states, PEPS, the transfer-matrix renormalization group — are all built on the observation that a good approximation to the leading eigenvector of a (possibly enormous) transfer matrix captures the bulk physics. The same T=e−τH^T=e^{-\tau\hat H} mapping underlies the Suzuki–Trotter decomposition used in quantum Monte Carlo, turning a dd-dimensional quantum simulation into a (d+1)(d{+}1)-dimensional classical one. In soft matter, one-dimensional transfer matrices over a handful of internal states model helix–coil transitions in polypeptides, DNA melting, and adsorption on a line, where the apparent sharpness of a finite-chain "transition" is just one eigenvector overtaking another as the temperature is swept.

The physical picture

Picture sweeping through the lattice one slice at a time, carrying a "state vector" that records the configuration of the current boundary. The transfer matrix is the update rule: hand it the boundary state and it returns the weighted superposition of states one step further along. The partition function is the total amplitude for returning to where you started — the trace — summed over every intermediate boundary. In this picture TT is a discrete evolution operator in an "imaginary time" that runs along the lattice, and just as a quantum propagator is dominated at long times by its lowest-energy state, TNT^{N} is dominated by the eigenvector of largest eigenvalue: the analogue of a ground state.

Figure
Slice-by-slice transfer: Z = Tr Tᴺ closes the chain into a trace
Each bond is one matrix T; the ring of N bonds is a trace s₁s₂s₃s₄s₅ TTTT periodic bond T (closes the ring) Z = Σ over configs of ∏ᵢ T(sᵢ,sᵢ₊₁) = Tr Tᴺ an exponential sum becomes one matrix power

Correlations decay because the excited states — the subleading eigenvalues — are exponentially suppressed with distance. A phase transition is a competition for dominance: when the top two eigenvalues approach equality the system cannot decide between two "ground states" (say up- and down-magnetized), correlations stop decaying, and order can spontaneously appear. In one dimension the Perron–Frobenius theorem forbids that tie at any finite temperature; in two dimensions the matrix grows without bound as the row length L→∞L\to\infty, the theorem loses its grip, and the tie becomes possible — but only exactly at TcT_c.

Figure
The eigenvalue gap decides: open gap ⇒ finite ξ (no transition); gap closes ⇒ ξ → ∞ (criticality)
λ₀ isolated ⇒ ξ finite ⇒ analytic f · λ₁ → λ₀ ⇒ ξ → ∞ ⇒ transition temperature → λ λ₀ (Perron–Frobenius: unique, positive) λ₁ (stays below in 1D: gap ξ⁻¹ = ln(λ₀/λ₁) > 0) 2D: λ₁ → λ₀ at T_c ⇒ ξ → ∞ gap open at every finite T (1D) · gap closes only for an infinite matrix (2D)

The core equations

The whole method rests on one rewriting: a nearest-neighbour Boltzmann weight is a product of bond factors, and summing over internal slice variables executes matrix multiplication. For a ring of NN slices this closes into a trace.

Z=∑{s}∏i=1NTsi,si+1=Tr TN,sN+1≡s1(1)Z=\sum_{\{s\}}\prod_{i=1}^{N} T_{s_i,s_{i+1}} = \mathrm{Tr}\,T^{N},\qquad s_{N+1}\equiv s_1 \qquad (1)

where: ZZ is the canonical partition function; sis_i the state on slice ii (taking qq values); Ts,s′T_{s,s'} the transfer-matrix element — the Boltzmann weight linking adjacent slices; NN the number of slices. Physically, summing over an internal index is a matrix product, and the periodic boundary condition glues the two ends into a trace. For the one-dimensional Ising chain the slice is a single spin and the matrix is 2×22\times2. Splitting the field term symmetrically between the two bonds that meet at each site keeps TT symmetric.

Ts,s′=exp⁡ ⁣[βJ s s′+βh2(s+s′)]  ⟹  T=(eβ(J+h)e−βJe−βJeβ(J−h))(2)T_{s,s'}=\exp\!\Big[\beta J\,s\,s'+\tfrac{\beta h}{2}(s+s')\Big]\;\Longrightarrow\; T=\begin{pmatrix} e^{\beta(J+h)} & e^{-\beta J} \\ e^{-\beta J} & e^{\beta(J-h)} \end{pmatrix} \qquad (2)

where: JJ is the exchange coupling, hh the external field, β=1/kBT\beta=1/k_BT, and the rows/columns are indexed by s=+1s=+1 (top/left) and s=−1s=-1. Physically, the diagonal entries reward aligned spins in the field while the off-diagonal e−βJe^{-\beta J} penalises a broken bond. Diagonalizing this symmetric matrix gives two real eigenvalues, whose closed form drives everything downstream.

λ±=eβJcosh⁡(βh)± e2βJsinh⁡2(βh)+e−2βJ (3)\lambda_\pm = e^{\beta J}\cosh(\beta h)\pm\sqrt{\,e^{2\beta J}\sinh^2(\beta h)+e^{-2\beta J}\,} \qquad (3)

where: λ+≡λ0\lambda_+\equiv\lambda_0 is the larger eigenvalue that fixes the free energy, and λ−≡λ1\lambda_-\equiv\lambda_1 the smaller one that fixes ξ\xi. At h=0h=0 they collapse to the memorable pair λ+=2cosh⁡βJ\lambda_+=2\cosh\beta J, λ−=2sinh⁡βJ\lambda_-=2\sinh\beta J. In the thermodynamic limit the trace ∑αλαN\sum_\alpha\lambda_\alpha^{N} is dominated by the top eigenvalue, so the bulk free energy per slice is set by λ0\lambda_0 alone.

f=−kBT lim⁡N→∞1Nln⁡Z=−kBT ln⁡λ0(4)f = -k_BT\,\lim_{N\to\infty}\frac{1}{N}\ln Z = -k_BT\,\ln\lambda_0 \qquad (4)

where: ff is the Helmholtz free energy per slice and λ0\lambda_0 the largest eigenvalue. Physically, every subleading eigenvalue enters only through ratios (λα/λ0)N→0(\lambda_\alpha/\lambda_0)^N\to0, so the bulk forgets them. The subleading eigenvalue is not idle: it controls the exponential decay of connected correlations, hence the correlation length.

⟨s0sr⟩c∼(λ1λ0)r=e−r/ξ,ξ−1=ln⁡ ⁣λ0λ1(5)\langle s_0 s_r\rangle_c \sim \Big(\frac{\lambda_1}{\lambda_0}\Big)^{r}=e^{-r/\xi},\qquad \xi^{-1}=\ln\!\frac{\lambda_0}{\lambda_1} \qquad (5)

where: ⟨s0sr⟩c\langle s_0 s_r\rangle_c is the connected two-point function at separation rr and ξ\xi the correlation length in lattice units. Physically, ξ\xi diverges if and only if the gap λ0−λ1\lambda_0-\lambda_1 closes — criticality is eigenvalue degeneracy. For a strictly positive finite matrix, the Perron–Frobenius theorem pins down that top eigenvalue and forbids the degeneracy at finite temperature.

Tij>0 ⟹ λ0>∣λα∣  (α≥1),v0>0 simple(6)T_{ij}>0\ \Longrightarrow\ \lambda_0>|\lambda_\alpha|\ \ (\alpha\ge1),\quad v_0>0\ \text{simple} \qquad (6)

where: v0v_0 is the eigenvector of λ0\lambda_0, all of whose components are positive, and "simple" means non-degenerate. Physically, the escape clauses are exactly where transitions live: an infinite matrix, a zero entry (a hard constraint or infinite coupling), or T=0T=0. Finally, exponentiating a Hamiltonian identifies the transfer matrix with imaginary-time quantum evolution one dimension down.

T=e−τH^ ⟺ H^=−1τln⁡T(7)T=e^{-\tau \hat H}\ \Longleftrightarrow\ \hat H=-\tfrac{1}{\tau}\ln T \qquad (7)

where: H^\hat H is the quantum transfer "Hamiltonian" in (d−1)(d{-}1) dimensions and τ\tau an effective imaginary-time step. Physically, Z=Tr TN=Tr e−NτH^Z=\mathrm{Tr}\,T^{N}=\mathrm{Tr}\,e^{-N\tau\hat H} is the imaginary-time partition function of a quantum system living in one fewer spatial dimension.

Derivation AFrom local Boltzmann weights to the trace identity

The goal is to prove the foundational identity Z=Tr TNZ=\mathrm{Tr}\,T^{N} for a periodic chain by reorganising the configuration sum into a matrix product, and to reduce it to the two-eigenvalue formula for the 1D Ising model. We start from the nearest-neighbour Hamiltonian on a ring, symmetrize the field term so the resulting matrix is symmetric and easily diagonalized, recognise each bond factor as a matrix element indexed by the two adjacent spins, and note that the sum over each internal spin is exactly one matrix multiplication. Closing the ring turns the chained product into a trace, and diagonalizing the resulting finite matrix gives ZZ as a sum of eigenvalue powers — the launching point for all the thermodynamics.

Step 1. Write the ring energy E=−J∑i=1Nsisi+1−h∑isiE=-J\sum_{i=1}^{N}s_is_{i+1}-h\sum_i s_i with sN+1=s1s_{N+1}=s_1, so each bond appears exactly once. Why: periodic boundary conditions make every site equivalent, which is what lets a single matrix TT act identically at every step.

Step 2. Symmetrize the field: E=−∑i[Jsisi+1+h2(si+si+1)]E=-\sum_i\big[Js_is_{i+1}+\tfrac{h}{2}(s_i+s_{i+1})\big], splitting each hsihs_i between its two adjoining bonds. Why: a symmetric TT has real eigenvalues and orthogonal eigenvectors, which we will use freely below.

Step 3. Identify the bond factor as a matrix element, Ts,s′=exp⁡[βJss′+βh2(s+s′)]T_{s,s'}=\exp[\beta J s s'+\tfrac{\beta h}{2}(s+s')], so the full Boltzmann weight is ∏iTsi,si+1\prod_i T_{s_i,s_{i+1}}. Why: the weight is now literally a product of identical matrices evaluated on successive index pairs.

Step 4. Chain the sum: Z=∑{s}∏iTsi,si+1=∑s1(TN)s1s1=Tr TNZ=\sum_{\{s\}}\prod_i T_{s_i,s_{i+1}}=\sum_{s_1}(T^{N})_{s_1 s_1}=\mathrm{Tr}\,T^{N}, because summing each internal sis_i contracts an index — a matrix multiplication — and the ring closes the ends. Why: this is the identity (1); it holds for any short-range model, not just Ising.

Step 5. Diagonalize the 2×22\times2 Ising TT: Tr TN=λ+N+λ−N\mathrm{Tr}\,T^{N}=\lambda_+^{N}+\lambda_-^{N} with λ±\lambda_\pm from equation (3). At h=0h=0 this is λ±=eβJ±e−βJ=2cosh⁡βJ,  2sinh⁡βJ\lambda_\pm=e^{\beta J}\pm e^{-\beta J}=2\cosh\beta J,\;2\sinh\beta J, so Z=(2cosh⁡βJ)N[1+tanh⁡NβJ]→(2cosh⁡βJ)NZ=(2\cosh\beta J)^{N}\big[1+\tanh^{N}\beta J\big]\to(2\cosh\beta J)^{N}. Why: the bracket tends to 1 because tanh⁡βJ<1\tanh\beta J<1, recovering the standard closed-form 1D partition function. *Verified: verify_aq-sm-transfer-matrix-formalism.py confirms λ±\lambda_\pm are the eigenvalues of TT (trace/determinant identities and a numeric (βJ,βh)(\beta J,\beta h) grid), the h=0h=0 limits 2cosh⁡βJ2\cosh\beta J and 2sinh⁡βJ2\sinh\beta J, and that 1Nln⁡Z→ln⁡λ+\tfrac1N\ln Z\to\ln\lambda_+.*

Go deeper · Derivation B · 1 minCorrelation function and the correlation length from the gap
Derivation BCorrelation function and the correlation length from the gap

The goal is to show that connected spin correlations decay exponentially and that the correlation length is the reciprocal log-ratio of the two largest eigenvalues, so that a diverging correlation length is exactly the closing of the spectral gap. We insert diagonal spin operators into the transfer-matrix product at two chosen sites, resolve the intermediate propagators in the eigenbasis of TT, take the thermodynamic limit so that only the dominant eigenvector survives in the long stretches, and subtract the disconnected part. What remains is a single geometric factor (λ1/λ0)r(\lambda_1/\lambda_0)^{r}, whose exponent defines ξ\xi; the whole construction pins criticality to eigenvalue degeneracy.

Step 1. Write ⟨s0sr⟩=1ZTr[σ^ Tr σ^ TN−r]\langle s_0 s_r\rangle=\frac{1}{Z}\mathrm{Tr}\big[\hat\sigma\,T^{r}\,\hat\sigma\,T^{N-r}\big] with σ^=diag(+1,−1)\hat\sigma=\mathrm{diag}(+1,-1) inserting the spin value at each chosen site. Why: a diagonal operator between transfer steps simply measures the slice variable there.

Step 2. Resolve in the eigenbasis {∣α⟩}\{|\alpha\rangle\} of TT: the trace becomes ∑αβ∣⟨α∣σ^∣β⟩∣2λβrλαN−r/∑αλαN\sum_{\alpha\beta}|\langle\alpha|\hat\sigma|\beta\rangle|^{2}\lambda_\beta^{r}\lambda_\alpha^{N-r}\big/\sum_\alpha\lambda_\alpha^{N}. Why: inserting complete sets ∑α∣α⟩⟨α∣\sum_\alpha|\alpha\rangle\langle\alpha| replaces matrix powers by eigenvalue powers.

Step 3. Take N→∞N\to\infty: only α=0\alpha=0 survives the long N−rN-r stretch, leaving ∣⟨0∣σ^∣0⟩∣2+∣⟨0∣σ^∣1⟩∣2(λ1/λ0)r|\langle0|\hat\sigma|0\rangle|^{2}+|\langle0|\hat\sigma|1\rangle|^{2}(\lambda_1/\lambda_0)^{r}. Why: every (λα≥1/λ0)N−r(\lambda_{\alpha\ge1}/\lambda_0)^{N-r} is exponentially small in NN, so the ground eigenvector dominates the bulk.

Step 4. Subtract the disconnected part ⟨s⟩2=∣⟨0∣σ^∣0⟩∣2\langle s\rangle^{2}=|\langle0|\hat\sigma|0\rangle|^{2}, leaving ⟨s0sr⟩c=∣⟨0∣σ^∣1⟩∣2e−rln⁡(λ0/λ1)\langle s_0 s_r\rangle_c=|\langle0|\hat\sigma|1\rangle|^{2}e^{-r\ln(\lambda_0/\lambda_1)}. Why: the constant piece is the square of the magnetization; the pure exponential is the connected correlation.

Step 5. Read off ξ=[ln⁡(λ0/λ1)]−1\xi=[\ln(\lambda_0/\lambda_1)]^{-1}. For the 1D Ising model at h=0h=0, λ1/λ0=tanh⁡βJ\lambda_1/\lambda_0=\tanh\beta J, so ξ=−1/ln⁡tanh⁡βJ\xi=-1/\ln\tanh\beta J, which grows as 12e2βJ\tfrac12 e^{2\beta J} as T→0T\to0 — diverging only at zero temperature. Why: the gap stays open at every finite TT, so the chain never develops long-range order except in the T→0T\to0 limit. *Verified: verify_aq-sm-transfer-matrix-formalism.py checks λ1/λ0=tanh⁡βJ\lambda_1/\lambda_0=\tanh\beta J, the closed form ξ=−1/ln⁡tanh⁡βJ\xi=-1/\ln\tanh\beta J, its low-TT asymptote 12e2βJ\tfrac12 e^{2\beta J}, and ⟨s0sr⟩=(tanh⁡βJ)r\langle s_0 s_r\rangle=(\tanh\beta J)^{r} (e.g. 0.154900.15490 at βJ=0.6, r=3\beta J=0.6,\,r=3).*

Go deeper · Derivation C · 2 minPerron–Frobenius forbids a 1D finite-temperature transition
Derivation CPerron–Frobenius forbids a 1D finite-temperature transition

The goal is to turn the positivity of the transfer matrix into a rigorous statement that the free energy of any finite-range, finite-state one-dimensional model is analytic in temperature, so no phase transition can occur for 0<T<∞0<T<\infty. We observe that every matrix element is a Boltzmann weight and therefore strictly positive at finite temperature, invoke the Perron–Frobenius theorem to conclude that the largest eigenvalue is unique, simple, real and positive with a strictly positive eigenvector, argue that a simple eigenvalue of a matrix with analytic entries is itself analytic so that no level crossing can develop, and finally read off that the free energy inherits this analyticity while the gap keeps the correlation length finite. The result identifies precisely the loopholes — infinite matrices and vanishing entries — through which real transitions enter.

Step 1. Positivity: Tss′=e−βEss′>0T_{ss'}=e^{-\beta E_{ss'}}>0 for every pair of slice states, because bond energies are finite at T>0T>0. Why: strict positivity is the single hypothesis the theorem needs.

Step 2. Perron–Frobenius: a finite strictly positive matrix has a unique largest eigenvalue λ0>∣λα∣\lambda_0>|\lambda_\alpha| that is real, simple, and has an all-positive eigenvector v0v_0. Why: uniqueness and simplicity are exactly what "no degeneracy" means spectrally.

Step 3. Analyticity: a simple eigenvalue of a matrix whose entries are analytic functions of β\beta is itself analytic — no level crossing is possible while the gap stays open. Why: eigenvalue collision (the source of non-analyticity) is precisely forbidden by simplicity.

Step 4. Smooth free energy: f(β)=−kBTln⁡λ0(β)f(\beta)=-k_BT\ln\lambda_0(\beta) is C∞C^\infty in 0<T<∞0<T<\infty; no singularity means no phase transition. For the Ising chain the gap is λ0−λ1=2e−βJ>0\lambda_0-\lambda_1=2e^{-\beta J}>0 at every finite temperature. Why: a transition requires a non-analyticity in ff, which cannot appear.

Step 5. Finite ξ\xi: λ1<λ0⇒ξ<∞\lambda_1<\lambda_0\Rightarrow\xi<\infty for all T>0T>0; long-range order is impossible except at T=0T=0 (gap →0\to0), for an infinite matrix (2D, L→∞L\to\infty), or for a matrix with a zero entry (hard constraint / infinite coupling). Why: those are exactly the settings where genuine transitions do occur, e.g. Onsager's 2D solution. *Verified: verify_aq-sm-transfer-matrix-formalism.py checks the gap 2e−βJ>02e^{-\beta J}>0 symbolically and on a grid, that λ+(h=0)=2cosh⁡βJ\lambda_+(h=0)=2\cosh\beta J is positive and entire so ln⁡λ+\ln\lambda_+ is analytic with dln⁡λ+/dβJ=tanh⁡βJ\mathrm{d}\ln\lambda_+/\mathrm{d}\beta J=\tanh\beta J (smooth and bounded), and it confirms the 2D loophole via sinh⁡(2βcJ)=1\sinh(2\beta_cJ)=1.*

Limiting cases

The spectrum controls the physics in each regime; the table reads off the correlation length and the presence or absence of a transition.

CaseResultMeaning
High temperature β→0\beta\to0λ1/λ0→0\lambda_1/\lambda_0\to0, ξ→0\xi\to0Couplings irrelevant; correlations die within one lattice spacing, fully disordered.
Low temperature β→∞\beta\to\infty (1D)λ1/λ0=tanh⁡βJ→1−\lambda_1/\lambda_0=\tanh\beta J\to1^-, ξ∼12e2βJ\xi\sim\tfrac12 e^{2\beta J}Near-degeneracy makes ξ\xi diverge, but only as T→0T\to0: the transition sits at zero temperature.
2D, L→∞L\to\infty rowsgap λ0−λ1→0\lambda_0-\lambda_1\to0 at T=TcT=T_cAn infinite-dimensional TT evades Perron–Frobenius simplicity; a genuine finite-TT transition (Onsager, kBTc/J=2/ln⁡(1+2)k_BT_c/J=2/\ln(1+\sqrt2)).
Perron–Frobenius regime (finite, Tij>0T_{ij}>0)λ0>∣λα∣\lambda_0>|\lambda_\alpha|, ξ<∞\xi<\inftyUnique non-degenerate top eigenvalue; analytic ff; no transition at T>0T>0.

Worked examples

Example 1 — the 1D Ising correlation length and where it diverges. For the zero-field Ising chain, compute the correlation length at βJ=0.6\beta J=0.6 and confirm it diverges only as T→0T\to0.

Step 1. At h=0h=0 the eigenvalues are λ0=2cosh⁡βJ\lambda_0=2\cosh\beta J and λ1=2sinh⁡βJ\lambda_1=2\sinh\beta J, so λ1/λ0=tanh⁡βJ\lambda_1/\lambda_0=\tanh\beta J. At βJ=0.6\beta J=0.6, tanh⁡0.6=0.53705\tanh 0.6=0.53705, giving ξ=−1/ln⁡(0.53705)=1/0.62165=1.609\xi=-1/\ln(0.53705)=1/0.62165=\mathbf{1.609} lattice spacings.

Step 2. The connected correlation at r=3r=3 is ⟨s0s3⟩c=(tanh⁡βJ)3=0.537053=0.15490\langle s_0 s_3\rangle_c=(\tanh\beta J)^{3}=0.53705^{3}=\mathbf{0.15490} — a real, finite number, decaying like e−3/1.609e^{-3/1.609}.

Step 3. As T→0T\to0 (βJ→∞\beta J\to\infty), tanh⁡βJ→1\tanh\beta J\to1 and ξ=−1/ln⁡tanh⁡βJ→12e2βJ→∞\xi=-1/\ln\tanh\beta J\to\tfrac12 e^{2\beta J}\to\infty. The correlation length diverges only at zero temperature, confirming the chain has no finite-TT order — exactly what Perron–Frobenius guarantees.

Example 2 — the gap never closes at finite temperature. Show numerically that the spectral gap of the 1D Ising transfer matrix stays strictly positive, and contrast with the 2D critical coupling where an infinite matrix lets the gap close.

Step 1. The gap at h=0h=0 is λ0−λ1=2cosh⁡βJ−2sinh⁡βJ=2e−βJ\lambda_0-\lambda_1=2\cosh\beta J-2\sinh\beta J=2e^{-\beta J}. At βJ=1\beta J=1 this is 2e−1=0.73576>02e^{-1}=\mathbf{0.73576}>0; at βJ=3\beta J=3 it is 2e−3=0.09957>02e^{-3}=\mathbf{0.09957}>0; at βJ=10\beta J=10 it is 2e−10=9.08×10−5>02e^{-10}=9.08\times10^{-5}>0. The gap shrinks but never reaches zero at any finite βJ\beta J.

Step 2. Only in the 2D row-transfer matrix, whose dimension 2L2^{L} diverges with LL, can the two leading eigenvalues become degenerate. That happens at sinh⁡(2βcJ)=1\sinh(2\beta_c J)=1, i.e. βcJ=12ln⁡(1+2)=0.44069\beta_c J=\tfrac12\ln(1+\sqrt2)=\mathbf{0.44069}.

Step 3. In physical units, kBTc/J=1/βcJ=2/ln⁡(1+2)=2/0.88137=2.2692k_BT_c/J=1/\beta_cJ=2/\ln(1+\sqrt2)=2/0.88137=\mathbf{2.2692}. The transition the 1D matrix forbids is precisely the one the infinite 2D matrix permits — the finite-vs-infinite distinction made quantitative.

Origins · 1 minperron-frobenius theorem and how this was discovered
PT
perron-frobenius theorem
Perron 1907 · Frobenius 1912 · The Perron–Frobenius theorem is the mathematical keystone of the transfer-matrix method. Oskar Perron proved in 1907 that a matrix with strictly positive entries has a real, positive, and non-degenerate largest eigenvalue — one that strictly exceeds the modulus of every other eigenvalue — whose eigenvector can be chosen with all-positive components; Georg Frobenius extended it in 1912 to irreducible non-negative matrices. A classical transfer matrix is built from Boltzmann weights e−βEe^{-\beta E}, which are strictly positive at any finite temperature, so the theorem applies directly: the partition function per site is λmax⁡\lambda_{\max}, and because λmax⁡\lambda_{\max} is isolated with a finite gap, the free energy f=−kBTln⁡λmax⁡f=-k_BT\ln\lambda_{\max} is an analytic function of temperature. This is exactly why a one-dimensional short-range model cannot have a phase transition at T>0T>0 — a transition is a non-analyticity of ff, and the theorem forbids the gap from closing for a finite positive matrix. The correlation length ξ=1/ln⁡(λ1/λ2)\xi=1/\ln(\lambda_1/\lambda_2) is likewise the inverse spectral gap the theorem keeps open. A genuine transition requires the transfer matrix to become infinite-dimensional (as in Onsager's 2D solution), where Perron–Frobenius no longer prevents the gap from closing at TcT_c. The theorem — introduced by Perron in 1907 and completed by Frobenius in 1912 — thus turns the physics of ordering into a statement about matrix spectra, and it is the rigorous backbone of every claim in this article.

History
1907
— Perron proves the existence of a dominant positive eigenvalue for positive matrices
1912
— Frobenius extends the result to irreducible non-negative matrices (the Perron–Frobenius theorem)
1925
— Ising solves the 1D chain by (an equivalent of) the transfer matrix and finds no transition
1941
— Kramers and Wannier introduce the transfer-matrix method and duality for the 2D Ising model
1944
— Onsager diagonalizes the infinite 2D row-transfer matrix, giving the exact free energy and T_c
1964
— Schultz, Mattis and Lieb recast Onsager's solution as free fermions via the transfer matrix
1976
— Suzuki formalizes the d-dimensional classical ↔ (d−1)-dimensional quantum transfer-matrix mapping

Going further

References. Pathria & Beale, Statistical Mechanics, 3rd ed., Ch. 12–13 · Kardar, Statistical Physics of Fields, Ch. 6 · Baxter, Exactly Solved Models in Statistical Mechanics, Ch. 1–2 · Sethna, Statistical Mechanics: Entropy, Order Parameters, and Complexity, Ch. 8 · Landau & Lifshitz, Statistical Physics Part 1, §151 · Schultz, Mattis & Lieb, Rev. Mod. Phys. 36, 856 (1964).

Provenance. The eigenvalues λ±=eβJcosh⁡βh±e2βJsinh⁡2βh+e−2βJ\lambda_\pm=e^{\beta J}\cosh\beta h\pm\sqrt{e^{2\beta J}\sinh^2\beta h+e^{-2\beta J}} with the h=0h=0 limits 2cosh⁡βJ, 2sinh⁡βJ2\cosh\beta J,\,2\sinh\beta J (Pathria §13.2; Kardar Ch. 6), the correlation length ξ=−1/ln⁡tanh⁡βJ\xi=-1/\ln\tanh\beta J and its low-TT asymptote 12e2βJ\tfrac12 e^{2\beta J}, the 2D critical coupling from sinh⁡2βcJ=1\sinh 2\beta_cJ=1 giving kBTc/J=2/ln⁡(1+2)≈2.2692k_BT_c/J=2/\ln(1+\sqrt2)\approx2.2692 (Onsager; Baxter Ch. 7), and the duality relation sinh⁡2Ksinh⁡2K~=1\sinh 2K\sinh 2\tilde K=1 (Kramers–Wannier 1941) are all standard and recomputed in the verify script. The Perron–Frobenius statement is standard linear algebra (Baxter Ch. 1). The mapping T=e−τH^T=e^{-\tau\hat H} to a transverse-field quantum spin is verified explicitly for the single-qubit case.

Builds on: The Ising Model: Definition and Hamiltonian · One-Dimensional Ising Model and Transfer Matrix Method · Order Parameter and Spontaneous Magnetization. Leads to: Onsager Solution of the Two-Dimensional Ising Model · Kramers–Wannier Duality · Domain Walls and Interfacial Excitations.

Why does grouping spins into "slices" work, and what sets the slice size?

A transfer matrix works whenever the interaction is short-ranged, so that the Boltzmann weight factorizes into terms coupling only adjacent slices. The slice must be thick enough that all interactions cross at most one slice boundary: a single site suffices for nearest-neighbour 1D models, but next-nearest-neighbour couplings need slices two sites thick, and 2D models need a whole row. The matrix dimension is (number of states per site) raised to the (number of sites per slice), which is why 2D transfer matrices are 2L×2L2^{L}\times2^{L} and grow exponentially — the price of exactness in higher dimensions.

Is the correlation length really the log of an eigenvalue ratio?

Yes, and it is exact, not an approximation. Inserting spin operators between transfer steps and resolving in the eigenbasis shows the connected correlation is a sum of terms (λα/λ0)r(\lambda_\alpha/\lambda_0)^{r}; at large separation the largest such ratio, (λ1/λ0)r(\lambda_1/\lambda_0)^{r}, dominates, giving e−r/ξe^{-r/\xi} with ξ−1=ln⁡(λ0/λ1)\xi^{-1}=\ln(\lambda_0/\lambda_1). Subleading eigenvalues contribute shorter-ranged corrections. The formula is completely general: any lattice model's correlation length is the reciprocal log-ratio of its two leading transfer-matrix eigenvalues, and it diverges exactly when they become degenerate.

If Perron–Frobenius forbids 1D transitions, how does the 2D Ising model escape it?

The theorem requires a finite matrix. The 2D model, grouped by rows, has a transfer matrix of dimension 2L2^{L} for rows of length LL, and the thermodynamic limit demands L→∞L\to\infty. An infinite-dimensional operator need not have a unique, isolated largest eigenvalue: the gap can close, and at TcT_c it does, letting the two leading eigenvalues become asymptotically degenerate. That degeneracy is the mathematical face of spontaneous symmetry breaking — the two nearly degenerate eigenvectors are the up- and down-magnetized states. Positivity is not enough; finiteness is the crucial missing hypothesis.

What exactly is the quantum Hamiltonian that the 1D Ising chain maps to?

Writing the zero-field 1D Ising transfer matrix as T=e−τH^T=e^{-\tau\hat H} gives H^∝σ^x\hat H\propto\hat\sigma^{x} — a single spin in a transverse field. Concretely, T(h=0)=eβJ 1+e−βJ σ^xT(h=0)=e^{\beta J}\,\mathbb{1}+e^{-\beta J}\,\hat\sigma^{x} is diagonal in the σ^x\hat\sigma^{x} basis with eigenvalues 2cosh⁡βJ2\cosh\beta J and 2sinh⁡βJ2\sinh\beta J, so T=exp⁡(a 1+g σ^x)T=\exp(a\,\mathbb{1}+g\,\hat\sigma^{x}) with g=12ln⁡coth⁡βJ=1/(2ξ)g=\tfrac12\ln\coth\beta J=1/(2\xi). More usefully, the 2D classical Ising model maps to the 1D quantum transverse-field Ising chain, whose quantum critical point reproduces the classical TcT_c. This equivalence is the reason quantum and classical critical phenomena share universality classes.

Does the trace (periodic) versus vector-sandwich (open) boundary matter?

Not for bulk thermodynamics. With periodic boundaries Z=Tr TN=∑αλαNZ=\mathrm{Tr}\,T^{N}=\sum_\alpha\lambda_\alpha^{N}; with open boundaries Z=⟨L∣TN−1∣R⟩Z=\langle L|T^{N-1}|R\rangle for boundary vectors ∣L⟩,∣R⟩|L\rangle,|R\rangle, which equals ∑αcαλαN−1\sum_\alpha c_\alpha\lambda_\alpha^{N-1} for some coefficients. In both cases 1Nln⁡Z→ln⁡λ0\tfrac1N\ln Z\to\ln\lambda_0 as N→∞N\to\infty, so the free energy per site is identical. The boundary condition only affects O(1/N)O(1/N) corrections and surface terms, which vanish in the thermodynamic limit — a concrete instance of boundary-independence of bulk free energy.

Why can't we just diagonalize the 2D transfer matrix numerically for all sizes?

You can for modest LL, and it is a standard method, but the matrix dimension 2L2^{L} makes brute-force diagonalization infeasible beyond L≈20L\approx20–3030. Onsager's achievement was to diagonalize it analytically for all LL by recognising it as the exponential of a free-fermion (quadratic) Hamiltonian, reducing 2L2^{L} eigenvalues to LL single-fermion modes. Modern tensor-network methods (DMRG, matrix product states) sidestep the exponential wall differently: they variationally approximate only the leading eigenvector, keeping a controlled number of states per slice, which is enough for the bulk free energy and correlations.

Before this

Where this leads