A set of vectors is **linearly independent** if no vector in the set can be expressed as a linear combination of the other vectors. For example, the vectors

are linearly independent. If vectors are linearly independent, they form the basis for a vector space. If the zero vector is in a set of vectors, they cannot be linearly independent, since zero times any vector is the zero vector. Let be a set of vectors. Then is linearly independent if, for scalars,

holds only when .

## Determining linear independence

Linear independence or lack thereof can be determined by creating a matrix with the columns being the vectors in question and setting it equal to zero. If there is at least one parameter, the vectors are dependent. Because of this, any set with more vectors than there are components to each vector will not be independent. For example,

Since this matrix will have a non-leading variable, the vectors are not linearly independent.

Another way to test for linear independence if there are *n* *n×1* vectors is to take the determinant of the matrix withe the vectors as columns. If the determinant is not zero, the vectors are independent. Using the same vectors,

So these vectors are not linearly independent. On the other hand, the vectors

are linearly independent since