FKT algorithm
Builds on Planar graphPerfect matchingPfaffianSkew-symmetric matrix
Statement
Let be a finite graph with vertex set . Fix an orientation of its edges. Let be the skew-symmetric matrix with if , if , and otherwise. The orientation is Pfaffian if all perfect matchings of contribute with the same sign to the Pfaffian . Then is the number of perfect matchings of .
If is planar, then:
- has a Pfaffian orientation, and the number of perfect matchings of equals .
- Such an orientation can be found, and the number of perfect matchings computed, in time polynomial in .
Remarks
The Pfaffian expands as a signed sum over perfect matchings. The symmetric difference of two matchings is a union of disjoint even cycles, and the orientations around these cycles govern their relative sign. Kasteleyn's condition is that, in a planar embedding, every bounded face has an odd number of edges oriented clockwise along its boundary; this forces all signs to agree. The algorithm takes a spanning tree and orients its edges arbitrarily. It then orients the remaining edges one at a time, in an order given by a spanning tree of the dual graph. Each such edge closes a face, and its direction is chosen to fix the parity of that face. The determinant is computed by Gaussian elimination in polynomial time. With positive edge weights placed in instead of , the same method computes the partition function of the dimer model. Planarity cannot be dropped in general: counting perfect matchings of general graphs is #P-complete by Valiant's theorem.
Going deeper
For a student
The result is named after Fisher, Kasteleyn and Temperley, who found it in the early 1960s to count dimer coverings and domino tilings. It shows the gap between the permanent, which counts matchings and is hard, and the determinant, which is easy. It extends to graphs of bounded genus with a sum of several Pfaffians, and it underlies the exact solution of the planar Ising model through a dimer representation.
Reading path
To understand this page from the ground up, read these 5 pages in order. The foundations come first.
Show the path as a graph
- no evidence level
- Perfect matching concept
- Pfaffian concept
- Planar graph concept
- Skew-symmetric matrix concept
- FKT algorithm statement
Further reading
About this page
| Tag | A6SPEDH8BK |
|---|---|
| URI | m2://A6SPEDH8BK |
| Kind | statement, theorem |
| Writing | W0 stub |
| MSC | 05C70, 05C85, 82B20 |
| Status | This copy of the site has no build data. Run m2 status A6SPEDH8BK. |
| About | Perfect matching, Pfaffian |
| Uses | Planar graph, Perfect matching, Pfaffian, Skew-symmetric matrix |
| Same as | |
| Changed | 3 November 2026 |
Markdown · JSON · Edit on GitHub
What this page needs for W1
- an inventory row: the row of the inventory that the node accounts for (0 of 1)
- a source with a locator (0 of 1)
The writing levels say how complete the text of a page is. They do not measure its truth.
What links here
No page links to this page yet.