Linear Independence, Rank, and Bases
A set of vectors is linearly independent when none of them is a combination of the others. The rank of a matrix is the number of independent columns it has, and a square matrix is invertible exactly when its columns are independent. These facts decide which column sets can serve as a basis, and therefore which points a linear program can call a basic solution.
Definition
Vectors
Formal statement
For
Assumptions and scope
More than
vectors in are always dependent, so a counting argument settles independence before any computation when the set is large enough. Independence is a property of a set, not of individual vectors. No single vector is independent or dependent on its own, apart from the zero vector, which makes any set containing it dependent.
A determinant of zero shows singularity but not how the columns are related. Reduced row echelon form both detects dependence and exhibits the combination.
Rank is the number of independent columns, and equals the number of independent rows. Column rank and row rank always agree, which is why row operations can be used to find either.
Worked material
Example
An independent pair and a dependent triple
Independent. Take
Suppose
Equivalently, the matrix
Dependent. Now add
Three vectors in
The explicit relation is
since
What this shows. No two of
Contrast
Pairwise non-proportionality is not independence
Checking that no two vectors are multiples of each other is a valid test for a set of two. Applied to three or more it gives the wrong answer, and it gives it confidently.
The tempting reasoning. Take
No two are proportional:
Why it is not. The definition allows all three coefficients to vary at once, and
is a nontrivial combination giving zero. Equivalently
The counting argument settles it instantly. Three vectors in
Where it does real damage. In a linear program, a basis is a set of
The reliable test. Count first; if the count does not settle it, reduce or take a determinant. Reserve the proportionality check for pairs.
Common errors
Common misconception
A set of vectors is linearly independent as long as no two of them are multiples of each other.
Related units
Connected
- Extreme Points and Basic Feasible Solutions (used by)
- One Iteration of the Simplex Method (used by)
- Basic Solutions (suggested next)