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
,
:
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
:
:
(3 is odd, so the Pfaffian of B is 0)
:
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
:
(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
:
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
:
with and
. Let
:
be the corresponding permutation. Given a partition α as above, define
:
The Pfaffian of ''A'' is then given by
:
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,
and for ''n'' odd, this implies
.
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
:
where the index ''i'' can be selected arbitrarily,
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
denotes the matrix ''A'' with both the ''i''-th and ''j''-th rows and columns removed. Note how for the special choice
this reduces to the simpler expression:
:
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 ...
:
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 R
2''n''. The Pfaffian is then defined by the equation
:
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
):
which gives
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
. 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''
:
:
:
For an arbitrary 2''n'' × 2''n'' matrix ''B'',
:
Substituting in this equation ''B = A
m'', one gets for all integer ''m''
:
Derivative identities
If ''A'' depends on some variable ''x''
''i'', then the gradient of a Pfaffian is given by
:
and the
Hessian of a Pfaffian is given by
:
The following formula applies even if the matrix
is singular for some values of the variable
:
:
where
is the
skew-symmetric matrix obtained from
by deleting rows and columns
.
Trace identities
The product of the Pfaffians of skew-symmetric matrices ''A'' and ''B'' can be represented in the form of an exponential
:
Suppose ''A'' and ''B'' are 2''n'' × 2''n'' skew-symmetric matrices, then
:
and ''B''
''n''(''s''
1,''s''
2,...,''s''
n) are
Bell polynomials.
Block matrices
For a block-diagonal matrix
::
:
For an arbitrary ''n'' × ''n'' matrix ''M'':
:
It is often required to compute the Pfaffian of a skew-symmetric matrix
with the block structure
:
where
and
are skew-symmetric matrices and
is a general rectangular matrix.
When
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
:
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.]
:
This decomposition involves a
congruence transformations that allow to use the Pfaffian property
.
Similarly, when
is invertible, one has
:
as can be seen by employing the decomposition
:
Calculating the Pfaffian numerically
Suppose ''A'' is a ''2n × 2n'' skew-symmetric matrices, then
:
where
is the second
Pauli matrix,
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
:
and on the observation that
.
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
, 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 ...
. 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
will generally be complex, and the logarithm of these complex eigenvalues are generally taken to be in