Basis and Dimension
The concepts of basis and dimension provide a way to “measure” the size and complexity of a vector space.
Linear Independence and Spanning
A set of vectors is linearly independent if the only solution to is for all . The span of a set is the set of all possible linear combinations.
Interactive Lab
Read the code, make a small change, then run it and inspect the output. Runtime setup messages stay outside the terminal so the result remains focused on what the program prints.
Definition of a Basis
A basis for a vector space is a set of vectors that:
- Is linearly independent.
- Spans .
How many vectors are in any basis of R^3?
Dimension
The dimension of a vector space , denoted , is the number of vectors in any basis for .
Interactive Lab
Read the code, make a small change, then run it and inspect the output. Runtime setup messages stay outside the terminal so the result remains focused on what the program prints.