Linear Independence Calculator

Linear Independence Calculator

Test whether a set of vectors is linearly independent by reducing the vector matrix to rank.

Last updated: June 2026 | By Patchworkr Team

Independence Test
v1
v2
Independence Status
Independent
Rank 2 | Rank 2 equals the number of vectors, so the set is independent.

What Does Linear Independence Mean?

A set of vectors is linearly independent when no vector in the set can be written as a linear combination of the others. If one vector can be built from the rest, the set is dependent.

How to Test Linear Independence

  1. Place the vectors into a matrix using one vector per row.
  2. Row-reduce the matrix and count the pivot rows.
  3. Compare the rank to the number of vectors.
  4. If the rank equals the number of vectors, the set is independent.
Rank(matrix) = number of vectors

Worked Example

The vectors [1, 0] and [0, 1] form the identity matrix, so their rank is 2 and the set is independent.

[[1, 0], [0, 1]] -> rank 2 -> independent

Frequently Asked Questions

What happens if there are more vectors than dimensions?

The set must be dependent because the rank can never exceed the dimension of the space.

Does the calculator accept decimals?

Yes. Any finite real coordinate is accepted, including decimal and scientific notation values.

Why use rank instead of only determinants?

Rank works for any matrix shape, not just square matrices, so it gives a more complete test.

What if the vectors are all zeros?

A zero vector makes the set dependent because it can be written as a trivial combination of the others.

Related Tools