Kalpana Kalpana (Editor)

Permanent

Updated on
Edit
Like
Comment
Share on FacebookTweet on TwitterShare on LinkedInShare on Reddit

In linear algebra, the permanent of a square matrix is a function of the matrix similar to the determinant. The permanent, as well as the determinant, is a polynomial in the entries of the matrix. Both permanent and determinant are special cases of a more general function of a matrix called the immanant.

Contents

Definition

The permanent of an n-by-n matrix A = (ai,j) is defined as

perm ( A ) = σ S n i = 1 n a i , σ ( i ) .

The sum here extends over all elements σ of the symmetric group Sn; i.e. over all permutations of the numbers 1, 2, ..., n.

For example,

perm ( a b c d ) = a d + b c ,

and

perm ( a b c d e f g h i ) = a e i + b f g + c d h + c e g + b d i + a f h .

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.

The permanent of a matrix A is denoted per A, perm A, or Per A, sometimes with parentheses around the argument. In his monograph, Minc (1984) uses Per(A) for the permanent of rectangular matrices, and uses per(A) when A is a square matrix. Muir (1882) uses the notation | + | + .

The word, permanent, originated with Cauchy in 1812 as “fonctions symétriques permanentes” for a related type of function, and was used by Muir (1882) in the modern, more specific, sense.

Properties and applications

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). Furthermore, given a square matrix A = ( a i j ) of order n, we have:

  • perm(A) is invariant under arbitrary permutations of the rows and/or columns of A. This property may be written symbolically as perm(A) = perm(PAQ) for any appropriately sized permutation matrices P and Q,
  • multiplying any single row or column of A by a scalar s changes perm(A) to s⋅perm(A),
  • perm(A) is invariant under transposition, that is, perm(A) = perm(A).
  • If A = ( a i j ) and B = ( b i j ) are square matrices of order n then,

    perm ( A + B ) = s , t perm ( a i j ) i s , j t perm ( b i j ) i s ¯ , j t ¯ ,

    where s and t are subsets of the same size of {1,2,...,n} and s ¯ , t ¯ are their respective complements in that set.

    On the other hand, the basic multiplicative property of determinants is not valid for permanents. A simple example shows that this is so. 4 = perm ( 1 1 1 1 ) perm ( 1 1 1 1 ) perm ( ( 1 1 1 1 ) ( 1 1 1 1 ) ) = perm ( 2 2 2 2 ) = 8.

    A formula similar to Laplace's for the development of a determinant along a row, column or diagonal is also valid for the permanent; all signs have to be ignored for the permanent. For example, expanding along the first column,

    perm ( 1 1 1 1 2 1 0 0 3 0 1 0 4 0 0 1 ) = 1 perm ( 1 0 0 0 1 0 0 0 1 ) + 2 perm ( 1 1 1 0 1 0 0 0 1 ) + +   3 perm ( 1 1 1 1 0 0 0 0 1 ) + 4 perm ( 1 1 1 1 0 0 0 1 0 ) = 1 ( 1 ) + 2 ( 1 ) + 3 ( 1 ) + 4 ( 1 ) = 10 ,

    while expanding along the last row gives,

    perm ( 1 1 1 1 2 1 0 0 3 0 1 0 4 0 0 1 ) = 4 perm ( 1 1 1 1 0 0 0 1 0 ) + 0 perm ( 1 1 1 2 0 0 3 1 0 ) + +   0 perm ( 1 1 1 2 1 0 3 0 0 ) + 1 perm ( 1 1 1 2 1 0 3 0 1 ) = 4 ( 1 ) + 0 + 0 + 1 ( 6 ) = 10.

    Unlike the determinant, the permanent has no easy geometrical interpretation; it is mainly used in combinatorics and in treating boson Green's functions in quantum field theory. However, it has two graph-theoretic interpretations: as the sum of weights of cycle covers of a directed graph, and as the sum of weights of perfect matchings in a bipartite graph.

    Symmetric tensors

    The permanent arises naturally in the study of the symmetric tensor power of Hilbert spaces. In particular, for a Hilbert space H , let k H denote the k th symmetric tensor power of H , which is the space of symmetric tensors. Note in particular that k H is spanned by the Symmetric products of elements in H . For x 1 , x 2 , , x k H , we define the symmetric product of these elements by

    x 1 x 2 x k = ( k ! ) 1 / 2 σ S k x σ ( 1 ) x σ ( 2 ) x σ ( k )

    If we consider k H (as a subspace of k H , the kth tensor power of H ) and define the inner product on k H accordingly, we find that for x j , y j H

    x 1 x 2 x k , y 1 y 2 y k = perm [ x i , y j ] i , j = 1 k

    Applying the Cauchy–Schwarz inequality, we find that perm [ x i , x j ] i , j = 1 k 0 , and that

    | perm [ x i , y j ] i , j = 1 k | 2 perm [ x i , x j ] i , j = 1 k perm [ y i , y j ] i , j = 1 k

    Cycle covers

    Any square matrix A = ( a i j ) can be viewed as the adjacency matrix of a weighted directed graph, with a i j representing the weight of the arc from vertex i to vertex j. A cycle cover of a weighted directed graph is a collection of vertex-disjoint directed cycles in the digraph that covers all vertices in the graph. Thus, each vertex i in the digraph has a unique "successor" σ ( i ) in the cycle cover, and σ is a permutation on { 1 , 2 , , n } where n is the number of vertices in the digraph. Conversely, any permutation σ on { 1 , 2 , , n } corresponds to a cycle cover in which there is an arc from vertex i to vertex σ ( i ) for each i.

    If the weight of a cycle-cover is defined to be the product of the weights of the arcs in each cycle, then

    Weight ( σ ) = i = 1 n a i , σ ( i ) .

    The permanent of an n × n matrix A is defined as

    perm ( A ) = σ i = 1 n a i , σ ( i )

    where σ is a permutation over { 1 , 2 , , n } . Thus the permanent of A is equal to the sum of the weights of all cycle-covers of the digraph.

    Perfect matchings

    A square matrix A = ( a i j ) can also be viewed as the adjacency matrix of a bipartite graph which has vertices x 1 , x 2 , , x n on one side and y 1 , y 2 , , y n on the other side, with a i j representing the weight of the edge from vertex x i to vertex y j . If the weight of a perfect matching σ that matches x i to y σ ( i ) is defined to be the product of the weights of the edges in the matching, then

    Weight ( σ ) = i = 1 n a i , σ ( i ) .

    Thus the permanent of A is equal to the sum of the weights of all perfect matchings of the graph.

    Permanents of (0,1) matrices

    The permanents of matrices that only have 0 and 1 as entries are often the answers to certain counting questions involving the structures that the matrices represent. This is particularly true of adjacency matrices in graph theory and incidence matrices of symmetric block designs.

    In an unweighted, directed, simple graph (a digraph), if we set each a i j to be 1 if there is an edge from vertex i to vertex j, then each nonzero cycle cover has weight 1, and the adjacency matrix has 0-1 entries. Thus the permanent of a (0,1)-matrix is equal to the number of vertex cycle covers of an unweighted directed graph.

    For an unweighted bipartite graph, if we set ai,j = 1 if there is an edge between the vertices x i and y j and ai,j = 0 otherwise, then each perfect matching has weight 1. Thus the number of perfect matchings in G is equal to the permanent of matrix A.

    Let Ω(n,k) be the class of all (0,1)-matrices of order n with each row and column sum equal to k. Every matrix A in this class has perm(A) > 0. The incidence matrices of projective planes are in the class Ω(n2 + n + 1, n + 1) for n an integer > 1. The permanents corresponding to the smallest projective planes have been calculated. For n = 2, 3, and 4 the values are 24, 3852 and 18,534,400 respectively. Let Z be the incidence matrix of the projective plane with n = 2, the Fano plane. Remarkably, perm(Z) = 24 = |det (Z)|, the absolute value of the determinant of Z. This is a consequence of Z being a circulant matrix and the theorem:

    If A is a circulant matrix in the class Ω(n,k) then if k > 3, perm(A) > |det (A)| and if k = 3, perm(A) = |det (A)|. Furthermore, when k = 3, by permuting rows and columns, A can be put into the form of a direct sum of e copies of the matrix Z and consequently, n = 7e and perm(A) = 24e.

    Permanents can also be used to calculate the number of permutations with restricted (prohibited) positions. For the standard n-set, {1,2,...,n}, let A = ( a i j ) be the (0,1)-matrix where aij = 1 if i → j is allowed in a permutation and aij = 0 otherwise. Then perm(A) counts the number of permutations of the n-set which satisfy all the restrictions. Two well known special cases of this are the solution of the derangement problem (the number of permutations with no fixed points) given by:

    where J is the all 1's matrix and I is the identity matrix, each of order n, and the solution to the ménage problem given by:

    where I' is the (0,1)-matrix whose only non-zero entries are on the first superdiagonal.

    The Bregman–Minc inequality conjectured by H. Minc in 1963 and proved by L. M. Brégman in 1973 gives an upper bound for the permanent of an n × n (0,1)-matrix with ri ones in row i, 1 ≤ in as

    Van der Waerden's conjecture

    In 1926 Van der Waerden conjectured that the minimum permanent among all n × n doubly stochastic matrices is n!/nn, achieved by the matrix for which all entries are equal to 1/n. Proofs of this conjecture were published in 1980 by B. Gyires and in 1981 by G. P. Egorychev and D. I. Falikman; Egorychev's proof is an application of the Alexandrov–Fenchel inequality. For this work, Egorychev and Falikman won the Fulkerson Prize in 1982.

    Computation

    The naïve approach, using the definition, of computing permanents is computationally infeasible even for relatively small matrices. One of the fastest known algorithms is due to H. J. Ryser (Ryser (1963, p. 27)). Ryser’s method is based on an inclusion–exclusion formula that can be given as follows: Let A k be obtained from A by deleting k columns, let P ( A k ) be the product of the row-sums of A k , and let Σ k be the sum of the values of P ( A k ) over all possible A k . Then

    perm ( A ) = k = 0 n 1 ( 1 ) k Σ k .

    It may be rewritten in terms of the matrix entries as follows:

    perm ( A ) = ( 1 ) n S { 1 , , n } ( 1 ) | S | i = 1 n j S a i j .

    The permanent is believed to be more difficult to compute than the determinant. While the determinant can be computed in polynomial time by Gaussian elimination, Gaussian elimination cannot be used to compute the permanent. Moreover, computing the permanent of a (0,1)-matrix is #P-complete. Thus, if the permanent can be computed in polynomial time by any method, then FP = #P, which is an even stronger statement than P = NP. When the entries of A are nonnegative, however, the permanent can 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.

    MacMahon's Master Theorem

    Another way to view permanents is via multivariate generating functions. Let A = ( a i j ) be a square matrix of order n. Consider the multivariate generating function:

    F ( x 1 , x 2 , , x n ) = i = 1 n ( j = 1 n a i j x j ) = ( j = 1 n a 1 j x j ) ( j = 1 n a 2 j x j ) ( j = 1 n a n j x j ) .

    The coefficient of x 1 x 2 x n in F ( x 1 , x 2 , , x n ) is perm(A).

    As a generalization, for any sequence of n non-negative integers, s 1 , s 2 , , s n define:

    perm ( s 1 , s 2 , , s n ) ( A ) as the coefficient of x 1 s 1 x 2 s 2 x n s n in ( j = 1 n a 1 j x j ) s 1 ( j = 1 n a 2 j x j ) s 2 ( j = 1 n a n j x j ) s n .

    MacMahon's Master Theorem relating permanents and determinants is:

    perm ( s 1 , s 2 , , s n ) ( A ) =  coefficient of  x 1 s 1 x 2 s 2 x n s n  in  1 det ( I X A ) ,

    where I is the order n identity matrix and X is the diagonal matrix with diagonal [ x 1 , x 2 , , x n ] .

    Permanents of rectangular matrices

    The permanent function can be generalized to apply to non-square matrices. Indeed, several authors make this the definition of a permanent and consider the restriction to square matrices a special case. Specifically, for an m × n matrix A = ( a i j ) with m ≤ n, define

    perm ( A ) = σ P ( n , m ) a 1 σ ( 1 ) a 2 σ ( 2 ) a m σ ( m )

    where P(n,m) is the set of all m-permutations of the n-set {1,2,...,n}.

    Ryser's computational result for permanents also generalizes. If A is an m × n matrix with m ≤ n, let A k be obtained from A by deleting k columns, let P ( A k ) be the product of the row-sums of A k , and let σ k be the sum of the values of P ( A k ) over all possible A k . Then

    perm ( A ) = k = 0 m 1 ( 1 ) k ( n m + k k ) σ n m + k .

    Systems of distinct representatives

    The generalization of the definition of a permanent to non-square matrices allows the concept to be used in a more natural way in some applications. For instance:

    Let S1, S2, ..., Sm be subsets (not necessarily distinct) of an n-set with m ≤ n. The incidence matrix of this collection of subsets is an m × n (0,1)-matrix A. The number of systems of distinct representatives (SDR's) of this collection is perm(A).

    References

    Permanent Wikipedia