How statement and proof provenance work
The first chip identifies the source of the statement or construction; the second identifies the source of its local proof or verification.
- Literature-sourced: the exact statement appears in a cited source; only wording and notation differ.
- AI-adapted: a semantically identical restatement of literature-sourced material, modulo indexing, notation, and boundary cases adopted by the library.
- AI-generated: a genuinely novel statement formulated by AI, with no source for the claim itself.
These labels describe origin, not correctness: citations and verification chips remain separate evidence.
Linear Independence, Bases and Dimension
1 · Prerequisites
- Binary Operations, Monoids, Groups and Subgroups
- Construction of the Natural Numbers
- Countability and Uncountability
- Foundations of the Real Numbers for Analysis
- Order, Zorn's Lemma, and the Axiom of Choice
- Relations, Functions, and Quotients
- Rings, Subrings, Integral Domains and Fields
- The ZFC Axioms and the Basic Set Constructions
- Vector Spaces, Linear Subspaces, Span and Direct Sums
2 · Summary
Objective. This page discharges the promise made at the end of Vector Spaces, Linear Subspaces, Span and Direct Sums, which says in as many words that it does not develop linear independence, bases or dimension. Here they are developed, over an arbitrary field and for an arbitrary vector space: what it means for a list or a set of vectors to be linearly independent, what a basis is, that any two finite bases of a space have the same number of elements, and what that number — the dimension — controls. Three definitions, six lemmas, six theorems and five corollaries make up the page, thirteen of them marked as landmarks in the flowchart above.
Two notions of independence, defined together because the page needs both. Linear independence: a finite list is independent when forces every , and a subset is independent when every injective finite list into is independent calls a finite list independent when forces every , and calls a subset independent when every injective finite list into is. The injectivity clause is load bearing and the definition says why: a linear combination as fixed by Linear combination of a finite list, and the span as the smallest linear subspace containing is indexed by an arbitrary list, which may repeat, and would make every nonempty set dependent if repetitions were allowed. Lists carry order, and an ordered list is what a coordinate system is; subsets carry no order, and it is subsets that the Zorn argument runs over. That the two notions agree — a list is independent exactly when it is injective with independent image — is claim 6 of Finite sums re-indexed along an injection, with a zero term deleted, and concatenated; and the closure properties of linear independence: an independent list is injective and never , its sublists are independent, a list is independent exactly when it is injective with linearly independent image, and every subset of a linearly independent set is linearly independent, which also collects the three facts about finite sums the page uses throughout: re-indexing a sum along an injection, deleting an index carrying , and concatenating two lists. The boundary cases are treated as cases: the empty list and are independent, and is dependent.
Dependence without lists, and the one-vector step. A subset is linearly dependent if and only if some lies in ; and is already the set of linear combinations of INJECTIVE finite lists into removes the existential over lists from the statement: is dependent exactly when some lies in . Its second claim is used constantly below and is not available from is exactly the set of linear combinations of finite lists of elements of , and alone: the span of is already the set of combinations of injective lists into , so a vector of the span always comes with a list in which the coefficient of a chosen entry is meaningful. If is linearly independent and then is linearly independent and ; and if then is the engine of every existence argument on the page: adjoining a vector outside the span preserves independence and strictly enlarges the span, while adjoining one inside the span changes nothing. is linearly independent if and only if every finite subset of is; consequently the union of a nonempty chain of linearly independent subsets of , ordered by inclusion, is linearly independent supplies the other half of what Zorn needs: independence is decided by finite subsets, so the union of a nonempty chain of independent sets is independent.
Bases, coordinates and the three characterisations. Basis of a vector space: a linearly independent spanning subset; and ordered basis: an injective finite list whose image is a basis defines a basis as an independent spanning subset and an ordered basis as an injective finite list whose image is a basis; it records the naming decision, that the unqualified word basis is already in use in this library for a basis of a topology, exactly as Linear subspace of a vector space reserved subspace for the topological notion. It also proves once, for the whole page, that independence and spans of subsets of a linear subspace agree with those computed in the ambient space, so "basis of " is unambiguous. A finite list is an ordered basis if and only if every equals for exactly one ; those scalars are the coordinates of in that ordered basis is the reason ordered bases are worth having: a list is an ordered basis exactly when every vector has exactly one coordinate list in it. The coordinates belong to the ordered basis and not to the underlying set, which the companion page shows by computing one vector's coordinates in three ordered bases of , two of which have the same image. For the following are equivalent: is a basis; is a maximal linearly independent subset of ; is a minimal spanning subset of — maximality and minimality being in the inclusion order gives the order-theoretic reading: a basis is a maximal independent subset and equally a minimal spanning subset, maximality and minimality taken in the inclusion order.
Counting, and what it is that is counted. The Steinitz exchange lemma: if is linearly independent and spans with finite of size , then is finite with , and there is of size such that spans is the one hard computation of the page: an independent set cannot outnumber a finite spanning set, and vectors of the former can be exchanged one at a time for vectors of the latter without losing the spanning property. Its immediate consequence If has a spanning set with elements, then every linearly independent subset of is finite with at most elements; in particular has no linearly independent subset equinumerous with is the form later items use, including the clause that a space with a finite spanning set has no independent subset equinumerous with . Applying that corollary in both directions gives If has a basis with elements and a basis with elements then ; and if has one finite basis then every basis of is finite, which is the well-definedness obligation for Finite-dimensional vector space, and its dimension ; infinite-dimensional means having no finite basis and is listed among its prerequisites rather than left implicit. Sizes are compared through equinumerosity (Equinumerous sets, and ) and through claim 3 of The pigeonhole principle on ; no cardinal number is used anywhere on this page.
What is deliberately not claimed about infinite bases. This page does not assert that any two infinite bases of a space are equinumerous. The Steinitz argument gives invariance only when one basis is finite, and the standard proof of the infinite case is cardinal arithmetic, which is not available at this point in the reading order. Accordingly Finite-dimensional vector space, and its dimension ; infinite-dimensional means having no finite basis defines only for a space with a finite basis, defines infinite-dimensional as the bare negation, and attaches no symbol such as to such a space. The subscript on is not ornamental either: by A field is a vector space over itself, and over any subfield every -vector space is a -vector space by restricting the scalars the same set carries a vector space structure over any subfield, with different bases and a different dimension, so "the dimension of " is incomplete language in exactly the way "the vector space " is.
Existence of bases, and what it costs. Zorn's lemma gives a basis between any linearly independent set and any spanning set containing it: if with independent and , there is a basis of with is the page's single Zorn argument, stated once in the form that yields both classical statements: between any independent and any spanning there is a basis. The poset is the independent sets between and under inclusion, and the empty chain is handled separately, its upper bound being — Zorn's lemma as proved in this library quantifies over every chain, and the union of the empty chain is , which need not contain . The two corollaries follow by specialising: Every spanning subset of a vector space contains a basis at , and Every vector space has a basis at , . The Axiom of Choice is declared, not hidden: it is used exactly once, inside Zorn's lemma. The converse — that the existence of bases implies the Axiom of Choice — is a theorem of Blass from 1984 which this library does not prove and does not use; it is recorded in that corollary's remarks, with its reference, because it fixes the exact strength of the statement.
The concrete side, and what finite dimension controls. The standard list with and for is an ordered basis of ; hence , and is the zero space with basis and dimension writes down the standard basis of and computes , with no choice principle anywhere; it also proves, for the whole library, that a finite sum in a function space is computed pointwise. If and is a linear subspace of , then is finite-dimensional, , and if and only if then shows that a linear subspace of an -dimensional space is finite-dimensional of dimension at most , with equality only when the subspace is everything — and it too uses no choice, obtaining a basis of the subspace as an independent subset of greatest size via The well-ordering principle. Its third claim is the finite-dimensional extension statement, that a linearly independent subset of a finite-dimensional space is contained in a basis of it, again with no choice principle; that is what the dimension formula below runs on. Every linear subspace of a vector space has a complement: a linear subspace with returns to Zorn and produces a complement for an arbitrary linear subspace of an arbitrary vector space, with no finiteness assumed. The dimension formula: for finite-dimensional linear subspaces and of , the subspaces and are finite-dimensional and is the page's second main computation, for finite-dimensional subspaces of an arbitrary ambient space, and If with every finite-dimensional, then is finite-dimensional and ; in particular iterates it along a finite direct sum, using condition (D2) of Internal direct sum : the sum is everything and each summand meets the sum of the others only in rather than pairwise trivial intersections, which would not suffice. Neither of those two costs a choice principle: the dimension formula extends a basis of to bases of and of through claim 3 of If and is a linear subspace of , then is finite-dimensional, , and if and only if , the finite-dimensional extension statement, which is proved from the size bound of If has a spanning set with elements, then every linearly independent subset of is finite with at most elements; in particular has no linearly independent subset equinumerous with , the least-element principle The well-ordering principle and If is linearly independent and then is linearly independent and ; and if then , none of which costs a choice principle. So the whole finite-dimensional theory on this page is choice-free, and the Axiom of Choice appears only where an arbitrary vector space does: in Zorn's lemma gives a basis between any linearly independent set and any spanning set containing it: if with independent and , there is a basis of with , its two corollaries and Every linear subspace of a vector space has a complement: a linear subspace with .
What this page does not develop. There are no linear maps here, and therefore no rank, no matrix of a linear map, no change-of-basis matrix and no statement that and are isomorphic only when ; isomorphism needs a linear map, which is the subject of a later page, and what that page will need from this one is . There are no quotient spaces, no external direct sums and no infinite direct sums. Dimension is finite dimension throughout. The companion page carries the witnesses for the places where this page had to be careful: that an infinite independent set need not span, that a spanning set need not be independent, that a proper subspace can carry a basis equinumerous with a basis of the whole space, and that the dimension formula has no inclusion-exclusion analogue for three subspaces.
3 · Logical flowchart
4 · Definitions, theorems and proofs
Linear independence: a finite list is independent when forces every , and a subset is independent when every injective finite list into is independent
Definition
Let be a vector space over a field (Vector space over a field). As in Linear combination of a finite list, and the span as the smallest linear subspace containing , a finite list of vectors is a function on a von Neumann natural (The natural numbers (von Neumann), On the order is membership: ), written , and
is the finite sum of The product of a finite list in a monoid, by recursion, with the empty product () equal to the identity read additively in the abelian group , applied to the list . No second notion of finite sum is introduced here.
Independence of a list
A finite list is linearly independent when, for every list of scalars ,
and linearly dependent otherwise, that is, when some has while for at least one . Such a is called a witness to the dependence of .
Independence of a subset
A subset is linearly independent when every injective finite list (Injection, surjection, bijection) is linearly independent, and linearly dependent otherwise, that is, when some injective finite list into is linearly dependent.
The injectivity clause is not decoration. A linear combination in Linear combination of a finite list, and the span as the smallest linear subspace containing is indexed by an arbitrary list , which is not required to be injective. If the definition above quantified over all such lists, then for any the list with and the scalars , would give
with (Field, In any vector space , , , , and forces or ), so every nonempty subset of would be dependent and the notion would be empty. Quantifying over injective lists is what makes the subset notion the intended one. It costs nothing for lists: Finite sums re-indexed along an injection, with a zero term deleted, and concatenated; and the closure properties of linear independence: an independent list is injective and never , its sublists are independent, a list is independent exactly when it is injective with linearly independent image, and every subset of a linearly independent set is linearly independent shows that the vanishing condition above already forces a list to be injective, so no injectivity hypothesis has to be carried alongside independence of a list.
The boundary cases are genuine cases
contains (The natural numbers (von Neumann)), so both of the following are instances of the definitions and neither is a convention.
- The empty list is independent. For the only list of scalars is the empty one, and the condition " for every " holds vacuously.
- is independent. The only function is the empty one, with , and it is independent by the previous point.
- is dependent. The list with is injective, and taking gives by the recursion of The product of a finite list in a monoid, by recursion, with the empty product () equal to the identity and (In any vector space , , , , and forces or ), while in a field (Field). So , and hence every subset of containing , is linearly dependent.
Remarks
-
Independence is relative to the field, and to the ambient vector space. The scalars range over , so a set of vectors independent over a subfield may be dependent over ; A field is a vector space over itself, and over any subfield every -vector space is a -vector space by restricting the scalars is what makes both readings available on one set, and the companion page uses the distinction for over . The ambient space matters only through its addition, its zero and its scalar multiplication, all of which a linear subspace inherits from (Linear subspace of a vector space); the resulting agreement is recorded in Basis of a vector space: a linearly independent spanning subset; and ordered basis: an injective finite list whose image is a basis.
-
Dependence is a property of a list together with a witness, but of a subset outright. A dependent list carries an explicit vanishing combination with a nonzero coefficient. For a subset, the witness is an injective list drawn from it; which list that is, is not part of the statement that the set is dependent. A subset is linearly dependent if and only if some lies in ; and is already the set of linear combinations of INJECTIVE finite lists into converts the existential into a statement with no lists in it at all.
-
Why the two notions are both kept. Lists carry order, and an ordered list is what a coordinate system is (A finite list is an ordered basis if and only if every equals for exactly one ; those scalars are the coordinates of in that ordered basis); subsets carry no order, and it is subsets that the Zorn argument of Zorn's lemma gives a basis between any linearly independent set and any spanning set containing it: if with independent and , there is a basis of with runs over. Keeping both, and proving that they agree, is cheaper than translating at every use.
Finite sums re-indexed along an injection, with a zero term deleted, and concatenated; and the closure properties of linear independence: an independent list is injective and never , its sublists are independent, a list is independent exactly when it is injective with linearly independent image, and every subset of a linearly independent set is linearly independent
Statement
Let be a vector space over a field (Vector space over a field), with finite sums of vectors as in Linear combination of a finite list, and the span as the smallest linear subspace containing and linear independence as in Linear independence: a finite list is independent when forces every , and a subset is independent when every injective finite list into is independent. For a function and a set we write for the image of (Injection, surjection, bijection).
Three facts about finite sums.
- Re-indexing along an injection. Let , let be injective, and let satisfy for every with . Then
- Deleting one index. Let and . The map given by for and for is injective with image . Consequently, if has , then .
- Concatenation. Let , and . There is exactly one list with for and for , and it satisfies If moreover and are injective with , then is injective with image .
Four facts about independence.
- Every linearly independent list is injective, and for every .
- If is linearly independent and is injective, then the sublist is linearly independent.
- A list is linearly independent if and only if it is injective and its image is a linearly independent subset of ; in that case is a bijection , so (Equinumerous sets, and ).
- Every subset of a linearly independent subset of is linearly independent.
Facts & Assumptions
Given: A field , a vector space over , and the finite sums of Linear combination of a finite list, and the span as the smallest linear subspace containing read additively in the abelian group .
Finite sums: ; ; and the value depends only on (The product of a finite list in a monoid, by recursion, with the empty product () equal to the identity, Linear combination of a finite list, and the span as the smallest linear subspace containing ).
(F1) a list all of whose entries are sums to ; (F3) for and , , where agrees with at every and (The sum of two linear subspaces and the sum of a finite family).
Induction on (The principle of mathematical induction).
is an abelian group; , and for all , ; ; and in a field (Vector space over a field, In any vector space , , , , and forces or , Field).
A list is linearly independent when forces for every , and a subset is linearly independent when every injective finite list into is (Linear independence: a finite list is independent when forces every , and a subset is independent when every injective finite list into is independent).
Maps (Injection, surjection, bijection): a composite of injections is injective; a restriction of an injection is injective; an injection is a bijection onto its image and has a two-sided inverse there; and means a bijection exists (Equinumerous sets, and ).
Naturals (The natural numbers (von Neumann), On the order is membership: , Order on the natural numbers): and ; and ; ; (Discreteness: is the immediate successor); exactly one of , , holds (Trichotomy of the order on ); and every is a successor (Every nonzero natural number is a successor).
Splitting law for finite products in a monoid, read additively here: (Generalised associativity: in a monoid the product of a finite list does not depend on the bracketing, and in a commutative monoid it does not depend on the order of the factors either).
Addition on : means for some ; is a total order; ; and forces (Order on the natural numbers, is a linear order on , Order is compatible with addition, Addition is cancellative, Addition is commutative).
Proof
Claim 1, by induction on . At the image is empty, so for every and (F1) gives , which is also the empty sum . Assume the claim for , and let be injective with vanishing off . Put , let be the list agreeing with off and equal to at , and let be the restriction of to , which is injective. Then vanishes off : it vanishes at by construction, and a outside is outside , so . The inductive hypothesis therefore gives , the second equality because for by injectivity. Finally (F3) at gives , by commutativity and the recursion.
Claim 2, the deletion map. Fix and , so . The two clauses define a function : for we have , hence , and for we have . It is injective, being injective on each of the two blocks while its values on the first are below and its values on the second satisfy . Its image is : a with is ; a with is nonzero, hence for some , and then gives while gives , so ; and itself is not a value, the first block giving values below and the second values above .
Claim 3, the concatenated list. Let , and . Every satisfies exactly one of and ; in the second case there is with , and forces , while is unique by cancellation of addition. So the clauses for and for determine exactly one function . If and are injective with , then is injective: it is injective on each block, and a value from the first block lies in while a value from the second lies in , two disjoint sets. Its image is by the two clauses.
Claim 3, the sum identity. The splitting law for finite sums gives , and by the defining clauses for and for , so .
Claim 4, injectivity. Let be independent and suppose with and . Define by , and otherwise, and put . Extracting the term at by (F3) and then the term at from the resulting list gives , where agrees with off and is at both. Every entry of is , since for , so (F1) makes the last sum . Hence , while , contradicting independence. So is injective.
Claim 4, no entry equal to . Let be independent and suppose for some . Define by and for , and put , so for every . Then (F3) at together with (F1) gives , while , contradicting independence. So for every .
Zero extension of a list of scalars. Let be injective, let and let . Because is injective there is exactly one with for every and for every outside . The list then satisfies for every outside , and for every .
Claim 7. Let be independent and let . Every injective finite list is in particular an injective finite list into , hence independent; so every injective finite list into is independent, which is exactly independence of .
Claim 6, from right to left. Suppose is injective and is an independent subset of . Read as a function , the list is an injective finite list into , hence independent; the vanishing condition is a condition on sums computed in and is unaffected by which codomain is read into, so the list is independent. Moreover is a bijection , so .
Claim 2, the consequence. Let with for some . By step 1.2 the map is injective with image , so vanishes off that image, and claim 1, proved in step 1.1, gives .
Claim 5. Let be independent, injective, and with . Take the zero extension of step 1.7, so the list vanishes off and . Then step 1.1 gives , so independence of forces for every , and in particular for every . Hence is independent.
Claim 6, from left to right. Let be independent; it is injective by step 1.5, so it is a bijection and has a two-sided inverse there. Let be an injective finite list; then is injective and , so is independent by step 2.2. Hence every injective finite list into is independent, that is, is an independent subset of , and .
Claim 1 is step 1.1; claim 2 is step 1.2 with step 2.1; claim 3 is step 1.3 with step 1.4; claim 4 is step 1.5 with step 1.6; claim 5 is step 2.2; claim 6 is step 1.9 with step 3.1; and claim 7 is step 1.8.
Remarks
-
Claims 1 to 3 are the only finite-sum machinery this page adds. Everything else it needs about sums of vectors is (F1), (F2) and (F3) of The sum of two linear subspaces and the sum of a finite family, which were collected there for exactly this purpose, together with the splitting law of Generalised associativity: in a monoid the product of a finite list does not depend on the bracketing, and in a commutative monoid it does not depend on the order of the factors either. Claim 1 is what lets a sum be recomputed over the indices that actually carry a nonzero term, claim 2 is its everyday special case, and claim 3 is what lets two independent lists be laid end to end.
-
Claim 6 is the bridge between the two notions of Linear independence: a finite list is independent when forces every , and a subset is independent when every injective finite list into is independent. It says that nothing is lost either way: an independent list is exactly an injective enumeration of an independent set. That is why the injectivity clause in the subset definition costs nothing, and why an ordered basis can be defined as an injective list whose image is a basis (Basis of a vector space: a linearly independent spanning subset; and ordered basis: an injective finite list whose image is a basis) without creating a second notion.
-
Claim 4 fails without independence, and both halves are used. A list may be injective and dependent, and a list containing is dependent whatever else it contains, since the single index carrying already supports the witness built in step 1.6. The second half is the list form of the observation in Linear independence: a finite list is independent when forces every , and a subset is independent when every injective finite list into is independent that is dependent.
A subset is linearly dependent if and only if some lies in ; and is already the set of linear combinations of INJECTIVE finite lists into
Statement
Let be a vector space over a field (Vector space over a field) and let .
- is linearly dependent (Linear independence: a finite list is independent when forces every , and a subset is independent when every injective finite list into is independent) if and only if there is with (Linear combination of a finite list, and the span as the smallest linear subspace containing ).
- That is, restricting the lists in is exactly the set of linear combinations of finite lists of elements of , and to injective lists changes nothing.
The two boundary cases are instances, not exceptions. For both sides of claim 1 fail: is independent and there is no . For both hold: is dependent, and ( is exactly the set of linear combinations of finite lists of elements of , and ).
Facts & Assumptions
Given: A field , a vector space over , and a subset .
is exactly the set of vectors with , and ; it is a linear subspace of containing ; and ( is exactly the set of linear combinations of finite lists of elements of , and , Linear combination of a finite list, and the span as the smallest linear subspace containing ).
Finite sums: and , the value depending only on (The product of a finite list in a monoid, by recursion, with the empty product () equal to the identity, Linear combination of a finite list, and the span as the smallest linear subspace containing ).
(F1) an all- list sums to ; (F2) ; (F3) for , where agrees with off and is at (The sum of two linear subspaces and the sum of a finite family).
Deleting one index: for the map is injective with image , and a list with satisfies (Finite sums re-indexed along an injection, with a zero term deleted, and concatenated; and the closure properties of linear independence: an independent list is injective and never , its sublists are independent, a list is independent exactly when it is injective with linearly independent image, and every subset of a linearly independent set is linearly independent, claim 2).
The vector space axioms (Vector space over a field) and their elementary consequences (In any vector space , , , , and forces or ): is an abelian group; ; ; ; ; and (V4) , (V3) .
is a field: , every has an inverse with , and every has an additive inverse (Field).
A list is independent when forces every , and is dependent exactly when some injective finite list into is dependent (Linear independence: a finite list is independent when forces every , and a subset is independent when every injective finite list into is independent).
Naturals and maps: every is a successor (Every nonzero natural number is a successor); with (The natural numbers (von Neumann), On the order is membership: ); induction (The principle of mathematical induction); and injectivity as in Injection, surjection, bijection.
Proof
Collecting repeated entries. For every , every and every there are , an injective with , and , with . By induction on : at take , both sums being . Assume it at , and let and ; applying the hypothesis to the restrictions gives with injective and , and the recursion gives . If , extend to by and to by ; then is injective with and the recursion gives . If instead for the unique such , put and for ; applying (F3) at to the lists and , whose -deleted forms coincide, and using (V3) in the form , gives , which is the required value.
A scalar passes through a finite sum: for , and , applying (F2) with the all- second list and using (F1) and the identity law gives ; combined with (V4) this yields for scalars and vectors .
Claim 2. Every with is a linear combination of elements of , hence lies in , so the right-hand set is contained in . Conversely an element of is for some , and step 1.1 rewrites it as with injective and , so is an injective finite list.
Claim 1, from left to right. Let be dependent, witnessed by an injective and with and for some . Put , so (F3) at gives with , whence and . Now where and for , since ; also , say , and the entry of this list at is , so deleting the index gives . Applying step 1.2 to the scalar gives with and . Since has image and is injective, takes its values in , so is a linear combination of elements of and therefore lies in . Taking finishes this direction.
Claim 1, from right to left. Let with . By step 2.1 applied to there are , an injective and with . Extend to by , which is injective because , and extend to by . The recursion then gives , while , since would give . So is an injective finite list into that is dependent, and is dependent.
Claim 1 is steps 2.2 and 3.1 together, and claim 2 is step 2.1.
Remarks
-
Claim 2 is the working form of the span. Once it is available, "a vector of " may always be taken to come with an injective list of vectors of carrying it, which is what makes the coefficient of a chosen entry meaningful. Every later argument on this page that solves for one entry of a list drawn from a span uses it in that form — The Steinitz exchange lemma: if is linearly independent and spans with finite of size , then is finite with , and there is of size such that spans and Every linear subspace of a vector space has a complement: a linear subspace with — and is exactly the set of linear combinations of finite lists of elements of , and on its own does not supply it, since its lists may repeat. If is linearly independent and then is linearly independent and ; and if then solves for an entry too but needs nothing from here, its list being injective by hypothesis, drawn from the definition of independence of a subset.
-
Claim 1 removes the lists from the statement. Dependence as defined is an existential over lists and witnesses; claim 1 restates it as a property of the set alone: some member is redundant, in that the span does not shrink when it is removed. That is also the form in which dependence is used to characterise bases (For the following are equivalent: is a basis; is a maximal linearly independent subset of ; is a minimal spanning subset of — maximality and minimality being in the inclusion order).
-
The vector produced is not unique and the lemma does not say it is. In a dependent set several members may be redundant, and which ones they are depends on the set. What the proof produces is one , read off from a chosen witness; a different witness may produce a different .
is linearly independent if and only if every finite subset of is; consequently the union of a nonempty chain of linearly independent subsets of , ordered by inclusion, is linearly independent
Statement
Let be a vector space over a field (Vector space over a field).
- Finite character. A subset is linearly independent (Linear independence: a finite list is independent when forces every , and a subset is independent when every injective finite list into is independent) if and only if every finite subset of (Finite, countably infinite, countable, uncountable) is linearly independent.
- Chains. Let be a nonempty chain (Chain in a poset) in the poset of subsets of ordered by inclusion (Partial order and partially ordered set), every member of which is a linearly independent subset of . Then is linearly independent.
Facts & Assumptions
Given: A field and a vector space over .
A subset is linearly independent when every injective finite list is linearly independent (Linear independence: a finite list is independent when forces every , and a subset is independent when every injective finite list into is independent).
Every subset of a linearly independent subset of is linearly independent; and a linearly independent list is injective with (Finite sums re-indexed along an injection, with a zero term deleted, and concatenated; and the closure properties of linear independence: an independent list is injective and never , its sublists are independent, a list is independent exactly when it is injective with linearly independent image, and every subset of a linearly independent set is linearly independent, claims 6 and 7).
An injective is a bijection onto its image, so and is finite (Injection, surjection, bijection, Equinumerous sets, and , Finite, countably infinite, countable, uncountable).
Inclusion is a partial order on the subsets of , and a chain is a subset of a poset any two of whose elements are comparable (Partial order and partially ordered set, Chain in a poset).
Induction on , whose elements are the von Neumann naturals with (The principle of mathematical induction, The natural numbers (von Neumann), On the order is membership: ).
Finite sums of vectors, and hence the vanishing condition defining independence, are computed in and do not depend on which subset of a list is read as landing in (Linear combination of a finite list, and the span as the smallest linear subspace containing , Field).
Proof
Claim 1, from left to right. If is independent then every subset of is independent, and in particular every finite subset of is.
Claim 1, from right to left. Suppose every finite subset of is independent and let be an injective finite list. Its image is a subset of with , hence a finite subset of , so is independent by hypothesis; and , read as a function , is an injective finite list into , hence independent. As was an arbitrary injective finite list into , the set is independent.
In claim 2, for every and every list there is with . By induction on . At the image is empty and any member of will do, being nonempty; this is the only place the nonemptiness hypothesis is used. Assume the statement at and let ; the restriction of to gives some with , and lies in some by the definition of the union. Since is a chain, any two of its members are comparable under inclusion, so either or ; in the first case contains , and in the second case does.
Claim 2. Let be an injective finite list. By step 1.3 there is with , so is an injective finite list into ; since is independent, is independent. As was arbitrary, is independent.
Claim 1 is steps 1.1 and 1.2 together, and claim 2 is step 2.1.
Remarks
-
Where the chain hypothesis is spent. Only in step 1.3, and only through comparability of two members at a time. That is exactly what an arbitrary family of independent sets does not give: a union of two independent sets is in general dependent, as the companion page records as a false statement. A chain is precisely a family for which the finite-character argument goes through.
-
Finite character is what "finite" is doing here. Independence is by definition a condition on finite lists, so no condition on can be violated without being violated inside a finite subset. Claim 1 makes that observation formal, and claim 2 is its standard consequence; the same two-step shape proves that any property of finite character satisfies the hypothesis of Zorn's lemma on the poset of sets having it.
-
Nonemptiness of the chain is not removable from claim 2 as stated. The union of the empty chain is , which is independent, so the conclusion happens to survive; what fails is the inductive argument above, which has no member of to name at . Claim 2 is what makes Zorn's lemma applicable to a poset of linearly independent subsets, and the empty chain is handled separately where that matters, in Zorn's lemma gives a basis between any linearly independent set and any spanning set containing it: if with independent and , there is a basis of with , because Zorn's lemma as proved here quantifies over every chain, the empty one included.
If is linearly independent and then is linearly independent and ; and if then
Statement
Let be a vector space over a field (Vector space over a field), let and let .
- If then (Linear combination of a finite list, and the span as the smallest linear subspace containing ).
- If is linearly independent (Linear independence: a finite list is independent when forces every , and a subset is independent when every injective finite list into is independent) and , then , the set is linearly independent, and .
Facts & Assumptions
Given: A field , a vector space over , a subset and a vector .
For , is a linear subspace of containing and contained in every linear subspace of containing ; and implies (Linear combination of a finite list, and the span as the smallest linear subspace containing , The span is monotone and idempotent, exactly when is a linear subspace, and ).
is exactly the set of vectors with , and ( is exactly the set of linear combinations of finite lists of elements of , and ).
Finite sums: (The product of a finite list in a monoid, by recursion, with the empty product () equal to the identity, Linear combination of a finite list, and the span as the smallest linear subspace containing ); (F1) an all- list sums to ; (F3) for , with agreeing with off and at (The sum of two linear subspaces and the sum of a finite family).
Deleting one index: for the map is injective with image , and a list with satisfies (Finite sums re-indexed along an injection, with a zero term deleted, and concatenated; and the closure properties of linear independence: an independent list is injective and never , its sublists are independent, a list is independent exactly when it is injective with linearly independent image, and every subset of a linearly independent set is linearly independent, claim 2).
A list is independent when forces every ; a subset is independent when every injective finite list into it is (Linear independence: a finite list is independent when forces every , and a subset is independent when every injective finite list into is independent).
is an abelian group; ; ; (V4) ; and a linear subspace contains and is closed under , under scalar multiplication and hence under additive inverses, since (Vector space over a field, In any vector space , , , , and forces or , Linear subspace of a vector space).
is a field: every has an inverse with (Field).
Every natural number is a successor, and (Every nonzero natural number is a successor, The natural numbers (von Neumann), On the order is membership: ); injectivity is as in Injection, surjection, bijection.
Proof
Claim 1. From we get . Conversely, assume ; since also , the set is contained in , which is a linear subspace of , so minimality gives . The two inclusions give the claim.
The two easy parts of claim 2. Assume . Then , because . Also by monotonicity, and lies in the larger set and not in the smaller, so the inclusion is strict.
Now assume in addition that is independent, and let be an injective finite list with and . If is not a value of , then is an injective finite list into , so independence of gives for every and there is nothing more to prove.
In the remaining case for exactly one , since is injective. Then , say , and is an injective finite list : it is injective as a composite of injections, and its values are the with , each of which lies in and differs from . Moreover, for every with the list has the value at , so deleting that index gives .
In that case the coefficient of vanishes. Suppose . Applying (F3) at to the list gives , where with and for , using to identify the deleted entry. By step 1.4 applied to , , which is a linear combination of elements of and therefore lies in . Then lies in , that set being a linear subspace, and hence so does , contradicting . So .
The remaining coefficients vanish too. Since by step 2.1, step 1.4 applied to itself gives ; the list is an injective finite list into the independent set , hence independent, so for every . As has image , this says for every , and with every coefficient vanishes.
Steps 1.3 and 3.1 show that every injective finite list into is independent, so is linearly independent; with step 1.2 this is claim 2, and step 1.1 is claim 1.
Remarks
-
This is the engine of both existence arguments below. Claim 2 is what makes a maximal independent set span (For the following are equivalent: is a basis; is a maximal linearly independent subset of ; is a minimal spanning subset of — maximality and minimality being in the inclusion order), what makes the maximal element produced by Zorn's lemma a basis (Zorn's lemma gives a basis between any linearly independent set and any spanning set containing it: if with independent and , there is a basis of with ), and what forbids an independent set of vectors inside a space with a spanning set of (If and is a linear subspace of , then is finite-dimensional, , and if and only if ). Claim 1 is the complementary bookkeeping: adjoining a vector already in the span changes nothing.
-
Both hypotheses of claim 2 are needed. Independence of alone does not make independent, and alone does not either, since may already be dependent. The companion page's false statement that a union of two independent sets is independent is the same point in its most tempting false form: it is not enough that the adjoined part be independent, it must lie outside the span.
-
Where the field is used. Only at the inversion in the proof above. That is the single place where a vector space over a field behaves better than a module over a ring, and it is why the notions of this page are stated for fields throughout.
Basis of a vector space: a linearly independent spanning subset; and ordered basis: an injective finite list whose image is a basis
Definition
Let be a vector space over a field (Vector space over a field).
A subset is a basis of when
- (B1) is linearly independent (Linear independence: a finite list is independent when forces every , and a subset is independent when every injective finite list into is independent), and
- (B2) spans , that is (Linear combination of a finite list, and the span as the smallest linear subspace containing , which is where the words spans and spanning set are fixed; they are not redefined here).
The empty set is a basis of the zero space, and of nothing else. is linearly independent (Linear independence: a finite list is independent when forces every , and a subset is independent when every injective finite list into is independent) and ( is exactly the set of linear combinations of finite lists of elements of , and ), so is a basis of exactly when . This is the case from which every induction on this page starts, and it is a genuine case rather than a convention.
Ordered bases
An ordered basis of is a finite list , with and the von Neumann natural (The natural numbers (von Neumann), On the order is membership: ), such that is injective (Injection, surjection, bijection) and its image is a basis of .
By claim 6 of Finite sums re-indexed along an injection, with a zero term deleted, and concatenated; and the closure properties of linear independence: an independent list is injective and never , its sublists are independent, a list is independent exactly when it is injective with linearly independent image, and every subset of a linearly independent set is linearly independent, a list is linearly independent exactly when it is injective with linearly independent image, so an ordered basis is equally described as a linearly independent list with : the injectivity does not have to be imposed separately. The empty list is the ordered basis of the zero space.
An ordered basis is a list, so it carries an order; a basis is a set, so it does not. Reordering an ordered basis gives a different ordered basis with the same image, and the coordinates of A finite list is an ordered basis if and only if every equals for exactly one ; those scalars are the coordinates of in that ordered basis are attached to the list, not to the set.
Bases of a linear subspace
Let be a linear subspace of (Linear subspace of a vector space), which is itself a vector space over , with the addition, the zero vector and the scalar multiplication of restricted to . For the two readings of " is a basis" — computed inside , or computed inside — agree, so the phrase needs no disambiguation below.
- Independence agrees. The finite sums of a list are given by the same recursion in as in (The product of a finite list in a monoid, by recursion, with the empty product () equal to the identity), the base value and the operation being literally those of (Linear subspace of a vector space). So a list into has the same sums whichever space it is read in, and the vanishing condition of Linear independence: a finite list is independent when forces every , and a subset is independent when every injective finite list into is independent is the same condition in both.
- The span agrees. A subset of is a linear subspace of exactly when it is a linear subspace of , conditions (W1), (W2), (W3) being the same conditions in either reading. Now , since is a linear subspace of containing and the span is contained in every such subspace; so is a linear subspace of containing , whence . Conversely is a linear subspace of containing , whence . The two are therefore equal, and we write for both.
Consequently is a basis of the vector space if and only if is linearly independent as a subset of and .
Remarks
-
The name is
def-linear-basis, and the bare word is not used here. The library already has a basis — a basis for a topology, defined in Basis and subbasis for a topology, and the topology generated by a family of sets ↗ and namespaced there with the aliasdef-basis-top. The two notions share the word and nothing else: one is a family of open sets closed under a refinement condition, the other an independent spanning subset of a vector space. This page therefore follows the convention of Linear subspace of a vector space, where the same collision with the topological subspace was resolved the same way, and says linear in the id. In prose, where the ambient vector space is named, "basis" alone is used. -
Nothing above asserts that a basis exists. Existence for an arbitrary vector space is Every vector space has a basis, and it is proved from Zorn's lemma; existence for the concrete spaces is The standard list with and for is an ordered basis of ; hence , and is the zero space with basis and dimension and needs no choice principle at all. The definition is stated first so that both statements have something to be about.
-
A basis need not be finite, and this definition does not assume it is. Condition (B1) quantifies over finite lists drawn from and (B2) is an equality of sets, so both make sense for an arbitrary . It is only Finite-dimensional vector space, and its dimension ; infinite-dimensional means having no finite basis that restricts attention to spaces admitting a finite basis, and the companion page exhibits an explicit infinite basis, for the eventually zero families in .
A finite list is an ordered basis if and only if every equals for exactly one ; those scalars are the coordinates of in that ordered basis
Statement
Let be a vector space over a field (Vector space over a field), let and let be a finite list (Linear combination of a finite list, and the span as the smallest linear subspace containing ).
- The span of the image of a list. Whether or not is injective,
- Coordinates. is an ordered basis of (Basis of a vector space: a linearly independent spanning subset; and ordered basis: an injective finite list whose image is a basis) if and only if for every there is exactly one with . When that holds, this is called the coordinate list of with respect to the ordered basis , and its -th coordinate.
The coordinate list is attached to the ordered basis and not to the basis as a set: reordering the list permutes the coordinates of every vector, as the companion page shows on a worked example in .
Facts & Assumptions
Given: A field , a vector space over , a natural number and a list .
For , is a linear subspace of containing and contained in every linear subspace of containing , and it is exactly the set of linear combinations with (Linear combination of a finite list, and the span as the smallest linear subspace containing , is exactly the set of linear combinations of finite lists of elements of , and ).
Finite sums: and (The product of a finite list in a monoid, by recursion, with the empty product () equal to the identity, Linear combination of a finite list, and the span as the smallest linear subspace containing ); (F1) an all- list sums to ; (F2) ; (F3) with (F1), a list vanishing off a single index sums to its value at (The sum of two linear subspaces and the sum of a finite family).
One-step test: a nonempty with for all and is a linear subspace of (One-step subspace test: a nonempty is a linear subspace if and only if for all and , Linear subspace of a vector space).
The vector space axioms (Vector space over a field) and their consequences (In any vector space , , , , and forces or ): is an abelian group; (V3) ; (V4) ; (V5) ; ; and .
An ordered basis of is an injective list whose image is a basis, equivalently a linearly independent list with ; and a list is linearly independent exactly when it is injective with linearly independent image (Basis of a vector space: a linearly independent spanning subset; and ordered basis: an injective finite list whose image is a basis, Linear independence: a finite list is independent when forces every , and a subset is independent when every injective finite list into is independent, Finite sums re-indexed along an injection, with a zero term deleted, and concatenated; and the closure properties of linear independence: an independent list is injective and never , its sublists are independent, a list is independent exactly when it is injective with linearly independent image, and every subset of a linearly independent set is linearly independent, claim 6).
is a field: it has and , and every has an additive inverse with (Field).
Images and injectivity are as in Injection, surjection, bijection; (The natural numbers (von Neumann), On the order is membership: ).
Proof
Write . It is a linear subspace of : it contains , taking for every , since then every entry is and (F1) applies; and for and elements and of , the identity (F2) gives by (V4) and (V3), which again lies in . So the one-step test applies.
: for take and for ; the list then vanishes off the single index and has the value there, so it sums to .
: each is a linear combination of the list , which takes its values in , so it lies in the span of .
Claim 1. By steps 1.1 and 1.2 the set is a linear subspace of containing , so minimality of the span gives ; with step 1.3 the two sets are equal.
Claim 2, from left to right. Let be an ordered basis, so the list is linearly independent and . Existence: by step 2.1 every lies in , that is, for some . Uniqueness: if , apply (F2) with the scalar to the lists and ; the left-hand side is and the right-hand side is by (V4), (V3) and . Independence of the list now gives , hence , for every .
Claim 2, from right to left. Suppose every is for exactly one . Then , and step 2.1 gives , so . The list is independent: if , then and the all-zero scalar list both represent , the latter by (F1) and , so uniqueness at forces for every . Being independent, is injective with linearly independent image, so is a basis of and is an ordered basis.
Claim 1 is step 2.1, and claim 2 is steps 3.1 and 3.2 together.
Remarks
-
Claim 1 needs no hypothesis on the list. It says that spanning by a finite set can always be computed with one coefficient per listed vector, repetitions and all. It is claim 2 that turns this into a coordinate system, and what it adds is uniqueness, which is exactly independence.
-
The assignment is deliberately left un-named here. It is a bijection compatible with the operations, that is a linear isomorphism; but linear maps are the subject of a later page, and naming the map now would be to use a notion this page does not have. What is used below is only the statement above: existence and uniqueness of the coordinate list.
-
Reordering is not a harmless relabelling. Two ordered bases with the same image assign different coordinate lists to the same vector, so "the coordinates of in " is incomplete language when is a set. The companion page computes the same vector's coordinates in three ordered bases of , two of which have the same image.
For the following are equivalent: is a basis; is a maximal linearly independent subset of ; is a minimal spanning subset of — maximality and minimality being in the inclusion order
Statement
Let be a vector space over a field (Vector space over a field). Let be the set of linearly independent subsets of (Linear independence: a finite list is independent when forces every , and a subset is independent when every injective finite list into is independent) and the set of spanning subsets of (Linear combination of a finite list, and the span as the smallest linear subspace containing ), each partially ordered by inclusion (Partial order and partially ordered set). For the following are equivalent.
- (a) is a basis of (Basis of a vector space: a linearly independent spanning subset; and ordered basis: an injective finite list whose image is a basis).
- (b) is a maximal element of (Maximal element and greatest element): is linearly independent, and no linearly independent satisfies .
- (c) is a minimal element of : spans , and no spanning satisfies .
Facts & Assumptions
Given: A field , a vector space over , and a subset .
is a basis of when is linearly independent and (Basis of a vector space: a linearly independent spanning subset; and ordered basis: an injective finite list whose image is a basis).
A subset is linearly dependent if and only if some lies in (A subset is linearly dependent if and only if some lies in ; and is already the set of linear combinations of INJECTIVE finite lists into ).
If is linearly independent and , then and is linearly independent (If is linearly independent and then is linearly independent and ; and if then ).
Every subset of a linearly independent subset of is linearly independent (Finite sums re-indexed along an injection, with a zero term deleted, and concatenated; and the closure properties of linear independence: an independent list is injective and never , its sublists are independent, a list is independent exactly when it is injective with linearly independent image, and every subset of a linearly independent set is linearly independent, claim 7).
is a linear subspace of containing and contained in every linear subspace of containing ; and implies (Linear combination of a finite list, and the span as the smallest linear subspace containing , The span is monotone and idempotent, exactly when is a linear subspace, and , Linear subspace of a vector space).
Inclusion is a partial order, and is maximal in a poset when no element is strictly above it, minimal when no element is strictly below it (Partial order and partially ordered set, Maximal element and greatest element).
Proof
(a) implies (b). Let be a basis, so is linearly independent and . Suppose some linearly independent satisfies , and pick . Then , so is linearly independent. On the other hand , and because , so is linearly dependent. These contradict each other, so no such exists and is maximal in the inclusion order on the linearly independent subsets.
(b) implies (a). Let be maximal among the linearly independent subsets of . If some had , then would be linearly independent with , so , contradicting maximality. Hence , and always, so and is a basis.
(a) implies (c). Let be a basis, so spans . Suppose some spanning satisfies , and pick . Then , so by monotonicity, and in particular . That makes linearly dependent, contradicting the assumption that is a basis. So is minimal among the spanning subsets.
(c) implies (a). Let be minimal among the spanning subsets of , so . If were linearly dependent, there would be with ; then is a linear subspace of containing and also containing , hence containing , hence containing by minimality of the span. So spans while , contradicting minimality of . Hence is linearly independent and is a basis.
Steps 1.1 and 1.2 give the equivalence of (a) and (b), and steps 1.3 and 1.4 give the equivalence of (a) and (c); so all three conditions are equivalent.
Remarks
-
Maximal and minimal, never greatest and least. There is in general no largest independent subset and no smallest spanning subset: a space usually has many bases, pairwise incomparable under inclusion, and Maximal element and greatest element is explicit that maximality does not imply greatestness. The companion page exhibits a three-element spanning set of containing three different bases.
-
This is the lemma that converts an existence problem into an order problem. Producing a basis becomes producing a maximal element of a poset, which is what Zorn's lemma does (Zorn's lemma); producing one inside a given spanning set becomes the same problem in a smaller poset. Both are carried out in Zorn's lemma gives a basis between any linearly independent set and any spanning set containing it: if with independent and , there is a basis of with , whose poset is the one named in (b) above, cut down to the subsets lying between a given independent set and a given spanning set.
-
The two orders are the same order on different families. Nothing above compares an independent set with a spanning set; the maximality of (b) is taken inside and the minimality of (c) inside , and a basis is exactly a set that is extreme in both families at once.
The Steinitz exchange lemma: if is linearly independent and spans with finite of size , then is finite with , and there is of size such that spans
Statement
Let be a vector space over a field (Vector space over a field). Let span (Linear combination of a finite list, and the span as the smallest linear subspace containing ) with finite, say for (Finite, countably infinite, countable, uncountable, Equinumerous sets, and ), and let be linearly independent (Linear independence: a finite list is independent when forces every , and a subset is independent when every injective finite list into is independent). Then:
- is finite, and the unique natural number with (The pigeonhole principle on , claim 3) satisfies ;
- writing for the unique natural number with , there is with and .
Sizes are compared through equinumerosity throughout; no cardinal number is used or needed, and "" below abbreviates .
Facts & Assumptions
Given: A field , a vector space over , a spanning subset with , and a linearly independent subset .
is a linear subspace of containing and contained in every linear subspace of containing ; implies ; and is exactly the set of linear combinations of finite lists into (Linear combination of a finite list, and the span as the smallest linear subspace containing , The span is monotone and idempotent, exactly when is a linear subspace, and , is exactly the set of linear combinations of finite lists of elements of , and , Linear subspace of a vector space).
is already the set of with injective; and is linearly dependent exactly when some lies in (A subset is linearly dependent if and only if some lies in ; and is already the set of linear combinations of INJECTIVE finite lists into ).
Finite sums: and the successor recursion; (F1) an all- list sums to ; (F3) for (The product of a finite list in a monoid, by recursion, with the empty product () equal to the identity, The sum of two linear subspaces and the sum of a finite family).
Deleting one index: for the map is injective with image , and a list with satisfies ; also every subset of a linearly independent subset of is linearly independent (Finite sums re-indexed along an injection, with a zero term deleted, and concatenated; and the closure properties of linear independence: an independent list is injective and never , its sublists are independent, a list is independent exactly when it is injective with linearly independent image, and every subset of a linearly independent set is linearly independent, claims 2 and 7).
is an abelian group; ; ; (V4) ; a linear subspace is closed under , under scalar multiplication and under additive inverses; and every in has an inverse (Vector space over a field, In any vector space , , , , and forces or , Field, Linear subspace of a vector space).
Naturals: with ; ; forces ; ; addition is commutative with ; is a total order; every is a successor; and (The natural numbers (von Neumann), On the order is membership: , Order on the natural numbers, Addition of natural numbers, Addition is cancellative, Left successor law for addition, Addition is commutative, is a linear order on , Every nonzero natural number is a successor, Discreteness: is the immediate successor).
Induction on (The principle of mathematical induction).
A finite set is equinumerous with exactly one natural number (The pigeonhole principle on , claim 3); means a bijection exists; a composite of bijections is a bijection; an injection is a bijection onto its image (Equinumerous sets, and , Injection, surjection, bijection, Finite, countably infinite, countable, uncountable).
Proof
Removing one element from a finite set. Let and ; then . Take a bijection and let be the unique index with . The map with , and for is well defined, the clauses agreeing when , and satisfies , so it is a bijection. Then is a bijection with , and its restriction to is a bijection onto : it is injective; its values differ from , since is injective and ; and every is for some with , that is .
Extending an injective list by one value. Let be a set, injective and . Since and , there is exactly one with for and , and is injective because is and is not a value of .
The exchange step. Let be linearly independent, , , and with . Then there is with and . Indeed , so for some injective and . Some has and : otherwise whenever , and then, if , every term is and (F1) gives , while if we may fix and put when and otherwise, so that for every , both being in the second case, and ; either way , contrary to hypothesis. Put , which lies in and not in , and put ; since we have . Now (F3) at gives with , where and otherwise; the list has the value at , so deleting that index expresses as a linear combination of the with , all of which lie in , whence . Since and is a linear subspace, and therefore . Hence contains together with , that is all of , so it contains by minimality of the span.
The exchange induction. For every : if is linearly independent with , then and there is with , where is the unique natural with , and . By induction on . At we have , since is the only set equinumerous with ; take , note so , and ; and . Assume the statement at and let be independent with . Then , so fix and put , which is independent and, by step 1.1, satisfies . The inductive hypothesis gives , the unique with , and with and . Moreover : otherwise would make dependent. So step 1.3 supplies with and , using . Since we have , say , and step 1.1 gives ; finally , so and is the unique natural with . Taking completes the inductive step.
is finite. Suppose not. Then for every there is an injection : at the empty function serves, and given an injective , the image cannot be all of , since would make finite, so some exists and step 1.2 extends to an injection . Take and an injection ; its image is a subset of , hence independent, and . Step 2.1 applied to it gives , while , so , which is impossible. Hence is finite.
By step 3.1 the set is finite, so there is exactly one with , and step 2.1 applied to gives together with satisfying for the unique with and ; these are claims 1 and 2.
Remarks
-
What the induction actually exchanges. At each stage a vector of is brought in and a vector of is thrown out, the thrown-out one being chosen so that the spanning property survives; the bound falls out because cannot run out before does. The hypothesis that is independent is used exactly once per stage, to know that the newly brought-in is not already in the span of what has been brought in so far.
-
Finiteness of is proved, not assumed. The argument in step 3.1 builds an injection from the assumption that is not finite, one index at a time; this is an induction on the statement that such an injection exists, so it selects nothing globally and uses no choice principle. The conclusion is then the contradiction .
-
Sizes are equinumerosity classes, not cardinals. "" abbreviates , and it is well posed because a finite set is equinumerous with exactly one natural number (The pigeonhole principle on ). Nothing above needs a theory of cardinal numbers, and nothing above says anything about infinite .
If has a spanning set with elements, then every linearly independent subset of is finite with at most elements; in particular has no linearly independent subset equinumerous with
Statement
Let be a vector space over a field (Vector space over a field) and suppose has a spanning subset (Linear combination of a finite list, and the span as the smallest linear subspace containing ) with for some (Equinumerous sets, and ). Then:
- every linearly independent subset (Linear independence: a finite list is independent when forces every , and a subset is independent when every injective finite list into is independent) is finite (Finite, countably infinite, countable, uncountable), and the unique with satisfies ;
- no linearly independent subset of is equinumerous with .
Facts & Assumptions
Given: A field , a vector space over , a spanning subset with , and a linearly independent subset .
Steinitz exchange: under these hypotheses is finite and the unique with satisfies (The Steinitz exchange lemma: if is linearly independent and spans with finite of size , then is finite with , and there is of size such that spans , claim 1).
A finite set is equinumerous with exactly one natural number, and for every (The pigeonhole principle on , claims 3 and 4).
is symmetric and transitive, being carried by bijections; and a set is finite when it is equinumerous with some natural number (Equinumerous sets, and , Injection, surjection, bijection, Finite, countably infinite, countable, uncountable, The natural numbers (von Neumann), Order on the natural numbers).
Proof
Claim 1 is exactly claim 1 of the Steinitz exchange lemma, whose hypotheses are the ones assumed here: spans and is finite of size , and is linearly independent.
Suppose some linearly independent satisfied . By claim 1 the set is finite, so for some ; by symmetry and transitivity of this gives , which is impossible.
Claim 1 is step 1.1 and claim 2 is step 1.2.
Remarks
-
Claim 2 is the form in which later items say a space is infinite-dimensional. Exhibiting a linearly independent subset equinumerous with shows, by this corollary read backwards, that the space has no finite spanning set at all, hence no finite basis. That is exactly the route taken on the companion page by the explicit infinite basis for the eventually zero families and by the independent set of that does not span it.
-
The bound is on the independent set, not on the spanning set. A spanning set may be enlarged freely without ceasing to span, so no bound in the other direction holds; what is bounded is how many vectors can be independent, and the bound is the size of any finite spanning set.
-
Nothing here assumes has a basis. The hypothesis is a finite spanning set, which need not be independent; that a spanning set contains a basis is Every spanning subset of a vector space contains a basis, proved later and by a different route.
If has a basis with elements and a basis with elements then ; and if has one finite basis then every basis of is finite
Statement
Let be a vector space over a field (Vector space over a field).
- If and are bases of (Basis of a vector space: a linearly independent spanning subset; and ordered basis: an injective finite list whose image is a basis) with and for (Equinumerous sets, and ), then .
- If has one finite basis (Finite, countably infinite, countable, uncountable), then every basis of is finite.
The infinite case is not claimed. Nothing here asserts that any two infinite bases of a space are equinumerous. The Steinitz argument gives invariance only when one of the bases is finite; the infinite case rests on cardinal arithmetic, which is not available at this point in the reading order, cardinal numbers being developed much later in the library. What replaces it here is the honest substitute on the companion page: a proper linear subspace with a basis equinumerous with a basis of the whole space, which compares two specific infinite bases through an explicit bijection and assigns no dimension to either space.
Facts & Assumptions
Given: A field and a vector space over .
A basis of is a linearly independent subset that spans (Basis of a vector space: a linearly independent spanning subset; and ordered basis: an injective finite list whose image is a basis, Linear independence: a finite list is independent when forces every , and a subset is independent when every injective finite list into is independent, Linear combination of a finite list, and the span as the smallest linear subspace containing ).
If has a spanning subset with , then every linearly independent subset of is finite and the unique with satisfies (If has a spanning set with elements, then every linearly independent subset of is finite with at most elements; in particular has no linearly independent subset equinumerous with , which is drawn from The Steinitz exchange lemma: if is linearly independent and spans with finite of size , then is finite with , and there is of size such that spans ).
A finite set is equinumerous with exactly one natural number (The pigeonhole principle on , claim 3); is carried by bijections (Equinumerous sets, and , Injection, surjection, bijection, Finite, countably infinite, countable, uncountable).
on is a total order, in particular antisymmetric ( is a linear order on , Order on the natural numbers, The natural numbers (von Neumann)).
Proof
Let and be bases of . Then spans and is finite of size , while is linearly independent, so is finite and the unique with satisfies . Since as well, uniqueness gives , so .
Exchanging the roles of the two bases, spans and is finite of size while is linearly independent, so the unique with satisfies ; and gives , so .
Claim 2. Let be a finite basis of , say , and let be any basis of . Then spans and is finite of size , while is linearly independent, so is finite.
Steps 1.1 and 1.2 give and , so by antisymmetry, which is claim 1; and claim 2 is step 1.3.
Remarks
-
This is the well-definedness obligation for Finite-dimensional vector space, and its dimension ; infinite-dimensional means having no finite basis. Without claim 1 the phrase "the dimension of " would name nothing, since a space with a basis of elements might also have one of elements. Claim 2 is the companion statement that finiteness of some basis is a property of the space and not of the chosen basis.
-
Both halves come from one corollary, used twice. The only input is that an independent set cannot outnumber a finite spanning set; applying it in each direction gives the two inequalities, and antisymmetry of the order on closes the argument. Nothing here re-runs the exchange.
-
What "not available at this point in the reading order" means. The infinite invariance statement is a genuine theorem of set theory and algebra, and it is not being denied. It is simply not derivable from anything the library has established so far, since its standard proof compares cardinals; the page states what it can prove and marks the boundary rather than gesturing past it.
Finite-dimensional vector space, and its dimension ; infinite-dimensional means having no finite basis
Definition
Let be a vector space over a field (Vector space over a field).
is finite-dimensional over when it has a finite basis (Basis of a vector space: a linearly independent spanning subset; and ordered basis: an injective finite list whose image is a basis, Finite, countably infinite, countable, uncountable): some basis of satisfies for some (Equinumerous sets, and ).
For such a , the dimension of over , written , is that :
This is well defined. Existence of such an is the hypothesis, together
with the fact that a finite set is equinumerous with exactly one natural number
(The pigeonhole principle on , claim 3). Uniqueness is
If has a basis with elements and a basis with elements then ; and if has one finite basis then every basis of is finite: two bases of with and
with elements force . That theorem is therefore a prerequisite of
this definition, not a later justification of it, and it is listed in deps.
is infinite-dimensional over when it is not finite-dimensional over , that is, when has no finite basis. No number is attached to such a space here: the symbol is defined only in the finite-dimensional case, and the expression is not used.
The zero space. is a basis of (Basis of a vector space: a linearly independent spanning subset; and ordered basis: an injective finite list whose image is a basis) and , so is finite-dimensional with . Conversely a space of dimension has a basis , that is , and then (Linear combination of a finite list, and the span as the smallest linear subspace containing ).
Remarks
-
The subscript is not ornamental. By A field is a vector space over itself, and over any subfield every -vector space is a -vector space by restricting the scalars the same set with the same addition is a vector space over any subfield (Subfield: a subring of a field closed under inverses of its nonzero elements, and therefore a field with the restricted operations), and for a proper subfield the two structures can have different bases and different dimensions. The companion page's basis of over is the extreme case: is a vector space both over itself and over the embedded copy of inside it, and it is infinite-dimensional over the latter. So "the dimension of " is incomplete language in exactly the way that "the vector space " is, and both the space and the field are part of the statement of every result below.
-
Infinite-dimensional is defined as a negation, deliberately. Assigning a size to an infinite basis would require knowing that any two infinite bases of a space are equinumerous, which If has a basis with elements and a basis with elements then ; and if has one finite basis then every basis of is finite does not prove and this page does not claim; the standard argument for it is cardinal arithmetic, developed much later in the library. The companion page therefore records a proper subspace with an equinumerous basis rather than any statement of the form for infinite-dimensional spaces.
-
Dimension counts a basis, not a spanning set and not an independent set. A spanning set may be larger than and an independent set smaller; If has a spanning set with elements, then every linearly independent subset of is finite with at most elements; in particular has no linearly independent subset equinumerous with is what bounds the second by the first, and For the following are equivalent: is a basis; is a maximal linearly independent subset of ; is a minimal spanning subset of — maximality and minimality being in the inclusion order is what says a basis is exactly where the two meet.
Zorn's lemma gives a basis between any linearly independent set and any spanning set containing it: if with independent and , there is a basis of with
Statement
Assume the Axiom of Choice (The Axiom of Choice), which is what Zorn's lemma is proved from. Let be a vector space over a field (Vector space over a field) and let with linearly independent (Linear independence: a finite list is independent when forces every , and a subset is independent when every injective finite list into is independent) and (Linear combination of a finite list, and the span as the smallest linear subspace containing ). Then there is a basis of (Basis of a vector space: a linearly independent spanning subset; and ordered basis: an injective finite list whose image is a basis) with
Facts & Assumptions
Given: The Axiom of Choice; a field ; a vector space over ; and subsets with linearly independent and .
Zorn's lemma: a nonempty poset in which every chain has an upper bound has a maximal element (Zorn's lemma, Maximal element and greatest element, Upper bound, least upper bound, and strict upper bound, Chain in a poset). The hypothesis quantifies over every chain, the empty one included, and the empty set is a chain (Chain in a poset).
Inclusion is a partial order on any collection of sets, and every element of a poset is an upper bound of the empty subset, vacuously (Partial order and partially ordered set, Upper bound, least upper bound, and strict upper bound).
The union of a nonempty chain of linearly independent subsets of , ordered by inclusion, is linearly independent ( is linearly independent if and only if every finite subset of is; consequently the union of a nonempty chain of linearly independent subsets of , ordered by inclusion, is linearly independent, claim 2).
If is linearly independent and , then and is linearly independent (If is linearly independent and then is linearly independent and ; and if then , claim 2).
is a linear subspace of containing and contained in every linear subspace of containing (Linear combination of a finite list, and the span as the smallest linear subspace containing , The span is monotone and idempotent, exactly when is a linear subspace, and , Linear subspace of a vector space).
A basis of is a linearly independent subset with (Basis of a vector space: a linearly independent spanning subset; and ordered basis: an injective finite list whose image is a basis).
Proof
Let be the set of all with and linearly independent. It is a set, being a subcollection of the power set of , and inclusion partially orders it.
is nonempty, since itself is linearly independent and satisfies .
Every chain has an upper bound in . If , then is an upper bound, vacuously; this case is not optional, since Zorn's lemma as proved here quantifies over every chain and the empty set is a chain, and the union of the empty chain is , which need not contain . If , put : it is linearly independent, being the union of a nonempty chain of linearly independent sets; it contains , since has a member and every member contains ; and it is contained in , since every member is. So , and it contains every member of .
By Zorn's lemma applied to the nonempty poset of step 1.1, in which every chain has an upper bound by step 1.3, there is a maximal element of : is linearly independent, , and no member of strictly contains .
. Let and suppose ; then is linearly independent and , so , while , putting in strictly above and contradicting maximality. Hence , so is a linear subspace of containing and therefore contains ; the reverse inclusion is automatic, so .
The set produced in step 2.1 is linearly independent and, by step 3.1, spans , so it is a basis of with .
Remarks
-
Both classical statements are instances of this one. "Every vector space has a basis" is the case , (Every vector space has a basis), and "every spanning set contains a basis" is the case (Every spanning subset of a vector space contains a basis). They are corollaries of this single Zorn argument rather than two separate ones, which is why the two hypotheses are stated together in the statement above.
-
The choice is declared, not hidden. The only non-constructive ingredient is Zorn's lemma, and that item records that the Axiom of Choice is used exactly once inside it. Nothing else above appeals to a choice principle: the poset, its order and the upper bound of a chain are all written down explicitly. Zorn's lemma is equivalent to the Axiom of Choice over ZF (The Axiom of Choice and Zorn's lemma are equivalent), so the cost of this theorem is exactly that axiom.
-
The empty chain is a real case here. Zorn's lemma as proved in this library has no nonemptiness clause on chains, and its own remarks note that requiring every chain to have an upper bound already forces the poset to be nonempty. In the poset above the union of the empty chain is , which lies in only when ; the upper bound supplied instead is . Skipping this case would leave a hole in the verification of Zorn's hypothesis.
-
Maximality is used exactly once, in step 3.1, and only to exclude one extra vector at a time. That is why If is linearly independent and then is linearly independent and ; and if then is stated separately: it is the whole content of the step, and the same lemma does the same job in For the following are equivalent: is a basis; is a maximal linearly independent subset of ; is a minimal spanning subset of — maximality and minimality being in the inclusion order and in If and is a linear subspace of , then is finite-dimensional, , and if and only if .
Every spanning subset of a vector space contains a basis
Statement
Assume the Axiom of Choice, through Zorn's lemma gives a basis between any linearly independent set and any spanning set containing it: if with independent and , there is a basis of with . Let be a vector space over a field (Vector space over a field) and let span (Linear combination of a finite list, and the span as the smallest linear subspace containing ). Then there is a basis of (Basis of a vector space: a linearly independent spanning subset; and ordered basis: an injective finite list whose image is a basis) with .
Facts & Assumptions
Given: A field , a vector space over , and a subset with .
If with linearly independent and , there is a basis of with (Zorn's lemma gives a basis between any linearly independent set and any spanning set containing it: if with independent and , there is a basis of with ).
Proof
The empty set is linearly independent and satisfies , and spans by hypothesis, so the hypotheses of the extension theorem hold with .
The extension theorem therefore supplies a basis of with .
That is a basis of contained in , which is the claim.
Remarks
-
What this costs. The proof spends the Axiom of Choice, once, inside Zorn's lemma. For a finite spanning set the conclusion is also reachable without any choice principle: among the subsets of that span there is one of least size, by The well-ordering principle applied to the set of sizes of spanning subsets of , and a spanning subset of least size is a minimal spanning set, hence a basis by For the following are equivalent: is a basis; is a maximal linearly independent subset of ; is a minimal spanning subset of — maximality and minimality being in the inclusion order. That route is sketched here rather than carried out, because the page needs the general statement in any case and the general statement subsumes it.
-
The basis obtained is not unique. A spanning set typically contains many bases: the companion page exhibits a three-element spanning set of each of whose three two-element subsets is a basis. Nothing above singles one out; Zorn's lemma produces a maximal element, not a canonical one.
-
Spanning alone is not enough to be a basis, which is exactly what this corollary repairs: it says a spanning set can always be cut down, not that it need not be.
Every vector space has a basis
Statement
Assume the Axiom of Choice, through Zorn's lemma gives a basis between any linearly independent set and any spanning set containing it: if with independent and , there is a basis of with . Then every vector space over a field (Vector space over a field) has a basis (Basis of a vector space: a linearly independent spanning subset; and ordered basis: an injective finite list whose image is a basis).
In particular the zero space has a basis, namely .
Facts & Assumptions
Given: A field and a vector space over .
if and only if is a linear subspace of , and is a linear subspace of itself (The span is monotone and idempotent, exactly when is a linear subspace, and , claim 4, Linear subspace of a vector space, Linear combination of a finite list, and the span as the smallest linear subspace containing ).
If with linearly independent and , there is a basis of with (Zorn's lemma gives a basis between any linearly independent set and any spanning set containing it: if with independent and , there is a basis of with ).
Proof
is a linear subspace of itself, so : the whole space satisfies the three closure conditions trivially, and the span of a linear subspace is that subspace.
The empty set is linearly independent and .
By steps 1.1 and 1.2 the extension theorem applies with and , and yields a basis of with ; so has a basis. When the basis produced is , the only linearly independent subset of that space.
Remarks
-
The converse is a theorem of Blass, and it is not proved here. The implication proved above runs from the Axiom of Choice, through Zorn's lemma, to the existence of bases. The opposite implication also holds: the statement that every vector space over every field has a basis implies the Axiom of Choice. That is a hard result of Andreas Blass, published in 1984 as "Existence of bases implies the axiom of choice"; this library does not prove it, does not use it, and nothing here rests on it. It is recorded because it fixes the exact strength of the statement above: existence of bases is not merely a consequence of choice, it is equivalent to it over ZF. The reference is listed in the sources of this item.
-
Where the choice is spent. In Zorn's lemma, once, and nowhere else on this page. Every other existence statement here is explicit: the standard basis of (The standard list with and for is an ordered basis of ; hence , and is the zero space with basis and dimension ) is written down, and so is the infinite basis of the eventually zero families on the companion page. The contrast between those and the present corollary — which produces a basis of over while exhibiting none, as the companion page records — is the point of keeping them on the same page.
-
This says nothing about the size of the basis. For a space with no finite basis, Finite-dimensional vector space, and its dimension ; infinite-dimensional means having no finite basis assigns no dimension at all, and the corollary correspondingly asserts only existence.
The standard list with and for is an ordered basis of ; hence , and is the zero space with basis and dimension
Statement
Let be a field (Field), let and let be the function space on the von Neumann natural , with the pointwise operations (The vector space of all functions with pointwise operations, and as the case , The natural numbers (von Neumann), On the order is membership: ). For define the standard unit vector by
Then:
- Finite sums in a function space are pointwise. For every set , every , every list and every , the right-hand sum being taken in . (Stated here for an arbitrary because the companion page needs it at .)
- is an ordered basis of (Basis of a vector space: a linearly independent spanning subset; and ordered basis: an injective finite list whose image is a basis); in particular is injective and its image is a basis of with (Equinumerous sets, and );
- for every and every , ; equivalently the coordinate list of with respect to the ordered basis (A finite list is an ordered basis if and only if every equals for exactly one ; those scalars are the coordinates of in that ordered basis) is ;
- is finite-dimensional over with (Finite-dimensional vector space, and its dimension ; infinite-dimensional means having no finite basis);
- at this reads: has exactly one element, the empty function, so is the zero space, the empty list is its ordered basis, is its basis and .
Every index runs from , so the coordinates of an element of are and no statement above is restricted to .
Facts & Assumptions
Given: A field , a natural number , the vector space with pointwise operations, and the vectors for .
is a vector space over with , and zero the constant function at ; two elements are equal exactly when they agree at every point; and has exactly one element, the empty function, which is (The vector space of all functions with pointwise operations, and as the case , Vector space over a field).
Finite sums: is the zero vector and , in any vector space (The product of a finite list in a monoid, by recursion, with the empty product () equal to the identity, Linear combination of a finite list, and the span as the smallest linear subspace containing ).
is a vector space over itself, with the field addition and multiplication (A field is a vector space over itself, and over any subfield every -vector space is a -vector space by restricting the scalars, claim 1), so the finite sums of -indexed lists of scalars are available in and satisfy (F1) and (F3); in particular a list of scalars vanishing off a single index sums to its value at that index (The sum of two linear subspaces and the sum of a finite family).
In : and for every (Field, In any vector space , , , , and forces or ).
A list is an ordered basis of if and only if every is for exactly one ; an ordered basis is injective and its image is a basis with (A finite list is an ordered basis if and only if every equals for exactly one ; those scalars are the coordinates of in that ordered basis, Basis of a vector space: a linearly independent spanning subset; and ordered basis: an injective finite list whose image is a basis, Linear independence: a finite list is independent when forces every , and a subset is independent when every injective finite list into is independent, Injection, surjection, bijection).
is the unique with a basis , defined when has a finite basis (Finite-dimensional vector space, and its dimension ; infinite-dimensional means having no finite basis, Finite, countably infinite, countable, uncountable).
Induction on (The principle of mathematical induction).
Proof
Claim 1, that a finite sum in is computed pointwise: for every , every list and every , , the right-hand sum being taken in . By induction on : at the left side is the value at of the constant function and the right side is the empty sum ; and if it holds at , then , using pointwise addition and the recursion.
Evaluating a combination of the . Let and . By step 1.1 and pointwise scalar multiplication, . The list of scalars takes the value at every and the value at , so it vanishes off the single index and therefore sums to . Hence for every .
Existence and uniqueness of coordinates. Given , put ; by step 2.1 the vectors and agree at every , hence are equal. And if , then evaluating both sides at and using step 2.1 gives for every . So every is for exactly one .
Claims 2 and 3. Step 2.1 is claim 3, and by the coordinate characterisation of an ordered basis, step 3.1 says exactly that is an ordered basis of ; hence is injective, is a basis of , and .
Claims 4 and 5. By step 4.1 the space has a basis with elements, so it is finite-dimensional and . At the space has exactly one element, the empty function, which is its zero vector, so is the zero space; the list is then the empty list, its image is , and .
Remarks
-
The indices start at because a natural number is the set of its predecessors. is the function space at (The vector space of all functions with pointwise operations, and as the case , On the order is membership: ), so an element of is a function on and there is no . Reading the standard basis off a -indexed source would put a vector outside the space at one end and lose one at the other.
-
Step 1.1 is not a triviality to be skipped. That a finite sum of functions is the pointwise finite sum is a statement about the recursion defining The product of a finite list in a monoid, by recursion, with the empty product () equal to the identity in two different monoids, and it is proved by induction. Every evaluation argument on this page and on the companion page rests on it.
-
This is the concrete counterweight to Every vector space has a basis. Here a basis is written down and no choice principle is used anywhere; there a basis is produced by Zorn's lemma and none is exhibited. The companion page carries both extremes for infinite-dimensional spaces as well: an explicit infinite basis for the eventually zero families, and a basis of over that no argument exhibits.
If and is a linear subspace of , then is finite-dimensional, , and if and only if
Statement
Let be a vector space over a field (Vector space over a field) that is finite-dimensional with (Finite-dimensional vector space, and its dimension ; infinite-dimensional means having no finite basis), and let be a linear subspace of (Linear subspace of a vector space). Then
- is finite-dimensional over and ;
- if and only if ;
- Extension, with no choice principle. Every linearly independent is contained in a basis of : there is a basis of with . Claim 1 is the case . Since is itself a linear subspace of (Linear subspace of a vector space), claim 3 applies with in place of , and hence to any finite-dimensional vector space over in place of the pair .
Nothing above uses a choice principle, and claim 3 in particular is the finite-dimensional substitute for the Zorn-based extension theorem stated earlier on this page. In finite dimension the extension terminates on its own, because If has a spanning set with elements, then every linearly independent subset of is finite with at most elements; in particular has no linearly independent subset equinumerous with bounds the size of an independent set and The well-ordering principle then supplies a largest one; no selection is made anywhere.
Finiteness is essential in claim 2. Without it the equality case fails: the companion page exhibits a proper linear subspace of an infinite-dimensional space whose basis is equinumerous with a basis of the whole space.
Facts & Assumptions
Given: A field , a vector space over with , and a linear subspace of .
means has a basis with , and a basis is a linearly independent spanning subset (Finite-dimensional vector space, and its dimension ; infinite-dimensional means having no finite basis, Basis of a vector space: a linearly independent spanning subset; and ordered basis: an injective finite list whose image is a basis, Linear independence: a finite list is independent when forces every , and a subset is independent when every injective finite list into is independent, Linear combination of a finite list, and the span as the smallest linear subspace containing ).
If has a spanning subset with elements, then every linearly independent subset of is finite with at most elements (If has a spanning set with elements, then every linearly independent subset of is finite with at most elements; in particular has no linearly independent subset equinumerous with ).
For , linear independence computed in and in is the same condition, and ; so is a basis of exactly when is linearly independent and (Basis of a vector space: a linearly independent spanning subset; and ordered basis: an injective finite list whose image is a basis, section on bases of a linear subspace, Linear subspace of a vector space).
If is linearly independent and , then and is linearly independent (If is linearly independent and then is linearly independent and ; and if then , claim 2).
is a linear subspace of containing and contained in every linear subspace of containing (Linear combination of a finite list, and the span as the smallest linear subspace containing , The span is monotone and idempotent, exactly when is a linear subspace, and ).
Every nonempty subset of has a least element (The well-ordering principle); is a total order; ; every is a successor; and with ( is a linear order on , Order on the natural numbers, On the order is membership: , Every nonzero natural number is a successor, The natural numbers (von Neumann)).
A finite set is equinumerous with exactly one natural number (The pigeonhole principle on , claim 3); , and means a bijection exists (Equinumerous sets, and , Finite, countably infinite, countable, uncountable, Injection, surjection, bijection).
Proof
Fix a basis of with . It spans and is finite of size , so every linearly independent subset of is finite with at most elements.
A subset is linearly independent as a subset of exactly when it is linearly independent as a subset of , and its span is the same set computed in either space; so "basis of " is unambiguous, and every linearly independent subset of is a linearly independent subset of .
A nonempty with an upper bound has a greatest element. Let be the set of upper bounds of in , nonempty by hypothesis, and let be its least element. If then every satisfies , hence , and is nonempty, so . If , write and suppose ; then every satisfies and , hence , hence , so with , contradicting leastness. Either way , and is an upper bound, so it is the greatest element of .
Fix a linearly independent , possibly empty, and let . Then is nonempty: by step 1.2 the set is a linearly independent subset of , so it is finite by step 1.1, say , and itself witnesses . And every satisfies , since the witnessing is likewise a linearly independent subset of and step 1.1 bounds its size, the size being unique. So is nonempty and bounded by , and step 1.3 gives it a greatest element ; fix a linearly independent with and .
That is a basis of containing . Suppose some had . Then is linearly independent and , and ; moreover a bijection extends to a bijection by sending to , so and , contradicting the maximality of in . Hence ; and because is a linear subspace of containing . So and is a basis of with .
Claim 1. Run steps 2.1 and 3.1 at , which is linearly independent and contained in . They produce a basis of with , so is finite-dimensional with , and by step 2.1.
Claim 3. For an arbitrary linearly independent , steps 2.1 and 3.1 produce a basis of with , which is the assertion. Every selection made along the way is a single existential instantiation from a nonempty set, and the greatest element supplied by step 1.3 is determined by rather than chosen from it, so no choice principle is used. Applying this with in the roles of both and , which is legitimate because is a linear subspace of itself, gives the statement for an arbitrary finite-dimensional vector space over .
Claim 2. If then . Conversely suppose ; then by step 4.1, so the basis produced at in step 3.1 is a linearly independent subset of with and . If , pick ; then is a linearly independent subset of with , and by step 1.1, which is impossible since . So .
Claim 1 is step 4.1, claim 2 is step 5.1 and claim 3 is step 4.2.
Remarks
-
No choice principle is used, and claim 3 is why that matters. The basis of is obtained by taking a linearly independent subset of of greatest size among those containing a given , which exists because the sizes form a nonempty set of naturals bounded by (The well-ordering principle); Zorn's lemma is not invoked, and Zorn's lemma gives a basis between any linearly independent set and any spanning set containing it: if with independent and , there is a basis of with is not used here. In finite dimension the existence of bases, and the extension of a given independent set to one, are both free. Claim 3 is the form The dimension formula: for finite-dimensional linear subspaces and of , the subspaces and are finite-dimensional and uses, which is what keeps that theorem choice-free.
-
Why the equality case is a real theorem. In finite dimension "same dimension" and "equal" coincide for a subspace and its ambient space, and the proof of that is the observation that a basis of a proper subspace can always be enlarged inside the bigger space. Both halves of the argument fail without finiteness, and the companion page carries the witness.
-
The span is the same computed in or in , which is why the statement can mix the two freely. That agreement is proved once, in Basis of a vector space: a linearly independent spanning subset; and ordered basis: an injective finite list whose image is a basis, rather than repeated here; it rests on the fact that a linear subspace carries the addition, the zero and the scalar multiplication of the ambient space (Linear subspace of a vector space).
Every linear subspace of a vector space has a complement: a linear subspace with
Statement
Assume the Axiom of Choice, through Zorn's lemma gives a basis between any linearly independent set and any spanning set containing it: if with independent and , there is a basis of with and Every vector space has a basis. Let be a vector space over a field (Vector space over a field) and let be a linear subspace of (Linear subspace of a vector space). Then there is a linear subspace of with
(Internal direct sum : the sum is everything and each summand meets the sum of the others only in ), that is and .
No finiteness of , of or of any basis is assumed.
Facts & Assumptions
Given: The Axiom of Choice; a field ; a vector space over ; and a linear subspace of .
is itself a vector space over , with the addition, the zero and the scalar multiplication of (Linear subspace of a vector space); every vector space has a basis (Every vector space has a basis); and for , " is a basis of " means is linearly independent as a subset of with (Basis of a vector space: a linearly independent spanning subset; and ordered basis: an injective finite list whose image is a basis, section on bases of a linear subspace, Linear independence: a finite list is independent when forces every , and a subset is independent when every injective finite list into is independent).
If with linearly independent and , there is a basis of with ; and (Zorn's lemma gives a basis between any linearly independent set and any spanning set containing it: if with independent and , there is a basis of with , The span is monotone and idempotent, exactly when is a linear subspace, and , claim 4).
is a linear subspace of containing , contained in every linear subspace of containing , and monotone in (Linear combination of a finite list, and the span as the smallest linear subspace containing , The span is monotone and idempotent, exactly when is a linear subspace, and , is exactly the set of linear combinations of finite lists of elements of , and ).
For two linear subspaces, and (The sum of two linear subspaces and the sum of a finite family, , so the sum is the smallest linear subspace containing every ).
is already the set of with injective (A subset is linearly dependent if and only if some lies in ; and is already the set of linear combinations of INJECTIVE finite lists into , claim 2).
Concatenation: for and there is exactly one with for and for ; when it satisfies ; and if and are injective with disjoint images then is injective with image . A list into is linearly independent exactly when it is injective with linearly independent image (Finite sums re-indexed along an injection, with a zero term deleted, and concatenated; and the closure properties of linear independence: an independent list is injective and never , its sublists are independent, a list is independent exactly when it is injective with linearly independent image, and every subset of a linearly independent set is linearly independent, claims 3 and 6). The scalar case is the same statement read in , a vector space over itself (A field is a vector space over itself, and over any subfield every -vector space is a -vector space by restricting the scalars, claim 1).
is an abelian group; ; ; (V4) ; (F1) an all- list sums to ; and a scalar passes through a finite sum, so (Vector space over a field, In any vector space , , , , and forces or , Field, The sum of two linear subspaces and the sum of a finite family, The product of a finite list in a monoid, by recursion, with the empty product () equal to the identity).
Indices run over von Neumann naturals (The natural numbers (von Neumann), On the order is membership: ) and injectivity is as in Injection, surjection, bijection.
Proof
is a vector space over in its own right, so it has a basis ; equivalently is linearly independent as a subset of and .
Since , is linearly independent and , the extension theorem supplies a basis of with . Put , a linear subspace of .
. By step 2.1 and step 1.1 we have and , so and hence . Conversely and by monotonicity, so , and since is a linear subspace of itself containing .
. Both are linear subspaces, so lies in the intersection. Conversely let . Since there are , an injective and with ; since there are , an injective and with . The images and are disjoint, so the concatenation of and is injective, and the concatenation of with is a list of scalars; the list is the concatenation of and , so . As is an injective list into the linearly independent set , it is a linearly independent list, so every ; in particular for every , whence every term is and by (F1).
Taking , steps 3.1 and 3.2 give and , which for two summands is exactly . So the required complement exists.
Remarks
-
The complement is not unique, and nothing above claims it is. In the span of the first standard unit vector has both the span of the second and the span of their sum as complements; the companion page uses those same three lines for a different failure, and the order-69 examples page uses them for a third. What the corollary produces is one complement, read off from one extension of one basis.
-
Choice is spent twice, in the same place. A basis of and an extension of it to a basis of both come from Zorn's lemma (Zorn's lemma gives a basis between any linearly independent set and any spanning set containing it: if with independent and , there is a basis of with ). In finite dimension neither is needed: If and is a linear subspace of , then is finite-dimensional, , and if and only if produces a basis of without any choice principle, and the same greatest-size argument extends it.
-
Why the intersection argument avoids ordered bases. For an infinite there is no ordered basis to compare coordinates in, so the argument runs on the finite injective lists that actually occur, supplied by A subset is linearly dependent if and only if some lies in ; and is already the set of linear combinations of INJECTIVE finite lists into , and concatenates two of them into one list into . That is what makes the proof independent of any finiteness assumption.
The dimension formula: for finite-dimensional linear subspaces and of , the subspaces and are finite-dimensional and
Statement
Let be a vector space over a field (Vector space over a field) and let and be linear subspaces of (Linear subspace of a vector space), both finite-dimensional over (Finite-dimensional vector space, and its dimension ; infinite-dimensional means having no finite basis). Then and (The sum of two linear subspaces and the sum of a finite family) are finite-dimensional and
The ambient space is arbitrary and need not be finite-dimensional.
The two boundary cases. If the formula reads , since ; if it reads .
No choice principle is used. The bases of and of extending a basis of come from claim 3 of If and is a linear subspace of , then is finite-dimensional, , and if and only if , which is proved by a largest-independent-subset argument inside a finite-dimensional space. Zorn's lemma is not used anywhere below, and the Zorn-based extension theorem of this page is neither cited nor needed; the remarks say where the difference lies.
Facts & Assumptions
Given: A field ; a vector space over ; and finite-dimensional linear subspaces and of ; write and .
means has a basis with elements; if has one finite basis then every basis of is finite, and any two have the same size (Finite-dimensional vector space, and its dimension ; infinite-dimensional means having no finite basis, If has a basis with elements and a basis with elements then ; and if has one finite basis then every basis of is finite).
The intersection of two linear subspaces of is a linear subspace of (The intersection of a nonempty family of linear subspaces of is a linear subspace of ); a linear subspace of contained in is a linear subspace of , linear independence is the same computed in a linear subspace or in , and spans agree (Basis of a vector space: a linearly independent spanning subset; and ordered basis: an injective finite list whose image is a basis, section on bases of a linear subspace, Linear subspace of a vector space).
A linear subspace of a finite-dimensional space is finite-dimensional of no greater dimension (If and is a linear subspace of , then is finite-dimensional, , and if and only if ).
If has a spanning set with elements then every linearly independent subset of is finite with at most elements (If has a spanning set with elements, then every linearly independent subset of is finite with at most elements; in particular has no linearly independent subset equinumerous with ).
In a finite-dimensional vector space over , every linearly independent is contained in a basis of , and no choice principle is used to produce it (If and is a linear subspace of , then is finite-dimensional, , and if and only if , claim 3, which states this for a linear subspace and notes that a space is a linear subspace of itself). Also for a linear subspace (The span is monotone and idempotent, exactly when is a linear subspace, and , claim 4).
Concatenation: for and there is exactly one with for and for ; for it satisfies ; and if are injective with disjoint images then is injective with image . A list is linearly independent exactly when it is injective with linearly independent image, and every subset of a linearly independent set is linearly independent (Finite sums re-indexed along an injection, with a zero term deleted, and concatenated; and the closure properties of linear independence: an independent list is injective and never , its sublists are independent, a list is independent exactly when it is injective with linearly independent image, and every subset of a linearly independent set is linearly independent, claims 3, 6 and 7). The scalar case is the same statement read in , a vector space over itself (A field is a vector space over itself, and over any subfield every -vector space is a -vector space by restricting the scalars).
A subset is linearly dependent exactly when some lies in (A subset is linearly dependent if and only if some lies in ; and is already the set of linear combinations of INJECTIVE finite lists into , claim 1).
is a linear subspace containing , contained in every linear subspace containing , monotone in , and equal to the set of linear combinations of finite lists into ; and (Linear combination of a finite list, and the span as the smallest linear subspace containing , The span is monotone and idempotent, exactly when is a linear subspace, and , is exactly the set of linear combinations of finite lists of elements of , and , , so the sum is the smallest linear subspace containing every , The sum of two linear subspaces and the sum of a finite family).
is an abelian group; ; ; (V4) ; (F1) an all- list sums to ; and a scalar passes through a finite sum (Vector space over a field, In any vector space , , , , and forces or , Field, The sum of two linear subspaces and the sum of a finite family, The product of a finite list in a monoid, by recursion, with the empty product () equal to the identity).
A finite set is equinumerous with exactly one natural number (The pigeonhole principle on , claim 3); addition on is associative and commutative (Addition of natural numbers, Addition is associative, Addition is commutative); , images and injectivity are as in Equinumerous sets, and , Finite, countably infinite, countable, uncountable, Injection, surjection, bijection, The natural numbers (von Neumann), On the order is membership: .
Proof
is a linear subspace of contained in , hence a linear subspace of ; since is finite-dimensional, so is . Write , fix a basis of with , and fix an injective list with image . Note , and that independence and spans may be computed in throughout.
Extending in each of and . The set is linearly independent with , and is finite-dimensional, so is contained in a basis of ; likewise gives a basis of with . Both extensions are the finite-dimensional ones, with no appeal to Zorn's lemma. Put and , which are disjoint from by construction. Each is a subset of a linearly independent set, hence linearly independent, and each lies in a space with a finite basis, hence is finite; fix and with and , and injective lists with image and with image .
The sizes add up. The lists and are injective with disjoint images, so their concatenation is an injective list with image ; hence . Also is a basis of , so , and a finite set is equinumerous with exactly one natural number, so . The same argument with gives .
and are disjoint. Suppose . Then and , so . But means , so and monotonicity gives , which makes linearly dependent and contradicts its being a basis.
One list carrying all three blocks. Let be the concatenation of and , an injective list with image , and let be the concatenation of and , a list . By step 3.2 the images and are disjoint, since would lie in or in , both empty; so is injective with image . For scalars the sum splits as .
The list is linearly independent. Let with , and write and , so by step 4.1 and hence . Now is a linear combination of the list , whose values lie in , so and therefore ; and is a linear combination of , whose values lie in , so . Hence , so for some . Let be the concatenation of and , injective with image since and are disjoint, and let be the concatenation of with ; then . As is an injective list into the linearly independent set , it is a linearly independent list, so every ; in particular for every , and for every , whence by (F1) and . Finally is an injective list into the linearly independent set , hence linearly independent, so forces for every . Every coefficient of therefore vanishes.
. From and and monotonicity, and , so and hence . Conversely , and is a linear subspace, so .
is a basis of with elements. By step 5.1 the list is linearly independent, hence injective with linearly independent image and ; by step 5.2 it spans . So is finite-dimensional with .
The formula. By step 3.1, and , so step 6.1 gives , and with from step 1.1 we get , using associativity and commutativity of addition on .
Remarks
-
The crux is independence, not spanning. That spans is immediate from monotonicity of the span; what has to be worked for is that it is independent, and the whole force of the hypothesis is spent there: a vanishing combination pushes the -part into , hence into , hence into the span of , after which independence of kills its coefficients.
-
The three blocks are pairwise disjoint, and that is proved rather than assumed. meets neither nor by construction, and meets only if some vector of lies in , which would make dependent. Without disjointness the count would be wrong even though the set were still a basis.
-
The proof costs no choice principle, and the reason is that and are finite-dimensional. The only existence step is 2.1, and the extension used there is claim 3 of If and is a linear subspace of , then is finite-dimensional, , and if and only if : among the linearly independent subsets of containing there is one of greatest size, because If has a spanning set with elements, then every linearly independent subset of is finite with at most elements; in particular has no linearly independent subset equinumerous with bounds their sizes and The well-ordering principle then produces the largest, and a set of that size is already a basis by If is linearly independent and then is linearly independent and ; and if then . Nothing is selected from an infinite family, so Zorn's lemma is not needed. The corresponding statement for an arbitrary vector space, Zorn's lemma gives a basis between any linearly independent set and any spanning set containing it: if with independent and , there is a basis of with , does need the Axiom of Choice; this theorem does not use it, and Every linear subspace of a vector space has a complement: a linear subspace with is the item on this page that genuinely does.
-
Nothing here needs the ambient to be finite-dimensional, only and . The consequence for a finite family of summands is If with every finite-dimensional, then is finite-dimensional and ; in particular , and the failure of the inclusion-exclusion analogue for three subspaces is recorded on the companion page.
If with every finite-dimensional, then is finite-dimensional and ; in particular
Statement
Let be a field (Field), let , let be a vector space over (Vector space over a field) and let be a family of linear subspaces of indexed by (Linear subspace of a vector space, The sum of two linear subspaces and the sum of a finite family) with
(Internal direct sum : the sum is everything and each summand meets the sum of the others only in ) and every finite-dimensional over (Finite-dimensional vector space, and its dimension ; infinite-dimensional means having no finite basis). Then is finite-dimensional over and
the right-hand side being the finite sum of The product of a finite list in a monoid, by recursion, with the empty product () equal to the identity read additively in the commutative monoid (Addition of natural numbers, Left identity for addition, Addition is associative, Addition is commutative).
The base case is a genuine case. At the direct sum of the empty family is and the empty sum of natural numbers is , so the formula reads . At it reads .
No choice principle is used. The only inputs are The dimension formula: for finite-dimensional linear subspaces and of , the subspaces and are finite-dimensional and and If and is a linear subspace of , then is finite-dimensional, , and if and only if , both of which are proved in finite dimension without one.
Facts & Assumptions
Given: A field ; a natural number ; a vector space over ; and a family of finite-dimensional linear subspaces of indexed by with .
means (D1) and (D2) for every , where for the family with ; and holds exactly for the zero space (Internal direct sum : the sum is everything and each summand meets the sum of the others only in ).
is a linear subspace of whose elements are exactly the with ; ; and the finite sum obeys (The sum of two linear subspaces and the sum of a finite family, The product of a finite list in a monoid, by recursion, with the empty product () equal to the identity).
A sum of a family contains each of its summands (, so the sum is the smallest linear subspace containing every ); the intersection of two linear subspaces is a linear subspace (The intersection of a nonempty family of linear subspaces of is a linear subspace of ); and a linear subspace of contained in a linear subspace of is a linear subspace of , with the same independence and the same spans (Basis of a vector space: a linearly independent spanning subset; and ordered basis: an injective finite list whose image is a basis, section on bases of a linear subspace, Linear subspace of a vector space).
For finite-dimensional linear subspaces and of a vector space, and are finite-dimensional and (The dimension formula: for finite-dimensional linear subspaces and of , the subspaces and are finite-dimensional and ); and a linear subspace of a finite-dimensional space is finite-dimensional (If and is a linear subspace of , then is finite-dimensional, , and if and only if ).
, and depends only on the space and the field (Finite-dimensional vector space, and its dimension ; infinite-dimensional means having no finite basis).
Addition makes a commutative monoid, and its finite sums satisfy and (Addition of natural numbers, Left identity for addition, Addition is associative, Addition is commutative, The product of a finite list in a monoid, by recursion, with the empty product () equal to the identity).
Induction on , with and (The principle of mathematical induction, The natural numbers (von Neumann), On the order is membership: , Order on the natural numbers).
Proof
The statement to be proved by induction on is: for every vector space over and every family of finite-dimensional linear subspaces of indexed by with , the space is finite-dimensional with . At the hypothesis holds exactly when , and then , which is also the empty sum .
Two identities used in the successor step. Let and put , a linear subspace of . First, : an element of the right-hand side is with for and , and the recursion makes that , so the two sets have the same elements. Second, : an element of the left-hand side is with for and , which by the recursion is , and conversely.
Assume the displayed statement at the natural number , for every vector space over and every family of finite-dimensional linear subspaces indexed by .
The successor step. Let , let with every finite-dimensional, and let as in step 1.2. Then as a direct sum inside : condition (D1) holds by the definition of , and for every element with is also after setting , so is contained in the corresponding sum for the family indexed by , and (D2) for the larger family at forces , the reverse inclusion holding because both sides are linear subspaces. Each with is contained in and is therefore a linear subspace of , still finite-dimensional. So step 1.3 applies to and gives that is finite-dimensional with . Now and are finite-dimensional linear subspaces of ; by step 1.2 their sum is , and their intersection is by (D2) at . The dimension formula therefore gives , that is , and is finite-dimensional because the dimension formula asserts that the sum of two finite-dimensional subspaces is one.
Step 1.1 and step 2.1 are the base case and the successor step of an induction on , so the statement holds for every ; at it reads , by the recursion for finite sums of naturals.
Remarks
-
(D2), not the pairwise condition, is what makes the induction run. At each stage the intersection term vanishes because meets the sum of all the other summands only in ; pairwise trivial intersections would not give that, and if and only if every is with in exactly one way; equivalently, if and only if the sum is and with forces every records that the two conditions are genuinely different from three summands on. The order-69 examples page carries the witness, and the companion page of this one uses the same three lines for a different failure.
-
The base case is stated rather than started at . contains , the empty direct sum is the zero space (Internal direct sum : the sum is everything and each summand meets the sum of the others only in ) and the empty sum of naturals is (The product of a finite list in a monoid, by recursion, with the empty product () equal to the identity), so is an instance of the formula and not an exception to it.
-
Nothing here bounds the number of summands by the dimension. A direct sum may have many summands equal to , each contributing to the sum; the formula counts dimensions, not summands.
5 · Examples, counterexamples and false statements
None yet.
Sources
Standard references
Recommended treatments; not extraction sources.
- Linear independence (Wikipedia)
- S. Axler, Linear Algebra Done Right, 4th ed., Ch. 2
- Interactive Linear Algebra: Linear Independence
- Cambridge University Press excerpt: Vector spaces and bases
- Sheldon Axler, Linear Algebra Done Right, 4th ed.
- Matroid (Wikipedia)
- Carnegie Mellon University linear algebra notes: Bases
- Dartmouth College linear algebra lecture notes: Linear independence
- Basis (linear algebra) (Wikipedia)
- S. Axler, Linear Algebra Done Right, 4th ed., Ch. 3
- UC Berkeley Math 54 notes: Bases and coordinates
- Steinitz exchange lemma (Wikipedia)
- Western Washington University notes: Bases and the Steinitz exchange lemma
- Dimension (vector space) (Wikipedia)
- Dimension theorem for vector spaces (Wikipedia)
- Interactive Linear Algebra: Dimension
- Zorn's lemma (Wikipedia)
- University of Colorado notes: Linear algebra and vector spaces
- Basis (linear algebra) (Wikipedia) — where A. Blass, Existence of bases implies the axiom of choice, Contemporary Mathematics 31 (1984), 31-33, is recorded
- Axiom of choice (Wikipedia)
- Standard basis (Wikipedia)
- Purdue University Algebra 511 notes: Dimension
- Direct sum of modules (Wikipedia)
- S. Axler, Linear Algebra Done Right, 4th ed., Ch. 1
- K. Kuttler, A First Course in Linear Algebra: Sums and Intersections
- University of Pennsylvania notes: Vector spaces and direct sums