Vectors are:
Components:
3
Vectors:
3
Matrix A (each vector is one column)
Advertisement Slot

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.

The pivot test:

\(\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

  1. Choose whether your vectors are the columns or the rows of the matrix.
  2. Set the number of components and the number of vectors, then type the entries. Fractions like 1/2 work.
  3. Press Check Linear Independence to see the verdict, pivot columns, rank, RREF steps and any dependency relation.

Solved Examples

Example 1: Independent Vectors

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.

Example 2: Dependent Vectors with a Relation

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 →
Advertisement Slot

Frequently Asked Questions

Put the vectors in the columns of a matrix and row reduce it. If every column has a pivot, the vectors are linearly independent. If any column has no pivot, they are dependent.
A column without a pivot is a free column. It means that vector is a combination of the pivot-column vectors, which gives a nonzero solution to Ax = 0 and proves dependence.
Yes. More than n vectors in R^n are always linearly dependent, because the rank of the matrix cannot exceed n.
No. Any set that contains the zero vector is linearly dependent, since the zero vector can be multiplied by any nonzero number and still give zero.