Permanent
|
- For the hair treatment see Permanent wave.
In linear algebra, the permanent of an n-by-n matrix A=(ai,j) is defined as
- <math>\operatorname{per}(A)=\sum_{\sigma\in S_n}\prod_{i=1}^n a_{i,\sigma(i)}<math>
The sum here extends over all elements σ of the symmetric group Sn, i.e. over all permutations of the number 1,2,...,n.
For example,
- <math>\operatorname{per}\begin{pmatrix}a&b\\
c&d\end{pmatrix}=ad+bc.<math>
The definition of the permanent of A differs from that of the determinant of A in that the signatures of the permutations are not taken into account. If one views the permanent as a map that takes n vectors as arguments, then it is a multilinear map and it is symmetric (meaning that any order of the vectors results in the same permanent). A formula similar to Laplace's for the development of a determinant along a row or column is also valid for the permanent; all signs have to be ignored for the permanent.
Unlike the determinant, the permanent has no easy geometrical interpretation; it is mainly used in combinatorics. The permanent describes the number of perfect matchings in a bipartite graph. More specifically, let G be a bipartite graph with vertices A1, A2, ..., An on one side and B1, B2, ..., Bn on the other side. Then, G can be described by an n-by-n matrix A=(ai,j) where ai,j = 1 if there is an edge between the vertices Ai and Bj and ai,j = 0 otherwise. The permanent of this matrix is equal to the number of perfect matchings in the graph.
The permanent is also more difficult to compute than the determinant. The determinant can be computed in polynomial time by Gaussian elimination. The permanent cannot be computed by Gaussian elimination. Moreover, computing the permanent of a 0-1 matrix (matrix whose entries are 0 or 1) is #P-complete. Thus, if the permanent can be computed in polynomial time by any method, then P=#P which is an even stronger statement than P=NP. It can, however, be computed approximately in probabilistic polynomial time, up to an error of εM, where M is the value of the permanent and ε>0 is arbitrary.