Skip to content

What is the probability that a given edge belongs to a random perfect matching? On a finite planar graph, the matching partition sum and its derivatives answer this question. A Kasteleyn signing turns an exponentially long sum into a determinant on a bipartite graph, or a Pfaffian on a general planar graph. On a four-edge example one minus sign changes an incorrect cancellation into the correct probability.

At a glance.

FeatureThis record
DefinitionA perfect matching on a weighted embedded planar graph uses exactly one edge at every vertex.
Space and dataFix a finite graph admitting a perfect matching, including its boundary vertices. Matching weight is the product of its edge weights.
Parameters and regimesPositive edge weights define a probability law. A single signed bipartite matrix suffices on the plane.
Integrable structureKasteleyn signs convert the partition sum into a Pfaffian, or an absolute determinant in bipartite form. Inverse-matrix edge correlations follow by varying weights.
Conserved quantitiesEvery matching has ∣V∣/2\lvert V\rvert/2 dimers. Multiplying all weights incident on one vertex by a common factor preserves every probability.
Exact resultsOn a square with successive weights 1,2,3,51,2,3,5, the partition sum is thirteen and the first edge is occupied with probability 3/133/13.
RelativesThe planar signing argument explains which orientation makes matching contributions add.
ConventionsThe sign belongs to the matrix entry. The physical edge fugacity stays positive.
OriginKasteleyn, pp. 1209–1214, planar dimer enumeration.

Let G=(V,E)G=(V,E) be a finite plane graph with at least one perfect matching. A matching uses edges with no common endpoint. A perfect matching covers every vertex. With edge weights we>0w_e\gt 0, set

Z=∑M perfect∏e∈Mwe,P(M)=Z−1∏e∈Mwe.Z=\sum_{M\ {\rm perfect}}\prod_{e\in M}w_e,\qquad P(M)=Z^{-1}\prod_{e\in M}w_e.

A boundary vertex must also be covered unless it has explicitly been removed. Removing one vertex from a balanced bipartite graph destroys every perfect matching. A pair of boundary defects defines a new observable with a different partition sum.

Logarithmically differentiating in one weight counts its occupancy:

P(e∈M)=we∂welog⁡Z.P(e\in M)=w_e\partial_{w_e}\log Z.

Multiplying all incident weights at one vertex by the same factor multiplies every matching by that factor. The probability law is unchanged, a useful gauge freedom when comparing matrix conventions.

Label a square cyclically 1,2,3,41,2,3,4 and give successive edges weights 1,2,3,51,2,3,5. Its matchings have weights 1⋅3=31\cdot3=3 and 2⋅5=102\cdot5=10. Thus Z=13Z=13 and P(12∈M)=3/13P(12\in M)=3/13. Order the black vertices as 1,31,3 and the white vertices as 2,42,4. Temporarily replace the first weight by tt. A signed matrix is

K(t)=(t5−23),det⁡K(t)=3t+10.K(t)=\begin{pmatrix}t&5\\-2&3\end{pmatrix},\qquad \det K(t)=3t+10.

The derivative t ∂tlog⁡det⁡K(t)t\,\partial_t\log\det K(t) gives the first-edge probability again. Taking all four entries positive would give 3t−103t-10, although both configurations have positive probability. The sign fixes the relative parity of the two determinant permutations. It does not give any edge negative physical weight.

One can obtain the same probability by conditioning. For an edge ee joining uu and vv, matchings using ee are in bijection with perfect matchings after removing both endpoints. Matchings avoiding it are exactly those of the graph with just ee removed. Thus

Z(G)=Z(G−e)+weZ(G−{u,v}).Z(G)=Z(G-e)+w_e Z(G-\{u,v\}).

For edge 1212, forbidding it leaves the matching of weight ten. Forcing it leaves vertices 3 and 4, joined by the edge of weight three. The odds in favor of 1212 are therefore 3t/103t/10. Increasing tt to 10/310/3 makes the two coverings equally probable even though their individual edge weights differ. Forcing both 1212 and its adjacent edge 2323 is impossible because they would use vertex 2 twice.

For a finite bipartite plane graph choose phases such that around a bounded face of even length 2m2m the alternating phase product is (−1)m+1(-1)^{m+1}. Under the planar matching hypotheses this arranges a common phase for all determinant terms representing perfect matchings. Then Z=∣det⁡K∣Z=|\det K|. For a nonbipartite plane graph one uses an oriented skew matrix and Z=∣Pf⁡K∣Z=|\operatorname{Pf}K|. Kasteleyn’s lattice solution gives an early exact enumeration; Kenyon states the finite planar determinant theorem and the associated local probabilities. Kasteleyn, pp. 1209–1214 · Kenyon, §§3.3–3.5, Theorem 2 and Corollary 3

On a torus a transition loop between two matchings can wind around a handle, and the face conditions alone cannot control its sign. The Library construction explains why one combines four winding-sector sign choices. For several marked edges, use determinantal dimer observables.

  • Kasteleyn, P. W. (1961). “The Statistics of Dimers on a Lattice. I. The Number of Dimer Arrangements on a Quadratic Lattice.” Physica 27, 1209–1225. DOI
  • Kenyon, R. (2009). “Lectures on Dimers.” In Statistical Mechanics, IAS/Park City Mathematics Series 16, 191–230. American Mathematical Society. Author manuscript