Suppose B is an
n ×
n matrix and i,j\in\{1,2,\dots,n\}. For clarity we also label the entries of B that compose its i,j minor matrix M_{ij} as (a_{st}) for 1 \le s,t \le n-1. Consider the terms in the expansion of |B| that have b_{ij} as a factor. Each has the form : \sgn \tau\,b_{1,\tau(1)} \cdots b_{i,j} \cdots b_{n,\tau(n)} = \sgn \tau\,b_{ij} a_{1,\sigma(1)} \cdots a_{n-1,\sigma(n-1)} for some
permutation with \tau(i)=j, and a unique and evidently related permutation \sigma\in S_{n-1} which selects the same minor entries as . Similarly each choice of determines a corresponding i.e. the correspondence \sigma\leftrightarrow\tau is a
bijection between S_{n-1} and \{\tau\in S_n\colon\tau(i)=j\}. Using
Cauchy's two-line notation, the explicit relation between \tau and \sigma can be written as : \sigma = \begin{pmatrix} 1 & 2 & \cdots & i & \cdots & n-1 \\ (\leftarrow)_j ( \tau(1) ) & (\leftarrow)_j ( \tau(2) ) & \cdots & (\leftarrow)_j ( \tau(i+1) ) & \cdots & (\leftarrow)_j ( \tau(n) ) \end{pmatrix} where (\leftarrow)_j is a temporary shorthand notation for a
cycle (n,n-1,\cdots,j+1,j). This operation decrements all indices larger than j so that every index fits in the set {1,2,...,n-1} The permutation can be derived from as follows. Define \sigma'\in S_n by \sigma'(k) = \sigma(k) for 1 \le k \le n-1 and \sigma'(n) = n. Then \sigma' is expressed as : \sigma' = \begin{pmatrix} 1 & 2 & \cdots & i & \cdots & n-1 & n \\ (\leftarrow)_j ( \tau(1) ) & (\leftarrow)_j ( \tau(2) ) & \cdots & (\leftarrow)_j ( \tau(i+1) ) & \cdots & (\leftarrow)_j ( \tau(n) ) & n\end{pmatrix} Now, the operation which apply (\leftarrow)_i first and then apply \sigma' is (Notice applying A before B is equivalent to applying inverse of A to the upper row of B in two-line notation) : \sigma' (\leftarrow)_i = \begin{pmatrix} 1 & 2 & \cdots & i+1 & \cdots & n & i \\ (\leftarrow)_j ( \tau(1) ) & (\leftarrow)_j ( \tau(2) ) & \cdots & (\leftarrow)_j ( \tau(i+1) ) & \cdots & (\leftarrow)_j ( \tau(n) ) & n \end{pmatrix} where (\leftarrow)_i is temporary shorthand notation for (n,n-1,\cdots,i+1,i). the operation which applies \tau first and then applies (\leftarrow)_j is : (\leftarrow)_j \tau = \begin{pmatrix} 1 & 2 & \cdots & i & \cdots & n-1 & n \\ (\leftarrow)_j ( \tau(1) ) & (\leftarrow)_j ( \tau(2) ) & \cdots & n & \cdots & (\leftarrow)_j ( \tau(n-1) ) & (\leftarrow)_j ( \tau(n) ) \end{pmatrix} above two are equal thus, : (\leftarrow)_j \tau = \sigma' (\leftarrow)_i : \tau = (\rightarrow)_j \sigma' (\leftarrow)_i where (\rightarrow)_j is the inverse of (\leftarrow)_j which is (j,j+1,\cdots,n). Thus : \tau\,=(j,j+1,\ldots,n)\sigma'(n,n-1,\ldots,i) Since the two
cycles can be written respectively as n-i and n-j
transpositions, : \sgn\tau\,= (-1)^{2n-(i+j)} \sgn\sigma'\,= (-1)^{i+j} \sgn\sigma. And since the map \sigma\leftrightarrow\tau is bijective, :\begin{align} \sum_{i=1}^n\sum_{\tau \in S_n:\tau(i)=j} \sgn \tau\,b_{1,\tau(1)} \cdots b_{n,\tau(n)} &= \sum_{i=1}^{n}\sum_{\sigma \in S_{n-1}} (-1)^{i+j}\sgn\sigma\, b_{ij} a_{1,\sigma(1)} \cdots a_{n-1,\sigma(n-1)}\\ &= \sum_{i=1}^{n}b_{ij}(-1)^{i+j} \sum_{\sigma \in S_{n-1}} \sgn\sigma\, a_{1,\sigma(1)} \cdots a_{n-1,\sigma(n-1)}\\ &= \sum_{i=1}^{n} b_{ij} (-1)^{i+j} M_{ij} \end{align} from which the result follows. Similarly, the result holds if the index of the outer summation was replaced with j. ==Laplace expansion of a determinant by complementary minors==