Bases
How many numbers do you need to pin down a point in space? In the plane, two coordinates suffice. In ordinary space, three are needed. This article makes that intuition precise by defining a basis. A basis is a list of vectors that is simultaneously efficient and complete. Efficient means no redundancy, i.e. linearly independent. Complete means it reaches every vector, i.e. it spans. The two ideas of Linear Independence and Span and Linear Combinations are each useful separately. Here they combine into the single most important structural concept in linear algebra. Bases matter because they give every vector space a coordinate system. Once a basis is fixed, every vector corresponds to exactly one list of scalars. This list is called its coordinates. Linear algebra then becomes computable. Matrices, systems of equations, and geometric transformations all secretly refer back to a choice of basis. Without a basis theorem guaranteeing existence and uniqueness of representation, none of this machinery would be justified. The big picture is that a basis is a minimal spanning set. It is simultaneously a maximal independent set. These turn out to be the same notion. This is itself a small miracle proved below. This equivalence is what lets us later prove something important. Any two bases of a finite-dimensional space have the same size. This gives rise to the notion of dimension. This article delivers a rigorous definition of basis. It presents the fundamental theorem that basis vectors give unique representations. It includes full proofs and worked examples with genuinely asymmetric numbers. It offers a counterexample showing why independence cannot be dropped. Finally, it maps where bases show up throughout mathematics and its applications.
- A basis is a list of vectors that is linearly independent and spans the vector space.
- Equivalently, a basis is a list from which every vector can be written as a linear combination in exactly one way.
- Every finite-dimensional vector space has a basis, and (proved elsewhere) all bases of the same space have the same length.
- A basis turns abstract vectors into concrete coordinate lists, enabling matrix computations.
- Dropping independence or dropping spanning each breaks the uniqueness-of-representation property.
- Key idea: a basis is exactly a spanning list with no redundancy — independent enough to give uniqueness, big enough to give existence.
Where this lives today
Bases are the computational bridge between abstract vector spaces and concrete arithmetic with matrices: choosing a basis converts every linear map into a matrix and every vector into a coordinate column, which is why matrix algebra works at all. In numerical linear algebra, changing between bases (orthonormal bases especially) underlies algorithms like QR decomposition, least-squares fitting, and eigenvalue computation. In physics, choosing a basis of energy eigenstates in quantum mechanics turns an abstract Hilbert-space problem into a concrete matrix (Heisenberg) formulation; changes of basis correspond to changes of observer frame or representation. In signal processing and data compression (JPEG, MP3, wavelets), signals are expressed in bases like the Fourier or wavelet basis chosen so that most coordinates are near zero, enabling compression. In machine learning and statistics, principal component analysis constructs a new orthonormal basis aligned with directions of maximal variance, re-expressing data in coordinates that are more informative than the raw ones. In coding theory and cryptography, finite vector spaces over finite fields use bases to construct error-correcting codes and lattice-based cryptographic schemes, where the choice of "reduced" basis (short, nearly orthogonal vectors) is itself a deep algorithmic problem (e.g. the LLL algorithm).
Ask the tutor: If I have two different bases of the same space, how exactly do I convert one vector's coordinates from one basis to the other?
Let be a vector space over a field (for concreteness, or ). A list of vectors
in is called a basis of if it satisfies both of the following: 1. (Spanning) ; that is, every can be written as
for some scalars . 2. (Linear independence) The only scalars satisfying
are . (The notion extends to infinite-dimensional spaces using arbitrary indexed families rather than finite lists, with span meaning the set of finite linear combinations; this article treats the finite-dimensional case throughout.)
Intuition
A spanning list is enough material to build every vector in ; an independent list has no wasted material — no vector in the list is a "clone" expressible via the others. A basis asks for both at once: exactly enough material, with nothing to spare. Think of . The list spans but is not independent — the third vector is the sum of the first two, so it's redundant weight. The list is independent but does not span — it can only ever reach the -axis. The list threads the needle: independent and spanning, so it is a basis. So is the "tilted" list , showing bases are far from unique — but every vector still gets exactly one address relative to whichever basis you pick.
The central theorem
Let be a vector space over a field , and let be a list of vectors in . Then is a basis of if and only if every vector can be written as
for a unique choice of scalars .
We prove both directions. Let .
() Suppose is a basis. By the spanning condition, every has at least one representation
We must show this representation is unique. Suppose has two representations:
with . Subtracting the second equation from the first (using vector space axioms of additive inverses and distributivity of scalar multiplication over vector addition) gives
This is a linear combination of equal to the zero vector, with coefficients . Since is linearly independent, the only way a linear combination of equals is with all coefficients zero (this is precisely the definition of linear independence). Hence
so for every . The two representations coincide; representation is unique.
() Suppose every has a unique representation as a linear combination of . We must show is both spanning and independent. Spanning: By hypothesis every has some representation (existence is part of "unique representation" — uniqueness presupposes existence). Hence every lies in , so . Independence: Suppose for some scalars . The zero vector also has the trivial representation
By hypothesis, representations of any vector — in particular of — are unique. Since is a representation of , uniqueness forces it to coincide with the trivial one:
This is exactly the definition of linear independence for the list . Both directions are established using only the definitions of span and linear independence, and elementary vector space axioms (existence of additive inverses, distributivity); no result depending on this theorem was invoked, so the argument is non-circular.
∎If is spanned by a finite list of vectors, then has a basis, and that basis may be extracted from the spanning list by discarding redundant vectors one at a time. (This existence fact is a consequence of the <span class="wiki-link-missing">Steinitz Exchange Lemma</span> machinery and is developed fully alongside <a class="wiki-link" href="/wiki/math-linalg-dimension" data-track="wiki_article.body.wiki_link">Dimension</a>; it is stated here only to record that the definition of basis is never vacuous for finitely spanned spaces.)
Worked examples
Example 1 — a genuinely tilted basis of . Let , , . We show is a basis of and find the unique coordinates of . Independence. Suppose . Componentwise:
From the first equation, . Substituting into the second, , so . Substituting into the third, , so . Then and . The only solution is trivial, so is linearly independent. Spanning. Since is an independent list of 3 vectors in , and (as will be justified by the exchange lemma / dimension theory) any independent list of length equal to automatically spans , spans . To keep this example self-contained without invoking that theorem, we verify spanning directly by solving for arbitrary :
Solve: from equation 1, . Plug into equation 2: . Plug into equation 3:
This determines (hence ) for every , so a solution always exists: spans . Combined with independence, is a basis. Coordinates of . Using the formula above with :
Then
Check:
It checks out exactly. By the Unique Representation theorem, these are the only scalars representing in this basis — no other triple works.
Example 2 — polynomials: a non-monomial basis of . Let , polynomials of degree at most 2, with the standard basis well known to work. Consider instead
We check is a basis and express in it. Independence. Suppose (the zero polynomial). Expanding:
Matching coefficients of to zero gives the system
From the first, . From the second, . Substitute into the third: , hence . Independent. Spanning / coordinates of . We solve directly:
Add all three equations: , so . Subtracting each original equation from this sum:
Check: . ✓. Since this general solving procedure (a linear system with a unique solution for arbitrary right-hand side, as the same elimination argument works for any target coefficients) succeeds for every polynomial in , spans ; combined with independence, is a basis, and are the unique -coordinates of .
Consider and the list
This list spans : for any , we have . So the spanning half of the basis definition holds. But is not independent, since
is a nontrivial relation among the vectors. Because independence fails, the Unique Representation theorem's conclusion fails too: the vector has two different representations in ,
and in fact infinitely many, since for any ,
is also a valid representation (check: in each coordinate). This shows that spanning alone, without independence, permits — indeed guarantees, whenever the list is longer than a basis — multiple representations. Independence is exactly the ingredient the proof used to rule out this multiplicity, confirming that hypothesis is not removable.
Scope, edge cases & common traps
| Situation | What to watch for |
|---|---|
| The zero vector space | Its basis is the empty list ; the empty sum is defined as , so the theorem still holds vacuously/trivially. |
| A list containing | Any list including the zero vector is automatically dependent ( is a nontrivial-looking but valid dependency once other coefficients are ... more precisely already witnesses dependence by itself), so it can never be part of a basis. |
| Order of vectors in | A basis is a list (ordered), because coordinates are read off in that order; permuting the list gives a different (though related) coordinate system, so "the same set" with different orders is not "the same basis" for coordinate purposes. |
| Infinite-dimensional spaces | The definition adapts via indexed families and finite linear combinations; existence of a basis there needs the Axiom of Choice (Hamel bases) — genuinely more delicate and outside finite-dimensional scope here. |
| Confusing "spans" with "is a basis" | A spanning list that is too long is not a basis — check independence separately; a common student error is to stop after confirming spanning. |
The mathematician behind it
Origins · 1 minHermann Günther Grassmann and how this was discovered
Grassmann, a schoolteacher and largely self-taught mathematician in Stettin, developed in his 1844 treatise Die lineale Ausdehnungslehre ("Theory of Linear Extension") a strikingly general theory of vector spaces of arbitrary dimension, including the ideas of linear independence, span, and basis in essentially modern algebraic form, decades before the language of "vector space" was standardized. His work was so far ahead of contemporary notation and so densely written that it went largely unrecognized in his lifetime; he later shifted much of his energy to linguistics and Sanskrit scholarship, where he received more immediate recognition. Only after his death did mathematicians such as Peano formalize and popularize the axiomatic vector space concept that made Grassmann's basis theory the standard foundation of linear algebra.
Is a basis unique for a given vector space?
No — almost every nonzero vector space has infinitely many different bases. For instance has the standard basis , but also , , and infinitely many others, as long as the chosen vectors are independent and span. What is guaranteed (and proved via the Steinitz Exchange Lemma) is that every basis of a given finite-dimensional vector space has the same number of vectors, called the Dimension of the space. So while the specific basis is never unique, the count of vectors in any basis is a genuine invariant of itself.
Does every vector space have a basis?
Every finite-dimensional vector space that is spanned by finitely many vectors has a basis: start with any finite spanning list and discard vectors one at a time whenever one is a linear combination of the others, which strictly shrinks the list while preserving spanning; this process must terminate at an independent spanning list. Infinite-dimensional spaces (such as the space of all real sequences) also have bases (Hamel bases), but proving this in general requires the Axiom of Choice and such bases are typically impossible to write down explicitly.
Why does the order of vectors in a basis matter?
A basis is formally defined as an ordered list, not just a set, because the coordinates of a vector are read off in a specific slot-by-slot order: the -th coordinate corresponds to the -th basis vector. If you permute the list to , the same vector now has coordinates instead of . The underlying spanning set is identical, but the coordinate map — crucial for matrix representations of linear maps — depends on the ordering, so linear algebra conventionally treats bases as ordered.
How is "basis" different from just "spanning set" or "independent set"?
A spanning set guarantees every vector can be reached, but possibly in more than one way if the set has redundant vectors. An independent set guarantees no redundancy, but possibly fails to reach every vector in . A basis is the intersection of these two properties: enough vectors to reach everything, but no more than needed, which is exactly the combination that forces every vector to have one and only one representation, as the central theorem proves.
Can a basis of have fewer or more than vectors?
No. Although this article proves the basis definition and unique-representation equivalence without yet fixing the number of vectors, a companion result — the Steinitz Exchange Lemma — shows any independent list in has at most vectors, and any spanning list has at least vectors. Combining these forces every basis of to have exactly vectors, which is why we call the dimension of .
What goes wrong if I only check independence and skip checking spanning?
An independent list that does not span is not a basis; it correctly gives unique representations, but only for the smaller subspace it spans, not for all of . For example, is independent in but only spans the -plane, missing vectors like entirely — such a vector has zero representations in this list, not one, so the Unique Representation theorem's conclusion (which asserts existence and uniqueness for every vector in ) genuinely fails for vectors outside the span.
Is the empty list a basis of any vector space?
Yes: the empty list is the basis of the zero vector space . Vacuously, the empty list is linearly independent (there are no nontrivial coefficient choices to check), and its span is defined to be (the span of no vectors is, by convention, the singleton containing only the zero vector, since the empty sum equals ). This matches the theorem: the only vector in , namely itself, has the unique (empty) representation as the empty linear combination.