The permanent of a matrix adds the products obtained by choosing one entry in each row and one in each column. For an matrix with entries in the real numbers or complex numbers,Here each permutation chooses column in row , and the symmetric group lists every such bijection. The formula resembles the Leibniz formula for determinants, but omits the sign of a permutation. For a two-by-two matrix,The absence of alternating signs makes the permanent of a matrix particularly useful for counting allowed assignments.
For a zero-one matrix, let rows represent people, columns represent jobs, and mean that person can do job . This is the biadjacency matrix of a bipartite graph. A product in the permanent is one exactly when all the selected assignments are allowed; otherwise it is zero. Each surviving permutation assigns every person a different job, which is a perfect matching. Thus the permanent counts perfect matchings. This interpretation and the definition are given in Yufei Zhao, Probabilistic Methods in Combinatorics, §10.2, pp. 178–179.
For a fully enumerated example, takeAmong the six permutations of three columns, exactly three give nonzero products: , and . These tuples list the chosen column in each successive row. Each product is one, so . Their permutation signs are , giving . The diagram displays all three allowed assignments.
Three allowed one-to-one assignments contribute positively to the permanent, while their permutation signs give a determinant of minus one
. Details. A zero determinant need not mean that no assignment exists. The two-by-two all-ones matrix has permanent and determinant : its two assignments cancel in the determinant. The nonzero determinant criterion for a perfect matching is sufficient for existence, but the converse fails for a fixed zero-one matrix.
For nonnegative entries, the permanent instead sums assignment weights, with each assignment weighted by the product of its selected entries. It is then a total weight rather than necessarily an integer count. With arbitrary entries in the real numbers or complex numbers, even the permanent can have cancellation; the counting interpretation specifically uses zero-one entries. The permanent as probability of distinct independent choices gives another useful nonnegative interpretation.
There are terms in the defining sum, linking direct evaluation to the factorial. For the all-ones matrix, every term is one and the permanent is exactly ; the identity matrix has permanent one. Finding one allowed assignment and counting all allowed assignments are different questions. Their relationship to computational complexity theory was studied in L. G. Valiant, The complexity of computing the permanent, Theoretical Computer Science 8(2), 189–201, 1979. The elementary sum is useful for small examples, while the existing dense permanent approximation describes a more specialized way of estimating large counts.
Let be independent random variables, each choosing a label from . Put their probabilities in the matrix , where . Each row sums to one. All choices are distinct precisely when their ordered list is one of the permutations of the labels. These are mutually exclusive events, and independence makes the probability of one list equal to . Adding the list probabilities gives the permanent of a matrix:In particular, this permanent lies between zero and one.
For a two-person example,The distinct outcomes and have probabilities and . ThereforeThe colliding outcomes and have probabilities and , totaling . All four outcomes are shown below; their probabilities sum to one.
The permanent adds the probabilities of distinct choices: two successful outcomes have total probability 0.65
. Details. If every choice has the uniform distribution on a finite set of labels, then and the distinct-choice probability is . For three choices and three labels it is . This counts a subset of all ordered outcomes, not independent pairwise collision events. Independence of the original choices is essential: without it, the individual rows of do not determine the joint probabilities.
If every row and column of an -by- zero-one matrix has more than ones, its permanent of a matrix has a fully polynomial randomized approximation scheme. The short augmenting paths in a dense bipartite graph bound makes the leading coefficient dominate the matching generating function at polynomially large activity. The weighted matching Markov chain samples polynomially bounded activities in polynomial mixing time. Estimate successive annealing ratios for a matching generating function and divide by the final activity to the power .

