HOME

TheInfoList



OR:

In
mathematics Mathematics is a field of study that discovers and organizes methods, Mathematical theory, theories and theorems that are developed and Mathematical proof, proved for the needs of empirical sciences and mathematics itself. There are many ar ...
, the
determinant In mathematics, the determinant is a Scalar (mathematics), scalar-valued function (mathematics), function of the entries of a square matrix. The determinant of a matrix is commonly denoted , , or . Its value characterizes some properties of the ...
of an ''m''-by-''m''
skew-symmetric matrix In mathematics, particularly in linear algebra, a skew-symmetric (or antisymmetric or antimetric) matrix is a square matrix whose transpose equals its negative. That is, it satisfies the condition In terms of the entries of the matrix, if a ...
can always be written as the square of a
polynomial In mathematics, a polynomial is a Expression (mathematics), mathematical expression consisting of indeterminate (variable), indeterminates (also called variable (mathematics), variables) and coefficients, that involves only the operations of addit ...
in the
matrix Matrix (: matrices or matrixes) or MATRIX may refer to: Science and mathematics * Matrix (mathematics), a rectangular array of numbers, symbols or expressions * Matrix (logic), part of a formula in prenex normal form * Matrix (biology), the m ...
entries, a polynomial with
integer An integer is the number zero (0), a positive natural number (1, 2, 3, ...), or the negation of a positive natural number (−1, −2, −3, ...). The negations or additive inverses of the positive natural numbers are referred to as negative in ...
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 , who indirectly named them after
Johann Friedrich Pfaff Johann Friedrich Pfaff (sometimes spelled Friederich; 22 December 1765 – 21 April 1825) was a German mathematician. He was described as one of Germany's most eminent mathematicians during the 19th century. He was a precursor of the German school ...
. Explicitly, for a skew-symmetric matrix A, : \operatorname(A)^2=\det(A), which was first proved by , 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 In linear algebra, the transpose of a Matrix (mathematics), matrix is an operator which flips a matrix over its diagonal; that is, it switches the row and column indices of the matrix by producing another matrix, often denoted by (among other ...
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 = \begin 0 & a \\ -a & 0 \end,\qquad\operatorname(A) = a. : B = \begin 0 & a & b \\ -a & 0 & c \\ -b & -c & 0 \end,\qquad\operatorname(B) = 0. (3 is odd, so the Pfaffian of B is 0) : \operatorname\begin 0 & a & b & c \\ -a & 0 & d & e \\ -b & -d & 0& f \\-c & -e & -f & 0 \end=af-be+dc. The Pfaffian of a 2''n'' × 2''n'' skew-symmetric
tridiagonal matrix In linear algebra, a tridiagonal matrix is a band matrix that has nonzero elements only on the main diagonal, the subdiagonal/lower diagonal (the first diagonal below this), and the supradiagonal/upper diagonal (the first diagonal above the main ...
is given as : \operatorname\begin 0 & a_1 & 0 & 0\\ -a_1 & 0 & 0 & 0\\ 0 & 0 &0 & a_2 \\ 0 & 0 & -a_2 &0&\ddots\\ &&&\ddots&\ddots& \\ &&&& &0&a_n\\ &&&&&-a_n&0 \end = a_1 a_2\cdots a_n. (Note that any skew-symmetric matrix can be reduced to this form; see Spectral theory of a skew-symmetric matrix.)


Formal definition

Let ''A'' = (''a''''ij'') be a 2''n'' × 2''n'' skew-symmetric matrix. The Pfaffian of ''A'' is explicitly defined by the formula :\operatorname(A) = \frac\sum_\operatorname(\sigma)\prod_^a_ \,, where ''S''2''n'' is the
symmetric group In abstract algebra, the symmetric group defined over any set is the group whose elements are all the bijections from the set to itself, and whose group operation is the composition of functions. In particular, the finite symmetric grou ...
of degree 2''n'' and sgn(σ) is the
signature A signature (; from , "to sign") is a depiction of someone's name, nickname, or even a simple "X" or other mark that a person writes on documents as a proof of identity and intent. Signatures are often, but not always, Handwriting, handwritt ...
of σ. One can make use of the skew-symmetry of ''A'' to avoid summing over all possible
permutation In mathematics, a permutation of a set can mean one of two different things: * an arrangement of its members in a sequence or linear order, or * the act or process of changing the linear order of an ordered set. An example of the first mean ...
s. Let Π be the set of all partitions of into pairs without regard to order. There are such partitions. An element can be written as : \alpha = \ with and i_1 < i_2 < \cdots < i_n. Let : \pi_\alpha = \begin 1 & 2 & 3 & 4 & \cdots & 2n -1 & 2n \\ i_1 & j_1 & i_2 & j_2 & \cdots & i_n & j_ \end be the corresponding permutation. Given a partition α as above, define : A_\alpha = \operatorname(\pi_\alpha)a_a_\cdots a_. The Pfaffian of ''A'' is then given by : \operatorname(A) = \sum_ 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^\text = \det(-A) = (-1)^n \det A, and for ''n'' odd, this implies \det A = 0.


Recursive definition

By convention, the Pfaffian of the 0 × 0 matrix is equal to one. The Pfaffian of a skew-symmetric 2''n'' × 2''n'' matrix ''A'' with can be computed recursively as : \operatorname(A) = \sum_^(-1)^a_\operatorname(A_), where the index ''i'' can be selected arbitrarily, \theta(i-j) is the
Heaviside step function The Heaviside step function, or the unit step function, usually denoted by or (but sometimes , or ), is a step function named after Oliver Heaviside, the value of which is zero for negative arguments and one for positive arguments. Differen ...
, 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: : \operatorname(A) = \sum_^(-1)^a_\operatorname(A_).


Alternative definitions

One can associate to any skew-symmetric 2''n'' × 2''n'' matrix a
bivector In mathematics, a bivector or 2-vector is a quantity in exterior algebra or geometric algebra that extends the idea of scalars and vectors. Considering a scalar as a degree-zero quantity and a vector as a degree-one quantity, a bivector is of ...
: \omega = \sum_ a_\;e_i \wedge e_j , where is the
standard basis In mathematics, the standard basis (also called natural basis or canonical basis) of a coordinate vector space (such as \mathbb^n or \mathbb^n) is the set of vectors, each of whose components are all zero, except one that equals 1. For exampl ...
of R2''n''. The Pfaffian is then defined by the equation : \frac\omega^n = \operatorname(A)\;e_1\wedge e_2\wedge\cdots\wedge e_, here ''ω''''n'' denotes the
wedge product A wedge is a triangular shaped tool, a portable inclined plane, and one of the six simple machines. It can be used to separate two objects or portions of an object, lift up an object, or hold an object in place. It functions by converting a fo ...
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): \omega'=2 \omega = \sum_ a_\;e_i\wedge e_j, which gives \omega'^n = 2^n n! \operatorname(A)\;e_1\wedge e_2\wedge\cdots\wedge e_. 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 = \lfloor m/2\rfloor. 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 2''n'' × 2''n'' skew-symmetric matrix ''A'' : \operatorname(A^\text) = (-1)^n\operatorname(A). : \operatorname(\lambda A) = \lambda^n \operatorname(A). : \operatorname(A)^2 = \det(A). For an arbitrary 2''n'' × 2''n'' matrix ''B'', : \operatorname(BAB^\text)= \det(B)\operatorname(A). Substituting in this equation ''B = Am'', one gets for all integer ''m'' : \operatorname(A^)= (-1)^\operatorname(A)^.


Derivative identities

If ''A'' depends on some variable ''x''''i'', then the gradient of a Pfaffian is given by : \frac\frac=\frac\operatorname\left(A^\frac\right), and the Hessian of a Pfaffian is given by : \frac\frac=\frac\operatorname\left(A^\frac\right)-\frac\operatorname\left(A^\fracA^\frac\right)+\frac\operatorname\left(A^\frac\right)\operatorname\left(A^\frac\right). The following formula applies even if the matrix A is singular for some values of the variable x: : \frac=\sum_(-1)^\frac , where A_ is the (2n-2)\times (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 : \textrm(A)\,\textrm(B) = \exp(\tfrac\mathrm\log(A^\textB)). Suppose ''A'' and ''B'' are 2''n'' × 2''n'' skew-symmetric matrices, then : \mathrm(A)\,\mathrm(B) = \tfrac B_n(s_1, s_2, \ldots, s_n), \qquad \mathrm \qquad s_l = - \tfrac(l - 1)!\,\mathrm((AB)^l) and ''B''''n''(''s''1,''s''2,...,''s''n) are Bell polynomials.


Block matrices

For a block-diagonal matrix :: A_1\oplus A_2=\begin A_1 & 0 \\ 0 & A_2 \end, : \operatorname(A_1\oplus A_2) =\operatorname(A_1)\operatorname(A_2). For an arbitrary ''n'' × ''n'' matrix ''M'': : \operatorname\begin 0 & M \\ -M^\text & 0 \end = (-1)^\det M. It is often required to compute the Pfaffian of a skew-symmetric matrix S with the block structure : S = \begin M & Q \\ -Q^\mathrm & N \end\, where M and N are skew-symmetric matrices and Q is a general rectangular matrix. When M is
invertible In mathematics, the concept of an inverse element generalises the concepts of opposite () and reciprocal () of numbers. Given an operation denoted here , and an identity element denoted , if , one says that is a left inverse of , and that ...
, one has : \operatorname(S) = \operatorname(M)\operatorname(N+ Q^\mathrm M^ Q). This can be seen from Aitken block-diagonalization formula,Bunch, James R. "A note on the stable decomposition of skew-symmetric matrices." Mathematics of Computation 38.158 (1982): 475-479. : \beginM& 0\\ 0 & N+Q^\mathrm M^ Q\end = \beginI& 0\\ Q^\mathrm M^ & I\end\begin M & Q\\ -Q^\mathrm & N\end \beginI& -M^ Q\\ 0 & I \end. This decomposition involves a congruence transformations that allow to use the Pfaffian property \operatorname(BAB^\mathrm) = \operatorname(B)\operatorname(A). Similarly, when N is invertible, one has : \operatorname(S) = \operatorname(N)\operatorname(M+ Q N^ Q^\mathrm), as can be seen by employing the decomposition : \beginM+Q N^ Q^\mathrm& 0\\ 0 & N\end = \beginI& -Q N^\\ 0 & I\end\begin M& Q\\ -Q^\mathrm & N\end \beginI& 0\\ N^ Q^\mathrm& I \end.


Calculating the Pfaffian numerically

Suppose ''A'' is a ''2n × 2n'' skew-symmetric matrices, then : \textrm(A) = i^ \exp\left(\tfrac\mathrm\log((\sigma_y\otimes I_n)^\mathrm\cdot A)\right), where \sigma_y is the second Pauli matrix, I_n is an
identity matrix In linear algebra, the identity matrix of size n is the n\times n square matrix with ones on the main diagonal and zeros elsewhere. It has unique properties, for example when the identity matrix represents a geometric transformation, the obje ...
of dimension ''n'' and we took the trace over a matrix logarithm. This equality is based on the trace identity : \textrm(A)\,\textrm(B) = \exp\left(\tfrac\mathrm\log(A^\textB)\right) and on the observation that \textrm(\sigma_y\otimes I_n)=(-i)^. Since calculating the logarithm of a matrix is a computationally demanding task, one can instead compute all
eigenvalue In linear algebra, an eigenvector ( ) or characteristic vector is a vector that has its direction unchanged (or reversed) by a given linear transformation. More precisely, an eigenvector \mathbf v of a linear transformation T is scaled by a ...
s of ((\sigma_y\otimes I_n)^\mathrm\cdot A), take the log of all of these and sum them up. This procedure merely exploits the
property Property is a system of rights that gives people legal control of valuable things, and also refers to the valuable things themselves. Depending on the nature of the property, an owner of property may have the right to consume, alter, share, re ...
\operatorname = \operatorname + \operatorname. This can be implemented in
Mathematica Wolfram (previously known as Mathematica and Wolfram Mathematica) is a software system with built-in libraries for several areas of technical computing that allows machine learning, statistics, symbolic computation, data manipulation, network ...
with a single statement: : Pf _:= Module I^(n^2) Exp[ 1/2 Total[ Log[Eigenvalues[ Dot[Transpose[KroneckerProduct[PauliMatrix[2 IdentityMatrix[n], x] ] However, this algorithm is unstable when the Pfaffian is large. The eigenvalues of (\sigma_y\otimes I_n)^\mathrm\cdot A will generally be complex, and the logarithm of these complex eigenvalues are generally taken to be in \pi, \pi/math>. Under the summation, for a real valued Pfaffian, the argument of the exponential will be given in the form x + k\pi/2 for some integer k. When x is very large, rounding errors in computing the resulting sign from the complex phase can lead to a non-zero imaginary component. For other (more) efficient algorithms see .


Applications

* There exist programs for the numerical computation of the Pfaffian on various platforms (Python,
Matlab MATLAB (an abbreviation of "MATrix LABoratory") is a proprietary multi-paradigm programming language and numeric computing environment developed by MathWorks. MATLAB allows matrix manipulations, plotting of functions and data, implementat ...
, Mathematica) . * The Pfaffian is an invariant polynomial of a skew-symmetric matrix under a proper
orthogonal In mathematics, orthogonality (mathematics), orthogonality is the generalization of the geometric notion of ''perpendicularity''. Although many authors use the two terms ''perpendicular'' and ''orthogonal'' interchangeably, the term ''perpendic ...
change of basis In mathematics, an ordered basis of a vector space of finite dimension allows representing uniquely any element of the vector space by a coordinate vector, which is a sequence of scalars called coordinates. If two different bases are conside ...
. As such, it is important in the theory of characteristic classes. In particular, it can be used to define the
Euler class In mathematics, specifically in algebraic topology, the Euler class is a characteristic class of oriented, real vector bundles. Like other characteristic classes, it measures how "twisted" the vector bundle is. In the case of the tangent bundle o ...
of a
Riemannian manifold In differential geometry, a Riemannian manifold is a geometric space on which many geometric notions such as distance, angles, length, volume, and curvature are defined. Euclidean space, the N-sphere, n-sphere, hyperbolic space, and smooth surf ...
that is used in the
generalized Gauss–Bonnet theorem A generalization is a form of abstraction whereby common properties of specific instances are formulated as general concepts or claims. Generalizations posit the existence of a domain or set of elements, as well as one or more common characteri ...
. * The number of
perfect matching In graph theory, a perfect matching in a graph is a matching that covers every vertex of the graph. More formally, given a graph with edges and vertices , a perfect matching in is a subset of , such that every vertex in is adjacent to exact ...
s in a
planar graph In graph theory, a planar graph is a graph (discrete mathematics), graph that can be graph embedding, embedded in the plane (geometry), plane, i.e., it can be drawn on the plane in such a way that its edges intersect only at their endpoints. ...
is given by a Pfaffian, hence is
polynomial time In theoretical computer science, the time complexity is the computational complexity that describes the amount of computer time it takes to run an algorithm. Time complexity is commonly estimated by counting the number of elementary operations p ...
computable via the FKT algorithm. This is surprising given that for general graphs, the problem is very difficult (so called #P-complete). This result is used to calculate the number of domino tilings of a rectangle, the partition function of
Ising model The Ising model (or Lenz–Ising model), named after the physicists Ernst Ising and Wilhelm Lenz, is a mathematical models in physics, mathematical model of ferromagnetism in statistical mechanics. The model consists of discrete variables that r ...
s in physics, or of
Markov random field In the domain of physics and probability, a Markov random field (MRF), Markov network or undirected graphical model is a set of random variables having a Markov property described by an undirected graph In discrete mathematics, particularly ...
s in
machine learning Machine learning (ML) is a field of study in artificial intelligence concerned with the development and study of Computational statistics, statistical algorithms that can learn from data and generalise to unseen data, and thus perform Task ( ...
(; ), where the underlying graph is planar. 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. See Holographic algorithm for more information.


See also

*
Determinant In mathematics, the determinant is a Scalar (mathematics), scalar-valued function (mathematics), function of the entries of a square matrix. The determinant of a matrix is commonly denoted , , or . Its value characterizes some properties of the ...
* Dimer model * Hafnian *
Polyomino A polyomino is a plane geometric figure formed by joining one or more equal squares edge to edge. It is a polyform whose cells are squares. It may be regarded as a finite subset of the regular square tiling. Polyominoes have been used in popu ...
*
Statistical mechanics In physics, statistical mechanics is a mathematical framework that applies statistical methods and probability theory to large assemblies of microscopic entities. Sometimes called statistical physics or statistical thermodynamics, its applicati ...


Notes


References

* * Reprinted in Collected mathematical papers, volume 2. * * * * * * * *
''Online''
* * *


External links

*

* T. Jones
''The Pfaffian and the Wedge Product'' (a demonstration of the proof of the Pfaffian/determinant relationship)
* R. Kenyon and A. Okounkov
''What is ... a dimer?''
* * W. Ledermann "A note on skew-symmetric determinants" https://www.researchgate.net/publication/231827602_A_note_on_skew-symmetric_determinants {{refend Determinants Multilinear algebra