On this page
A skew-symmetric matrix equals minus its own transpose, so every diagonal entry is zero and a_ji = −a_ij. Its determinant is always the square of a polynomial in the entries, and that polynomial is the Pfaffian. Below: the definition, the 2×2 and 4×4 formulas, a pencil check, and how Pfaffians count domino tilings.
What is the Pfaffian of a skew-symmetric matrix?
For a skew-symmetric matrix A of even size 2n, the Pfaffian Pf(A) is a polynomial of degree n in the entries, and det A = Pf(A)², as set out in the Wikipedia article on the Pfaffian. The same article records that Arthur Cayley proved this relation in 1849 and introduced the name in 1852, after the mathematician Johann Friedrich Pfaff.
For odd size the Pfaffian is defined as zero, because det A = det Aᵀ = det(−A) = (−1)ᵐ det A for an m×m matrix, which forces det A = 0 when m is odd.
Think of the Pfaffian as a signed sum over the ways to split the indices 1, 2, …, 2n into pairs, each pairing contributing the product of its entries. A 4×4 matrix has only three pairings: {12, 34}, {13, 24} and {14, 23}.
What are the 2×2 and 4×4 Pfaffian formulas?
2×2: for A with rows (0, a) and (−a, 0), Pf(A) = a, and det A = a².
4×4: Pf(A) = a₁₂a₃₄ − a₁₃a₂₄ + a₁₄a₂₃.
Both formulas appear in the Pfaffian article. The middle term carries the minus sign because the order 1, 3, 2, 4 needs one swap to become 1, 2, 3, 4.
For bigger matrices, expand along the first row: Pf(A) is the sum over j = 2 to 2n of (−1)ʲ a₁ⱼ times the Pfaffian of A with rows and columns 1 and j removed.
How do you check det A = Pf(A)² by hand?
Take this 4×4 skew-symmetric matrix, each row read left to right:
Row 1: 0, 2, 1, 3
Row 2: −2, 0, 4, −1
Row 3: −1, −4, 0, 5
Row 4: −3, 1, −5, 0
So a₁₂ = 2, a₁₃ = 1, a₁₄ = 3, a₂₃ = 4, a₂₄ = −1 and a₃₄ = 5.
The Pfaffian: Pf(A) = (2)(5) − (1)(−1) + (3)(4) = 10 + 1 + 12 = 23.
The determinant, by cofactor expansion along row 1 (a₁₁ = 0, so only three minors matter):
the minor without column 2 is −115, contributing −2 × (−115) = 230;
the minor without column 3 is 23, contributing +1 × 23 = 23;
the minor without column 4 is −92, contributing −3 × (−92) = 276.
So det A = 230 + 23 + 276 = 529 = 23². The Pfaffian took one line; the determinant took three 3×3 determinants.
How do Pfaffians count domino tilings?
Every domino tiling is a perfect matching: put a dot in each square, join squares that share an edge, and each domino pairs two dots, the objects behind Tutte's theorem on perfect matchings. A matrix with entries only between neighbouring squares therefore has a Pfaffian that sums over tilings, with signs that can cancel.
In 1961 P. W. Kasteleyn ("The statistics of dimers on a lattice", Physica90063-5)) and, independently, H. N. V. Temperley and Michael Fisher (Philosophical Magazine) found the number of domino tilings of a rectangle, as the Wikipedia article on the FKT algorithm summarises. The method chooses signs so that every tiling counts +1, and by 1967 Kasteleyn had extended it to all planar graphs. For general graphs, counting perfect matchings is #P-complete, with no known fast algorithm.
The smallest board shows the trick. Number a 2×2 board's squares 1 (top left), 2 (top right), 3 (bottom left) and 4 (bottom right). The neighbouring pairs are 12, 34, 13 and 24, and there are exactly two tilings: two horizontal dominoes {12, 34} or two vertical ones {13, 24}.
Put +1 on every neighbouring pair (a₁₂ = a₃₄ = a₁₃ = a₂₄ = 1, a₁₄ = a₂₃ = 0): Pf = 1·1 − 1·1 + 0 = 0. The two tilings cancel.
Flip one sign, a₂₄ = −1: Pf = 1·1 − (1)(−1) + 0 = 2. Both tilings now count +1.
On the 8×8 chessboard the same idea gives a 64×64 matrix, and the number of ways to tile the board with 32 dominoes is 12,988,816, which equals 2⁴ × 901², according to OEIS sequence A004003. For two other routes to counts like this, see why the Aztec diamond has 2^(n(n+1)/2) domino tilings and our guide to the transfer matrix method for counting tilings.
How should you practise Pfaffians?
List the six above-diagonal entries of a 4×4 skew-symmetric matrix first.
Compute the Pfaffian with the three-pairing formula, then square it.
Check against the determinant on one or two examples until you trust the formula.
Redo the 2×2 board: cancel with all signs +1, then fix it with one minus sign.
If cofactor signs are where your errors creep in, the Fermi Problem Library has worked problems with a step-by-step solver that explains the reasoning. For skew-symmetric matrices, determinants and permutation signs, the Fermi Concept Library covers every concept in mathematics, each with its own lesson.



