University Mathematics — Year 1 · Bachelor Year 1
19Finite Dimension
A space spanned by finitely many vectors carries a well-defined dimension — the common size of all its bases. The proofs below all flow from one combinatorial engine, the exchange lemma: a free family can never outnumber a generating one. With dimension come the tools used everywhere afterwards: the incomplete basis theorem, the rank of a family, Grassmann’s formula.
19.1 Existence of bases
Definition 19.1
is finite-dimensional when it has a finite generating family. (Otherwise infinite-dimensional: so is , whose finite families only span polynomials of bounded degree.)
Theorem 19.2 (Exchange lemma)
Let generate and be free in . Then .
Proof. We prove by induction on : after renumbering the , the family generates — which forces at each stage, and at the end.
: the hypothesis. Step: assume it for ; then is a combination of . In this combination some () has a nonzero coefficient — otherwise would be a combination of , contradicting freeness. Renumber so that , and solve for : is a combination of . Every vector of , expressed through the -family, can then be re-expressed through the -family: it generates. (If , no remains and would be a combination of the ’s alone: impossible; so .) ∎
Example 19.3 (The exchange, watched once)
In , take the generating family and the free family . Step : ; the coefficient of is nonzero, so exchange for : the family still generates (). Step : ; the coefficient of the remaining is nonzero (it must be: is not a multiple of ), so exchange again: generates . Had there been a third free vector , no would remain to absorb it — which is precisely how the lemma forbids free vectors in . The proof above is this bookkeeping done in general.
Theorem 19.4 (Bases in finite dimension)
Let be finite-dimensional.
- From every finite generating family one can extract a basis.
- (Incomplete basis theorem) Every free family extends to a basis, using vectors of any chosen generating family.
- All bases of are finite, with the same number of elements: the dimension . (Convention: .)
Proof. (1) Discard, one at a time, any vector that is a combination of the others; the family stays generating, since in any expression using the discarded vector one may substitute its combination of the survivors. The process terminates — each step shrinks a finite family by one — and it halts exactly when no remaining vector is a combination of the others. The final family is still generating, and it is free: a nontrivial null combination would carry some nonzero coefficient, and dividing by it would solve for the corresponding vector in terms of the others, making it discardable after all — contradicting that the process had halted.
(2) Let be free, generating. Run through , appending to the current family whenever it is not already in its span (Proposition 18.19 (2) keeps the family free). The final family is free, and generating: every lies in its span — either it was appended, or it was already a combination.
(3) Two bases are each free and each generating: the exchange lemma gives both inequalities between their cardinalities. (Finiteness: a basis is free, hence by exchange no larger than a finite generating family.) ∎
Example 19.5
(canonical basis); (monomials); ; the solution space of has dimension (Theorem 5.10: the solutions are parametrized bijectively and linearly by ).
Example 19.6 (The same set, two dimensions)
The set of pairs of complex numbers is a -vector space of dimension (canonical basis ) — and an -vector space of dimension , with basis
every has real coordinates , uniquely. Dimension is not a property of the set of vectors alone: it counts the degrees of freedom relative to the allowed scalars, and halving the scalar supply from to doubles the count. (The weekend problem exploits the extreme case of this sensitivity, with scalars shrunk all the way to .)
Example 19.7 (Running the completion algorithm)
Complete the free family into a basis of using the canonical vectors. Run the proof of Theorem 19.4 (2) on the generating family : is ? No (multiples of have equal coordinates) — append it. Is ? A combination has equal second and third coordinates, and does not — append it. The family is free with vectors: stop, it is a basis (Proposition 19.8 will make this reflex official). Note the outcome depends on the order in which the are scanned: completion is an algorithm, not a formula.
Proposition 19.8 (The two-out-of-three rule)
Let and a family of exactly vectors of . Then
Moreover any free family has vectors, any generating family .
Proof. The cardinality bounds are the exchange lemma against a basis. If (size ) is free but not generating, some lies outside its span; appending gives a free family of vectors: impossible. If is generating but not free, extracting a basis (Theorem 19.4 (1)) gives a basis of vectors: impossible. ∎
Example 19.9 (Two-out-of-three, saving half the work)
Is a basis of ? Count: three vectors, dimension three — so freeness alone decides. A null combination gives , , ; adding all three, , and subtracting each original equation from leaves : free, hence a basis, with the generating half of the verification supplied by the theorem for free. Compare Example 18.18, where the same double verification had to be done by hand — one chapter of theory converts into exactly that saving, on every basis check for the rest of the book.
Method 19.10 (Computing a dimension)
Three standard routes, in decreasing order of frequency.
- Parametrize, then read off a basis. Solve the defining constraints, express the general element linearly in the surviving parameters, and check that the vectors multiplying the parameters are free: the dimension is the number of parameters. (Run below on a concrete subspace of .)
- Exhibit a bijective linear parametrization. When the elements are determined by finitely many values — initial conditions of a recurrence (Exercise 19.10), coefficients of a solution formula (Example 19.5) — the dimension is the number of those values.
- Use the formulas. Grassmann for intersections and sums, rank for spans, and later rank–nullity for kernels and images: dimensions are usually computed, not guessed.
In all three routes, the two-out-of-three rule is the finisher: once the count matches, freeness or generation alone concludes.
Example 19.11 (Route 1, in full)
Dimension of . Solve: and , so with free:
The two vectors are free (look at the first two coordinates: ), so they form a basis of and . The count was predictable — two independent linear constraints in should each eat one dimension — but the parametrization proves it and hands over a basis, which the prediction alone never does; Exercise 19.9 makes the “each equation eats at most one dimension” slogan into a theorem.
Example 19.12 (Route 2, in full)
Dimension of (for ). By the factor theorem applied twice (Theorem 8.7; the roots and are distinct), exactly when with . The correspondence is linear, reaches all of , and is injective (a product is zero only if ): is parametrized bijectively and linearly by , so
A basis comes with the parametrization: the images of the monomials, . Each new evaluation constraint at a fresh point costs exactly one dimension — the counting backbone of Lagrange interpolation (Theorem 8.23).
Example 19.13 (An integral constraint costs one dimension too)
Dimension of . Writing , the constraint reads ; solve for and parametrize:
so , dimension (the two polynomials have distinct degrees: free). One linear condition — whether an evaluation, an integral, or any other linear recipe — removes at most one dimension, and exactly one as soon as the condition is not identically zero. Chapter 20 will name such recipes linear forms and their solution sets hyperplanes; the basis vectors found here reappear in Chapter 23 as the start of the Legendre family.
19.2 Subspaces, rank, Grassmann
Theorem 19.14 (Subspaces)
Let be finite-dimensional and a subspace. Then is finite-dimensional, , with equality if and only if . Moreover every subspace has a supplementary subspace.
Proof. Free families of have at most vectors (exchange lemma in : a free family of is in particular free in , and has a finite generating family). Among the free families of pick one of maximal size — possible since the sizes are integers bounded by . It generates : otherwise some would lie outside its span, and appending would give a free family of of size (Proposition 18.19 (2)), contradicting maximality. Being free and generating, it is a basis of , and . If : a free family of vectors of is a basis of (Proposition 19.8), so . Supplementary: complete a basis of into a basis of (incomplete basis theorem); then satisfies (existence and uniqueness of decompositions = coordinates in the big basis). ∎
Definition 19.15 (Rank of a family)
The rank of a finite family of vectors is the dimension of its span: , with equality to iff the family is free.
Example 19.16 (Computing a rank by elimination)
Rank of in . The span is unchanged when one subtracts from a vector a combination of the others (both families span the same combinations): replace by and by . The span is now , and these two vectors are not proportional: the rank is . This subtract-and-discard procedure is systematized as Gaussian elimination in Chapter 22.
Example 19.17 (Summing by concatenation)
Take, in ,
The sum is spanned by the concatenated family of all three generators, and
shows the third is redundant: , of dimension — equivalently , which the relation displays. Grassmann confirms: . Sums are computed by concatenating generators and then reducing the pile by the rank algorithm; no new technique is ever needed.
Theorem 19.18 (Grassmann’s formula)
For finite-dimensional subspaces of :
In particular is direct iff .
Proof. Start from a basis of ; complete it into a basis of and into a basis of (Theorem 19.4 (2)). We claim
is a basis of ; the formula follows by counting: .
generates : any (, ) expands through it. Freeness: suppose . The vector lies in , so it expands on alone; but also expands on , and in the basis of these two expressions must coincide: all (and the -coordinates match). The relation reduces to , a relation in the basis of : all remaining coefficients vanish. ∎
Example 19.19
Two distinct planes (dimension ) of satisfy (their sum strictly contains a plane), so : they always intersect along a line — no “parallel planes” through the origin.
Example 19.20 (Grassmann in action, in )
Let and in . Dimensions: (the third generator has a nonzero third coordinate, outside ) and . Sum: contains and : it is all of . Grassmann then computes the intersection’s size with no elimination at all:
To identify the line, look inside : a vector lies in exactly when it is , forcing and : the intersection is — consistent, since was exhibited in above and lies in by definition. Typical division of labor: Grassmann predicts how much to look for, the linear system then finds what.
Example 19.21 (Intersecting by equations)
When both subspaces come as solution sets, intersecting is just stacking the equations. In : and give
a line. Cross-check by Grassmann: (the planes are distinct, so their sum strictly contains a plane), hence . The two descriptions of a subspace — by equations, by generators — each make one operation trivial: equations intersect by stacking, generators sum by concatenating; converting between them is exactly what solving a linear system means (Chapter 22).
Remark 19.22 (Common pitfalls)
Dimensions do not add along sums unless the sum is direct: two planes of have , not ; always correct by the intersection term (Grassmann). An inclusion needs the dimension and the inclusion: alone never gives (two distinct lines of ); the equality case of Theorem 19.14 requires first. Counting parameters is not yet a proof: “two equations in , so dimension ” fails when the equations are dependent ( and leave dimension ); only an actual parametrization or a rank computation decides. Do not speak of the dimension of a non-subspace: solution sets of inhomogeneous systems miss ; their “dimension” is that of the associated homogeneous solution space (Chapter 22 makes this precise). Infinite dimension exists: contains free families of every size (the monomials), so no finite generating family can exist — statements like the two-out-of-three rule are strictly finite-dimensional and fail badly on (Corollary 20.9 will show the same for injectivity/surjectivity). Rank is about the span, not the list: repeating a vector, reordering, or rescaling by nonzero constants leaves the rank unchanged, and (the number of vectors) is a property to prove — it is exactly freeness. A family of vectors of rank carries three vectors’ worth of redundancy, which elimination (Example 19.16) locates explicitly.
Remark 19.23 (Where dimension goes to work)
Dimension is the book’s favorite counting argument from here on. Chapter 20 proves the rank–nullity theorem, the functional version of Grassmann’s formula; Chapter 21 computes ranks by row reduction; Chapter 22 turns “ vectors of form a basis” into one number being nonzero. The weekend problem below shows dimension doing arithmetic: counting dimensions over the field proves irrationality statements that look untouchable by hand. In the Year 3 volume the same dimension counts, refined by group theory, decide which classical construction problems are solvable — that story is Galois theory.
Remark 19.24 (Perspectives inside Book 3)
Dimension is the conserved quantity of the rest of this volume, and it is worth naming the conservation laws in advance. Chapter 20 proves : what a linear map crushes plus what it keeps always totals the source. Chapter 22 refines this into the structure of solution sets: unknowns minus pivots leaves the dimension of the solution space, which Gaussian elimination exhibits as free parameters. Chapter 23 splits orthogonally, and the weekend problem of Chapter 25 spends exactly this budget: data points, parameters fitted, dimensions of residual. Whenever a count refuses to balance in a later chapter, the error is a forgotten kernel or a non-direct sum — come back to Grassmann’s formula first.
19.3 Exercises
Exercise 19.1 ★
Give a basis and the dimension of:
- ;
- ;
- .
Solution
Solution of Exercise 19.1.
- : ; the two vectors are free (coordinates): .
- : free, .
- means (Proposition 8.11): . Basis , dimension .
Exercise 19.2 ★
Compute the rank of the family in , and extract a basis of its span.
Exercise 19.3 ★
Complete the free family into a basis of using canonical vectors, and justify.
Solution
Solution of Exercise 19.3.
Try appending and . The family is free: a null combination reads , so , then . Four free vectors in dimension : a basis (Proposition 19.8).
Exercise 19.4 ★
Prove that is a basis of , and find the coordinates of in it.
Solution
Solution of Exercise 19.4.
Degrees pairwise distinct: free (Proposition 18.19), four vectors in dimension : basis. For : expand downward,
so ; and . Hence
coordinates on . (These are Stirling numbers in disguise.)
Exercise 19.5 ★★
Let and be subspaces of dimensions and of a space with . What are the possible values of ? Give an instance realizing each value with .
Exercise 19.6 ★★
Let . Prove that is a hyperplane of (a subspace of dimension ), exhibit a basis of (think of the factor theorem: ), and give a supplementary line.
Solution
Solution of Exercise 19.6.
is a subspace (Exercise 18.1 (4) verbatim). By the factor theorem (Theorem 8.7), with : the map is a linear bijection from onto , so a basis of is
A supplementary line: (constants). Indeed (a nonzero constant does not vanish at ) and dimensions add up to : by Grassmann, .
Exercise 19.7 ★★
Let be vectors of rank . Prove that removing one vector yields a family of rank or , and that appending one vector yields rank or . Deduce that rank changes by at most under any single insertion or deletion.
Solution
Solution of Exercise 19.7.
Deletion: removing , the span can only shrink; and it shrinks by at most one dimension, since adding back to a basis of the smaller span gives a generating family of the larger with at most one extra vector. Symmetrically, appending a vector : the new span contains the old with at most one extra generator, so its dimension is (if was already in the span) or (otherwise, by Proposition 18.19 (2) a basis extends). Both statements together give the “rank is -Lipschitz” conclusion.
Exercise 19.8 ★★★
Let be subspaces of () with for all . Prove . Deduce that a strictly increasing chain of subspaces of has length at most , and exhibit one of maximal length.
Solution
Solution of Exercise 19.8.
Along a strictly increasing chain, dimensions strictly increase (, and Theorem 19.14: equality of dimensions would force equality of spaces). So is a strictly increasing sequence of integers in : at most values, . Maximal chain in :
of length exactly .
Exercise 19.9 ★★★
Let be of dimension and , two hyperplanes (dimension ), . Compute . Generalize: the intersection of hyperplanes has dimension .
Solution
Solution of Exercise 19.9.
strictly contains (since ), so and Grassmann gives .
General claim, by induction on : the intersection of hyperplanes has . True for . Step: , and Grassmann inside :
Exercise 19.10 ★★
Let be the set of real sequences satisfying for all .
- Show that is a subspace of the space of sequences, and that a sequence of is entirely determined, linearly, by the pair ; deduce .
- Check that the constant sequence and the geometric sequence lie in and form a basis of .
- Find the sequence of with , .
Solution
Solution of Exercise 19.10.
- The condition is linear and satisfied by the zero sequence: is a subspace. By induction, and determine every , and the dependence is linear (each step is a linear combination of the two previous values); conversely every pair arises from exactly one sequence of (define by the recurrence). As in Example 19.5, is parametrized bijectively and linearly by : .
- Constants: . Geometric: . Both lie in . Freeness: for all gives, at and : , , so . Two free vectors in dimension : a basis (Proposition 19.8).
- Solve , : , , so (the Mersenne sequence).
Exercise 19.11 ★★
Let be of dimension .
- If are subspaces with , prove . Illustrate: two subspaces of dimensions and of always share a nonzero vector.
- If is a hyperplane and a subspace with , prove .
Solution
Solution of Exercise 19.11.
- Grassmann: , so . With : , the intersection contains a line.
- If , the sum is direct and , so . (Conversely a line not contained in does satisfy this: hyperplanes miss almost nothing.)
Exercise 19.12 ★★★
(Common supplementary) Let be subspaces of (finite dimension) with . Prove that and admit a common supplementary: there is a subspace with . (Induct downward on : if , pick — Exercise 18.12 allows it — and consider and .)
Solution
Solution of Exercise 19.12.
Downward induction on , from to . If : and works. Suppose the statement holds for subspace pairs of dimension , and let .
If : take for any supplementary of (Theorem 19.14). If : both are proper, so by Exercise 18.12 there exists . The sums and are direct (, ) and have dimension ; by the induction hypothesis they admit a common supplementary : . Set — direct, because .
Then , and : if with , , then , so , forcing () and . Hence , and symmetrically .
19.4 Problem: Dedekind’s tower law
Problem 19.1
Nothing in Chapters 18–19 used anything about the scalars beyond the field axioms (Definition 7.22): one may therefore take and measure sets of real numbers with the yardstick of -dimension. This problem computes the dimension of , proves Dedekind’s tower law , and harvests irrationality theorems by pure dimension counting — no , no decimals, just bases.
Part I — Rational scalars.
- Check that is a field and that every definition and proof of Chapters 18–19 uses only the field axioms of the scalars; conclude that is a -vector space and that the exchange lemma, the basis theorems and Grassmann’s formula hold over . Point out the one step of the proof of Theorem 19.2 where division by a nonzero scalar is performed.
- Show that is free over but linked over . Set ; what is ?
- Show that is stable under multiplication. For set and . Show , deduce , and show whenever .
- Deduce that every nonzero has its inverse in , namely : is a subfield of . Compute and .
Part II — Adjoining .
- Prove that (compare the exponent of on both sides of , as in Exercise 6.7), then that (square and discuss the cases , , ).
- Let . Show that is stable under multiplication (a table of the products of basis vectors suffices).
- Write . Show that is free over the field , and deduce that is a -vector space of dimension with basis .
- Prove that is free over , hence . (Group a null relation as and apply questions 7 then 2.)
Part III — The tower law. Let where and are subfields, is a basis of as a -vector space, and a basis of as a -vector space.
- Show that the products generate over .
- Show that the family is free over . (Reorganize a null -combination as , whose inner coefficients live in .)
Conclude with Dedekind’s tower law:
and check it on against questions 7 and 8.
- (Fields for free) Let be a finite-dimensional -subspace containing and stable under multiplication, and let , . Show that if is a basis of , then is again a basis of ; deduce that has an inverse in : is a subfield of . Which earlier questions does this recover?
- Show that for every (as in question 12, ) the family is linked: every element of is a root of a nonzero polynomial with rational coefficients, of degree at most .
Part IV — One number generates everything. Set .
- Compute the coordinates of , and in the basis of .
- Show that is free over , and deduce : every element of is a rational polynomial in . Express and as such polynomials.
- Verify , and show that is the monic polynomial of least degree vanishing at . Determine its four real roots.
- Deduce: ; identify this number. Show that () is rational if and only if ; in particular is irrational (strengthening Exercise 10.7).
Part V — The cube root stays outside. Set .
- Show that has no rational root (the rational-root criterion of Exercise 8.5, or a valuation count); deduce that is free over .
- Show that is free over . (If some nonzero of degree kills , take one of least degree and divide by it, Theorem 8.3; conclude that would have a rational root.) Deduce that has dimension , is stable under multiplication, and is a subfield of .
- Prove that : otherwise would be a vector space over the field , and the tower law would force . So is not a rational combination of .
- Deduce that , that is irrational, and that no rationals satisfy .
Part VI — All the subfields, and synthesis.
- Prove the divisibility of degrees: if are subfields with finite, then divides . What are the possible dimensions of subfields of ?
- Determine all subfields of of dimension over . (Reduce to finding the with : expand and annihilate the three irrational coordinates.)
- Express in the basis (multiply by well-chosen conjugates).
- Synthesis, in four sentences: why -dimension is an arithmetic invariant of a set of reals; what finiteness of the dimension forces about every element (question 13); how the two-out-of-three rule produced inverses out of thin air (question 12); and what the tower law forbids (question 20). Name the theorem proved in Part III.
Solution
Solution of Problem 19.1.
1. contains , is stable under addition, multiplication and opposites, and every nonzero rational has a rational inverse: a field (Definition 7.22). The definitions of span, freeness, basis and the proofs of Chapters 18–19 use only vector addition, distributivity and scalar arithmetic in a field — never an absolute value, an order or a limit. So , with its own addition and the multiplication , is a -vector space, and all the theorems apply. Division by a scalar occurs once in the proof of Theorem 19.2: to “solve for ” one divides by its nonzero coefficient.
2. If with not both zero: would give , contradicting the irrationality of (Exercise 6.7 with ); so , then : free over . Over the relation is nontrivial: linked. Hence , with unique coordinates .
3. . Then
so . If with : would give , a rational square root of ; so , then and : contradiction. Hence for .
4. , and : every nonzero element is invertible inside , which is therefore a subfield of . Examples: , so
5. If then ; the exponent of is , odd, on the left, and , even, on the right: impossible. Now suppose with . Squaring: . If , then : impossible. If : , contradicting Exercise 6.7 (). If : , and multiplying by : : impossible. So .
6. The products of basis vectors are
all in . A product of two elements of expands by bilinearity into rational combinations of these: is stable under multiplication.
7. Let with . If , then (question 4: is a field), contradicting question 5. So , then : is free over . It generates: . Hence .
8. A relation regroups as with coefficients in ; by question 7 both vanish, and by question 2 and . So the family is free and .
9. Every writes with (basis of over ), and each with (basis of over ); substituting, : the products generate over .
10. Suppose with . Regroup: , and the inner sums belong to . Freeness of over gives for each ; freeness of over then gives for all .
11. By questions 9 and 10, is a basis of over with elements:
Check: and (questions 2 and 7) give , which is question 8.
12. The vectors belong to (stability). They are free: if , then in , and forces , hence (the form a basis). So is a free family of vectors in , : a basis (Proposition 19.8). In particular decomposes as with : the inverse of lies in . This recovers question 4 () and proves at one stroke that is a subfield of (with question 6).
13. The vectors all lie in (stability under products); a free family of has at most vectors (Proposition 19.8), so they are linked: there are rationals , not all zero, with . The polynomial is nonzero, has rational coefficients, degree , and .
14. : coordinates . Then
coordinates (using , ). Finally : coordinates .
15. Suppose . Reading the four coordinates on :
So , then ; subtracting the middle equations, , then : is free. Four free vectors in of dimension : a basis, so . From question 14, and :
16. . A monic polynomial of degree vanishing at would produce a nontrivial null combination of , contradicting question 15: has least degree. Its roots: , so the four real roots are and , i.e. .
17. From : , so
consistent with . If , then , and freeness (question 8) forces (and ). For the coordinates are not of this form: irrational — a statement stronger than Exercise 10.7, obtained without any squaring tricks.
18. A rational root (lowest terms) of satisfies , and the criterion of Exercise 8.5 gives , : candidates , whose cubes are . No rational root; in particular , so is free over (as in question 2).
19. Suppose linked: some nonzero with has ; choose such a of least degree . By question 18, , so . Euclidean division (Theorem 8.3): with , . Evaluating at : , so vanishes at ; minimality of forces . Then with : the rational root of is a rational root of , contradicting question 18. Hence is free and . Stability: reduces every product of to a combination of them (, ); contains : by question 12, is a subfield of .
20. Suppose . Then (stability), so , and is a vector space over the field : the axioms are those of -arithmetic, restricted. It is finite-dimensional over (a finite -generating family generates a fortiori over ). The tower law for gives
impossible: does not divide . So : no rational combination of equals .
21. , so . If , then : contradiction — is irrational. If , then : contradiction again.
22. is a vector space over the field (restriction of scalars), finite-dimensional since is finite. The tower law for gives : the left factor divides. Subfields of therefore have -dimension , or : dimension is itself, dimension is .
23. Let be a subfield with , and : is free, hence a basis of . By question 13 (), for rationals . Setting :
and . Now write and expand:
The three irrational coordinates vanish: . If : , and the second condition becomes ; since with would make rational, either or , and in both cases the remaining conditions force , i.e. : excluded. So , and the conditions read : at most one of is nonzero. Hence is a rational multiple of , or , and
each of which is indeed a -dimensional subfield (stability as in question 6, inverses by question 12): exactly three quadratic subfields.
24. , so
(Check: after expansion.)
25. (i) -dimension attaches an integer to each subfield of , and the tower law makes these integers multiply along inclusions: dimension behaves like an arithmetic invariant, and divisibility constraints become impossibility proofs. (ii) Finite dimension forces every element to satisfy a nonzero rational polynomial equation of degree at most the dimension: finiteness means algebraicity. (iii) The two-out-of-three rule turned “multiplication by maps a basis to a free family of maximal size” into surjectivity, producing with no formula: inverses came from counting. (iv) The tower law forbids a -dimensional field inside a -dimensional one, which is why cannot be reached from and . The theorem of Part III is Dedekind’s tower law, the opening move of Galois theory, developed in the Year 3 volume.