(New page: In linear algebra, vectors <math>v_1, v_2... v_n</math> form a basis for <math>R^m</math> when *The vectors span <math>R^m</math>. (in other words, the span of the vectors is <math>R^...) |
|||
(7 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | In linear algebra, vectors <math>v_1, v_2... v_n</math> form a basis for | + | =When do vectors form a basis?= |
+ | In linear algebra, vectors <math>v_1, v_2... v_n</math> form a basis for the [[Subspace|subspace]] V when | ||
− | *The vectors [[span]] | + | *The vectors [[span]] V. (in other words, the span of the vectors is V) |
*The vectors are [[Linearly Independent|linearly independent]]. | *The vectors are [[Linearly Independent|linearly independent]]. | ||
− | + | If V is a subspace of <math>\mathbb R^m </math> it follows that n must be less than or equal to m. | |
− | + | Note that there can be more than one set of vectors that form a basis for the same space. In fact, there are an infinite number of bases (plural of basis) for a subspace provided the subspace is not just <math>\vec 0</math>. However, all bases for a given subspace have the same number of vectors. This number of vectors is called the dimension of the subspace. | |
+ | The easiest way to find the basis of a subspace is to first find the [[Span |span]] of the subspace and then eliminate any vectors that are not [[Linearly_Independent|linearly independent]]. You will then be left with vectors that still span the subspace and are linearly independent. This can be shown with an example: | ||
+ | |||
+ | Suppose that <math>\vec v_1,\vec v_2,\vec v_3,\vec v_4</math> span the subspace V. Then any vector in V can be written as | ||
+ | |||
+ | <math>\vec x = c_1\vec v_1 + c_2\vec v_2 + c_3\vec v_3 + c_4\vec v_4</math> | ||
+ | |||
+ | But if these vectors are not linearly independent and <math> \vec v_4</math> can be written as a linear combination of the other three such as: | ||
+ | |||
+ | <math>\vec v_4 = d_1\vec v_1 + d_2\vec v_2 + d_3\vec v_3</math> | ||
+ | |||
+ | Now any vector in V can be written as: (after gathering like terms) | ||
+ | |||
+ | <math>\vec x = (c_1+c_4d_1)\vec v_1 +(c_2+c_4d_2)\vec v_2 + (c_3+c_4d_3)\vec v_3 </math> | ||
+ | |||
+ | Which is still just a linear combination of the first three vectors. So <math> \vec v_1, \vec v_2, \vec v_3</math> now span all of V and, supposing they are now linearly independent (you'd have to check to make sure), they form a basis for V. | ||
+ | |||
+ | For a supplementary explanation of basis, click [[Basis%20Explanations%20S13|here]] | ||
+ | ---- | ||
+ | [[Linear_Algebra_Resource|Back to Linear Algebra Resource]] | ||
+ | |||
+ | [[MA351|Back to MA351]] | ||
[[category:MA351]] | [[category:MA351]] | ||
+ | [[Category:tutorial]] | ||
+ | [[Category:linear algebra]] | ||
+ | [[Category:basis]] |
Latest revision as of 10:29, 14 March 2013
When do vectors form a basis?
In linear algebra, vectors $ v_1, v_2... v_n $ form a basis for the subspace V when
- The vectors span V. (in other words, the span of the vectors is V)
- The vectors are linearly independent.
If V is a subspace of $ \mathbb R^m $ it follows that n must be less than or equal to m.
Note that there can be more than one set of vectors that form a basis for the same space. In fact, there are an infinite number of bases (plural of basis) for a subspace provided the subspace is not just $ \vec 0 $. However, all bases for a given subspace have the same number of vectors. This number of vectors is called the dimension of the subspace.
The easiest way to find the basis of a subspace is to first find the span of the subspace and then eliminate any vectors that are not linearly independent. You will then be left with vectors that still span the subspace and are linearly independent. This can be shown with an example:
Suppose that $ \vec v_1,\vec v_2,\vec v_3,\vec v_4 $ span the subspace V. Then any vector in V can be written as
$ \vec x = c_1\vec v_1 + c_2\vec v_2 + c_3\vec v_3 + c_4\vec v_4 $
But if these vectors are not linearly independent and $ \vec v_4 $ can be written as a linear combination of the other three such as:
$ \vec v_4 = d_1\vec v_1 + d_2\vec v_2 + d_3\vec v_3 $
Now any vector in V can be written as: (after gathering like terms)
$ \vec x = (c_1+c_4d_1)\vec v_1 +(c_2+c_4d_2)\vec v_2 + (c_3+c_4d_3)\vec v_3 $
Which is still just a linear combination of the first three vectors. So $ \vec v_1, \vec v_2, \vec v_3 $ now span all of V and, supposing they are now linearly independent (you'd have to check to make sure), they form a basis for V.
For a supplementary explanation of basis, click here