In mathematics, the determinant of an m-by-m skew-symmetric matrix can always be written as the square of a polynomial in the matrix entries, a polynomial with integer coefficients that only depends on m. When m is odd, the polynomial is zero, and when m is even, it is a nonzero polynomial of degree m/2, and is unique up to multiplication by ±1. The convention on skew-symmetric tridiagonal matrices, given below in the examples, then determines one specific polynomial, called the Pfaffian polynomial. The value of this polynomial, when applied to the entries of a skew-symmetric matrix, is called the Pfaffian of that matrix. The term Pfaffian was introduced by Cayley (1852), who indirectly named them after Johann Friedrich Pfaff. Explicitly, for a skew-symmetric matrix A,
pf(A)2=det(A), which was first proved by Cayley (1849), who cites Jacobi for introducing these polynomials in work on Pfaffian systems of differential equations. Cayley obtains this relation by specialising a more general result on matrices that deviate from skew symmetry only in the first row and the first column. The determinant of such a matrix is the product of the Pfaffians of the two matrices obtained by first setting in the original matrix the upper left entry to zero and then copying, respectively, the negative transpose of the first row to the first column and the negative transpose of the first column to the first row. This is proved by induction by expanding the determinant on minors and employing the recursion formula below.
Examples A=[0a−a0],pf(A)=a. B=[0ab−a0c−b−c0],pf(B)=0. (3 is odd, so the Pfaffian of B is 0)
pf[0abc−a0de−b−d0f−c−e−f0]=af−be+dc. The Pfaffian of a 2n × 2n skew-symmetric tridiagonal matrix is equal to
pf[0a100−a1000000a200−a20⋱⋱⋱0an−an0]=a1a2⋯an. (Note that any skew-symmetric matrix can be reduced to this form by conjugation with a unitary matrix; see Spectral theory of a skew-symmetric matrix.)
Formal definition Let A = (aij) be a 2n × 2n skew-symmetric matrix. The Pfaffian of A is explicitly defined by the formula
pf(A)=12nn!∑σ∈S2nsgn(σ)∏i=1naσ(2i−1),σ(2i), where S2n is the symmetric group of degree 2n and sgn(σ) is the signature of σ. One can make use of the skew-symmetry of A to avoid summing over all possible permutations. Let Π be the set of all partitions of {1, 2, ..., 2n} into pairs without regard to order. There are (2n)!/(2nn!) = (2n − 1)!! such partitions. A permutation σ specifies a partition
{{σ(1),σ(2)},{σ(3),σ(4)},⋯,{σ(2n−1),σ(2n)}}. Because of the skew-symmetry of A, all of the 2nn! permutations specifying a given partition contribute the same amount to the sum. Thus the number of terms in the sum can be reduced by picking a single permutation for each possible partition. An element α ∈ Π can be written as
α={(i1,j1),(i2,j2),⋯,(in,jn)} with ik < jk and i1<i2<⋯<in. Let
πα=[1234⋯2n−12ni1j1i2j2⋯injn] be the corresponding permutation. Given a partition α as above, define
Aα=sgn(πα)ai1,j1ai2,j2⋯ain,jn. The Pfaffian of A is then given by
pf(A)=∑α∈ΠAα. The Pfaffian of a n × n skew-symmetric matrix for n odd is defined to be zero, as the determinant of an odd skew-symmetric matrix is zero, since for a skew-symmetric matrix, detA=detAT=det(−A)=(−1)ndetA, and for n odd, this implies detA=0.
Recursive definition By convention, the Pfaffian of the 0 × 0 matrix is equal to one. The Pfaffian of a skew-symmetric 2n × 2n matrix A with n > 0 can be computed recursively as
pf(A)=∑j=1j≠i2n(−1)i+j+1+θ(i−j)aijpf(Aı̂ȷ̂), where the index i can be selected arbitrarily, θ(i−j) is the Heaviside step function, and Aı̂ȷ̂ denotes the matrix A with both the i-th and j-th rows and columns removed. Note how for the special choice i=1 this reduces to the simpler expression:
pf(A)=∑j=22n(−1)ja1jpf(A1̂ȷ̂).
Alternative definitions One can associate to any skew-symmetric 2n × 2n matrix A = (aij) a bivector
ω=∑i<jaijei∧ej, where {e1, e2, ..., e2n} is the standard basis of R2n. The Pfaffian is then defined by the equation
1n!ωn=pf(A)e1∧e2∧⋯∧e2n, where ωn denotes the wedge product of n copies of ω. Equivalently, we can consider the bivector (which is more convenient when we do not want to impose the summation constraint i<j): ω′=2ω=∑i,jaijei∧ej, which gives ω'n=2nn!pf(A)e1∧e2∧⋯∧e2n.
Odd generalization A non-zero generalisation of the Pfaffian to odd-dimensional matrices is given in the work of de Bruijn on multiple integrals involving determinants. In particular for any m × m matrix A, we use the formal definition above but set n=⌊m/2⌋. For m odd, one can then show that this is equal to the usual Pfaffian of an (m+1) × (m+1)-dimensional skew symmetric matrix where we have added an (m+1)th column consisting of m elements 1, an (m+1)th row consisting of m elements −1, and the corner element is zero. The usual properties of Pfaffians, for example the relation to the determinant, then apply to this extended matrix.
Properties and identities Pfaffians have the following properties, which are similar to those of determinants.
Multiplication of a row and a column by a constant is equivalent to multiplication of the Pfaffian by the same constant. Simultaneous interchange of two different rows and corresponding columns changes the sign of the Pfaffian. A multiple of a row and corresponding column added to another row and corresponding column does not change the value of the Pfaffian. Using these properties, Pfaffians can be computed quickly, akin to the computation of determinants.
Miscellaneous For a 2n × 2n skew-symmetric matrix A
pf(AT)=(−1)npf(A). pf(λA)=λnpf(A). pf(A)2=det(A). For an arbitrary 2n × 2n matrix B,
pf(BABT)=det(B)pf(A). Substituting in this equation B = Am, one gets for all integer m
pf(A2m+1)=(−1)nmpf(A)2m+1.
Derivative identities If A depends on some variable xi, then the gradient of a Pfaffian is given by
1pf(A)∂pf(A)∂xi=12tr(A−1∂A∂xi), and the Hessian of a Pfaffian is given by
1pf(A)∂2pf(A)∂xi∂xj=12tr(A−1∂2A∂xi∂xj)−12tr(A−1∂A∂xiA−1∂A∂xj)+14tr(A−1∂A∂xi)tr(A−1∂A∂xj). The following formula applies even if the matrix A is singular for some values of the variable x:
∂∂xkpf(A)=∑1≤i<j≤2n(−1)i+j+1∂Aij∂xkpf(Aîĵ), where Aîĵ is the (2n−2)×(2n−2) skew-symmetric matrix obtained from A by deleting rows and columns (i,j).
Trace identities The product of the Pfaffians of skew-symmetric matrices A and B can be represented in the form of an exponential
pf(A)pf(B)=exp(12trlog(ATB)). Suppose A and B are 2n × 2n skew-symmetric matrices, then
… excerpt ends here. Continue reading the full article.

