Given the set
The set S = {v1, v2, v3, v4, v5, v6} of vectors in R4 is linearly independent if the only solution of
(*) c1v1 + c2v2 + c3v3 + c4v4 + c5v5 + c6v6 = 0
is c1, c2, c3, c4, c5, c6 = 0.
In this case, the set S forms a basis for span S.
Otherwise (i.e., if a solution with at least some nonzero values exists), S is linearly dependent.
If this is the case, a subset of S can be found that forms a basis for span S.
With our vectors v1, v2, v3, v4, v5, v6, (*) becomes:
Rearranging the left hand side yields
The matrix equation above is equivalent to the following homogeneous system of equations
We now transform the coefficient matrix of the homogeneous system above to the reduced row echelon form to determine whether the system has
The reduced row echelon form of the coefficient matrix of the homogeneous system (**) is
which corresponds to the system
The leading entries have been highlighted in yellow.
Those columns in the matrix that do not contain leading entries, correspond to unknowns that will be arbitrary. The system has infinitely many solutions:
Since the variables c4, c5 are arbitrary, then each of the vectors v4, v5 can be expressed as a linear combination of vectors in the set T = {v1, v2, v3, v6}. For example, set c4 = 1, c5 = 0, and use the equation (*) to express v4 as a linear combination of the remaining vectors in the set S:
v4 = 0v1 +1v2 +1v3 +0v6
Since the set T = {v1, v2, v3, v6} is linearly independent and it spans span S, then the set
forms a basis for span S.