Here, uvT is the outer product of two vectors u and v.
The theorem can also be stated in terms of the adjugate matrix of A:
in which case it applies whether or not the square matrix A is invertible.
Proofedit
First the proof of the special case A = I follows from the equality:[3]
The determinant of the left hand side is the product of the determinants of the three matrices. Since the first and third matrix are triangular matrices with unit diagonal, their determinants are just 1. The determinant of the middle matrix is our desired value. The determinant of the right hand side is simply (1 + vTu). So we have the result:
Then the general case can be found as:
Applicationedit
If the determinant and inverse of A are already known, the formula provides a numerically cheap way to compute the determinant of A corrected by the matrix uvT. The computation is relatively cheap because the determinant of A + uvT does not have to be computed from scratch (which in general is expensive). Using unit vectors for u and/or v, individual columns, rows or elements[4] of A may be manipulated and a correspondingly updated determinant computed relatively cheaply in this way.
When the matrix determinant lemma is used in conjunction with the Sherman–Morrison formula, both the inverse and determinant may be conveniently updated together.
Generalizationedit
Suppose A is an invertiblen-by-n matrix and U, V are n-by-m matrices. Then