Why Column Rank Matters
In a generalized linear model, the linear predictor is written as \(\eta=X\beta\). Here \(X\) is a fixed design matrix with \(n\) rows, one for each observation, and \(p\) columns, one for each coefficient; \(\beta\) is a \(p\)-component coefficient vector, and \(\eta\) is an \(n\)-component vector of linear-predictor values. The columns of \(X\) are vectors in \(\mathbb{R}^n\).
A basic question is whether the predictor values determine the coefficients. If two different coefficient vectors produce the same \(\eta\), then the mapping from coefficients to predictors does not have a unique inverse. The relevant property of \(X\) is whether its columns are linearly independent, summarized by its column rank.
The Uniqueness Criterion
First separate two questions. Existence asks whether there is any coefficient vector \(\beta\) satisfying \(X\beta=\eta\). Uniqueness asks whether there is exactly one such vector. A particular \(\eta\) has a solution precisely when it is a linear combination of the columns of \(X\), that is, when it belongs to the column space of \(X\). Full column rank guarantees uniqueness if a solution exists; it does not guarantee that every possible \(\eta\) has a solution.
Proof. Write \(x_j\) for column \(j\), and write \(\beta_j\) and \(\gamma_j\) for the corresponding coefficients. By the definition of matrix multiplication,
Subtracting these vectors gives
Therefore \(X\beta=X\gamma\) exactly when \(X(\beta-\gamma)=0\), which is exactly a zero linear combination of the columns, with coefficients \(\beta_j-\gamma_j\). \(\square\)
Proof. Suppose first that \(\eta\) belongs to the column space of \(X\), so at least one solution \(\beta\) exists, and that \(X\) has full column rank. If \(\gamma\) is another solution, then \(X\beta=X\gamma\). By the lemma, \(\beta-\gamma\) gives a zero linear combination of the columns. Full column rank means the only such coefficients are all zero, so \(\beta-\gamma=0\) and \(\beta=\gamma\). Thus the solution is unique.
Conversely, suppose \(X\) does not have full column rank. Then its columns are linearly dependent, so there is a vector \(c\ne 0\) such that \(Xc=0\). For any attainable \(\eta\), take a solution \(\beta\). For every real number \(t\),
Since \(c\ne 0\), the vectors \(\beta+tc\) are distinct for distinct \(t\). Thus every attainable \(\eta\) has more than one solution when the columns are dependent. Finally, if \(\eta\) is not in the column space, it has no solution, regardless of rank. These facts establish both claims. \(\square\)
Worked Matrix Examples
Worked Example: A Full-Column-Rank Matrix Gives Unique Coefficients
Let
The two columns are \(x_1=(1,1,1)^\mathsf{T}\) and \(x_2=(0,1,2)^\mathsf{T}\). To check independence, suppose \(a x_1+b x_2=0\). The first component gives \(a=0\); the second then gives \(b=0\). The columns are independent, so \(X\) has full column rank.
Now solve \(X\beta=\eta\), writing \(\beta=(\beta_1,\beta_2)^\mathsf{T}\). The equations are
The first equation gives \(\beta_1=2\), and the second gives \(\beta_2=3\). The third checks: \(2+2(3)=8\). Hence \(\beta=(2,3)^\mathsf{T}\) is a solution, and full column rank proves that it is the only one.
Worked Example: A Rank-Deficient Matrix Gives Multiple Coefficients
Consider
The second column is twice the first, so the two columns are dependent and the column rank is \(1\), not \(2\). The equation \(X\beta=\eta\) reduces to
The second equation is twice the first and adds no new restriction. Set \(\beta_2=t\), where \(t\) can be any real number. Then \(\beta_1=3-2t\), so every vector
For example, \(t=0\) gives \((3,0)^\mathsf{T}\), while \(t=1\) gives \((1,1)^\mathsf{T}\). Both produce the same \(\eta\), so the coefficients are not unique.
Worked Example: Full Rank Does Not Guarantee a Solution for Every Target
Use the full-column-rank matrix from the first example, but now take \(\eta=(0,1,0)^\mathsf{T}\). The first row of \(X\beta=\eta\) requires \(\beta_1=0\). The second requires \(\beta_1+\beta_2=1\), so \(\beta_2=1\). The third row would then require
but the target’s third component is \(0\). The equations are inconsistent, so no coefficient vector produces this \(\eta\). The matrix still has full column rank; it ensures that any solution is unique, not that every \(n\)-component target can be reached.
Practical Interpretation and a Common Mistake
For an \(n\times p\) design matrix to have full column rank, its \(p\) columns must be independent vectors in \(\mathbb{R}^n\). In particular, \(p\le n\) is necessary, since there cannot be more than \(n\) independent vectors in \(\mathbb{R}^n\). This condition alone is not sufficient: a matrix with \(p\le n\) can still have dependent columns.
The rank test concerns the design matrix and therefore the mapping from coefficients to linear predictors. It does not depend on a particular response vector or on whether the coefficients have already been estimated. When the matrix has full column rank, two distinct coefficient vectors cannot yield the same vector of predictor values. When it does not, every predictor vector that the matrix can produce is produced by multiple coefficient vectors.
Common mistake: “The matrix has full column rank, so \(X\beta=\eta\) has exactly one solution for every \(\eta\).” This confuses uniqueness with existence. Full column rank rules out two different solutions, but the target \(\eta\) must still be in the column space of \(X\). For a target outside that space there is no solution at all. The correct statement is: full column rank gives at most one solution; if a solution exists, it is unique.
A second practical mistake is to count rows or columns and infer rank from the matrix dimensions alone. Dimensions give only the bound \(\operatorname{rank}(X)\le \min(n,p)\). To establish full column rank, one must verify that all \(p\) columns are independent, for example by checking the equations for a zero linear combination or by using row reduction.
Check Your Understanding
Use the distinction between rank and existence to answer these questions.
- What does full column rank mean for an \(n\times p\) design matrix?
- If \(X\) has full column rank and \(X\beta=\eta\) has a solution, why can there not be a second solution?
- If the columns of \(X\) are dependent and one coefficient vector produces \(\eta\), what can be said about the number of coefficient vectors that produce it?
- Can a matrix with full column rank fail to produce a particular target vector \(\eta\)? Explain.
- Why does \(p\le n\) not by itself prove that \(X\) has full column rank?