Home Statistical Dictionary Rank (Matrix)

Rank (Matrix)

The number of linearly independent rows (equivalently columns) a matrix has -- the dimension of the space its columns span, and the property that determines whether a design matrix's predictors carry genuinely distinct information or contain redundancy.

Linear Algebra for StatisticsIntermediateFree

In Plain English

A matrix's rank tells you how much genuinely independent information it actually contains, as opposed to how many rows or columns it happens to have on paper. A design matrix with 5 predictor columns but rank 4 means one predictor is a perfect linear combination of the others, purely redundant, adding no new information despite taking up a column, and that kind of rank deficiency is exactly what makes X'X non-invertible and ordinary least squares impossible to compute directly.

Definition

The rank of a matrix is the maximum number of linearly independent rows (equivalently, the maximum number of linearly independent columns -- row rank always equals column rank), equal to the dimension of the column space (and row space) of . A matrix is said to have full rank if its rank equals the smaller of its row count and column count; for a square matrix, full rank () is equivalent to a nonzero determinant and to invertibility. In regression, a design matrix that is not full column rank (some predictor is an exact linear combination of others, perfect multicollinearity) causes to be singular, so the ordinary least squares normal equations have no unique solution, forcing the use of a generalized inverse or the removal/combination of redundant predictors.

Properties

  • Row rank always equals column rank for any matrix, a nontrivial but foundational fact of linear algebra -- this is why 'rank' can be stated as a single number for a matrix rather than needing separate row-rank and column-rank figures.
  • A design matrix that is not full column rank, because one predictor column is an exact linear combination of others, produces a singular matrix, meaning ordinary least squares cannot identify a unique coefficient vector -- this is the formal linear-algebra description of the practical problem statisticians call perfect (as opposed to merely high) multicollinearity.
  • The rank of a matrix equals the number of its nonzero singular values (from the singular value decomposition) and also the number of nonzero eigenvalues of a symmetric matrix -- these equivalent characterizations are why numerical software typically determines rank by counting singular values above a small numerical tolerance rather than by direct inspection of linear dependence.

At a Glance

Equalsthe dimension of the column space (= dimension of the row space)
Full rank (square matrix)equivalent to nonzero determinant and invertibility
Rank-deficient design matrixsignals perfect multicollinearity among predictors
Consequence of rank deficiencyX'X becomes singular, OLS has no unique solution
Last updated September 8, 2026← Back to the Dictionary