The answers I have chosen are incorrect. Can anyone help? Thanks in advance...
Form the matrix of vectors as columns, then get the rank of the resulting matrix. The rank is the dimension of the subspace... and there are standard ways to get the rank if you reduce to row echelon form. Try looking up "rank of a matrix" and "row reduced echelon form" [or is it "column reduced"?].