Bases and Dimension
In questa pagina 3
This note combines spanning and linear independence from Vector SpacesVector spaces are sets with a sum and a scalar multiplication satisfying eight rules, with R^n, polynomials, direct sums and quotients as examples; subspaces, spans, linear combinations and linear independence are the tools to describe them.Vector Spaces → into the notion of a basis, and uses it to define dimension.
1. Bases
Definition. A collection of vectors is a basis of if they span and are linearly independent.
Example (standard basis). The vectors form a basis, the standard basis: they span (each ) and are linearly independent.
Modify it slightly and see what happens:
- Omit one vector, say keep only : still linearly independent, but they no longer span , so not a basis.
- Add an arbitrary vector : still span , but are not independent. Indeed for suitable (the span), so by the dependence lemma ("one vector is a combination of the others") are linearly dependent.
Example (another basis of ). The vectors , , form a basis of . Apply the independence and the spanning method to the matrix with these rows (swap rows 1 and 2; subtract row 1 from row 3; subtract row 2 from row 3; scale): Three leading ones: the vectors are linearly independent and span , so they form a basis. This is a different basis from .
Proposition (a basis gives coordinates). Let be a basis of . Then every can be written uniquely as For another vector one has .
Proof. Existence holds because the span ; uniqueness is the proposition on unique representation for linearly independent vectors.
This says that a basis gives rise to a coordinate system in : , and adding vectors means adding coordinates.
2. The dimension of a vector space
We call space "3-dimensional" and a plane "2-dimensional"; the following makes this precise.
Theorem. If has a basis , then every other basis of also consists of vectors. (The number of vectors in a basis does not depend on the basis, although the vectors themselves may, cf. the two bases of above.)
Definition. has dimension , written , if there is a basis of with elements.
Examples.
- The standard basis has elements, so .
- The polynomials of degree at most have the basis ( polynomials), so .
Remark (direct sums). If is a basis of and a basis of , then is a basis of , so .
Theorem. Every vector space has a basis. (In this course only vector spaces with a basis of finitely many vectors are considered: finite-dimensional spaces. An infinite-dimensional space is , with the basis .)
Theorem (completing and shrinking). Let be a vector space.
- If is spanned by vectors , then a basis of is obtained by removing certain of the . In particular has a basis, is finite-dimensional, and .
- Every linearly independent set can be enlarged to a basis by adding suitable vectors from any given basis of : if are linearly independent and is any basis, then together with certain form a basis. In particular, if are independent then .
- If is a subspace then (so is finite-dimensional if is), and precisely if .
- For a subspace , every basis of can be extended to a basis of .
(The source does not prove this theorem; it refers to linear algebra textbooks.)
Example. In take , , , . Form the matrix with these rows and reduce: (First step: add multiples of row 1 to the others. Second step: multiply row 2 by and add multiples to the last two rows. Third step: divide the last row by .) Swapping the last two rows gives a row-echelon matrix with three leading ones. So the four vectors generate but are not linearly independent (also clear from and part 2 of the theorem).
By part 1 a basis is obtained by removing vectors, but one may not remove just any one:
- do not form a basis: dropping the last row leaves a zero row (indeed ), so they neither are independent nor span ;
- do form a basis: dropping the third row leaves the rows with three leading ones.
Corollary. Let and let be vectors in . Then they are linearly independent if and only if they span .
Proof. Suppose they span but are not independent. Then some lies in the span of the others, so is spanned by the vectors other than , whence by part 1 of the theorem, a contradiction. The converse implication is proved similarly (an independent set of vectors can be extended to a basis by part 2, which cannot add vectors since every basis has ).
Remark (in ). For and vectors, the matrix with rows and its echelon form are . The vectors span iff has leading ones, which happens iff they are independent: the two methods agree.
Example (powers of ). Fix . In the polynomials are linearly independent. Suppose . Only has degree , all others degree , so the coefficient of gives . Then and the coefficient of gives . Repeating, all . Since , the corollary shows form a basis. By the coordinate proposition every polynomial of degree can be written uniquely as i.e. as a sum of powers of (a polynomial is by definition a sum of powers of ). The values of the are closely related to the Taylor series from analysis.
3. Dimensions of sums and intersections
We now answer the questions left open in Vector SpacesVector spaces are sets with a sum and a scalar multiplication satisfying eight rules, with R^n, polynomials, direct sums and quotients as examples; subspaces, spans, linear combinations and linear independence are the tools to describe them.Vector Spaces →: how small is and how big is ?
Corollary. For subspaces with and , (Left: the sum of subspaces; right: the sum of numbers.)
Proof. Let be a basis of and a basis of . They span , resp. , so is spanned by the vectors . By part 1 of the theorem, .
Theorem (dimension formula). For subspaces , (A special case of the rank-nullity theorem, treated later. The source states it without proof here and illustrates it.)
Illustration in . A subspace is of exactly one of three kinds:
- : ;
- : a basis consists of one vector . It is (otherwise would be a non-trivial combination giving ), and since spans, is the line through the origin spanned by ;
- : then by part 3 of the theorem.
The same holds for . If then and , so (D) reads : nothing interesting. If then , and (D) reads : tautological. The interesting case is : two lines through the origin.
- : and , so (D) reads , true.
- : the distinct lines meet only in the origin, , and (D) says , hence , so (part 3 of the theorem).
Definition. For subspaces we say "the sum is a direct sum" if , i.e. if is as large as possible; by (D) this means , i.e. . For two lines in the sum is direct precisely if , i.e. .
Example (a line and a plane in ). Let (a line through the origin) and (a plane through the origin). Since ,
- If : , .
- If : is a subspace of of strictly smaller dimension, so , .
So a line and a plane through the origin in meet either in the single point or in the whole line.
Example (two planes in ). Let . Then (D) reads . Since , we have .
- : and , both of dimension .
- : has dimension , so and .
Two planes through the origin in therefore meet either in a plane (iff ) or in a line (iff ). In an ambient space of dimension with the possible values of and are more varied and are not listed.
Versione ripasso
Basis. is a basis of if they span and are linearly independent.
- Standard basis of . Dropping a vector: no longer spans. Adding a vector: no longer independent ().
- Example: is a basis of (three leading ones after elimination).
- Coordinates: each is uniquely (existence from spanning, uniqueness from independence); adds coordinates.
Dimension. All bases of have the same number of vectors; .
- ; (basis ); ; is infinite-dimensional (basis ).
- Every vector space has a basis; this course treats finite-dimensional spaces.
Theorem (shrinking and completing).
- spanned by vectors: a basis is obtained by removing some of them; .
- Independent extend to a basis (using vectors of any given basis); .
- subspace: , with equality iff .
- Any basis of a subspace extends to a basis of .
Corollary. If , then vectors are independent they span (so for vectors it suffices to check one of the two). In : vectors, echelon form has leading ones.
Example. are independent (compare coefficients from the top degree downward), hence a basis of ; every polynomial of degree is uniquely .
Sums and intersections.
- .
- Dimension formula: .
- is a direct sum if , i.e. .
- In : two different planes through meet in a line; a line not in a plane meets it only in ; in two different lines meet only in and .
Typical mistakes.
- Removing an arbitrary vector from a spanning set: it must be a vector that is a combination of the others (e.g. from above, removing fails, removing works).
- Using the corollary without knowing or with a number of vectors different from .
- Forgetting that a subspace has strictly smaller dimension (used to conclude ).
- Confusing the dimension of the intersection with the dimension of the sum: they move in opposite directions in the formula.