The dimer model is one of the most beautiful exactly solvable models in two-dimensional statistical mechanics. It begins with an elementary combinatorial question: in how many ways can one cover a finite graph by disjoint edges, so that every vertex is covered exactly once? But behind this innocent question lies a deep analytic mechanism. The partition function is related to a Pfaffians and determinants. Its local statistics are controlled by the inverse of a discrete operator. The purpose of this post is to explain the entire mechanism carefully. I will try to keep the algebra explicit, because the dimer model is one of those subjects where the conceptual statement is very short, but the real understanding comes from doing the calculation.
The fundamental dictionary is this:
The only obstruction is sign. A Pfaffian is a signed sum over pairings, whereas a dimer partition function is a positive weighted sum over perfect matchings. Kasteleyn’s theorem says that for a planar graph one can orient the edges so that all the Pfaffian signs agree. Once this is done, the partition function is a Pfaffian, and all local statistics follow by differentiating that Pfaffian.
The finite dimer model
Let be a finite graph with an even number of vertices,
A dimer configuration or perfect matching is a subset
such that every vertex of
is incident to exactly one edge of
. Thus each matching is a decomposition of the vertex set into
adjacent pairs. Assign each edge
a positive weight
. The weight of a matching is
The dimer partition function is the sum of these weights
where the sum is over all perfect matchings.
The Gibbs probability of a matching is
The basic statistical questions are the probabilities and covariances:
The first important observation is that the logarithmic derivative of already gives edge probabilities. Indeed,
Therefore
Thus if one can compute , one can compute one-edge statistics by differentiation. Higher derivatives give higher correlations. The Pfaffian solution is powerful precisely because it turns
into a logarithmic determinant.
Pfaffians
Let be a
skew-symmetric matrix. Thus
The Pfaffian of
is defined by
At first sight this formula looks complicated, but the idea is very simple. A permutation of the set
arranges the indices in a row:
Then we group this row into consecutive pairs:
So each permutation produces a pairing of the indices. The product
assigns to that pairing the product of the corresponding matrix entries. The factor records the sign of the permutation needed to put the indices into that paired order. However, the same unordered pairing is produced many times. First, the
pairs may be permuted among themselves in
different ways. Second, inside each pair, the two elements may be interchanged, giving
possibilities. This explains the normalizing factor
Thus the Pfaffian is best thought of as a signed sum over all ways of partitioning
into unordered pairs.
In other words,
This formula is often the most useful conceptual form. The Pfaffian is to pairings what the determinant is to permutations. The determinant sums over ways of matching rows to columns; the Pfaffian sums over ways of pairing indices with each other.
For example, take . Then a
skew-symmetric matrix has the form
There are only three ways to pair the set :
Correspondingly,
The signs are important. The pairings and
occur with positive sign, while
occurs with negative sign. This is the first place where one sees the essential feature of the Pfaffian: it counts pairings, but it counts them with signs.
This is exactly why Pfaffians enter the dimer model. A perfect matching of a graph is a pairing of the vertices, with the extra condition that each pair must be an edge of the graph. If the vertices of the graph are labeled then a perfect matching is a partition of these labels into
pairs
where every is an edge. Therefore a Pfaffian is naturally adapted to the enumeration of perfect matchings.
The only difficulty is that the dimer partition function is a positive sum,
whereas the Pfaffian is a signed sum. Kasteleyn’s insight was that, for planar graphs, one can orient the edges so that the signs of all perfect matching terms become the same. Then the absolute value of the Pfaffian is exactly the dimer partition function.
The second basic fact about Pfaffians is the identity
This identity is the reason the Pfaffian method is so powerful analytically. The Pfaffian itself is combinatorial: it is a signed sum over pairings. But the square of the Pfaffian is a determinant, and determinants can be studied by linear algebra, eigenvalues, and Fourier analysis. Let us explain why the identity is natural. The determinant of a skew-symmetric matrix is a polynomial of degree in the entries of
. The Pfaffian is a polynomial of degree
, since each term contains exactly
matrix entries. Thus
has degree
, the same degree as
. Moreover, both objects transform in the same way under a change of basis. If
is an invertible
matrix and we replace
by
then
On the Pfaffian side, one has the transformation law
Squaring this gives
which is exactly the same transformation behavior as the determinant. Thus the identity is compatible with every linear change of coordinates. Now every skew-symmetric matrix can be put, over a suitable field such as
, into a block-diagonal normal form consisting of
skew blocks. That is, after a change of basis, one obtains a matrix of the form
For this matrix, the Pfaffian is especially simple. Since the only nonzero pairings must pair the two indices inside each block, we get
The determinant of each block
is Therefore the determinant of the whole block-diagonal matrix is
Hence, in this normal form,
Since both sides transform compatibly under change of basis, the identity holds for every skew-symmetric matrix:
This identity is the algebraic bridge between combinatorics and analysis. In the dimer model, the Pfaffian appears because perfect matchings are pairings. But once the partition function has been written as a Pfaffian, one can square it and obtain a determinant. Then one can compute large-volume limits by diagonalizing operators, taking logarithms of eigenvalues, and replacing sums by integrals. This is precisely how the exact solution of the square-lattice dimer model passes from finite combinatorics to Fourier analysis.
In short, Pfaffian is a signed sum over pairings, while its square is equal to the determinant. The first statement explains why Pfaffians count dimers. The second explains why dimer models are analytically computable.
Matchings and Pfaffians
Label the vertices of by
We now want to build a matrix whose Pfaffian remembers the perfect matchings of
. Since a Pfaffian is naturally associated with a skew-symmetric matrix, the first step is to convert the weighted graph into a skew-symmetric weighted adjacency matrix. To do this, choose an orientation for every edge of
. Thus every undirected edge
is assigned one of the two possible directions,
Once these choices have been made, define a matrix
by
This matrix is automatically skew-symmetric. Indeed, if the edge is oriented
, then
so
If
and
are not adjacent, then both entries are zero. Thus in all cases,
At this stage
is simply an oriented weighted adjacency matrix.
It becomes a Kasteleyn matrix only when the orientation satisfies the special Kasteleyn sign condition. For now, we are only using the fact that is skew-symmetric, so that its Pfaffian is defined. Now expand the Pfaffian:
Every term in this sum chooses pairs of vertices,
In other words, every term of the Pfaffian corresponds to a pairing of all vertices. The associated product is
This product is nonzero exactly when every pair is an edge of the graph. Thus the only nonzero terms in the Pfaffian expansion are precisely those pairings of the vertex set in which every pair is an edge of . But that is exactly the definition of a perfect matching. Therefore the nonzero terms in
are in one-to-one correspondence with perfect matchings of
. Thus each perfect matching contributes its usual dimer weight, but possibly with a sign. Therefore
where the sum is over all perfect matchings of , and where
is a sign depending on two things: the Pfaffian sign of the pairing and the orientation signs of the edges in
.
This is very close to the dimer partition function. The difference is only the signs. The partition function is a positive weighted sum over matchings. The Pfaffian is a signed weighted sum over the same matchings. Therefore the central problem is not to make the Pfaffian produce the correct terms; it already does that automatically. The central problem is to make the signs of those terms agree.
In other words, we want to choose the orientation of the edges so that is independent of
. If this can be done, then there is a fixed sign
such that
for every matching
. Then
Taking absolute values gives
This is the goal of the Kasteleyn orientation. One seeks an orientation of the edges for which the Pfaffian signs of all perfect matchings line up instead of canceling. This is why the Kasteleyn problem is a sign problem. The graph weights already enter correctly. The Pfaffian already sums over exactly the right combinatorial objects. What remains is to arrange the orientation signs so that the Pfaffian becomes a positive enumeration rather than a signed enumeration.
For a completely arbitrary graph this cannot always be done in such a simple local way. The remarkable theorem of Kasteleyn is that for planar graphs it can be done. More precisely, if is planar, one can orient the edges so that every face satisfies a certain parity condition. That local parity condition forces the relative Pfaffian sign between any two perfect matchings to be
. Consequently all matchings appear in
with the same sign, and the dimer partition function becomes the absolute value of a Pfaffian.
The Kasteleyn orientation is the special choice of orientation for which this signed sum becomes, up to one global sign, the positive dimer partition function:
This is the precise point at which the combinatorics of perfect matchings becomes linear algebra.
Kasteleyn orientation
Let and
be two perfect matchings of
. Their symmetric difference is
This operation keeps exactly those edges that occur in one matching but not in the other. It is the natural object to study because the edges that belong to both matchings contribute in the same way to both Pfaffian terms; the only possible difference between the two signs comes from the edges on which the matchings disagree.
Now look at the graph formed by . At any vertex, the matching
uses exactly one incident edge, and the matching
also uses exactly one incident edge. If these two edges are the same, then that edge belongs to both matchings and is removed from the symmetric difference. If they are different, then both edges remain in
. Therefore every vertex that appears in
has degree exactly
: one incident edge comes from
and one incident edge comes from
. A finite graph in which every vertex has degree
is a disjoint union of cycles. Moreover, these cycles must have even length, because as one walks around such a cycle, the edges alternate between
and
. Thus
where each is an even cycle, and along each cycle the edges alternate between the two matchings. These are called alternating cycles. This observation is fundamental. It tells us that to compare the Pfaffian signs of two arbitrary matchings, it is enough to compare two matchings that differ on one alternating cycle. Once the one-cycle comparison is understood, the general case follows by multiplying the contributions over all cycles in
.
So let be one alternating cycle of length
. One matching uses the alternating edges
while the other uses
We want to compare the two corresponding Pfaffian terms. There are two kinds of signs involved. First, there is the Pfaffian permutation sign. This is the sign coming from the order in which the vertices are paired in the Pfaffian expansion. Second, there is the orientation sign. This is the sign coming from the skew-symmetric entries of the matrix
. If an edge is oriented in the same direction as the ordered pair in the Pfaffian term, its matrix entry is
; if it is oriented in the opposite direction, its matrix entry is
.
The Kasteleyn orientation is precisely designed so that these two sign effects cancel in the right way. To see this carefully, fix the cyclic order For the first matching on the cycle, the local Pfaffian contribution may be written as
For the second matching, take the ordered pairs
The corresponding local product is
The permutation
is a cyclic shift of
objects. Its sign is
Thus, before considering the orientations of the edges, the second local pairing has an extra factor
relative to the first.
Now define the orientation sign along the cycle. Let
Here indices are understood modulo , so
. Define
This number records whether the cycle has an even or odd number of edges oriented against the chosen cyclic direction. Since the cycle has even length, it is also equivalent to recording whether the number of edges oriented with the cyclic direction is even or odd. The ratio of the orientation signs of the two alternating matchings is exactly . Therefore the total relative sign between the two Pfaffian terms is
For the two matchings to contribute with the same sign, we want this relative sign to be
. Hence we need
Equivalently,
This is the key sign condition on an alternating cycle: the product of the orientation signs around the cycle must be . In words, the cycle must have an odd number of edges oriented in the chosen cyclic direction. Such a cycle is often called oddly oriented. Thus the real goal is to have every alternating cycle should be oddly oriented. If this holds, then whenever two perfect matchings differ along an alternating cycle, their Pfaffian signs agree. Since any two perfect matchings differ by a disjoint union of alternating cycles, it follows that all perfect matchings contribute with the same Pfaffian sign. This is the heart of Kasteleyn’s method.
Now suppose is planar and embedded in the plane. A Kasteleyn orientation is an orientation of the edges such that each bounded face is oddly oriented. More explicitly, if
is a bounded face and we traverse its boundary clockwise, then the number of boundary edges oriented clockwise is odd.
Equivalently, if where
if
is oriented in the clockwise boundary direction and
otherwise, then the Kasteleyn condition is
for every bounded face
. For example, for a square face, this means that an odd number of the four boundary edges must be oriented clockwise. Thus the number of clockwise-oriented edges may be
or
For a hexagonal face, with six boundary edges, the same convention says again that an odd number of edges must be oriented clockwise. Thus the number may be
Let us now explain why this local face condition implies the desired condition on alternating cycles. Let be an alternating cycle that appears in the symmetric difference of two perfect matchings. Since
comes from two perfect matchings, the vertices strictly inside
are matched among themselves by the edges common to the two matchings. Hence the number of interior vertices is even. Let
be the number of vertices strictly inside
,
the number of edges strictly inside
, and
the number of bounded faces inside
. Euler’s formula for the planar region enclosed by
gives
Since
is even, this implies, modulo
,
Now multiply the Kasteleyn face condition
over all faces inside
. The left side becomes the product of all orientation signs along the boundaries of these faces. Every strictly interior edge is counted twice, once from each of its adjacent faces. The two clockwise boundary directions along that shared edge are opposite. Therefore an interior edge contributes a factor
to the total product. The boundary edges of
are counted once and together contribute precisely
.
Therefore But each face satisfies
, so the left side is
Thus
Hence
Using
we obtain
So every alternating cycle is oddly oriented. This proves exactly what we needed. If two perfect matchings differ on one alternating cycle, their relative Pfaffian sign is
But for a Kasteleyn orientation we showed,
Therefore
and the two matchings have the same Pfaffian sign. Since any two perfect matchings differ by a disjoint union of alternating cycles, it follows that all perfect matchings have the same sign in the Pfaffian expansion. Thus there exists a fixed sign
such that
Therefore Taking absolute values gives the Kasteleyn formula:
This is the fundamental bridge from planar dimer combinatorics to linear algebra. The partition function, originally defined as a sum over exponentially many perfect matchings, becomes the square root of a determinant.
Statistics
Let be an edge of
. Suppose that, in our chosen orientation, this edge is oriented from
to
. Then the corresponding entries of the Kasteleyn matrix are
All dependence of
on the weight
occurs in these two entries. This simple observation is what makes edge probabilities computable by differentiating the Pfaffian.
If we differentiate with respect to
, only those matchings containing
contribute. Indeed,
whereas if , then
Therefore
Dividing by , we obtain the elementary but very important identity
This formula says that edge occupation probabilities are logarithmic derivatives of the partition function. In statistical mechanics language, inserting the observable is the same as differentiating the free energy with respect to the coupling
.
Now use the Kasteleyn formula Since a Kasteleyn orientation makes all perfect matchings appear with one common sign, the absolute value only removes a global sign. If the weights vary in a small positive neighborhood, that global sign remains fixed. Thus, for differentiation, we may compute with
instead of
Using the identity we have
Differentiating with respect to gives
The usual determinant identity is
Applying this with , we obtain
Hence
We now compute this trace explicitly. Since only the entries and
depend on
, we have
and all other entries of are zero. Let
Then
and all other entries vanish. The trace is
Since is nonzero only at
and
, only two terms survive:
Using we get
Because is skew-symmetric, its inverse is also skew-symmetric:
Therefore
Substituting this into the derivative of the Pfaffian gives
Finally we obtain
This is one of the main formulas in the theory. It says that a one-edge probability is obtained by multiplying the Kasteleyn matrix entry on that edge by the corresponding reversed entry of the inverse Kasteleyn matrix. One should not think of as a probability matrix by itself. Its entries may be negative or complex, depending on the orientation convention. The probability appears only after combining the inverse entry with the original Kasteleyn weight. The product
is the invariant probabilistic quantity. This formula also explains why the inverse Kasteleyn matrix is central. Once
is known, all one-edge densities are known.
We now pass to several edges.
Let be pairwise disjoint edges. Suppose each
is oriented as
Let
be the set of all vertices incident to these edges. We want the probability that all the edges
occur in the random matching:
If these edges are forced to appear, then their endpoints are already matched. The remaining problem is to match all vertices not in . Thus the remaining contribution is the partition function of the graph with those vertices deleted. Therefore
This is the direct probabilistic formula. The numerator says: first pay the weights of the forced edges, then sum over all possible matchings of the remaining graph. By Kasteleyn’s theorem, Similarly,
where
is the skew-symmetric matrix obtained by deleting the rows and columns indexed by
. Thus the probability becomes a ratio of Pfaffians:
The ratio can be expressed using the inverse matrix. This is the Pfaffian analogue of the Jacobi complementary minor identity for determinants. The Pfaffian Jacobi identity says that if is invertible and
is an even subset of indices, then
Here denotes the submatrix of
formed by keeping only the rows and columns indexed by
. The sign depends only on the order in which the indices of
are listed. Once an ordering convention is fixed, this sign is fixed and can be absorbed into the same orientation convention used for the forced edges. Substituting the Pfaffian Jacobi identity into the probability formula gives
If we order the indices in as
and keep track of the signs consistently, then the formula may be written without absolute values as
This is the finite-dimensional Pfaffian formula for dimer correlations. Let us check that this agrees with the one-edge formula. If , then
the formula reduces to
which is the formula obtained by logarithmic differentiation. For two edges, the formula becomes more concrete. Suppose Then
The Pfaffian of a skew matrix has three terms, so this probability is explicitly a quadratic expression in entries of
. This is the beginning of the general Pfaffian point process structure. The terminology Pfaffian point process means precisely that every joint inclusion probability is a Pfaffian built from a fixed kernel. In the dimer model, the kernel is essentially the inverse Kasteleyn matrix. Therefore all local statistics reduce to the analytic study of
.
This is the main transition from combinatorics to analysis:
Thus, after Kasteleyn’s theorem, the statistical mechanics of dimers is governed by the inverse of a discrete skew symmetric operator.
Bipartite Graphs
Now suppose that is bipartite. Thus the vertex set is divided into two classes,
and every edge joins a black vertex to a white vertex. There are no edges between two black vertices and no edges between two white vertices. A perfect matching of a bipartite graph pairs every black vertex with exactly one white vertex, and every white vertex with exactly one black vertex. Therefore, if a perfect matching exists, the two vertex classes must have the same size. We write
The bipartite case is especially important because the Pfaffian formula simplifies to an ordinary determinant. This is not just a notational convenience. It is the reason that bipartite dimer models become determinental point processes, and it is the reason Fourier analysis becomes particularly clean on periodic bipartite graphs.
Order the vertices so that all black vertices come first and all white vertices come second: Since there are no black-black or white-white edges, the skew-symmetric Kasteleyn matrix has the block form
Here is an
matrix whose rows are indexed by black vertices and whose columns are indexed by white vertices. Its entry
is the signed weighted adjacency entry between
and
. More explicitly,
The sign depends on the chosen Kasteleyn orientation. If the oriented edge agrees with the convention from black to white, one gets ; otherwise one gets
. In many periodic examples one also allows complex signs, such as
, because this can make the Fourier symbol simpler. The underlying principle is the same:
is the signed weighted bipartite adjacency matrix.
The Pfaffian of the block matrix is related to the determinant of by the standard identity
Let us briefly explain where the sign comes from. The Pfaffian pairs the indices. Since the upper-left and lower-right blocks are zero, a nonzero Pfaffian term can only pair black indices with white indices. Thus a nonzero term is exactly a bijection
That is precisely the kind of object summed over by the determinant of
. The Pfaffian expansion gives the same products, the only difference is the universal sign caused by the convention that all black vertices were listed first and all white vertices second. This universal sign is
Since the dimer partition function uses an absolute value, this global sign is irrelevant. Therefore Kasteleyn’s formula becomes
Thus, in the bipartite planar case, the Pfaffian solution reduces to the determinant formula
This is the first major simplification. The second major simplification concerns probabilities. In the general planar case, edge correlations are Pfaffians of submatrices of . In the bipartite case, they become determinants of submatrices of
. Let
be an edge, with
and
. The one-edge probability is
Here one must pay attention to the order of indices. The matrix has black rows and white columns, so
is natural. But
maps in the opposite direction: its rows are indexed by white vertices and its columns by black vertices. Thus the inverse entry is written
This is the bipartite analogue of the general formula. Again, and
separately may have signs or complex phases, depending on the Kasteleyn convention. But their product is the real positive probability that the edge appears in the matching.
Now take several pairwise disjoint edges. The probability that all these edges occur is
up to the same harmless global sign convention. Here is the matrix obtained by deleting the black rows
and the white columns
. The determinant Jacobi identity says that complementary minors of
are expressed by minors of
. In the present setting, this gives
With the consistent ordering convention, the sign is absorbed into the product of the signed edge weights. Therefore
This is the determinantal form of the bipartite dimer correlations.
It is worth emphasizing what this says. To know the probability that the edges
all appear, one forms the
matrix
The row index remembers the white endpoint of the forced edge
, and the column index remembers the black endpoint of the forced edge
. Taking the determinant of this matrix and multiplying by the edge weights gives the joint probability. This is why the bipartite dimer model is called determinantal. Every finite joint edge probability is a determinant built from the same kernel
.
Let us now write out the two-edge case explicitly, because this is the formula that controls correlations. Let be two disjoint edges. Then the two-edge probability is
On the other hand,
Subtracting this from the two-edge probability, we obtain
This is one of the central formulas of dimer statistics. It says that the connected two-point function factors into a product of two inverse Kasteleyn entries. Consequently, the decay of dimer-dimer correlations is governed by the decay of . If
then the covariance of two distant edge occupation variables typically decays like
For the critical square-lattice dimer model, one has and therefore
Thus the determinant reduction does much more than simplify notation. It turns the entire local statistical theory of bipartite dimers into the analysis of the inverse matrix . In periodic models,
is computed by Fourier transform, so the study of correlations becomes the study of a Fourier integral.
Rectangular Lattice
We now specialize the general Pfaffian method to the first completely explicit example: the ordinary rectangular square grid. This is the best place to see the calculation because the graph is planar, the Kasteleyn sign issue is real but still completely local, and the diagonalization is just the elementary sine diagonalization of the one-dimensional path. Only after this case is understood should one pass to the torus, where the same local operator appears but the topology introduces four global sign sectors.
Let be the
rectangle of unit squares. We regard the squares themselves as the vertices of a graph. Two vertices are adjacent if the corresponding squares share an edge. A domino tiling is then exactly a perfect matching of this graph: each domino chooses one edge, and the condition that every square is covered exactly once says that every vertex is incident to exactly one chosen edge. If horizontal dominoes have weight
and vertical dominoes have weight
, then the partition function is
where runs over domino tilings,
is the number of horizontal dominoes, and
is the number of vertical dominoes. In the unweighted model one sets
, and then
is simply the number of domino tilings. If
is odd, then no tiling exists, since every domino covers two squares. Thus
in that case. From now on assume
is even.
Color the squares like a chessboard: the square is black if
is even and white if
is odd. Adjacent squares always have opposite colors, because moving one step horizontally or vertically changes
by
. Hence every domino covers one black square and one white square. Since
is even, the rectangle has equally many black and white squares. We write these two sets as
and
, with
A domino tiling is now the same thing as a bijective matching from black squares to adjacent white squares.
Because the graph is bipartite, the Pfaffian reduces to a determinant. We build a matrix with rows indexed by black squares and columns indexed by white squares. If
and
are not adjacent, put
If they are horizontally adjacent, put
If they are vertically adjacent, put
Thus the matrix is
The factor is the whole sign device. It is not a probabilistic weight. The actual vertical domino weight is
. The complex phase
is inserted so that the determinant signs agree with the positive dimer weights. This is the concrete square-grid version of the Kasteleyn orientation. One can replace these complex signs by a real Kasteleyn orientation after a transformation, but for computation the complex convention is cleaner.
Now expand the determinant. Since the rows are black squares and the columns are white squares,
where runs over all bijections from
to
A term is nonzero exactly when every chosen pair
is an adjacent black-white pair. Since
uses every white square exactly once, a nonzero term is exactly a domino tiling. Thus the determinant is already summing over the correct objects. The only issue is that the determinant gives signs, whereas the dimer partition function is a positive sum. More explicitly, if
is the tiling corresponding to
, then its term in the determinant is
Therefore the determinant will equal the partition function up to one global phase if the quantity
is independent of
The smallest calculation already shows exactly why the is needed. Consider a
rectangle. There are two tilings: two horizontal dominoes or two vertical dominoes. With a suitable ordering of the two black and two white squares, the matrix is
The determinant is Since
we get
This is exactly the weighted partition function of the
square. Without the factor
, the determinant would be
which is wrong. The determinant naturally inserts a minus sign between the two possible pairings. The vertical pair contributes an additional minus sign because
The two signs cancel.
The same cancellation holds on the whole rectangle. To see why, compare two tilings and
Their symmetric difference
is a disjoint union of even alternating cycles. Along such a cycle, the two tilings use alternating edges. Therefore it is enough to compare two tilings that differ only on one alternating cycle. Suppose that cycle contains
black vertices and
white vertices. Passing from one alternating choice of edges to the other changes the associated bijection
by an
-cycle, and hence changes the determinant sign by
On the other hand, because each elementary square face has the local sign property just computed, switching across the region enclosed by the cycle changes the product of the
-phases by the same factor. Equivalently, the complex square-grid convention satisfies the Kasteleyn face condition: every elementary square is oddly signed. Since every alternating cycle in a rectangle bounds a planar region made from elementary faces, the face condition forces the cycle sign to be exactly the one needed to cancel the determinant sign. Hence the total phase
is the same for every tiling
This is the crucial planar point. The determinant already knows the matchings. The only question is whether the signs cancel or reinforce. For the rectangle, the on vertical edges makes every local square correct, and because the rectangle is simply connected, every alternating cycle is built from these local faces. Thus there is one global phase
, with
such that
Taking absolute values gives the exact identity
It remains to compute this determinant.
Rather than diagonalize directly, it is cleaner to double it into an operator on all squares. Let
be the
matrix indexed by all squares of the rectangle, defined by putting weight
between horizontally adjacent squares and weight
between vertically adjacent squares. Thus
is the signed adjacency matrix of the rectangular grid, with the same horizontal and vertical weights used above. If the vertices are ordered with all black squares first and all white squares second, then
has block form
If , then a standard block determinant calculation gives
Therefore
and since
we have
Now the advantage is that separates into horizontal and vertical one-dimensional parts. Let
be the adjacency matrix of the path with
vertices, and let
be the adjacency matrix of the path with
vertices. Thus
has
immediately above and below the diagonal and zeros elsewhere. Then
This formula just says that horizontal moves are governed by the path matrix in the -direction, while vertical moves are governed by the path matrix in the
-direction.
We now diagonalize the path matrix. For define
These functions vanish at the artificial boundary points
and
which is exactly the Dirichlet boundary condition appropriate to an open rectangle. If
then
This follows from the elementary identity Therefore
is an eigenvector of
with eigenvalue
Similarly, the eigenvectors of
are
with eigenvalues
The product functions form a basis of eigenvectors for
Indeed, applying
gives one contribution from the
-direction and one contribution from the
-direction. Thus the eigenvalue corresponding to
is
Since these product eigenvectors form a basis, the determinant of is the product of all these eigenvalues. Taking absolute values gives
Finally Hence the exact formula is
In the unweighted case this becomes
The exponent has a simple origin. First, the absolute value of each complex eigenvalue produces a square root, because
Second, the partition function is
rather than
These two square roots combine to produce the fourth root in the final product.
The exact product immediately gives the thermodynamic limit. Take logarithms first:
After division by this is a double Riemann sum. The points
fill
, and the points
fill
Therefore
The logarithm has an integrable singularity at when
Near that point the expression inside the logarithm is comparable to a positive constant times
Thus the singularity is of the form
in two dimensions, and
Hence the Riemann-sum limit is legitimate.
In the unweighted case, the free energy per square is
This integral evaluates to where
is Catalan’s constant,
Thus the number of domino tilings of a large rectangle satisfies
Numerically, Thus the number of tilings grows exponentially like
up to subexponential factors.
Periodic Lattice
We now move from the rectangle to periodic boundary conditions. The local operator is almost the same, but the topology changes the finite formula. On a rectangle, every alternating cycle bounds a planar region, and the local Kasteleyn sign condition is enough to make all matching signs agree. On a torus, some cycles wind around the two fundamental directions and do not bound disks. Those cycles are the reason one Pfaffian is no longer sufficient.
Use a fundamental cell containing one black vertex and one white vertex. Write the black vertex in cell as
and the white vertex as
This is just a convenient bookkeeping convention for the bipartite square lattice. The Kasteleyn operator acts from functions on white vertices to functions on black vertices. With horizontal weight
and vertical weight
, define
In the uniform case this becomes
Again, the vertical factor is a sign device, not a probability. It is chosen so that every elementary square has the correct Kasteleyn sign and so that the Fourier symbol is especially simple.
We now explain carefully why the actual torus partition function is not just one determinant. This is the first genuinely new phenomenon that appears when one passes from the rectangle to periodic boundary conditions. On a rectangle, every closed alternating cycle bounds a planar region. Therefore the local Kasteleyn sign condition around elementary faces forces all matching signs to agree. On a torus this is no longer true. There are closed cycles which do not bound disks. They go once around the torus in the horizontal direction, or once around the torus in the vertical direction, or around both. These non-contractible cycles are exactly what forces the four-Pfaffian formula.
Let the finite periodic graph be drawn on a torus. Concretely, start with an periodic square grid and identify the left side with the right side and the bottom side with the top side. A path on this graph may return to its starting point in the torus even though, if we lift the torus to the infinite plane, the lifted path has moved by some multiple of the horizontal period and some multiple of the vertical period. This is the simplest way to understand winding. A closed curve on the torus may lift to a curve in the plane whose endpoint is shifted by
units horizontally and
units vertically. The integers
and
are the winding numbers of the curve. For the Pfaffian sign problem we only need their parities, so we only remember them modulo
Equivalently, one can cut the torus open into a rectangle. The two cuts are called seams: one vertical seam where the left and right sides are identified, and one horizontal seam where the bottom and top sides are identified. A closed cycle has odd horizontal winding if it crosses the vertical seam an odd number of times. It has odd vertical winding if it crosses the horizontal seam an odd number of times. This gives the same mod-two information as the lifting picture. Thus a closed cycle has two winding parities, one horizontal and one vertical.
Now fix once and for all a reference matching This reference matching is not meant to be special probabilistically. It is just a bookkeeping device. For any other matching
consider the symmetric difference
As before, every vertex that appears in this symmetric difference has degree because one incident edge comes from
and one incident edge comes from
Therefore
is a disjoint union of even alternating cycles. Along each such cycle, the edges alternate between the matching
and the reference matching
On the plane, each of these cycles bounds a region, so it has no global winding. On the torus, some of the cycles in may wind around the torus. Add up their winding numbers modulo
This gives a pair
Here
means that the total horizontal winding of
is odd, and
means it is even. Similarly,
means that the total vertical winding is odd, and
means it is even. In the seam picture,
is the parity of the number of times the alternating cycles cross the vertical seam, and
is the parity of the number of times they cross the horizontal seam. This is what winding parity means. It is a topological label attached to the matching
relative to the reference matching
There are four possible labels:
Let be the positive weighted sum of all matchings whose winding parity relative to
is
Thus
is the total weight of matchings with even horizontal and even vertical winding relative to
is the total weight of matchings with odd horizontal and even vertical winding, and so on. Since every matching belongs to exactly one of these four classes, the true partition function is
The point is that a single torus Pfaffian usually does not give this positive sum. It gives a signed sum in which the sign depends on the winding class. The local Kasteleyn condition still fixes all contractible cycles, just as on the rectangle. Therefore all matchings in the same winding class have the same relative sign. But the local condition cannot force agreement between different winding classes, because a non-contractible cycle does not bound a union of faces. So the Pfaffian sign can still distinguish the four classes
For a standard genus-one Kasteleyn orientation, the remaining topological sign is This formula says the following. The class
has sign
the class
has sign
the class
has sign
and the class
has sign
In other words, for this convention the only class that appears with the opposite sign is the class that winds oddly in both fundamental directions. This is a standard normalization of the torus Kasteleyn orientation. A different initial orientation may move the signs around, but it gives an equivalent four-Pfaffian formula after relabeling signs.
Now we introduce the four Pfaffian sectors. These should not be confused with the four winding classes. The winding classes label matchings. The Pfaffian sectors label four different Kasteleyn matrices. To obtain them, cut the torus open along the two seams. Along each seam, we are allowed to flip the signs of all Kasteleyn entries crossing that seam. We may either flip or not flip in the horizontal direction, and we may either flip or not flip in the vertical direction. Therefore there are four choices. Write them as
Here means that we have inserted an extra minus sign across the horizontal period, and
means we have not. Similarly,
means that we have inserted an extra minus sign across the vertical period, and
means we have not. In Fourier language, these are the periodic and antiperiodic boundary conditions. In geometric language, they are sign twists around the two fundamental cycles of the torus.
Now ask what this twist does to a matching of winding class If
every edge crossing the horizontal seam has its sign changed. A matching whose symmetric difference from
crosses that seam an odd number of times picks up an extra minus sign relative to
Therefore the horizontal twist contributes
Similarly, the vertical twist contributes
Thus the total twist factor is
Combining this twist factor with the original torus Kasteleyn sign the Pfaffian in sector
has the form
This formula is the whole four-Pfaffian mechanism. The variables classify matchings by winding parity. The variables
classify the four boundary-sign choices of the Kasteleyn matrix. The exponent
records the Pfaffian sign of that winding class in that sector.
Let us write out the four equations. When there is no seam twist, so the only topological sign is
Hence
When the horizontal twist changes the sign of the classes with
Thus
When the vertical twist changes the sign of the classes with
Thus
Finally, when both twists are present, and the signs are
These four equations should be read as a linear system. The four Pfaffians are four signed measurements of the four positive quantities
The actual partition function is the sum of those four positive quantities. We now solve for that sum. Add the first three Pfaffians and subtract the fourth:
The coefficient of is
The coefficient of
is
The coefficient of
is
The coefficient of
is
Therefore
Dividing by gives the exact torus partition function:
Equivalently, since the coefficient in front of is
one can write the same formula more compactly as
This is the four-Pfaffian formula. It is important to understand what it is saying. On the plane, one Kasteleyn Pfaffian is enough because all alternating cycles are contractible and the face sign condition controls them. On the torus, alternating cycles can have four possible winding parities. One Pfaffian gives one signed combination of these four classes. By changing the boundary signs in the two fundamental directions, we get four different signed combinations. The above linear combination cancels the unwanted signs and gives every winding class coefficient Thus the four Pfaffians are exactly the correction for the topology of the torus.
In the bipartite square-lattice case, each is, up to a harmless global sign depending on the ordering convention, the determinant of the corresponding bipartite Kasteleyn matrix
Thus the finite torus computation is still done by Fourier products. What changes is that the correct finite partition function is not one product; it is the above signed combination of four Pfaffians, or equivalently four determinant sectors with the appropriate Pfaffian signs.
Now let us connect this topological discussion with the Fourier calculation. In sector the functions satisfy
Thus means periodic and
means antiperiodic in the first direction; similarly
and
mean periodic and antiperiodic in the second direction. The allowed Fourier modes are
where
These formulas are just the equations and
Therefore the antiperiodic sector simply shifts the allowed momenta by half a lattice spacing. Applying the square-lattice Kasteleyn operator to such a mode gives the eigenvalue
Hence in a fixed sector,
This determinant is the Fourier product for one Pfaffian sector. The exact finite torus partition function remembers the Pfaffian signs and combines the four sectors as above. For asymptotic purposes it is often useful to introduce the positive quantity
One should be careful here. The exact finite formula is a signed Pfaffian formula, not simply the same expression with absolute values inserted everywhere. The absolute values are harmless only when one is studying the leading exponential growth, because all four sectors have the same thermodynamic limit. Their momentum grids differ only by shifts of size one half of a mesh, and after division by the area those shifts disappear.
Consider one sector. Taking logarithms of the absolute determinant and dividing by gives
As the allowed momenta become equidistributed on the Fourier torus. Thus the limit is
This is the free energy per fundamental cell. In the convention used here, one fundamental cell contains one black vertex and one white vertex. Therefore the free energy per graph vertex is one half of In the unweighted case,
Since this integral evaluates to
Thus the entropy per graph vertex is
This agrees with the rectangle calculation, because the rectangle free energy above was measured per square of the board, and those squares are exactly the graph vertices in the domino-tiling representation.
The inverse Kasteleyn kernel
The partition function is governed by the determinant or Pfaffian of the Kasteleyn matrix, but local statistics are governed by the inverse Kasteleyn matrix. On the infinite square lattice, the operator is translation-invariant, so Fourier transform turns into multiplication by its symbol
Therefore the inverse operator is obtained by multiplying by
in Fourier space and transforming back. The inverse entry at displacement
is
This is just the Fourier inversion formula. The large-distance behavior is controlled by the singularities of In the square-lattice case,
vanishes at the four points
Near the zero
write
and
Since
and similarly for
we have
Thus the singular part of the inverse multiplier has the local form A two-dimensional Fourier integral with such a Cauchy-type singularity decays like reciprocal distance. Consequently
By the determinantal formula for bipartite dimers, the covariance of two distant edge occupation variables is a product of two inverse Kasteleyn entries. Hence, for two edges separated by distance
This is the basic critical exponent of the square-lattice dimer model. The determinant gives the partition function, the inverse determinant kernel gives probabilities, the zeros of the Fourier symbol give the singularities of the inverse kernel, and those singularities give the power-law decay.
Analytic phases: liquid, gaseous, frozen
For a general periodic bipartite dimer model, the central analytic object is the characteristic polynomial. If the fundamental domain has several black and white vertices, the Fourier-transformed Kasteleyn operator is a finite matrix and one defines
This Laurent polynomial is the characteristic polynomial of the periodic dimer model. The square lattice is the simplest case, where the fundamental domain contains one black vertex and one white vertex, and the characteristic polynomial is simply
The corresponding spectral curve is
The large-distance behavior of the dimer model is governed by how this curve intersects the unit torus This is the analytic origin of the usual distinction between liquid, gaseous, and frozen regimes.
In the liquid phase, the characteristic polynomial has zeros on the unit torus. Generically these zeros are simple. Since the inverse Kasteleyn matrix is obtained by Fourier inversion of zeros of
on the unit torus become singularities of the Fourier integrand. Those singularities prevent exponential decay. Instead, the inverse Kasteleyn matrix has power-law decay. In the square-lattice case, the zero is first order and the local form of
is Cauchy-like, so
The determinantal formula for bipartite dimers then gives edge-edge covariance as a product of two inverse Kasteleyn entries. Hence, for two distant edges and
This is the critical regime. Correlations decay polynomially, not exponentially. The uniform square-lattice dimer model is the standard example.
In the gaseous phase, the characteristic polynomial has no zeros on the unit torus. Then is analytic in a complex neighborhood of the real Fourier torus. Analytically, this is the massive situation. Since the Fourier integrand is analytic, one can shift the contour slightly into the complex domain. The oscillatory factor then gains exponential decay. Consequently,
for some Edge correlations also decay exponentially. Thus the gaseous phase is noncritical: it has a finite correlation length, and distant local events become independent exponentially fast.
In the frozen phase, the Gibbs measure becomes nearly deterministic at large scale. One or more edge types dominate, and local randomness disappears. In slope language, frozen phases occur at the boundary of the Newton polygon of In such a region, changing the microscopic configuration costs too much entropy or weight, and the tiling locks into a rigid pattern.
The whole story can be read as one chain of ideas:
This is the analytic heart of the dimer model. The same algebraic object that counts matchings gives the free energy. The same inverse matrix that gives edge probabilities gives correlation decay. The same Laurent polynomial that appears in Fourier diagonalization determines the liquid, gaseous, and frozen regimes. Exact solvability is not a single trick; it is the coherence of this entire structure.