Linear Independence Calculator

Enter vectors as the rows of a matrix to test them for linear independence.

Vectors as rows
Rows
3
Columns
3

Write each vector as a row, rows separated by semicolons, like 1, 2, 3; 2, 4, 6.

Try

Result

You enteredv1, v2, v3\mathbf{v}_{1},\ \mathbf{v}_{2},\ \mathbf{v}_{3}

linearly independent\displaystyle \text{linearly independent}

Rank

3\displaystyle 3
Show the work
  1. Linear independence

    The vectors are independent when the only combination giving the zero vector is the one with every coefficient 0. Write them as columns and row reduce.

    Using c1v1+⋯+ckvk=0  ⇒  c1=⋯=ck=0c_1\mathbf{v}_1 + \dots + c_k\mathbf{v}_k = \mathbf{0} \;\Rightarrow\; c_1 = \dots = c_k = 0

    (100010001)  ⟶  (100010001)\begin{pmatrix} 1 & 0 & 0 \\ 0 & 1 & 0 \\ 0 & 0 & 1 \end{pmatrix} \;\longrightarrow\; \begin{pmatrix} 1 & 0 & 0 \\ 0 & 1 & 0 \\ 0 & 0 & 1 \end{pmatrix}
  2. Rank against the number of vectors

    Every column needs a pivot for independence: 3 pivots for 3 vectors.

    rank⁡=3k=3\begin{gathered} \operatorname{rank} = 3 \\ k = 3 \end{gathered}
  3. Result

    The vectors are linearly independent.

Worked examples