In mathematics, specifically linear algebra, the Cauchy–Binet formula, named after Augustin-Louis Cauchy and Jacques Philippe Marie Binet, is an identity for the determinant of the product of two rectangular matrices of transpose shapes (so that the product is well-defined and square). It generalizes the statement that the determinant of a product of square matrices is equal to the product of their determinants. The formula is valid for matrices with the entries from any commutative ring.

Statement

Let be an matrix and an matrix. Write for the set , and <math>\tbinom{[n]}m</math> for the set of -combinations of (i.e., subsets of of size ; there are <math>\tbinom nm</math> of them). For <math>S\in\tbinom{[n]}m</math>, write for the matrix whose columns are the columns of at indices from , and for the matrix whose rows are the rows of at indices from . The Cauchy–Binet formula then states

: <math>\det(AB) = \sum_{S\in\tbinom{[n]}m} \det(A_{[m],S})\det(B_{S,[m]}).</math>

Example: Taking and , and matrices <math>A = \begin{pmatrix}1&1&2\\

3& 1& -1\\

\end{pmatrix}</math>

and <math>B =

\begin{pmatrix}1&1\\3&1\\0&2\end{pmatrix}</math>, the Cauchy–Binet formula gives the determinant

:<math>

\det(AB)=

\left|\begin{matrix}1&1\\3&1\end{matrix}\right|

\cdot

\left|\begin{matrix}1&1\\3&1\end{matrix}\right|

+

\left|\begin{matrix}1&2\\1&-1\end{matrix}\right|

\cdot

\left|\begin{matrix}3&1\\0&2\end{matrix}\right|

+

\left|\begin{matrix}1&2\\3&-1\end{matrix}\right|

\cdot

\left|\begin{matrix}1&1\\0&2\end{matrix}\right|.

</math>

Indeed <math>AB =\begin{pmatrix}4&6\\6&2\end{pmatrix}</math>, and its determinant is <math>-28</math> which equals <math>(-2) \times (-2) + (-3) \times 6 + (-7) \times 2</math> from the right hand side of the formula.

Special cases

If then <math>\tbinom{[n]}m</math> is the empty set, and the formula says that <math>\det(AB) = 0</math> (its right hand side is an empty sum); indeed in this case the rank of the <math>m \times m</math> matrix <math>AB</math> is at&nbsp;most&nbsp;<math>n</math>, which implies that its determinant is zero. If <math>n = m</math>, the case where <math>A</math> and <math>B</math> are square matrices, <math>\tbinom{[n]}m=\{[n]\} </math> (a singleton set), so the sum only involves <math>S = [n]</math>, and the formula states that <math>\det(AB) = \det(A)\det(B)</math>.

For <math>m = 0</math>, <math>A</math> and <math>B</math> are empty matrices (but of different shapes if <math>n > 0</math>), as is their product <math>AB</math>; the summation involves a single term <math>S = \emptyset</math>, and the formula states <math>1 = 1</math>, with both sides given by the determinant of the <math>0 \times 0</math> matrix. For <math>m = 1</math>, the summation ranges over the collection <math>\tbinom{[n]}1</math> of the <math>n</math> different singletons taken from <math>[n]</math>, and both sides of the formula give <math>\textstyle\sum_{j=1}^nA_{1,j}B_{j,1}</math>, the dot product of the pair of vectors represented by the matrices. The smallest value of <math>m</math> for which the formula states a non-trivial equality is <math>m = 2</math>; it is discussed in the article on the Binet–Cauchy identity.

In the case n = 3

Let <math> \boldsymbol{a}, \boldsymbol{b}, \boldsymbol{c}, \boldsymbol{d}, \boldsymbol{x}, \boldsymbol{y},\boldsymbol{z},\boldsymbol{w} </math> be three-dimensional vectors.

: <math>

\begin{align}

& 1 = 1 & (m = 0)\\[10pt]

& \boldsymbol{a}\cdot \boldsymbol{x} = a_1 x_1 + a_2 x_2 + a_3 x_3 & (m = 1)\\[10pt]

& \begin{vmatrix}

\boldsymbol{a}\cdot \boldsymbol{x} & \boldsymbol{a}\cdot \boldsymbol{y}\\

\boldsymbol{b}\cdot \boldsymbol{x} & \boldsymbol{b}\cdot \boldsymbol{y}

\end{vmatrix} \\[4pt]

= {} &

\begin{vmatrix}

a_2 & a_3\\

b_2 & b_3

\end{vmatrix}

\begin{vmatrix}

x_2 & y_2\\

x_3 & y_3

\end{vmatrix}

+

\begin{vmatrix}

a_3 & a_1\\

b_3 & b_1

\end{vmatrix}

\begin{vmatrix}

x_3 & y_3\\

x_1 & y_1

\end{vmatrix}

+

\begin{vmatrix}

a_1 & a_2\\

b_1 & b_2

\end{vmatrix}

\begin{vmatrix}

x_1 & y_1\\

x_2 & y_2

\end{vmatrix}\\[4pt]

= {} & (\boldsymbol{a}\times\boldsymbol{b})\cdot(\boldsymbol{x}\times\boldsymbol{y})

& (m = 2)\\[10pt]

& \begin{vmatrix}

\boldsymbol{a}\cdot \boldsymbol{x} & \boldsymbol{a}\cdot \boldsymbol{y} & \boldsymbol{a}\cdot \boldsymbol{z}\\

\boldsymbol{b}\cdot \boldsymbol{x} & \boldsymbol{b}\cdot \boldsymbol{y} & \boldsymbol{b}\cdot \boldsymbol{z}\\

\boldsymbol{c}\cdot \boldsymbol{x} & \boldsymbol{c}\cdot \boldsymbol{y} & \boldsymbol{c}\cdot \boldsymbol{z}

\end{vmatrix}

=

\begin{vmatrix}

a_1 & a_2 & a_3\\

b_1 & b_2 & b_3\\

c_1 & c_2 & c_3

\end{vmatrix}

\begin{vmatrix}

x_1 & y_1 & z_1 \\

x_2 & y_2 & z_2 \\

x_3 & y_3 & z_3

\end{vmatrix}\\[4pt]

= {} & [\boldsymbol{a}\cdot (\boldsymbol{b} \times \boldsymbol{c})] [\boldsymbol{x}\cdot (\boldsymbol{y} \times \boldsymbol{z})]

& (m = 3)\\[10pt]

& \begin{vmatrix}

\boldsymbol{a}\cdot \boldsymbol{x} & \boldsymbol{a}\cdot \boldsymbol{y} & \boldsymbol{a}\cdot \boldsymbol{z} & \boldsymbol{a}\cdot \boldsymbol{w} \\

\boldsymbol{b}\cdot \boldsymbol{x} & \boldsymbol{b}\cdot \boldsymbol{y} & \boldsymbol{b}\cdot \boldsymbol{z} & \boldsymbol{b}\cdot \boldsymbol{w} \\

\boldsymbol{c}\cdot \boldsymbol{x} & \boldsymbol{c}\cdot \boldsymbol{y} & \boldsymbol{c}\cdot \boldsymbol{z} &

\boldsymbol{c}\cdot \boldsymbol{w} \\

\boldsymbol{d}\cdot \boldsymbol{x} & \boldsymbol{d}\cdot \boldsymbol{y} & \boldsymbol{d}\cdot \boldsymbol{z} &

\boldsymbol{d}\cdot \boldsymbol{w}

\end{vmatrix}

= 0 & (m = 4)

\end{align}

</math>

In the case , the right-hand side always equals&nbsp;0.

A simple proof

The following simple proof relies on two facts that can be proven in several different ways:

  1. For any <math>1 \leq k\leq n</math> the coefficient of <math>z^{n-k}</math> in the polynomial <math>\det(zI_n+X)</math> is the sum of the <math>k\times k</math> principal minors of <math>X</math>.
  2. If <math>m \leq n</math> and <math>A</math> is an <math>m\times n</math> matrix and <math>B</math> an <math>n\times m</math> matrix, then

::: <math>\det(zI_n+BA)=z^{n-m}\det(zI_m+AB)</math>.

Now, if we compare the coefficient of <math>z^{n-m}</math> in the equation <math>\det(zI_n+BA)=z^{n-m}\det(zI_m+AB)</math>, the left hand side will give the sum of the principal minors of <math>BA</math> while the right hand side will give the constant term of <math>\det(zI_m+AB)</math>, which is simply <math>\det(AB)</math>, which is what the Cauchy–Binet formula states, i.e.

: <math>

\begin{align}

&\det(AB)= \sum_{S\in\tbinom{[n]}m} \det((BA)_{S,S})=\sum_{S\in\tbinom{[n]}m} \det(B_{S,[m]}) \det(A_{[m],S}) \\[5pt]

= {} & \sum_{S\in\tbinom{[n]}m}\det(A_{[m],S}) \det(B_{S,[m]}).

\end{align}

</math>

Proof

There are various kinds of proofs that can be given for the Cauchy−Binet formula. The proof below is based on formal manipulations only, and avoids using any particular interpretation of determinants, which may be taken to be defined by the Leibniz formula. Only their multilinearity with respect to rows and columns, and their alternating property (vanishing in the presence of equal rows or columns) are used; in particular the multiplicative property of determinants for square matrices is not used, but is rather established (the case ). The proof is valid for arbitrary commutative coefficient rings.

The formula can be proved in two steps:

  1. use the fact that both sides are multilinear (more precisely -linear) in the rows of and the columns of , to reduce to the case that each row of and each column of has only one non-zero entry, which is&nbsp;1.
  2. handle that case using the functions that map respectively the row numbers of to the column number of their nonzero entry, and the column numbers of to the row number of their nonzero entry.

For step&nbsp;1, observe that for each row of or column of , and for each -combination , the values of and indeed depend linearly on the row or column. For the latter this is immediate from the multilinear property of the determinant; for the former one must in addition check that taking a linear combination for the row of or column of while leaving the rest unchanged only affects the corresponding row or column of the product AB, and by the same linear combination. Thus one can work out both sides of the Cauchy−Binet formula by linearity for every row of and then also every column of , writing each of the rows and columns as a linear combination of standard basis vectors. The resulting multiple summations are huge, but they have the same form for both sides: corresponding terms involve the same scalar factor (each is a product of entries of and of ), and these terms only differ by involving two different expressions in terms of constant matrices of the kind described above, which expressions should be equal according to the Cauchy−Binet formula. This achieves the reduction of the first step.

Concretely, the multiple summations can be grouped into two summations, one over all functions that for each row index of gives a corresponding column index, and one over all functions that for each column index of gives a corresponding row index. The matrices associated to and are

:<math>L_f=\bigl((\delta_{f(i),j})_{i\in[m],j\in[n]}\bigr) \quad\text{and}

\quad R_g=\bigl((\delta_{j,g(k)})_{j\in[n],k\in[m]}\bigr)</math>

where "<math>\delta</math>" is the Kronecker delta, and the Cauchy−Binet formula to prove has been rewritten as

: <math>

\begin{align}

& \sum_{f:[m]\to[n]}\sum_{g:[m]\to[n]}p(f,g)\det(L_fR_g) \\[5pt]

= {} & \sum_{f:[m]\to[n]}\sum_{g:[m]\to[n]} p(f,g) \sum_{S\in\tbinom{[n]}m} \det((L_f)_{[m],S}) \det((R_g)_{S,[m]}),

\end{align}

</math>

where denotes the scalar factor <math>\textstyle(\prod_{i=1}^mA_{i,f(i)})(\prod_{k=1}^mB_{g(k),k})</math>. It remains to prove the Cauchy−Binet formula for and , for all .

For this step&nbsp;2, if fails to be injective then and both have two identical rows, and if fails to be injective then and both have two identical columns; in either case both sides of the identity are zero. Supposing now that both and are injective maps , the factor <math>\det((L_f)_{[m],S})</math> on the right is zero unless , while the factor <math>\det((R_g)_{S,[m]})</math> is zero unless . So

if the images of and are different, the right hand side has only null terms, and the left hand side is zero as well since has a null row (for with <math>f(i)\notin g([m])</math>). In the remaining case where the images of and are the same, say , we need to prove that

:<math>\det(L_fR_g)=\det((L_f)_{[m],S})\det((R_g)_{S,[m]}).\,</math>

Let be the unique increasing bijection , and the permutations of such that <math>f=h\circ\pi^{-1}</math> and <math>g=h\circ\sigma</math>; then <math>(L_f)_{[m],S}</math> is the permutation matrix for , <math>(R_g)_{S,[m]}</math> is the permutation matrix for , and is the permutation matrix for <math>\pi\circ\sigma</math>, and since the determinant of a permutation matrix equals the signature of the permutation, the identity follows from the fact that signatures are multiplicative.

Using multi-linearity with respect to both the rows of and the columns of in the proof is not necessary; one could use just one of them, say the former, and use that a matrix product either consists of a permutation of the rows of (if is injective), or has at least two equal rows.

Relation to the generalized Kronecker delta

As we have seen, the Cauchy–Binet formula is equivalent to the following:

:<math>

\det(L_fR_g)=\sum_{S\in\tbinom{[n]}m} \det((L_f)_{[m],S})\det((R_g)_{S,[m]}),

</math>

where

:<math>

L_f=\bigl((\delta_{f(i),j})_{i\in[m],j\in[n]}\bigr) \quad\text{and} \quad R_g=\bigl((\delta_{j,g(k)})_{j\in[n],k\in[m]}\bigr).

</math>

In terms of generalized Kronecker delta, we can derive the formula equivalent to the Cauchy–Binet formula:

:<math>

\delta^{f(1) \dots f(m)}_{g(1) \dots g(m)} = \sum_{k:[m]\to[n] \atop k(1)<\dots<k(m)}

\delta^{f(1) \dots f(m)}_{k(1) \dots k(m)}

\delta^{k(1) \dots k(m)}_{g(1) \dots g(m)}.

</math>

Geometric interpretations

If is a real matrix, then is equal to the square of the -dimensional volume of the parallelotope spanned in by the rows of . Binet's formula states that this is equal to the sum of the squares of the volumes that arise if the parallelepiped is orthogonally projected onto the -dimensional coordinate planes (of which there are <math>\tbinom nm</math>).

In the case the parallelotope is reduced to a single vector and its volume is its length. The above statement then states that the square of the length of a vector is the sum of the squares of its coordinates; this is indeed the case by the definition of that length, which is based on the Pythagorean theorem.

In tensor algebra, given an inner product space <math>V</math> of dimension , the Cauchy–Binet formula defines an induced inner product on the exterior algebra <math>\wedge^m V</math>, namely:<blockquote><math>\langle v_1\wedge\cdots \wedge v_m, w_1\wedge\cdots \wedge w_m\rangle

=\det\left( \langle v_i,w_j\rangle \right)_{i,j=1}^m .</math></blockquote>

Generalization

The Cauchy–Binet formula can be extended in a straightforward way to a general formula for the minors of the product of two matrices. Context for the formula is given in the article on minors, but the idea is that both the formula for ordinary matrix multiplication and the Cauchy–Binet formula for the determinant of the product of two matrices are special cases of the following general statement about the minors of a product of two matrices.

Suppose that is an matrix, is an matrix, is a subset of with elements and is a subset of with elements. Then

:<math>[\mathbf{AB}]_{I,J} = \sum_{K} [\mathbf{A}]_{I,K} [\mathbf{B}]_{K,J}\,</math>

where the sum extends over all subsets of with elements. Note the notation <math>[\mathbf{M}]_{I,J}</math> means the determinant of the matrix formed by taking only the rows of with index in and the columns with index in .

Continuous version

A continuous version of the Cauchy–Binet formula, known as the Andréief identity, appears commonly in random matrix theory. It is stated as follows: let <math>\left\{f_j(x)\right\}_{j=1}^{N}</math> and <math>\left\{g_j(x)\right\}_{j=1}^{N}</math> be two sequences of integrable functions, supported on <math>I</math>. Then

:<math>\int_I \cdots \int_I \det \left[f_{j}(x_k)\right]_{j,k=1}^N \det \left[g_{j}(x_k)\right]_{j,k=1}^N dx_1 \cdots dx_N

= N!\, \det \left[\int_I f_j(x)g_k(x) dx\right]_{j,k=1}^{N}.</math>

Forrester describes how to recover the usual Cauchy–Binet formula as a discretisation of the above identity.

It is occasionally called the Andréief-Heine identity, though the credit to Heine sees unhistorical, as pre-2010 sources generally credit only Andréief.

References

  • Joel G. Broida & S. Gill Williamson (1989) A Comprehensive Introduction to Linear Algebra, §4.6 Cauchy-Binet theorem, pp&nbsp;208&ndash;14, Addison-Wesley .
  • Jin Ho Kwak & Sungpyo Hong (2004) Linear Algebra 2nd edition, Example&nbsp;2.15 Binet-Cauchy formula, pp&nbsp;66,7, Birkhäuser .
  • I. R. Shafarevich & A. O. Remizov (2012) Linear Algebra and Geometry, §2.9 (p.&nbsp;68) & §10.5 (p.&nbsp;377), Springer .
  • M.L. Mehta (2004) Random matrices, 3rd ed., Elsevier .