Linear Independence
In previous lessons, we learned that all possible linear combinations of two vectors can form a 2D plane. However, this is only true if those two vectors do not lie on the same line.
If they do lie on the same line, the linear combinations collapse, failing to create a second dimension. This brings us to a fundamental concept in linear algebra: Linear Independence.
The Concept: Informal Definitions & Examples
Linear independence is a property that describes an entire set of vectors, rather than any individual vector within that set.
1. Linearly Dependent Sets
A set of vectors is linearly dependent if at least one vector in the set can be expressed as a linear combination (a scaled sum) of the other vectors.
- Example A (Simple Scale): Here, the second vector is simply a scaled version of the first: This set is linearly dependent.
- Example B (Linear Combination): Consider a set of three vectors . Even if it is not immediately obvious, the set is dependent if:
It is incorrect to say " is the dependent vector." The property belongs to the set as a whole. You could rewrite this relation to express or as combinations of the other two:
2. Linearly Independent Sets
A set of vectors is linearly independent if no single vector in the set can be expressed as a linear combination of the others.
- Example C: To scale the first two components of to , we would need a scalar of $2$ (since and ). However, .
Because no single scalar can map directly to , this set is linearly independent.
Formal Algebraic Definition
The formal definition of linear dependence revolves around finding a non-trivial combination of vectors that equals the zero vector.
For a set of vectors , we set up the equation:
- Trivial Solution: Setting all coefficients to zero () always yields . We ignore this trivial case.
- Linear Dependence: If there exists at least one set of scalars where not all are zero that satisfies the equation, the set is linearly dependent.
- Linear Independence: If the equation is satisfied only when every single scalar is zero (), the set is linearly independent.
Derivation and Intuition
Why does the zero-vector equation define dependence? Let's rewrite the equation by isolating one of the vectors:
- Subtract from both sides: (Note: The negative sign is absorbed into the arbitrary scalars )
- Divide the entire equation by (assuming ):
This algebraic derivation proves that if the zero-vector equation holds with non-zero scalars, at least one vector () can be expressed as a linear combination of the remaining vectors.
Geometric Intuition
1. In 2D Space ()
- Co-linear Vectors (Dependent): Two vectors that lie on the same line point in the same 1D direction. Scaling one vector makes it shorter or longer, but can never change its direction to reach a point off the line. They are dependent.
- Non-colinear Vectors (Independent): Two vectors pointing in different directions are independent. By combining them, you can span the entire 2D plane.
- Three Vectors in (Dependent): Any set of three vectors in is guaranteed to be dependent because any two independent vectors already cover the entire 2D plane; the third vector is completely redundant.
2. In 3D Space ()
- Two Independent Vectors: Define a 2D plane passing through the origin.
- Three Vectors on the Same Plane (Dependent): If a third vector lies within the plane defined by the first two, it adds no new directional information. The set remains dependent, collapsing into a 2D subspace.
- Three Independent Vectors (Independent): If the third vector "pops out" of the plane (pointing in a new geometric dimension), the three vectors are independent and span the entire 3D ambient space.
Adding a new vector to a set maintains linear independence only if that new vector points in a different geometric dimension that is not already reachable using the existing vectors.
The Dimensionality Theorem
There is a fundamental theorem linking the number of vectors in a set () to the dimensionality of the ambient space ():
- Theorem: In , a set of vectors is guaranteed to be linearly dependent if .
- Corollary: If , the set could be linearly independent, but it is not guaranteed (e.g., two colinear vectors in ).
If M > N ==> Always Linearly Dependent
If M <= N ==> Could be Linearly IndependentThe formal proof of this theorem involves constructing a matrix with the vectors as columns and evaluating the matrix rank, which we will study in later chapters.
Four Strategies to Determine Independence
If you need to check whether a set of vectors is linearly independent, follow these four strategies in order:
| Step | Strategy | Action & Rule |
|---|---|---|
| 1 | Check Dimensions ( vs. ) | If the number of vectors () exceeds the dimensionality (), the set is instantly dependent. (e.g., 4 vectors in ). |
| 2 | Check for Zeros | If the set contains the zero vector (), it is instantly dependent. Also look for zeros in corresponding elements to spot clean independence. |
| 3 | Guess and Test | Try to find quick integer relationships (e.g., is one vector a multiple of another?). |
| 4 | Matrix Rank Method | Load the vectors as columns of a matrix and compute its rank: - Linearly Independent - Linearly Dependent |
Summary Takeaways
- Set Property: Linear independence/dependence is a property of an entire set, not of individual vectors.
- Trivial Equation: Independence means that has only the trivial solution ().
- Dimension Generation: A set is independent if each vector points in a new geometric dimension not reachable by combining the others.
- Constraint: You can never have more independent vectors in a space than the number of its ambient dimensions ().