Difference between revisions of "Linear independence"
(Created the page with an explanation of linear independence and some methods of testing it) |
m |
||
| Line 58: | Line 58: | ||
[[Category:Mathematics]] | [[Category:Mathematics]] | ||
| − | [[Category:Linear | + | [[Category:Linear Algebra]] |
Latest revision as of 04:00, November 26, 2017
A set vectors, Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \vec{v}_1, \vec{v}_2, ... \vec{v}_n} are said to be linearly independent if a linear combination of the vectors is zero if and only if all the coefficients of the vectors are zero.[1] In other words, the equation:
- Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle a_1\vec{v}_1 + a_2\vec{v}_2 + ... + a_n\vec{v}_n = \sum^n_{i=1} a_i\vec{v}_i = \vec{0} }
only holds when Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle a_1, a_2,...a_n} all equal 0. If this equation is true for any other values of Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle a_1, a_2,...a_n} , then the vectors are said to be "linearly dependent". If a set of n vectors, each with dimension n, are linearly independent, then they form a basis for that space.[2]
Testing for Linear Independence
The simplest way to test for linear independence is to try to express one vector as a linear combination of the others. Consider the vectors:
These are not linearly independent as the third vector can be written as a linear combination of the other two:
Another method is to combine the vectors into a square matrix and calculates its determinant.[3] If the vectors are linearly dependent, the determinant will be zero. The vectors above can be combined into a matrix as the columns of the matrix.
The order of the vectors in the matrix does not matter. The determinant can be found as:
- Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \begin{vmatrix} 1 & 3 & 5 \\ 2 & -1 & 0 \\ 3 & 2 & 8 \end{vmatrix} = -21 }
As the determinant is not zero, the vectors are not linearly dependent. This matrix method only works when the dimension of the vectors and the number of vectors are the same.