Why this matters
Suppose a collection of vectors spans a space. If one vector can already be built from the others, it is redundant. Linear dependence and independence are the tools that detect that redundancy.
Definition
Linear independence
Vectors are linearly independent if
forces .
Definition
Linear dependence
Vectors are linearly dependent if there is a nontrivial choice of scalars, not all zero, such that
Use the checker below to test whether a small list of vectors behaves like a redundant family or a genuinely independent one.
Read and try
Test one set for dependence
The live checker compares small vector sets and explains whether a nontrivial linear relation exists.
Verdict
Independent
The only way to solve c1e1 + c2e2 = 0 is c1 = c2 = 0, so this pair is linearly independent.
Key relation
No nontrivial linear relation appears.
A simple reading rule
The notes give two very useful consequences:
- a dependent family has at least one vector that is a linear combination of the others;
- an independent family has no such vector.
That is the fastest way to read the idea in practice.
Worked example
A dependent family has a relation
The notes give
Rewriting this gives
That is a nontrivial linear relation, so the family is linearly dependent.
Proof
Why dependence means one vector is redundant
Common mistake
Common mistake
Dependent does not mean useless
A dependent list can still span a space. It only means the list has redundancy. That is why dependence is useful when we want to trim a spanning set down.
Matrix criterion and pivot criterion
Suppose we place as columns of a matrix
Then a relation
is exactly the same as solving
So linear independence means the homogeneous system has only the trivial solution.
Theorem
Equivalent matrix test for independence
The vectors are linearly independent if and only if the matrix has a pivot in every column (equivalently, no free variable in ).
Worked example
Use row reduction to test independence
Let
Set . Row reduce:
There is a pivot in each column, so the three vectors are linearly independent.
Quick check
Quick check
Are in linearly independent?
Try the vector equation .
Solution
Answer
Quick check
Can a set that contains the zero vector be linearly independent?
Test the definition directly.
Solution
Answer
Quick check
If a set has 5 vectors in , can it be linearly independent?
Use pivots and the number of rows.
Solution
Answer
Exercises
Quick check
Determine whether {(1,0,1),(2,1,3),(0,1,1)} is independent.
Set them as columns, reduce, and read pivot columns.
Solution
Guided solution
Quick check
Show that {(1,2,3),(2,4,6),(1,0,1)} is dependent by writing one vector from others.
Look for a direct scalar-multiple relation first.
Solution
Guided solution
Dependence means redundancy
Theorem
Equivalent redundancy test
A list of vectors is linearly dependent if and only if one vector in the list can be written as a linear combination of the others.
Proof
Why dependence and redundancy are the same
Worked example
A redundant vector can be removed without changing the span
Let
Here . So every vector of the form
can be rewritten as
Therefore
The third vector changes the description, but not the span itself.
Theorem
A redundant vector can be removed without changing the span
If one vector in a list is a linear combination of the others, then deleting it does not change the span of the list.
Proof
Why the span stays the same
Common mistake
Dependent does not mean the span gets smaller
A dependent list can still span a whole space. Dependence only says that at least one vector is unnecessary for generating the span.
Column-matrix criterion and null-space viewpoint
Put the vectors into a matrix
Then the relation
is exactly the homogeneous system , where .
Theorem
Matrix test for dependence
The vectors are linearly independent if and only if the
homogeneous system has only the trivial solution. Equivalently,
the null space N(A) contains only 0.
Proof
Why the homogeneous system controls dependence
Worked example
Read a dependence relation from row reduction
Take
whose columns are , , and . Row reduction gives
The third column is not a pivot column, so is free in . Set . Then the reduced system gives and , so
or equivalently .
Theorem
Pivot criterion
After row reducing , the list is linearly independent if and only if every column is a pivot column. If one column is not a pivot column, then there is a free variable in , so a nontrivial relation exists.
Common mistake
Row reduction is allowed because it preserves the homogeneous solution set
When you row reduce for independence testing, you are not changing the columns themselves into new vectors you want to study. You are simplifying the equation . Row-equivalent matrices have the same homogeneous solutions, so they have the same dependence relations.
Fast low-dimensional tests
Theorem
Two nonzero vectors are independent exactly when neither is a scalar multiple of the other
For a pair {u,v} with both vectors nonzero, the set is linearly independent
if and only if one vector is not a scalar multiple of the other.
Proof
Why two vectors reduce to a scalar-multiple test
Worked example
Two vectors in
Let
Since , the pair is dependent. Geometrically, both vectors point in the same direction.
Worked example
Three vectors in must be dependent
If , then the matrix has size . After row reduction it can have at most two pivots, so one column is not a pivot column. Therefore has a nontrivial solution and the three vectors are linearly dependent.
Worked example
Three vectors in that lie in one plane
If three vectors in all lie in the plane , then they all belong to the span of and . But that plane is already generated by two independent directions, so a third vector cannot add a new independent direction. The list is dependent.
Theorem
Too many vectors in force dependence
Any list of more than m vectors in is linearly dependent.
Proof
Why more than m vectors cannot be independent in
Quick checks
Quick check
Is any list containing the zero vector automatically dependent?
Test the definition directly.
Solution
Answer
Quick check
If , does remain independent?
Write the relation in the standard form .
Solution
Answer
Quick check
If a matrix has four pivot columns, what does that say about its columns?
Use the matrix test.
Solution
Answer
Guided exercises
Quick check
Decide whether \{(1,1,0),(0,1,1),(1,2,1)\} is independent, and if not, write one dependence relation.
Set the vectors as columns and look for a free variable after row reduction.
Solution
Guided solution
Quick check
Explain why any subset of a linearly independent set is linearly independent.
Think about what would happen if the subset had its own relation.
Solution
Guided solution
Quick check
If one vector in a list is redundant, what should you try next?
Use the redundancy viewpoint from this page.
Solution
Guided solution
Read this first
This page builds on 6.3 Linear combinations and span and the row-reduction language from 2.3 Gaussian elimination and RREF.