Matrix Independence Calculator
Check whether a set of vectors is linearly independent or dependent. Get the verdict, rank, pivot columns, full RREF steps, and the exact dependency relation.
How the Matrix Independence Calculator Works
Vectors \(\mathbf{v}_1, \dots, \mathbf{v}_n\) are linearly independent when the only solution of \(c_1\mathbf{v}_1 + \dots + c_n\mathbf{v}_n = \mathbf{0}\) is every \(c_i = 0\). This calculator places your vectors in the columns of a matrix, row reduces it to RREF, and reads the answer from the pivots.
\(\text{Independent} \iff \text{Rank}(A) = n \iff \text{every column has a pivot}\)
Where \(n\) is the number of vectors (columns).How to Use It
- Choose whether your vectors are the columns or the rows of the matrix.
- Set the number of components and the number of vectors, then type the entries. Fractions like 1/2 work.
- Press Check Linear Independence to see the verdict, pivot columns, rank, RREF steps and any dependency relation.
Solved Examples
Test \(\mathbf{v}_1 = (1,0,1)\), \(\mathbf{v}_2 = (0,1,1)\), \(\mathbf{v}_3 = (1,1,0)\).
The RREF of the matrix with these columns is the identity matrix, so all three columns have pivots. Rank = 3 = number of vectors, and \(\det(A) = -2 \neq 0\).
Conclusion: the vectors are linearly independent.
Test \(\mathbf{v}_1 = (1,2,3)\), \(\mathbf{v}_2 = (0,1,1)\), \(\mathbf{v}_3 = (2,5,7)\).
The RREF is \(\begin{bmatrix} 1 & 0 & 2 \\ 0 & 1 & 1 \\ 0 & 0 & 0 \end{bmatrix}\). Column 3 has no pivot, and its entries (2, 1) give \(\mathbf{v}_3 = 2\mathbf{v}_1 + \mathbf{v}_2\).
Conclusion: the dependency relation is \(2\mathbf{v}_1 + \mathbf{v}_2 - \mathbf{v}_3 = \mathbf{0}\), so the vectors are linearly dependent and the rank is 2.
Learn the Theory
Want the definition, three tests and quick ways to spot dependent vectors?
Read our guide: Linear Independence Explained →