Examples
Basic Examples (4) 
Test some two-dimensional vectors for linear independence:
Test some three-dimensional vectors for linear independence:
This set of vectors is linearly dependent:
Confirm that the third vector can be written as a linear combination of the first two:
LinearlyIndependent works with any number of vectors of any dimension:
Scope (3) 
For vectors with symbolic parameters, LinearlyIndependent may return a ConditionalExpression:
A True/False result may be obtained by giving values to the parameters:
LinearlyIndependent accepts vectors with complex components:
Properties and Relations (6) 
A set of vectors is linearly independent if and only if the rank of the row matrix composed of the vectors equals the length of the vectors:
A set of vectors is linearly independent if and only if the rank of the row matrix composed of the vectors has a zero-dimensional null space:
Or, alternatively:
A set of vectors is linearly independent if and only if the rank of the row matrix composed of the vectors has a nonzero determinant:
A set of vectors is linearly independent if and only if its row-reduced form has a no zeros along its diagonal:
The zero vector is linearly dependent on every other vector:
LinearlyIndependent will not evaluate if the vectors do not all have the same length:
Publisher
Wolfram|Alpha Math Team
Related Links
Version History
-
3.0.0
– 23 March 2023
-
2.1.0
– 11 May 2021
-
2.0.0
– 24 January 2020
-
1.0.0
– 03 October 2019
Related Resources