What a matrix can reach
The vectors you can reach as form the column space of : all combinations of its columns. Vectors are linearly independent if none is a combination of the others. A basis is an independent set that spans a space, and the number of vectors in it is the dimension. The rank of is the dimension of its column space, equal to the number of pivots in elimination and to the number of independent columns (and of independent rows).
The null space of is the set of with : the inputs the map sends to nothing. Its dimension, the nullity, is (the rank-nullity theorem). This decides every linear system. has a solution exactly when is in the column space; when it does, the solutions are one particular solution plus anything in the null space, so the solution is unique exactly when the null space is .
- Column space: every ; is solvable exactly when lies in it.
- Null space: all with ; if it holds more than , solutions are never unique.
- Rank-nullity: rank plus nullity equals the number of columns.
If one asset's return series is exactly a combination of others (an ETF and its constituents, or a sum of two sector returns), the data matrix loses rank, its covariance is singular and a regression on all of them has no unique solution. Real data is rarely exactly dependent but often nearly so, and that is the ill-conditioning of the previous topic.
Lab · what's graded
6 tasks · 100 pts- The rank15 pts
- The nullity15 pts
- A null vector15 pts
- When is the system solvable15 pts
- How many solutions20 pts
- Redundant assets20 pts