Home · Everyday · Matrices · Linear Independence Calculator

Linear Independence Calculator

Are these vectors linearly independent? The rank test: independent exactly when the rank equals the count.

Your figures

Example result — edit the figures to make it yours

Linearly independent

Verdict

The set spans a 2-dimensional space. A set of 2 vectors is independent exactly when the rank equals 2. The headline figure is the rank.

Rank2
Vectors2

What this calculator does

Are these vectors linearly independent? The rank test: independent exactly when the rank equals the count. Where a measure is involved, US and metric units are both accepted — flip the unit toggle and the figures convert with the same definitions the formula uses. Every result on this page is computed from the formula stated below, with no hidden rounding steps.

The formula and method

Independent ⟺ rank of the column matrix = number of vectors

Vectors are read as the rows of the matrix you enter.

Gram–Schmidt subtracts each vector's projections on the orthonormal vectors built so far, then normalises.

A zero residual means the vector was dependent on the earlier ones; rank counts the independent set.

Worked example

With the example inputs this page opens with, the result is Linearly independent — verdict. The set spans a 2-dimensional space. A set of 2 vectors is independent exactly when the rank equals 2. The headline figure is the rank.

Quick reference

Quick reference — the worked example in full
FigureValue
VerdictLinearly independent
Rank2
Vectors2

Computed with the same formulas as the calculator above — enter any values there for figures beyond this table.

Common questions

How does the Linear Independence Calculator work?

Are these vectors linearly independent? The rank test: independent exactly when the rank equals the count. Vectors (as matrix columns) → Verdict and rank. The result updates as you type, and the formula and method on this page state the exact definitions used, so you can reproduce the calculation by hand.

What inputs does the Linear Independence Calculator need?

Vectors (as matrix columns) → Verdict and rank. Invalid entries — such as a zero denominator, an out-of-range value or a malformed list — produce a plain-language message instead of a misleading number.

Is the Linear Independence Calculator free to use?

Yes. It runs entirely in your browser with no sign-up, and the same calculator is available as an embeddable widget via the Embed button, so it can be placed on another site with its calculation intact.