Formula tables
Linear algebra formula sheet: determinants, inverses, rank and eigenvalues
The formulas that come back in a first linear algebra course, in one place and ready to print.
Determinants
| Expression | Equals |
| det(acbd) | ad−bc |
| det(AB) | detA⋅detB |
| det(AT) | detA |
| det(A−1) | detA1 |
| det(cA), A∈Rn×n | cndetA |
| det of a triangular matrix | a11a22⋯ann |
Row operations and the determinant
| Expression | Equals |
| Ri↔Rj | det→−det |
| Ri→cRi | det→cdet |
| Ri→Ri+cRj | det unchanged |
The inverse matrix
| Expression | Equals |
| (acbd)−1 | ad−bc1(d−c−ba) |
| (AB)−1 | B−1A−1 |
| (AT)−1 | (A−1)T |
| A−1 | detA1adjA |
| A is invertible | detA=0⟺rankA=n |
Rank and solving systems
| Expression | Equals |
| rankA+dimkerA | n, the number of columns |
| Ax = b has a solution | rankA=rank[A∣b] |
| The solution is unique | rankA=rank[A∣b]=n |
Eigenvalues and diagonalisation
| Expression | Equals |
| Eigenvalues | det(A−λI)=0 |
| λ1+⋯+λn | trA |
| λ1⋯λn | detA |
| A=PDP−1 | D=diag(λi), P=[v1⋯vn] |
| Ak | PDkP−1 |
Vectors, products and projection
| Expression | Equals |
| u⋅v | ∑uivi=∣u∣∣v∣cosθ |
| ∣u∣ | u⋅u |
| projvu | v⋅vu⋅vv |
| ∣u×v∣ | ∣u∣∣v∣sinθ |
| ∣u⋅v∣ | ≤∣u∣∣v∣ |
Notes
A quick check for eigenvalues: they add up to the trace and multiply to the determinant.
Diagonalising A = PDP⁻¹ works when there are n independent eigenvectors. Then powers of A are just powers of the diagonal.