Skip to content
FiftyCalc Free calculators for all 50 states

Linear Independence Calculator

Test cases replayed : 4 of 4 match · Methodology · No outside source listed

Enter two or three vectors with three components each. For vectors in the plane, set z to 0.

Result

Sample figures

Result—

Test value: determinant det[u; v; w] (three vectors) or length of u × v (two vectors) —

Estimate for planning only, not tax, legal, financial or medical advice. This calculator uses the method explained on this page.

Linear Independence Calculator

Number of vectors

Number of vectors: choose Three vectors u, v, w or Two vectors u, v. Prefilled example: Three vectors u, v, w.

u: x: enter a number. Prefilled example: 2.

u: y: enter a number. Prefilled example: 0.

u: z: enter a number. Prefilled example: 1.

v: x: enter a number. Prefilled example: 1.

v: y: enter a number. Prefilled example: 3.

v: z: enter a number. Prefilled example: 0.

w: x (three vectors only): enter a number. Prefilled example: 0.

w: y (three vectors only): enter a number. Prefilled example: 1.

w: z (three vectors only): enter a number. Prefilled example: 4.

How to use this calculator

Fill in the fields in this order; each step takes you to its field.

  1. Number of vectors: choose Three vectors u, v, w or Two vectors u, v.
  2. u: x: enter a number.
  3. u: y: enter a number.
  4. u: z: enter a number.
  5. v: x: enter a number.
  6. v: y: enter a number.
  7. v: z: enter a number.
  8. w: x (three vectors only): enter a number.
  9. w: y (three vectors only): enter a number.
  10. w: z (three vectors only): enter a number.
  11. Read the result: Result; the panel also shows Test value: determinant det[u; v; w] (three vectors) or length of u × v (two vectors).

How this calculator works

Vectors are linearly independent when the only way to make c₁u + c₂v + c₃w = 0 is c₁ = c₂ = c₃ = 0.

Three vectors in 3D are independent exactly when the determinant of the 3 × 3 matrix with rows u, v, w is not zero (the matrix is invertible). Two vectors are independent exactly when neither is a multiple of the other, that is when their cross product u × v is not the zero vector.

Worked example

Number of vectorsThree vectors u, v, w
u: x2
u: y0
u: z1
v: x1
v: y3
v: z0
w: x (three vectors only)0
w: y (three vectors only)1
w: z (three vectors only)4
Test value: determinant det[u; v; w] (three vectors) or length of u × v (two vectors)25
ResultLinearly independent

Frequently asked questions

Are (1, 2, 3), (4, 5, 6) and (7, 8, 9) independent?

No. Their determinant is 0: the third vector is 2 × (4, 5, 6) − (1, 2, 3).

Can four vectors in 3D be independent?

No. Space has dimension 3, so at most three vectors in it can be independent.

Related calculators