Let A∈Fn×n be a square matrix. If the ith row and jth column is removed from A the resulting matrix Bij∈F(n−1)×(n−1) is called the (i,j)-sub-matrix of A. The (i,j)-minor of A is the determinant Mij∈F of the (i,j)-sub-matrix Bij. The (i,j)-co-factor of A, Cij∈F, is the (i,j)-minor Mij scaled by (−1)i+j.
Mij=∣Bij∣
Cij=(−1)i+jMij
The determinant, det(A) or ∣A∣, of A is defined recursively. For n=1, ∣A∣=a11. For n≥2 it is defined with the Laplace expansion of A along any fixed row i∈{1,…,n}:
∣A∣=j=1∑naijCij
Every choice of row i gives the same value.
For the simple case n=2, ∣A∣=a11a22−a12a21.
The determinant of a real, square matrix A∈Rn×n is the signed volume of the parallelepiped formed by taking each row of A as a vector in Rn. The volume itself is ∣det(A)∣ and the sign records whether the rows have the same orientation as the standard basis.
The determinant of square matrices A,B∈Fn×n satisfies the following properties:
- Determinant of transpose: ∣A∣=∣A⊺∣
- Determinant of scalar multiplication: ∣λA∣=λn∣A∣∀λ∈F
- Determinant of matrix multiplication: ∣AB∣=∣A∣∣B∣
- Determinant of matrix inverse: ∣A−1∣=∣A∣1 if A is invertible
- Invertibility: ∣A∣=0⇔A is invertible
- Full rank: ∣A∣=0⇔A has rank n
Let A∈Fn×n be an invertible square matrix, so that ∣A∣=0, and let C∈Fn×n be its co-factor matrix whose (i,j)th element is Cij. The matrix inverse A−1 can be calculated from the determinant and co-factors of A:
A−1=∣A∣C⊺
where the (i,j)th element of A−1 is ∣A∣Cji.