Linear Independence

Linear Independence
Definition
Suppose you have a set of vectors {v1,v2,…,vn}, and let c1,c2,…,cn∈R.
Consider the equation: c1v1+c2v2+⋯+cnvn=0.
If the only solution to this equation is c1=c2=…=cn=0, then the set {v1,v2,…,vn} is said to be linearly independent.
If there are any non-zero values ci that satisfy the equation, the set is linearly dependent.
Testing Linear Independence
Asking if the set of vectors {v1,v2,…,vn} is linearly independent is equivalent to solving a homogeneous linear system.
Taking the unknowns to be the coefficients c1,c2,…,cn, we can write the augmented matrix of the system:
∣ v1∣ ∣ v2∣ ⋯∣ vn∣ ∣0∣
The type of solution determines linear independence:
- Only the trivial solution (c1=c2=⋯=cn=0) ⟹ linearly independent
- Non-trivial solutions ⟹ linearly dependent
Shortcut: Determinant
The determinant can be used to determine the number of solutions to a homogeneous linear system.
Let A=v1v2⋯vn.
- det(A)=0 ⟹ A is invertible ⟹trivial solution only ⟹ linearly independent
- det(A)=0 ⟹ A is not invertible ⟹ infinitely many solutions ⟹ linearly dependent
Examples
Linearly Independent
In R2, the set {⟨1,1⟩,⟨1,2⟩} is linearly independent.
c1[11]+c2[12]=[00]⟹1c11c1++1c22c2==00
The only solution to this linear system is c1=c2=0.
Check using the determinant:
1112=(1)(2)−(1)(1)=1=0
Linearly Dependent
In R2, the set {⟨1,2⟩,⟨3,6⟩} is linearly dependent.
c1[12]+c2[36]=[00]⟹1c12c1++3c26c2==00
This linear system has non-zero solutions, such as c1=−3, c2=1.
Moreover, we can see that one vector ⟨3,6⟩ is a linear combination of the other:⟨3,6⟩=3⋅⟨1,2⟩.
Check using the determinant:
1236=(1)(6)−(3)(2)=0

Example: Linear Independence
Let u=40−2, v=137, and w=335.
Determine if the set {u,v,w} is linearly independent.
Using the definition of linear independence, we are looking to find what values of c1,c2, and c3 are solutions to the equation:
c1u+c2v+c3w=0
⟹c140−2+c2137+c3335=000
⟹⎩⎨⎧4c1+c2+3c33c2+3c3−2c1+7c2+5c3===000
⟹40−2137335000
The columns of this augmented matrix are the vectors u,v, and w.
We can use Gauss-Jordan elimination to find the RREF:100010001000
We can then read of the solution directly: c1=c2=c3=0.
Instead, let's simply find the determinant of the coefficient matrix:
40−2137335===−0(…) + 3(4(5)−3(−2)) − 3(4(7)−1(−2))3(26)−3(30)−12 = 0
Since the determinant is not 0, the system has only the trivial solution c1=c2=c3=0.
Therefore, {u,v,w} is a linearly independent set.

Example: Linear Independence
Let u=(1,2,1), v=(1,3,2), and w=(7,17,a2+1).
Determine the value(s) of a that will make the set {u,v,w} linearly independent.
Let's find the determinant of the matrix whose columns are u,v, and w: 121132717a2+1
121132717a2+1===1(3(a2+1)−17(2))−1(2(a2+1)−17(1))+7(2(2)−3(1))3a2+3−34−2a2−2+17+7a2−9
Since we want the vectors to be linearly independent, we must make sure the determinant is not 0:
a2−9=0⟹(a−3)(a+3)=0⟹a=3anda=−3.
Therefore, as long as a is not equal to 3 or -3, the vectors will be linearly independent.