Rank, trace and determinant: what each one measures
LA · Chapter 111 min readAsked at Two Sigma, Citadel, DE Shaw, Jane Street
After this lesson you should be able to
- Say what rank, trace and determinant tell you geometrically.
- Use the identities that make matrix manipulation quick.
- Recognise the special matrix types and what each guarantees.
Three scalars summarise a matrix, and each answers a different question: rank says how many independent directions survive, determinant says how volume scales, and trace says what the eigenvalues add to. Knowing which one to reach for settles most interview questions without any computation.
| Quantity | Geometric meaning | Key identity |
|---|---|---|
| Rank | Dimension of the image — independent directions | |
| Determinant | Signed volume scaling of the unit cube | |
| Trace | Sum of the diagonal, and of the eigenvalues |
The determinant as a volume. A matrix maps the unit cube to a parallelepiped, and the determinant is that shape’s signed volume. Everything follows: a determinant of zero means the cube was flattened into a lower dimension, so information was lost and the map cannot be inverted. A negative determinant means the orientation was flipped. And is just the statement that applying two maps scales volume twice. Reading it as a volume makes the algebraic facts obvious rather than memorised.
Proposition 1.2
Rank and the fundamental relation
Rank is the number of linearly independent rows, which is also the number of independent columns — a non-obvious fact that does a great deal of work. Rank–nullity then says : every dimension of the input either survives into the image or is collapsed into the null space.
Holds when
- A product cannot have higher rank than either factor, which is why is singular when has more columns than rows.
- A sample covariance matrix from observations has rank at most after demeaning.
- Adding a matrix can raise rank; multiplying never can.
Equation 1.3
The identities to have ready
Transpose and inverse both reverse the order of a product. Forgetting that is the single most common slip in a matrix derivation.
- Trace is the sum of the eigenvalues.
- Determinant is their product — so a zero eigenvalue means a zero determinant.
The rest of this lesson is in Premium
You have read the opening. 12 more sections follow, including 5 worked examples and 3 quick checks.
Nothing is charged for 7 days, and you can cancel before then. Or read The law of large numbers and the central limit theorem in full, free.