On this page
You know that det(AB) = det(A)det(B) for square matrices. The Cauchy–Binet formula answers the next question: what if A and B are rectangular, so AB is square but A and B have no determinants of their own? The answer is a sum of small determinants.
What is the Cauchy–Binet formula?
Let A be an m×n matrix and B an n×m matrix, so AB is m×m. The Cauchy–Binet formula says det(AB) = Σ det(A_S)·det(B_S), where the sum runs over every set S of m indices chosen from {1, …, n}.
Here A_S is the m×m matrix made from the columns of A numbered by S, and B_S is the m×m matrix made from the rows of B with the same numbers.
There are C(n, m) terms. If n < m there are no such sets, the sum is empty and the formula gives det(AB) = 0, which matches the fact that AB then has rank at most n, as the same article notes.
How does it work on a 2×3 and a 3×2 matrix?
Take A with rows (1, 2, 0) and (0, 1, 3), and B with rows (2, 1), (1, 0) and (0, 1).
Multiply first. AB has rows (4, 1) and (1, 3), so det(AB) = 4·3 − 1·1 = 11.
Now use Cauchy–Binet. With m = 2 and n = 3 there are three choices of S:
S = {1, 2}: columns 1 and 2 of A, rows (1, 2) and (0, 1), have determinant 1. Rows 1 and 2 of B, (2, 1) and (1, 0), have determinant −1. Product: −1.
S = {1, 3}: columns 1 and 3 of A, rows (1, 0) and (0, 3), have determinant 3. Rows 1 and 3 of B, (2, 1) and (0, 1), have determinant 2. Product: 6.
S = {2, 3}: columns 2 and 3 of A, rows (2, 0) and (1, 3), have determinant 6. Rows 2 and 3 of B, (1, 0) and (0, 1), have determinant 1. Product: 6.
Sum: −1 + 6 + 6 = 11. Same answer, without multiplying A and B.
If a step like this goes wrong on your own matrices, the Fermi Problem Library has a step-by-step solver that explains the reasoning rather than printing an answer.
Why does it give det(AB) = det(A)det(B) for square matrices?
When m = n there is exactly one way to choose n indices from n: take all of them. So A_S = A, B_S = B, the sum has one term, and the formula becomes det(AB) = det(A)det(B), as the Cauchy–Binet article spells out.
For the school determinant rules in one place, see our matrices and determinants formulas with examples.
How does it give the Gram determinant and Lagrange's identity?
Put B = Aᵀ. The rows of B picked by S are then the columns of A picked by S, so every term is a square: det(AAᵀ) = Σ det(A_S)².
AAᵀ is the Gram matrix of the rows of A, and its determinant is the square of the volume of the parallelotope the rows span, as the Gram matrix article states. So the squared area of a parallelogram in space equals the sum of the squared areas of its shadows on the coordinate planes, the geometric reading given in the Cauchy–Binet article. Our post on the Gram determinant, volume and least squares takes this further.
Check it with our A. The rows u = (1, 2, 0) and v = (0, 1, 3) have u·u = 5, v·v = 10 and u·v = 2, so det(AAᵀ) = 5·10 − 2² = 46. The three minors of A were 1, 3 and 6, and 1 + 9 + 36 = 46.
Now let A have two rows, a = (a₁, …, aₙ) and b = (b₁, …, bₙ). Each minor is aᵢbⱼ − aⱼbᵢ, and the formula becomes Lagrange's identity:
(Σaᵢ²)(Σbᵢ²) − (Σaᵢbᵢ)² = Σ over i < j of (aᵢbⱼ − aⱼbᵢ)².
The Binet–Cauchy identity page gives the chain: Lagrange's identity is a special case of the Binet–Cauchy identity, which is a special case of the Cauchy–Binet formula. The right side is a sum of squares, so it is never negative: that is the Cauchy–Schwarz inequality with the gap written out.
In three dimensions the three minors are the components of the cross product, up to sign, so the identity reads |a × b|² = |a|²|b|² − (a·b)². For our u and v, u × v = (6, −3, 1), and 36 + 9 + 1 = 46 again.
How should you practise the Cauchy–Binet formula?
Start with m = 1: A is a row, B is a column, and the formula is the dot product.
Swap the order: BA is 3×3 with rank at most 2, so det(BA) = 0.
Derive |a × b|² = |a|²|b|² − (a·b)² from the formula.
If rank or determinants feel shaky, the Fermi Concept Library covers every concept in physics, chemistry, biology, mathematics and computing.



