Rank, trace and determinant: what each one measures
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.
The matrix determinant lemma
A rank-one update changes the determinant by a scalar factor. With it reads — the reason a one-factor covariance matrix has such a simple determinant.
Updating an inverse: Sherman–Morrison
Inverting a matrix after a rank-one change costs instead of . It gives equicorrelation and one-factor covariance inverses in closed form, and it is how recursive least squares updates without re-solving.
The expected value of a quadratic form
For a random vector with mean and covariance , whatever its distribution. It is the trace trick at work, and it gives expected squared tracking errors, expected residual sums of squares and the bias of sample variances in one line.
Remember
- Rank is independent directions; determinant is volume scaling; trace sums the eigenvalues.