Linear independence
When linear combinations have unique coefficients and how to test for redundancy.
A set is linearly independent when the only combination giving is the trivial one. This page tests independence by row reduction and shows that it is exactly the condition for coefficients to be unique.
Independence removes redundancy
Span
For a subset (possibly infinite) in a vector space over , the span of is the set of all finite linear combinations of vectors in :
For a finite set , this is the same as allowing one coefficient for each listed vector. When , the sum is the empty sum .
Linear independence
Let be a subset of a vector space over . The set is linearly independent if every finite list of distinct vectors has the property that, for scalars ,
implies
An equation of this form is a relation among the chosen vectors. An independent set is one in which the zero vector has no non-trivial finite representation. An independent set therefore cannot contain the zero vector itself.
Linear dependence
A set is linearly dependent if some finite list of distinct vectors has scalars, not all zero, such that
Dependence is exactly the failure of linear independence.
A parameter decides independence
Let
The homogeneous relation
gives
If , the two equations are the same, so non-zero solutions exist and the set is dependent. If , subtraction gives , then , so the set is independent.
[routine]
Testing independence by row reduction
When the vectors are placed as columns of a matrix, the definition becomes a test on a homogeneous system.
The homogeneous-system test
Let and let
Then is linearly independent if and only if the homogeneous system
has only the zero solution. Equivalently, after row reduction, every column of contains a pivot. If a column has no pivot, the free variable in that column produces a non-trivial dependence relation among the original columns.
If , there cannot be a pivot in every column, so any vectors in with are dependent.
When is dependent, the original vectors in the pivot columns form an independent subset with the same span as . This works because row operations left-multiply by an invertible matrix, so they preserve every linear relation among the columns. Each non-pivot column is therefore a combination of the pivot columns, not necessarily only the earlier ones.
Two vectors in
Consider
The equations in
include and . Hence and then , so . The two vectors are linearly independent.
[routine]
Removing a redundant vector
Let
The third vector is twice the second minus the first, so it adds no new direction. The first two vectors are independent because neither is a scalar multiple of the other. Therefore
is independent and has the same span as .
[routine]
- [1]:The homogeneous-system test
- [2]:Span
Independence is uniqueness
Independence and uniqueness
Suppose
The coefficients are unique if and only if is linearly independent.
The span gives existence of a representation; independence gives its uniqueness.
If the coefficients in the displayed representation of are unique, suppose a non-zero relation
exists. Then
is another representation of . Since some , the two representations are different, a contradiction. Thus the set is linearly independent. Conversely, suppose
Subtracting gives
Independence forces for every , so the two representations are the same.
Dependence gives non-unique coefficients
The set
is dependent. For example,
The relation explains the two representations: adding a multiple of it changes the coefficients without changing the vector.
[routine]
Locating the redundant direction
Dependence can also be read as one vector lying in the span of the others. The polynomial example below is over , so denotes .
Independence and the span of the other vectors
A finite set is linearly independent if and only if no vector in belongs to the span of the other vectors.
If is a combination of the other vectors, moving it to one side gives a non-trivial relation equal to zero. Conversely, in a non-trivial relation, choose a vector with a non-zero coefficient and solve for it in terms of the others.
- [1]:Linear independence
- [2]:Span
- [3]:Dependence in
Dependence in
The set
is dependent: equating coefficients in
gives the non-trivial choice , , . The subset is independent, since the constant coefficient forces the coefficient of to be zero and then the coefficient of forces the other coefficient to be zero.
[routine]
Extending an independent set
Adding a vector to a span
For a finite set and a vector ,
if and only if
Since , we always have . If , every combination using can be rewritten using only vectors in , so the reverse inclusion also holds. Conversely, if the spans are equal, then belongs to and hence to .
Two consequences follow. Removing any vector from an independent set leaves an independent set with a smaller span. From a dependent set, some vector can be removed without changing the span.
Adjoining a vector outside the span
If is linearly independent and , then is linearly independent.
Write . Suppose
If , then is a linear combination of the vectors in , contradicting . Hence and the independence of forces . Therefore is linearly independent.
This result is the step used to extend an independent set to a basis.
Basis and dimension combines spanning with independence and counts the vectors required.