Pfaffian

From Wikipedia, the free encyclopedia

In mathematics, the determinant of a skew-symmetric matrix can always be written as the square of a polynomial in the matrix entries. This polynomial is called the Pfaffian of the matrix. The Pfaffian is nonvanishing only for 2n × 2n skew-symmetric matrices, in which case it is a polynomial of degree n.

Contents

[edit] Examples

\mbox{Pf}\begin{bmatrix}  0 & a \\ -a & 0  \end{bmatrix}=a.
\mbox{Pf}\begin{bmatrix}    0     & a & b & c \\ -a & 0        & d & e  \\   -b      &  -d       & 0& f    \\-c &  -e      & -f & 0 \end{bmatrix}=af-be+dc.
\mbox{Pf}\begin{bmatrix}
\begin{matrix}0 & \lambda_1\\ -\lambda_1 & 0\end{matrix} &  0 & \cdots & 0 \\
0 & \begin{matrix}0 & \lambda_2\\ -\lambda_2 & 0\end{matrix} &  & 0 \\
\vdots &  & \ddots & \vdots \\
0 & 0 & \cdots & \begin{matrix}0 & \lambda_n\\ -\lambda_n & 0\end{matrix}
\end{bmatrix} = \lambda_1\lambda_2\cdots\lambda_n.

[edit] Formal definition

Let A = {ai,j} be a 2n×2n skew-symmetric matrix. The Pfaffian of A is defined by the equation

\mathrm{Pf}(A) = \frac{1}{2^n n!}\sum_{\sigma\in S_{2n}}\mathrm{sgn}(\sigma)\prod_{i=1}^{n}a_{\sigma(2i-1),\sigma(2i)}

where S2n is the symmetric group 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 − 1)!! such partitions. An element α ∈ Π, can be written as

\alpha=\{(i_1,j_1),(i_2,j_2),\cdots,(i_n,j_n)\}

with ik < jk and i_1 < i_2 < \cdots < i_n. Let

\pi=\begin{bmatrix} 1 & 2 & 3 & 4 & \cdots & 2n \\ i_1 & j_1 & i_2 & j_2 & \cdots & j_{n} \end{bmatrix}

be a corresponding permutation. This depends only on the partition α and not on the particular choice of π. Given a partition α as above define

 A_\alpha =\operatorname{sgn}(\pi)a_{i_1,j_1}a_{i_2,j_2}\cdots a_{i_n,j_n}.

The Pfaffian of A is then given by

\operatorname{Pf}(A)=\sum_{\alpha\in\Pi} A_\alpha.

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, \det\,A = \det\,A^T = \det\,-A = (-1)^n \det\,A, and for n odd, this implies \det\,A = 0.

[edit] 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

\mbox{Pf}(A)=\sum_{i=2}^{2n}(-1)^{i}a_{1i}\mbox{Pf}(A_{\hat{1}\hat{i}}),

where A_{\hat{1}\hat{i}} denotes the matrix A with both the first and i-th rows and columns removed.

[edit] Alternative definition

One can associate to any skew-symmetric 2n×2n matrix A ={aij} a bivector

\omega=\sum_{i<j} a_{ij}\;e^i\wedge e^j.

where {e1, e2, …, e2n} is the standard basis of R2n. The Pfaffian is then defined by the equation

\frac{1}{n!}\omega^n = \mbox{Pf}(A)\;e^1\wedge e^2\wedge\cdots\wedge e^{2n},

here ωn denotes the wedge product of n copies of ω with itself.

[edit] Derivation from Determinant

The Pfaffian can be derived from the determinant for a skew-symmetric matrix A as follows. Using Laplace's formula we can write the determinant as

\det(A)=(-1)^{p+1}a_{p1}A_{p1} + (-1)^{p+2}a_{p2}A_{p2}+\cdots+(-1)^{n+p}a_{pn}A_{pn},

where Api is the p,i minor matrix of the matrix A. We further use Laplace's formula to note that

det(A[Aij]) = | A | n,

since this determinant is that of an n \times n matrix whose only non-zero elements are the diagonals (each with value det(A)) and [A_{ij}] is a matrix whose i,jth component is the corresponding i,j minor matrix. In this way, following a proof by Parameswaran, we can write the determinant as,

\det(A)\equiv\Delta_n=\left| 
\begin{array}{cccc}
a_{11}&a_{12}&\cdots&a_{1n}\\
a_{21}&a_{22}&\cdots&a_{2n}\\
\vdots&&&\vdots\\                                    a_{n1}&a_{n2}&\cdots&a_{nn}\end{array}\right|
.

The minor of \left| \begin{array}{cc} a_{11}&a_{12}\\a_{21}&a_{22}\end{array}\right| would be Δn − 2. With this notation

\left| \begin{array}{cccc}1&0&\cdots&0\\
                                   0&1&\cdots&0\\
                    a_{31}&a_{32}&\cdots&a_{3n}\\
                     \cdots&\cdots&\cdots&\cdots\\
       a_{n1}&a_{n2}&\cdots&a_{nn}\end{array}\right|
\times 
\left| \begin{array}{cccc}A_{11}&A_{21}&\cdots&A_{n1}\\
                    A_{12}&A_{22}&\cdots&A_{n2}\\
                    A_{13}&A_{23}&\cdots&A_{n3}\\
                    \cdots&\cdots&\cdots&\cdots\\
  A_{1n}&A_{2n}&\cdots&A_{nn}\end{array}\right|
=\left| \begin{array}{cc} A_{11}&A_{21}\\A_{12}&a_{22}\end{array}\right|\Delta_n^{n-2}

Thus

\Delta_{n-2}\Delta_n^{n-1}=\left| \begin{array}{cc} A_{11}&A_{21}\\A_{12}&a_{22}\end{array}\right|\Delta_n^{n-2}

Of course, it was only arbitrarily that we chose to remove the first two rows, and more generically we can write

ArrAssArsAsr = Δrs,rsΔn

where Δrs,rs is the determinant of the original matrix with the rows r and s, as well as the columns r and s removed. The equation above simplifies in the skew-symmetric case to

A_{rs} = \sqrt{\Delta_{rs,rs}\Delta_n}.

We now plug this back into the original formula for the determinant,

\Delta_n=(-1)^{p+1}a_{p1}\sqrt{\Delta_{p1,p1}\Delta_n} + (-1)^{p+2}a_{p2}\sqrt{\Delta_{p2,p2}\Delta_n}+\cdots+(-1)^{n+p}a_{pn}\sqrt{\Delta_{pn,pn}\Delta_n},

or with slight manipulation,

\sqrt{\Delta_n}=(-1)^{p+1}\left( \ a_{p1}\sqrt{\Delta_{p1,p1}} - a_{p2}\sqrt{\Delta_{p2,p2}}+\cdots+(-1)^{n-1}a_{pn}\sqrt{\Delta_{pn,pn}} 
\ \right),

The determinant is thus the square of the right hand side, and so we identify the right hand side as the Pfaffian.

[edit] Identities

For a 2n × 2n skew-symmetric matrix A and an arbitrary 2n × 2n matrix B,

  • Pf(A)2 = det(A)
  • Pf(BABT) = det(B)Pf(A)
  • Pf(λA) = λnPf(A)
  • Pf(AT) = ( − 1)nPf(A)
  • For a block-diagonal matrix
A_1\oplus A_2=\begin{bmatrix}  A_1 & 0 \\ 0 & A_2 \end{bmatrix},
Pf(A1A2) = Pf(A1)Pf(A2).
  • For an arbitrary n × n matrix M:
\mbox{Pf}\begin{bmatrix}  0 & M \\ -M^T & 0  \end{bmatrix} = 
(-1)^{n(n-1)/2}\det M.

[edit] Applications

  • The number of perfect matchings in a planar graph turns out to be the absolute value of a Pfaffian, hence is polynomial time computable. This is surprising given that for a general graph, the problem is very difficult (so called #P-complete). This result is used to calculate the partition function of Ising models of spin glasses in physics, respectively of Markov random fields in machine learning (Globerson and Jaakkola, 2007), where the underlying graph is planar. Recently it is also used to derive efficient algorithms for some otherwise seemingly intractable problems, including the efficient simulation of certain types of restricted quantum computation.
  • The calculation of the number of possible ways to tile a standard chessboard or 8-by-8 checkerboard with 32 dominoes is a simple example of a problem which may be solved through the use of the Pfaffian technique. There are 12,988,816 possible ways to tile a chessboard in this manner. Specifically, 12988816 is the number of possible ways to cover an 8-by-8 square with 32 1-by-2 rectangles. 12988816 is a square number: 12988816 = 36042). Note that 12988816 can be written in the form: 2x18022 + 2x18022, where all the numbers have a digital root of 2.
More generally, the number of ways to cover a 2n-by-2n square with 2n2 dominoes (as calculated independently by Temperley and M.E. Fisher and Kasteleyn in 1961) is given by
 \prod_{j=1}^N \prod_{k=1}^N \left ( 4\cos^2 \frac{\pi j}{2n + 1} + 4\cos^2 \frac{\pi k}{2n + 1} \right )
This technique can be applied in many mathematics-related subjects, for example, in the classical, 2-dimensional computation of the dimer-dimer correlator function in quantum mechanics.

[edit] History

The term Pfaffian was introduced by Arthur Cayley, who used the term in 1852: "The permutants of this class (from their connection with the researches of Pfaff on differential equations) I shall term Pfaffians." The term honors German mathematician Johann Friedrich Pfaff.

[edit] See also

[edit] References

[edit] External links