TOPICS
Search

Transfer-Matrix Method


The transfer-matrix method is an enumeration method that encodes allowable transitions among finitely many states by a matrix. A state records the boundary information needed to extend a partial object. For a fixed number of states, repeated extension becomes matrix multiplication (Stanley 1999).

Let M_(ij) be the total weight of allowed transitions from state i to state j, with weights in a field. If the column vectors u and v specify initial and terminal weights, then the total weight after n>=0 transitions is

 a_n=u^TM^nv,

where u^T denotes the transpose of u. The ordinary generating function is

 sum_(n=0)^inftya_nz^n=u^T(I-zM)^(-1)v,

where I is the identity matrix. The inverse is interpreted as a formal power series. Since M has fixed finite size, this expression is a rational function of z, and the coefficients satisfy a constant-coefficient linear recurrence equation.

The method also counts walks in a directed graph, with M its weighted adjacency matrix. For bounded-width combinatorial constructions, the states can record connections across a moving boundary. This approach gives generating functions for knight's tours on fixed-width knight graphs (Elkies and Stanley 2003).


See also

Adjacency Matrix, Generating Function, Linear Recurrence Equation, Rational Function, Walk

Explore with Wolfram|Alpha

References

Elkies, N. D. and Stanley, R. P. "The Mathematical Knight." Math. Intell. 25, No. 1, 22-34, Winter 2003.Stanley, R. P. Enumerative Combinatorics, Vol. 1. Cambridge, England: Cambridge University Press, 1999.

Cite this as:

Weisstein, Eric W. "Transfer-Matrix Method." From MathWorld--A Wolfram Resource. https://mathworld.wolfram.com/Transfer-MatrixMethod.html

Subject classifications