Basis Created 2026-09-24 Updated 2026-10-14
A basis is a linearly independent spanning set of vectors in a vector space. Every vector is a unique finite linear combination of basis vectors. Independence supplies uniqueness, and spanning supplies existence. An ordered basis turns the coefficients into a coordinate vector.
For , the matrix with these vectors as columns is
Hence the coordinate vector of is , and recovers the usual coordinates. The determinant is nonzero, so this recovery works for every vector in . A basis need not have perpendicular or unit-length vectors; an orthonormal basis adds those geometric conveniences when an inner product is available.
The point of changing basis is to simplify the operation being studied. Diagonalization uses an eigenbasis to turn a coupled linear map into independent scalings. In a space of polynomials, the basis makes differentiation easy to encode, while orthogonal polynomials can make approximation errors easier to measure. Gilbert Strang's MIT lecture on independence, basis and dimension develops this connection between attainable columns, redundant columns and coordinates.[ref]
Let have finite dimension and let have vectors. Then spanning, linear independence and being a basis are equivalent. From a spanning set, remove redundant vectors until an independent spanning set remains. A removal would give a basis of fewer than vectors, contradicting dimension invariance. Conversely, if is independent and a vector lies outside its span, adjoining it gives independent vectors, again impossible. Thus an independent spans.
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]
Linear independence Created 2026-09-24 Updated 2026-10-14
In a vector space over a specified field , a finite family of vectors is linearly independent when, for coefficients ,
Here the left-hand zero is the zero vector, while the right-hand zeros belong to the field . Thus linear independence excludes every nontrivial linear relation. For an infinite family, require this condition for every finite subfamily.[ref]
For and over the real numbers, the linear relation gives and . Adding and subtracting yields , hence . This verifies linear independence directly and explains why the linear combination giving has exactly the coefficients .
A linearly independent family cannot contain the zero vector: a coefficient of on that entry and on every other entry would be a nontrivial linear relation. The empty family is linearly independent, because its empty sum is the zero vector and there are no coefficients that could be nonzero. Linear independence identifies a collection without redundant vectors; combined with a spanning set, it gives a basis. The uniqueness of linear combination coefficients makes its representations unambiguous.
Linear span Created 2026-09-24 Updated 2026-10-14
The linear span of a subset of a vector space is the set of all finite linear combinations of elements of . It is the smallest vector subspace containing : every vector subspace containing the original vectors must contain their sums and scalar multiples.
In , the linear span of is a line, the linear span of is the plane , and adding gives all of . Adding to the first set changes none of its attainable vectors, because it is already a scalar multiple of . Thus a spanning set can contain redundant generators; linear independence identifies when this redundancy is absent. In an infinite-dimensional space, an algebraic linear span still uses finite sums; a closed linear span can also include limits in a specified norm.
A vector space over the real numbers is a set with an addition making it an abelian group and a scalar multiplication by satisfying, for scalars and vectors , the identities , , and . A vector subspace is a nonempty subset closed under addition and scalar multiplication; a proper vector subspace is one unequal to . A spanning set is a set whose finite linear combinations give every vector of . A basis is a linearly independent spanning set. The dimension is the number of vectors in a basis, or its cardinality when the basis is infinite.
The sum of vector subspaces and their intersection of vector subspaces are
Both are vector subspaces: addition and scalar multiplication preserve the displayed forms or simultaneous membership. The intersection of vector subspaces is never empty because .
For the two given hyperplanes, adding and subtracting their defining equations gives and . Hence
These two nonzero vectors are orthogonal, and consequently form an orthogonal basis of the intersection of vector subspaces. Put and . Direct substitution gives , . Their dot products with vanish, and . Each defining equation of or is one nonzero linear constraint in four variables, so each vector subspace has dimension three. Thus each space has the indicated orthogonal basis:
The last four vectors are nonzero and mutually orthogonal, so they are a basis of . They lie in , proving . The dimension identity is therefore verified numerically:
Expand in the given spanning set:
Some must be nonzero, since otherwise would lie in the span of the earlier , contradicting linear independence. Reorder the remaining so . Solving this equation for expresses it in terms of . Every member of the old spanning set is therefore in the new span, so the replacement set still spans . This proves the needed step of the Steinitz exchange lemma directly.
Starting with , apply that replacement successively to . After steps the spanning list is together with unreplaced 's. If , after replacements the list spans , forcing to be a linear combination of it. That contradicts linear independence. Hence .
Let and be two finite bases of the vector space . We prove the underlying exchange argument rather than assuming that dimension is already well-defined.
More generally, suppose are linearly independent and form a spanning set. Starting with the spanning list of 's, replace one of its members by . Indeed, express as a linear combination of that list; at least one coefficient is nonzero, so we can solve for its corresponding and retain a spanning list. Inductively, suppose the spanning list now consists of and of the original 's. Express in that list. Some coefficient of a remaining must be nonzero, since otherwise would lie in the span of the preceding 's, contradicting linear independence. Solve for that and replace it by .
If , after replacements the spanning list consists of , forcing to lie in their span, again a contradiction. Thus every finite linearly independent list has at most as many members as every finite spanning set. This proves the Steinitz exchange lemma in the form required here. Applying it to the two bases in both orders gives and , hence . The zero vector space has only the empty basis, which also fits the argument.
A basis of a vector space is a family of vectors that is both linearly independent and a spanning set of .
Write the given finite basis as . First, any other basis must also be finite. Each is a finite linear combination of elements of , so the union of the finitely many elements of occurring in these expressions is finite. Since spans every , it spans . If some existed, then would lie in the span of , contradicting the linear independence of . Hence ; write .
It remains to prove the elementary Steinitz exchange lemma directly. If independent vectors lie in the span of , express in terms of the . Some coefficient is nonzero, so the corresponding can be solved for in terms of and the other ; replacing it by preserves the span. Inductively, after replacing of the by , the expression for must have a nonzero coefficient on one of the unreplaced , since otherwise would be a linear combination of . That can again be replaced. There are only original vectors to replace, so .
Apply this argument first to the independent family and the spanning family to obtain , and then with the two bases interchanged to obtain . Therefore
Put and for . Since and , the two families have the same linear span. Moreover,
If the are linearly independent, a vanishing expression forces for and then . Conversely,
so linear independence of the forces all . Thus both the spanning set condition and linear independence are equivalent for the two families, proving the desired equivalence of bases.
The Steinitz exchange lemma states that if are linearly independent and span a vector space , then and some of the can be replaced by while preserving the spanning set property.
Here is the exchange argument. Suppose that after replacements, a spanning set is
where the remaining have been relabelled if necessary. Express as a linear combination of this family. At least one remaining has a nonzero coefficient; otherwise belongs to the span of , contradicting linear independence. Relabel this entry . Solving for shows that it lies in the span of
The new family therefore still spans . Starting at repeats this step until all independent vectors have been inserted. If , after steps the next would lie in the span of , a contradiction. Thus , and the construction proves the replacement assertion as well.
The vectors are linearly independent if
They span if every is a linear combination with real coefficients. They form a basis of if they are linearly independent and span . Equivalently, every has exactly one such representation: existence is the spanning set condition, and subtracting two representations shows that uniqueness is precisely linear independence.
Since is the restriction of to ,
This image of a linear map is contained in , so . Also, applying to a basis of gives a spanning set for , of size . Thus , and
For , its image of a linear map is exactly . Consequently is surjective if and only if are a spanning set for .
If the vectors are linearly independent and , then , so for all . Hence is injective. Conversely, if is injective, any relation says and thus , proving linear independence.
Combining both equivalences gives
A basis is therefore exactly a choice of vectors giving existence and uniqueness of coordinates, expressed by a bijection.
Every is a finitely supported sequence, so for a finite set of indices ,
Thus is a spanning set. If contained , the displayed expression would give a nontrivial relation
among the distinct vectors of the finite subset of : the coefficient of is . This contradicts the linear independence of . It also covers , whose singleton is not linearly independent. Hence . In particular, is both a basis and a maximal linearly independent subset of .
Yes. Consider the following matrices:
Each has only row nonzero and has th diagonal entry , so part (c)(ii) proves that it is a diagonalisable matrix. The collection is a spanning set, because it contains every and
Thus it spans the matrix unit basis. A spanning set of vectors in an -dimensional vector space is a basis. Alternatively, in a vanishing linear combination of , each off-diagonal entry first forces its own coefficient to be zero, and then each diagonal entry forces the remaining coefficient to be zero.
For the equal-cardinality basis criterion, because spans , repeatedly remove a vector whenever it is a linear combination of the others. Such a removal does not change the span. The finite process ends with a linearly independent spanning subset , hence a basis of .
If the original were linearly dependent, at least one removal would occur and . But a basis of an -dimensional vector space has vectors. Equivalently, apply the allowed claim to the basis and any fixed -vector basis of : the latter would wrongly be linearly dependent. Thus no removal was possible. The original spanning set is linearly independent and therefore a basis.
Tensor-product basis Created 2026-10-05 Updated 2026-10-14
If and are bases of finite-dimensional vector spaces over , then the products form a basis of . There is one independent coordinate for every pair of indices.[ref]
For a proof outline, bilinearity expands each pure tensor as
so these products form a spanning set. For linear independence, take the coordinate functionals from the two dual bases. The bilinear map induces a linear functional on the tensor product, satisfying . Applying it to a proposed zero linear combination selects just , forcing every coefficient to vanish. Thus dimensions multiply, rather than add. This finite-dimensional count includes a zero factor, whose tensor product has dimension zero.
Vector space Created 2026-09-24 Updated 2026-10-14
A vector space over a field is a set equipped with vector addition and scalar multiplication satisfying the vector space axioms. Its vectors can represent directed displacements, lists of measurements, polynomials, or entire functions. The common structure is that adding two elements and multiplying an element by a scalar remain meaningful operations inside the same space.
For example, uses coordinatewise addition and scaling. With
we have . Moving twice along and once along reaches the same vector as five horizontal and four vertical steps. The two descriptions refer to different bases of the same space. A basis makes such descriptions unique; a spanning set makes them possible.
Figure 1.
The same vector has coordinates 5,4 in the Cartesian basis and 2,1 in an oblique basis
. Details.
The space of real polynomials of degree at most two has basis : the polynomial is the linear combination with coordinates . The zero vector here is the zero polynomial, and addition combines coefficients. A derivative is a linear map on this space; its matrix records how it acts on the three basis vectors. The same coordinate machinery therefore handles both geometric motion and operations on functions.
The choice of field matters. The complex numbers form a one-dimensional vector space over with basis , but a two-dimensional vector space over with basis . The question "how many independent directions?" has an answer only after the allowed scalars are specified. Likewise, polynomials of degree exactly two do not form a vector space: subtraction can remove the leading term, and the zero polynomial is absent.
The usefulness of the abstraction is that a linear map is determined by its values on a basis. Once those images are known, linear combinations give its action on every vector. The rank-nullity theorem relates the number of attainable outputs to the number of invisible input directions, while change of basis lets us choose coordinates suited to the problem. Eigenvectors, for example, choose directions on which repeated application of a linear operator becomes scalar multiplication.
A historical source is Hermann Grassmann's Die lineale Ausdehnungslehre (1844). Its full title advertises applications to other branches of mathematics, statics, mechanics, magnetism and crystallography; the original edition is digitized by ETH-Bibliothek. This gives an early setting for treating geometric quantities algebraically across different applications, rather than attributing the modern axiom list to that title alone.[ref]
Every vector space over a field has a basis, assuming the axiom of choice. More generally, any linearly independent subset extends to a basis. This is an algebraic Hamel basis: each representation uses a finite linear combination, even when the basis is infinite.[ref]
Use the poset of linearly independent subsets containing :
It is a set, being a subset of the power set of , and is nonempty because .
A short proof outline supplies both essential steps:
Taking proves existence, including , whose basis is the empty set. The chain in a partial order need not be indexed by the natural numbers: only the finitely many members needed for a particular linear relation are compared. An arbitrary union of linearly independent sets can fail: and for a nonzero vector over the real numbers are each linearly independent, but their union is linearly dependent. The nesting of a chain in a partial order is what prevents this failure.