Linear Independence
A set of vectors is linearly independent when none of them is "redundant" — no vector can be built from the others. This lesson defines independence precisely, shows how to test for it with the homogeneous system, rank, and determinant, and teaches you to extract an explicit dependency relation when one exists.
Before you start — give these a try
Attempting first primes your brain for the lesson — even if you miss. Nothing is graded or saved; it's just a warm-up.
Which of the following sets of vectors is linearly independent?
Select ALL of the following sets that are linearly dependent.
What you’ll be able to do
- State the definition of linear independence and dependence in terms of the equation .
- Test whether a set of vectors is independent using the homogeneous system, the rank of a matrix, or (for square matrices) the determinant.
- Produce an explicit nontrivial dependency relation for a dependent set and express its coefficients as a vector.
- Apply the fact that any set of more than vectors in must be linearly dependent.
- Connect the rank of a matrix to the number of linearly independent columns it has.
In your course
· MATH2015 · Linear Algebra & Probability- Definition 2.5Linearly dependent / independentare linearly dependent if there are scalars , not all zero, with ; otherwise they are linearly independent.
- Remark 2.6Dependence facts (parallel, zero vector)
- Remark 2.7Linear-independence test
Redundancy: the intuition
Think of a collection of vectors as a toolkit for building other vectors through linear combinations — expressions of the form , where the are real-number scalars.
A set is linearly independent when every tool pulls its own weight: no vector in the set can be written as a combination of the others. A set is linearly dependent when at least one vector is redundant — it duplicates directions already covered by the rest.
- In , the vectors and point in genuinely different directions — independent.
- The vectors and lie on the same line (the second is twice the first) — dependent.
Here denotes the space of column vectors with real entries, and is the zero vector (all entries ).
The formal definition
The redundancy idea is made precise through a single equation.
Given vectors in , consider Setting every coefficient always works; this is the trivial solution.
- The set is linearly independent if the trivial solution is the only solution.
- The set is linearly dependent if there exists a nontrivial solution — scalars , not all zero, satisfying the equation. Such an equation is called a dependency relation.
Why this captures redundancy: if, say, in a dependency relation, you can divide by and solve for as a combination of the others — so really was redundant.
Two quick consequences of the definition:
- A set containing the zero vector is always dependent: put coefficient on and on everything else to get a nontrivial relation.
- A single nonzero vector is independent, since forces .
Testing: homogeneous system, rank, determinant
To test a concrete set, stack the vectors as the columns of a matrix . Then so the dependency equation becomes the homogeneous system .
Method 1 — row reduction. Row-reduce . The columns are independent exactly when every column has a pivot (leading entry), i.e. there are no free variables. A free variable gives a nontrivial solution and hence dependence.
Method 2 — rank. The rank of is the number of pivots (equivalently, the number of linearly independent columns). The columns are independent iff If , the set is dependent, and the number of free variables is .
Method 3 — determinant (square case only). If you have exactly vectors in , then is and A zero determinant signals dependence. This shortcut applies only when the number of vectors equals the dimension.
A counting fact in R^n
There is a hard ceiling on how many vectors can be independent at once.
Any set of more than vectors in is automatically linearly dependent.
Reason: stacking vectors as columns gives an matrix . It has at most pivots (one per row), so at least columns are free — there is always a nontrivial solution to .
Consequences you can use instantly:
- vectors in : dependent, no computation needed.
- vectors in : dependent.
- The maximum number of linearly independent vectors in is exactly .
Note the one-way nature: fewer than or equal to vectors may or may not be independent — you still have to test those.
Vectors are linearly independent if the only solution of is . If any solution has some , the vectors are linearly dependent, and that solution is a dependency relation.
Let be the matrix whose columns are the given vectors. The columns are linearly independent iff has only the trivial solution, iff every column of is a pivot column, iff .
Any set of vectors in with is linearly dependent.
Worked examples
Determine whether are linearly independent. If not, give an explicit dependency relation and state the rank.
- 1
Set up the matrix. Place the vectors as columns: . We must solve the homogeneous system .
- 2
Quick determinant screen (square case). Since this is vectors in , compute . A zero determinant means the columns are dependent — now we find the actual relation.
- 3
Row reduce. Use and : . Then zeroes the last row, and scaling by gives .
- 4
Reach reduced form. Clear above the second pivot with : . Columns 1 and 2 are pivot columns; column 3 is free. So , confirming dependence.
- 5
Solve for the relation. The system reads and . Let the free variable be : then and . So .
- 6
Verify. The relation holds.
Are linearly independent?