kevinlui's site
Kernel: SageMath 8.0
Basis and Dimension Round 2
Definition: A set is a basis for a subspace if
spans ,
is linearly independent
Theorem: Let be a basis for a subspace . Then every can be written as a linear combination of in a unique way.
Example: We'll use the same subspace as last time. Let be the subspace spanned by . From last class, we determined that a basis for is given by where . It is clear that . How do we express as a linear combination of ? This amounts to solving .
In [9]:
Out[9]:
(
[-1 0]
[ 2 5]
[ 3 13]
[ 1 4], (4, -3, 1, 0)
)
In [10]:
Out[10]:
(-4, 1)
Most sets of vectors in are a basis.
Example: Take as before with basis . How can we extend to be a basis for ?
Eyeball it
Add 2 random vectors
In this case, we see that will form a basis for . But so will .