Linear Independence and Dependence
Problem
Are v₁ = [1,2,3], v₂ = [4,5,6], v₃ = [5,7,9] linearly independent? If not, find an explicit dependence relation.
Explanation
Definition
Vectors are linearly independent if the only scalars making
are (the trivial combination).
They are linearly dependent if there is some nontrivial combination (not all zero) giving — equivalently, at least one of them is a linear combination of the others.
The matrix test
Form the matrix with the vectors as columns. Then:
- Independent ⟺ has only the trivial solution ⟺ has rank equal to the number of vectors.
- Dependent ⟺ has nontrivial solutions.
For a square , this is the same as (independent) vs. (dependent).
Step-by-step — are the three vectors independent?
Set up
Matrix form :
Step 1 — Compute (expand along row 1):
Verdict: , so the vectors are linearly dependent.
Step 2 — Find the dependence relation. Observe that
Rearranged: , a nontrivial linear combination equal to zero. ✓
Geometric meaning
- In : two vectors are independent iff they are non-parallel.
- In : three vectors are independent iff they are not coplanar (don't all lie in the same plane through the origin).
- In : up to vectors can be independent; any or more are always dependent.
If (as here), the three vectors lie in the 2D plane .
Why independence matters
Independent vectors:
- Span uniquely — any vector in their span has exactly one linear combination expression.
- Form a basis for their span.
- Give a minimum-size spanning set — no redundancy.
Common mistakes
- Confusing "independence" with "orthogonality." Orthogonal implies independent, but independent vectors need not be orthogonal.
- Testing only one combination. Zero vector must be the only combination giving zero; one counterexample suffices for dependence.
- Counting vectors vs. dimensions. vectors in are automatically dependent, regardless of their specific values.
Try it in the visualization
Drag vector tips in 3D. When the three vectors become coplanar, the determinant shrinks to zero and the dependence indicator lights up. A sample dependence relation (e.g. ) is printed.
Interactive Visualization
Parameters
Got your own math or physics problem?
Turn any problem into an interactive visualization like this one — powered by AI, generated in seconds. Free to try, no credit card required.