How to test linear independence in three dimensions
In three dimensions, we need three independent directions to reach every point. Even if the first two vectors form a plane, the third has to take us out of that plane. We can check that by looking for combinations of the vectors that give zero.
Use the vectors as columns
Let , , and . To solve , put their components into the columns of an augmented matrix.
Look for a pivot in every column
Subtract from and from . Then subtract from using the new second row.
The third row gives . The other two rows then give . The vectors are linearly independent and span three-dimensional space.
Use the same test when there are more vectors
With four vectors in three dimensions, the matrix has four variable columns and only three rows. At least one variable is free, so the vectors are dependent.