Quant Memo
Foundational

Linear Independence and Rank

Whether a set of vectors carries genuinely new information or is secretly redundant — and rank, the count of how many truly independent directions a matrix actually contains.

Prerequisites: Vector Spaces and Bases

A risk model uses ten "factors" to explain a stock's return, but two of them — say, "value" and "cheap earnings yield" — turn out to move almost in lockstep. Feeding both into a regression doesn't add new information; it adds redundancy, and can make the regression's coefficients wildly unstable. Linear independence is the precise concept behind "does this vector add anything new," and rank counts how many genuinely independent directions a whole matrix contains.

An analogy: redundant witnesses

Imagine three witnesses describing a car accident. If two of them are actually the same person who gave a second, near-identical statement, you don't really have three independent pieces of evidence — you have two. Counting "how many witnesses" naively (three) overstates how much genuinely new information you have; the honest count treats the near-duplicate as adding almost nothing. Linear independence formalizes exactly this: does a new vector add a genuinely new direction, or can it already be built out of the others you have?

The mathematics, one symbol at a time

A set of vectors v1,,vkv_1, \ldots, v_k is linearly independent if the only way to combine them to get the zero vector is by using all-zero coefficients:

c1v1+c2v2++ckvk=0    c1=c2==ck=0.c_1 v_1 + c_2 v_2 + \cdots + c_k v_k = 0 \implies c_1 = c_2 = \cdots = c_k = 0.

In words: no vector in the set can be built as a combination of the others — if it could, you could rearrange that combination to hit zero with a non-trivial mix of coefficients, so independence rules that possibility out entirely. If the vectors are the columns of a matrix AA, the rank of AA is the largest number of columns (equivalently, rows) that form a linearly independent set — the true number of distinct directions the matrix's columns actually span, after accounting for any redundancy. A matrix is full rank if its rank equals the smaller of its number of rows and columns; falling short of full rank means at least one column (or row) is a combination of the others and carries no new information.

Worked example 1: checking independence by hand

Take v1=(1,2)v_1 = (1, 2), v2=(3,1)v_2 = (3, 1). Set c1(1,2)+c2(3,1)=(0,0)c_1(1,2) + c_2(3,1) = (0,0): c1+3c2=0c_1 + 3c_2 = 0 and 2c1+c2=02c_1 + c_2 = 0. From the first, c1=3c2c_1 = -3c_2; substituting into the second, 6c2+c2=05c2=0c2=0-6c_2 + c_2 = 0 \Rightarrow -5c_2 = 0 \Rightarrow c_2 = 0, then c1=0c_1 = 0. Only the trivial solution works, so v1,v2v_1, v_2 are independent — together they span the full 2-dimensional plane, rank 2. Now try v3=(2,4)v_3 = (2, 4) alongside v1v_1: v3=2v1v_3 = 2v_1 exactly, so c1=2,c2=1c_1=2, c_2=-1 gives 2v1v3=02v_1 - v_3 = 0 with non-zero coefficients — dependent, adding no new direction.

Worked example 2: rank of a redundant factor matrix

A factor exposure matrix has three columns: momentum mm, a "12-month momentum" column m12m_{12} that happens to equal 1.02m1.02m (near-perfectly correlated in this toy example), and value vv, independent of both. Because m121.02mm_{12} \approx 1.02 m, the three columns don't span a 3-dimensional space — effectively only 2 independent directions exist (momentum-ish, and value), so the matrix has rank 2 despite having 3 columns. A regression using all three columns as separate regressors will struggle: it can't cleanly separate "momentum's effect" from "12-month momentum's effect" because there's really only one combined direction of information there to estimate a coefficient on.

Matrix explorer
dashed = before · solid = after
det 1.25trace 2.50λ 1.81, 0.69area scales by 1.25×

Drag the transform above toward a degenerate (flattened) shape — when the two output vectors line up on the same line, the transform's columns have become linearly dependent, the matrix drops to rank 1, and the whole plane collapses onto a single line.

independent: rank 2 dependent: rank 1
Left: two independent vectors span the full plane. Right: the second vector lies on the same line as the first, adding nothing new — the pair only spans a line, rank 1 instead of 2.

What this means in practice

Rank deficiency is the formal name for the multicollinearity problem in regression: near-dependent columns make a design matrix close to rank-deficient, inflating coefficient standard errors and making individual coefficients unreliable even when the model's overall fit looks fine. Rank also governs whether a matrix can be inverted at all (see Determinants and Matrix Inverses and Linear Systems) — a square matrix is invertible exactly when it is full rank.

A set of vectors is linearly independent if none can be built from the others (the only zero combination is the all-zero one); the rank of a matrix is the number of genuinely independent columns it has, and rank falling short of the column count signals redundancy, not extra information.

Don't equate "more columns" or "more factors" with "more information." A matrix can have many columns and still have low rank if several are near-combinations of others — as in the momentum example — and adding a redundant column to a model doesn't add explanatory power, it just makes coefficient estimates less stable and harder to interpret individually. Check rank (or correlation between candidate factors) before assuming each new column earns its place.

Related concepts

Practice in interviews

Further reading

  • Strang, Introduction to Linear Algebra, ch. 3
  • Trefethen & Bau, Numerical Linear Algebra, lecture 1
ShareTwitterLinkedIn