Dimension (vector space) 2026-10-14
The dimension of a vector space is the cardinality of any of its bases. In finite dimension this counts the scalars needed to specify an arbitrary vector once an ordered basis is chosen. The exchange argument behind the basis extension theorem shows that any two finite bases have the same size: an independent family cannot be larger than a spanning family.
Thus has dimension two even with an oblique basis, has dimension three, and the homogeneous plane in vector subspace has dimension two. This count concerns independent freedom, so an embedded plane remains two-dimensional while sitting in a three-dimensional ambient vector space. Dimension also depends on the field, as the two interpretations of in vector space illustrate.
Dual image and kernel annihilator identity Created 2026-10-06 Updated 2026-10-14
For a linear map between finite-dimensional vector spaces, the image of its dual map is the annihilator of a vector subspace given by its kernel. Inclusion follows by composition. Conversely a linear functional vanishing on the kernel descends to the image and extends to the target by basis extension. The identity and the rank-nullity theorem show that a linear map and its dual have equal rank.
For an explicit basis extension in , start with , where . Its linear span is the line . Adding preserves linear independence, because is outside that line, and gives a basis. Every vector has the finite linear combination
The vector cannot be added while preserving linear independence: it is already in the linear span. Many choices outside the line work, so maximality does not select a unique basis.
Figure 1.
Extending one independent vector to a basis of the real plane
. Left: u spans only the blue line, and 2u is redundant. Right: adding w outside that line yields a basis spanning the entire plane. This finite-dimensional illustration is not a proof of basis existence in arbitrary dimension. Details.
For a finite-dimensional vector space with a supplied finite spanning set, a greedy algorithm scans the list, retaining each vector precisely when it is outside the linear span of those already retained. Starting with a linearly independent , the same scan adjoins only the needed vectors. Retained vectors remain linearly independent, and every skipped vector is in the final linear span, so the result is a basis containing . Finite reasoning needs no axiom of choice.
For an arbitrary vector space, this finite stopping argument is unavailable. Accepting Zorn's lemma asserts existence of a maximal element once every chain in a partial order has an upper bound; it supplies no general computational recipe. Over ZF, Zorn's lemma, the axiom of choice and the well-ordering theorem are equivalent. Particular infinite vector spaces can still have explicit bases, such as for the vector space of univariate polynomials over a specified field; infinity alone does not force a nonconstructive argument.[ref]
A linear map between finite-dimensional vector spaces admits a linear left inverse if and only if its kernel of a linear map is , equivalently if and only if it is injective.
Necessity follows from . For sufficiency, choose a basis of . Triviality of the kernel of a linear map implies that are linearly independent. By basis extension, they extend to a basis of . Define and , and extend by linearity. Then on a basis, proving .
The freedom in lies in its values on a direct-sum complement of the image of a linear map. For example, for , every linear map is a left inverse, with arbitrary scalars . A right inverse instead requires to be a surjective linear map.
The annihilator of a vector subspace consists of the linear functionals that vanish on every element of that vector subspace:
For the dimension identity, choose a basis of and use basis extension to obtain for . A linear functional is determined by its values on these basis vectors. Belonging to the annihilator of a vector subspace sets its first values to zero and leaves its last values arbitrary. Equivalently the last elements of the dual basis form a basis of .
Let be the common field. The dual map is for , where and are the dual spaces.
First assume is injective. If were not surjective, its image of a linear map would be a proper vector subspace of . Choose a basis of and use basis extension to obtain a basis of , with . There is a linear functional with
It is nonzero and vanishes on , so , contradicting injectivity. Equivalently, the annihilator of a vector subspace would give a nonzero kernel for . Therefore
Now assume is surjective. If , basis extension gives a linear functional with : include in a basis and take its coordinate functional. By surjectivity, for some . But
a contradiction. Hence , which proves
Write
on , where is the dual space. The dual pairing is linear separately in the vector and the linear functional. For example, for real numbers ,
Thus is a bilinear form. It is also an alternating bilinear form, since
To prove that this is a nondegenerate bilinear form, suppose pairs to zero with every . Setting gives for every , hence . Setting gives for every . If , basis extension supplies a coordinate functional with , a contradiction. Thus . The left radical is zero, and the displayed change of sign implies the right radical is zero as well. Hence is a nondegenerate bilinear form, making a symplectic vector space.
For the required example take the coordinate subspace
Using the definition of the bilinear orthogonal complement in part (b),
Therefore
This is a Lagrangian subspace. Its dimension is , exactly half of , so part (b)(i) is satisfied.
There is no contradiction with part (b)(ii): that part asks whether a direct sum is guaranteed, and the answer is already no. Moreover, when , the present alternating bilinear form is not a symmetric bilinear form. Choose and with ; then
It therefore does not satisfy the symmetry hypothesis of part (b)(ii). If , then , and both and hold trivially.
We prove by mathematical induction on that every linear map on an -dimensional complex vector space admits both triangular forms. For or this is immediate. When , the fundamental theorem of algebra supplies an eigenvector ; its span is an invariant subspace.
By parts (ii) and (iii), has dimension and is an invariant subspace of the dual map . Apply the induction hypothesis to to choose a basis with an upper triangular matrix. Extend it by a linear functional satisfying . Such a functional exists by basis extension, and cannot belong to . In this basis of , the matrix of has the form
where is an upper triangular matrix; here the last diagonal entry follows by evaluating at , where .
There is a basis of with , since the dual basis construction gives a finite-dimensional bidual evaluation map isomorphism. In particular . The matrix transpose relationship for a dual map gives
a lower triangular matrix. Reversing this basis turns a lower triangular matrix into an upper triangular matrix. If is the permutation matrix reversing the order, we have proved
This completes the induction by triangularization using dual spaces.
A family is linearly independent if forces . For the three specified vectors, direct substitution gives
The coefficients are not all zero, so the vectors are linearly dependent.
For the implication question, using the usual interpretation that a basis contains the listed family as independent entries, the answers in order (i)–(x) are
The key distinctions are that the unrestricted zero combination always exists, whereas linear dependence requires a nontrivial combination; and dependence does not necessarily let the specified third vector be solved in terms of the first two. For example , makes (iii) and (iv) false, while disproves (vi).
There is a set-versus-family qualification in (v). If “contains” is interpreted as literal set containment, repeated nonzero vectors need only occur once in the basis. Then is dependent as a family but all three belong to the basis , so (v) becomes false. With three distinct vectors, or with family-containment as above, basis extension gives (v) true. Implication (x) remains true on either reading.
For a linear map with finite-dimensional, the rank-nullity theorem states
To prove it, choose a basis of the kernel of a linear map and use basis extension to obtain as a basis of . The vectors span the image of a linear map: applying to a basis expansion kills the first terms. They are also linearly independent. Indeed, if , then , so it is a combination of . Independence of the full basis forces every . Consequently , proving the theorem.
Here the image of a linear map has dimension , since it lies in . Thus
Every possibility occurs: for , map to . This map has rank and kernel dimension .
The algebraic dual map is , defined by . The annihilator of a vector subspace is
Every functional vanishes on , so . Conversely, let . Define a functional on by . It is well defined because two preimages differ by an element of . Extend a basis of to one of and extend the functional arbitrarily, for instance by zero on the extra basis vectors. The resulting satisfies .
This is the dual image and kernel annihilator identity. Therefore
The basis extension theorem also gives . By the rank-nullity theorem,
Apply rank-nullity theorem to both maps, using , to obtain
Over , this is the algebraic dual, without complex conjugation; the adjoint operator in part (b) uses the inner products instead.
For a finite set of vectors in a real vector space, its span is the set of all linear combinations:
The span of the empty set is . The set is linearly independent if implies for every . It is a spanning set for if . A basis is both a linearly independent set and a spanning set.
For basis extension, start with the given linearly independent set. If it does not span , choose and adjoin it. The enlarged set remains linearly independent: a relation with would express as a linear combination of , a contradiction; if , independence of forces all other coefficients to be zero.
Repeat whenever the current span is proper. Each step increases the set's size by one, while the allowed bound says its size cannot exceed . Thus the process terminates with a linearly independent set spanning , hence a basis containing the original set. This also covers an initially empty set and the zero-dimensional vector space.
The rank of a linear map and nullity of a linear map are
The rank-nullity theorem states that
To prove it, choose a basis of the kernel of a linear map and use basis extension to obtain a basis
of . The vectors span the image of a linear map: applying to an arbitrary linear combination of the displayed basis removes all the terms. They are also linearly independent. Indeed,
so for some scalars . The linear independence of the extended basis forces every and to vanish. Consequently and , proving the identity. The same argument covers an empty basis when one of these dimensions is zero.
Use basis extension to choose a basis of the vector space over the finite field . The condition fixes the first value of a linear functional; its remaining values are arbitrary. There are such linear maps, exactly one of which is zero. Hence the required number is
For this is zero, as it should be: vanishing at a basis vector then forces the entire linear functional to vanish.
For quantifier elimination for infinite underlying vector spaces, we first justify that formulas cannot make finer distinctions than their linear-equation data. In any infinite underlying vector space, eliminate an existential variable from a disjunction of conjunctions of linear equations and inequations. If an equation has a nonzero coefficient of that variable, solve for it and substitute. If none does, the inequations forbid only finitely many values, leaving an available value in the infinite domain; the remaining equations concern only the other variables. Terms are linear combinations, so induction gives quantifier elimination for and completeness, since closed terms reduce to zero.
For one variable there are two possible complete types, zero and nonzero. Both are isolated, and every definable set is their union. Thus
For types of pairs of vectors over a finite field, the linear relation kernel determines the complete type. If , the possibilities are one rank-zero pair, rank-one directions, and one rank-two independent type. Concretely these are ; with for each ; ; and the independent pairs. Their isolating formulas are finite because is finite. Hence
Every class is the union of a selection of these atoms. Basis extension also shows that pairs with the same relation kernel are conjugate by a linear automorphism within any infinite-dimensional model.
The rank-nullity theorem states that a linear map with finite-dimensional satisfies
Choose a basis of and use basis extension to obtain a basis of . We prove that is a basis of .
Every is a linear combination of the extended basis. Applying kills the terms, so is a linear combination of . This proves the linear span assertion. For linear independence, if , then belongs to the kernel of a linear map. Hence for some scalars . The linear independence of the extended basis forces every and to vanish. Consequently and , while , proving the theorem.
The rank-nullity theorem says that for a linear map with finite-dimensional domain of a function ,
Take a basis of the kernel of a linear map and use basis extension to obtain a basis of . We show that is a basis of the image of a linear map.
Every is a linear combination of the extended basis, and its terms vanish under . Therefore is a linear combination of the , proving the required linear span property. For linear independence, suppose . Then , so for some real scalars . The extended basis is linearly independent, forcing every and to be zero. Thus the image of a linear map has dimension , the kernel of a linear map has dimension , and proves the result.