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 v1=(1,2,3), v2=(0,1,4), and v3=(2,-3,0). To solve c1v1+c2v2+c3v3=0, put their components into the columns of an augmented matrix.

[102|021-3|0340|0]

Look for a pivot in every column

Subtract 2R1 from R2 and 3R1 from R3. Then subtract 4R2 from R3 using the new second row.

[102|001-7|00022|0]

The third row gives c3=0. The other two rows then give c2=c1=0. 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.