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
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.
This browser did not allow copying. The sentence is in the box below, already selected: copy it with your keyboard or the menu.
How to use this calculator
Fill in the fields in this order; each step takes you to its field.
- Number of vectors: choose Three vectors u, v, w or Two vectors u, v.
- u: x: enter a number.
- u: y: enter a number.
- u: z: enter a number.
- v: x: enter a number.
- v: y: enter a number.
- v: z: enter a number.
- w: x (three vectors only): enter a number.
- w: y (three vectors only): enter a number.
- w: z (three vectors only): enter a number.
- 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 vectors | Three vectors u, v, w |
|---|---|
| u: x | 2 |
| u: y | 0 |
| u: z | 1 |
| v: x | 1 |
| v: y | 3 |
| v: z | 0 |
| 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 |
|---|---|
| Result | Linearly 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.