Dimension

How many numbers does it take to describe a point in space? For the plane the answer is two. For ordinary space it is three. For the space of polynomials of degree less than nn it is nn. Every one of these answers is really a statement about the size of a basis. The deep fact making the question sensible at all is that every basis of a given vector space has the same size. Without that fact, "dimension" would be meaningless. A space could be 33-dimensional on Tuesdays and 55-dimensional on Fridays, depending on which basis you happened to pick. This article proves that well-definedness, using the Steinitz Exchange Lemma as the load-bearing tool. It then defines the dimension of a finite-dimensional vector space as the common cardinality of its bases. The result is one of the shortest and most consequential theorems in linear algebra. It converts a fact about a chosen basis into an invariant of the space itself. This is a number that does not care how you look at the space. Everything downstream rests on this invariance — coordinate representations, rank-nullity, and the classification of finite-dimensional vector spaces up to isomorphism. The chapter also nails down what "finite-dimensional" means. It computes the dimension of the standard examples (Fn\mathbb{F}^n, matrix spaces, polynomial spaces). It also shows how dimension controls linear independence and spanning. In an nn-dimensional space, no set of more than nn vectors can be independent. Likewise, no set of fewer than nn vectors can span. These two one-line consequences of the exchange lemma are used constantly. They are worth memorizing as reflexes. By the end you will have a single clean theorem (Well-Definedness of Dimension). You will also have a full proof built only from the exchange lemma and the definition of a basis. The article includes worked computations in R3\mathbb{R}^3 and in a matrix space. Finally, it gives a precise sense of where the finite-dimensional theory stops. That is also where the infinite-dimensional theory begins — where "dimension" needs cardinal numbers.

Key takeaways
  • A basis of a vector space VV is a linearly independent spanning set; VV is finite-dimensional if some basis is finite (or V={0}V = \{0\}).
  • Every two bases of a finite-dimensional vector space have the same number of elements — this is the content of the theorem proved here.
  • This common size is called dim⁡V\dim V, the dimension of VV; it is a well-defined nonnegative integer.
  • The proof rests entirely on the Steinitz Exchange Lemma: a linearly independent set can never outnumber a spanning set.
  • Consequences used constantly: any independent set with dim⁡V\dim V elements is a basis; any spanning set with dim⁡V\dim V elements is a basis; independent sets have size ≤dim⁡V\le \dim V and spanning sets have size ≥dim⁡V\ge \dim V.
  • Key idea: dimension is well-defined because independence bounds spanning size from below and spanning bounds independence from above, squeezing every basis to the same length.

Where this lives today

Dimension is the single number that lets linear algebra talk about "size" at all, and every field that uses linear algebra leans on it. In numerical linear algebra, the dimension of a solution space (the kernel of a matrix) controls how many free parameters a linear system has, feeding directly into the rank–nullity theorem. In quantum mechanics, the state space of a physical system is a (finite- or infinite-dimensional) Vector Space over C\mathbb{C}, and the dimension of the Hilbert space for a qubit (22), a qutrit (33), or a composite system of nn qubits (2n2^n) directly determines how much information the system can encode — the whole subject of quantum information theory tracks dimension counts obsessively. In coding theory and cryptography, a linear code is a subspace of Fqn\mathbb{F}_q^n, and its dimension kk (giving code parameters [n,k][n,k]) determines the information rate of the code; error-correcting capability and rate trade off precisely through dimension. In statistics, the dimension of the column space of a design matrix is the number of independent parameters a linear regression model can estimate, and degrees-of-freedom counts in ANOVA are dimension computations for nested subspaces. In computer graphics and robotics, the dimension of a configuration space (e.g., the space of joint angles of a robot arm, linearized locally) determines the degrees of freedom of a mechanism. In pure mathematics, dimension is the starting invariant for classifying finite-dimensional vector spaces up to isomorphism — two finite-dimensional spaces over the same field are isomorphic exactly when they have the same dimension, a fact that follows immediately once Coordinates Relative to a Basis are introduced.

:::quiz[Which hypothesis is essential in the Well-Definedness of Dimension theorem, and is violated by R[x]\mathbb{R}[x] with basis {1,x,x2,… }\{1,x,x^2,\dots\}?]

  • VV must be over an infinite field
  • VV must have a finite basis ✓
  • VV must be a subspace of Rn\mathbb{R}^n
  • The basis must be orthogonal

Ask the tutor: How does dimension combine with subspaces to give the dimension formulas dim⁡(U+W)=dim⁡U+dim⁡W−dim⁡(U∩W)\dim(U+W) = \dim U + \dim W - \dim(U\cap W)?

DefinitionDimension of a vector space

Let VV be a vector space over a field F\mathbb{F}. A basis of VV is a subset B⊆VB \subseteq V that is linearly independent and spans VV. VV is called finite-dimensional if V={0}V = \{0\} or if VV has a finite basis B={v1,…,vn}B = \{v_1,\dots,v_n\}. If VV is not finite-dimensional, it is called infinite-dimensional. Suppose VV is finite-dimensional. The dimension of VV, written dim⁡V\dim V (or dim⁡FV\dim_{\mathbb{F}} V when the field needs emphasis), is defined by

dim⁡V  =  {0if V={0},nif V≠{0} and some basis of V has n elements.\dim V \;=\; \begin{cases} 0 & \text{if } V = \{0\}, \\ n & \text{if } V \ne \{0\} \text{ and some basis of } V \text{ has } n \text{ elements.} \end{cases}

This is only a legitimate definition if the number nn does not depend on which basis was chosen — that independence of choice is exactly the content of the theorem below, and it is what makes "dim⁡V\dim V" a single well-defined nonnegative integer rather than a basis-dependent quantity.

Intuition

Think of a basis as a minimal, non-redundant "coordinate grid" for VV: every vector in VV is a unique linear combination of the basis vectors, so once you fix a basis, every point of VV becomes a list of nn scalars. The number nn feels like it should be a property of the space, not of the grid — rotating the axes of R3\mathbb{R}^3 still gives three axes, never two or four. The exchange lemma is the precise mechanism that forbids a "four-axis grid" and a "two-axis grid" from coexisting: it lets you trade elements of one basis for elements of another, one at a time, without ever running out of room, which forces the two bases to match in size. Picture two bases of the same plane V=R2V = \mathbb{R}^2: B1={(1,0),(0,1)}B_1 = \{(1,0),(0,1)\} and B2={(1,1),(1,−1)}B_2 = \{(1,1),(1,-1)\}. Both have exactly two vectors. The exchange lemma says this is not a coincidence — it is a mathematical necessity, because B1B_1 is independent and B2B_2 spans (so ∣B1∣≤∣B2∣|B_1|\le|B_2|), and symmetrically B2B_2 is independent and B1B_1 spans (so ∣B2∣≤∣B1∣|B_2|\le|B_1|).

Figure
Two different bases of the same plane, both of size 2
e₁=(1,0) e₂=(0,1) B₁ = {e₁, e₂}, size 2 v₁=(1,1) v₂=(1,-1) B₂ = {v₁, v₂}, size 2

The central theorem

TheoremWell-Definedness of Dimension

Let VV be a vector space over a field F\mathbb{F}, and suppose VV has a finite basis B1={u1,…,un}B_1 = \{u_1,\dots,u_n\} with nn vectors. Then every basis of VV is finite and has exactly nn vectors.

LemmaSteinitz Exchange Lemma

Let VV be a vector space over F\mathbb{F}. Suppose S={u1,…,un}S = \{u_1,\dots,u_n\} spans VV and T={w1,…,wm}T = \{w_1,\dots,w_m\} is linearly independent in VV. Then m≤nm \le n.

Proof

(This lemma is assumed known as a prerequisite; we record its proof technique — repeated exchange — for completeness and because the dimension theorem is built directly on it.) We argue by induction on kk the claim: for each 0≤k≤m0 \le k \le m, after reordering u1,…,unu_1,\dots,u_n if necessary, the set

{w1,…,wk,uk+1,…,un}\{w_1,\dots,w_k, u_{k+1},\dots,u_n\}

still spans VV, and in particular k≤nk \le n.

Base case k=0k=0: the set is {u1,…,un}=S\{u_1,\dots,u_n\}=S, which spans VV by hypothesis, and 0≤n0\le n trivially.

Inductive step. Suppose the claim holds for some k<mk<m, so after reordering, {w1,…,wk,uk+1,…,un}\{w_1,\dots,w_k,u_{k+1},\dots,u_n\} spans VV. Since this set spans VV and wk+1∈Vw_{k+1}\in V, we may write

wk+1=∑i=1kaiwi+∑j=k+1nbjujw_{k+1} = \sum_{i=1}^k a_i w_i + \sum_{j=k+1}^n b_j u_j

for scalars ai,bj∈Fa_i,b_j\in\mathbb{F}. If k=nk=n, this equation expresses wk+1w_{k+1} as a linear combination of w1,…,wkw_1,\dots,w_k alone, contradicting the linear independence of TT (since w1,…,wk+1w_1,\dots,w_{k+1} would then be dependent). Hence k<nk<n, so k+1≤nk+1\le n, proving k+1≤nk+1 \le n as required at this stage of the induction. Since k<nk<n, at least one bjb_j is nonzero (otherwise the same contradiction with independence of TT arises, as wk+1w_{k+1} would be a combination of the wiw_i's only). Reorder uk+1,…,unu_{k+1},\dots,u_n so that bk+1≠0b_{k+1}\ne 0. Then we can solve for uk+1u_{k+1}:

uk+1=bk+1−1(wk+1−∑i=1kaiwi−∑j=k+2nbjuj).u_{k+1} = b_{k+1}^{-1}\Bigl(w_{k+1} - \sum_{i=1}^k a_i w_i - \sum_{j=k+2}^n b_j u_j\Bigr).

This shows uk+1u_{k+1} lies in the span of {w1,…,wk+1,uk+2,…,un}\{w_1,\dots,w_{k+1},u_{k+2},\dots,u_n\}. Since {w1,…,wk,uk+1,…,un}\{w_1,\dots,w_k,u_{k+1},\dots,u_n\} spans VV (inductive hypothesis) and every vector in that spanning set — including uk+1u_{k+1} — lies in the span of {w1,…,wk+1,uk+2,…,un}\{w_1,\dots,w_{k+1},u_{k+2},\dots,u_n\}, this new set also spans VV. This completes the induction. Taking k=mk=m in the claim, we obtain m≤nm \le n, as desired. ■\blacksquare

∎
Proof

(Proof of Well-Definedness of Dimension, using the Steinitz Exchange Lemma. Proof technique: apply the exchange lemma in both directions.) Let B1={u1,…,un}B_1=\{u_1,\dots,u_n\} be the given finite basis of VV, and let B2B_2 be any other basis of VV. We must show B2B_2 is finite with exactly nn elements.

Step 1: B2B_2 is finite, and if finite with mm elements then m≤nm \le n. Suppose first that B2B_2 contains a finite subset T={w1,…,wm}T=\{w_1,\dots,w_m\} with m>nm>n. Since B2B_2 is linearly independent (being a basis), TT is linearly independent. Since B1B_1 spans VV, the exchange lemma applies with S=B1S=B_1 (size nn) and this TT (size mm), giving m≤nm\le n — contradicting m>nm>n. Hence B2B_2 cannot contain a finite independent subset of size greater than nn; consequently every finite subset of B2B_2 has at most nn elements. If B2B_2 were infinite, it would contain finite subsets of arbitrarily large size, contradicting the previous sentence. So B2B_2 is finite, say B2={w1,…,wm}B_2=\{w_1,\dots,w_m\} with m≤nm\le n by the exchange lemma applied directly to S=B1S=B_1, T=B2T=B_2.

Step 2: n≤mn \le m. Now reverse the roles. B2={w1,…,wm}B_2=\{w_1,\dots,w_m\} spans VV (it is a basis), and B1={u1,…,un}B_1=\{u_1,\dots,u_n\} is linearly independent (it is a basis). Applying the exchange lemma with S=B2S=B_2 (spanning, size mm) and T=B1T=B_1 (independent, size nn) gives

n≤m.n \le m.

Step 3: conclude. Combining Step 1 (m≤nm\le n) and Step 2 (n≤mn\le m) gives m=nm=n. Thus every basis B2B_2 of VV is finite and has exactly nn elements, matching the size of B1B_1. ■\blacksquare

∎
CorollaryDimension is a well-defined nonnegative integer

For a finite-dimensional vector space VV, the quantity dim⁡V\dim V in the Definition of Dimension does not depend on the choice of basis used to compute it; it is a single well-defined element of {0,1,2,3,… }\{0,1,2,3,\dots\}.

Proof

If V={0}V=\{0\}, dim⁡V=0\dim V=0 by definition, with no ambiguity. If V≠{0}V\ne\{0\}, fix any finite basis B1B_1 with n=∣B1∣n=|B_1| elements — such a basis exists because VV is finite-dimensional. By the theorem just proved, every other basis of VV also has exactly nn elements. Hence "the number of elements in a basis of VV" is a single number nn, independent of which basis was used to compute it, and dim⁡V:=n\dim V := n is well defined. ■\blacksquare

∎
CorollaryIndependent sets, spanning sets, and dimension

Let VV be finite-dimensional with dim⁡V=n\dim V = n. Then: 1. Any linearly independent subset of VV has at most nn elements. 2. Any spanning subset of VV has at least nn elements. 3. Any linearly independent subset of VV with exactly nn elements is a basis. 4. Any spanning subset of VV with exactly nn elements is a basis.

Proof

Fix a basis BB of VV with ∣B∣=n|B|=n (exists by finite-dimensionality and is well defined by the theorem). (1) If T⊆VT\subseteq V is independent, apply the exchange lemma with S=BS=B (spans VV, size nn) and this TT: independence of TT and spanning of BB give ∣T∣≤n|T|\le n whenever TT is finite; and as in Step 1 of the theorem's proof, an infinite independent set would contain finite independent subsets of size >n>n, impossible. So TT is finite with ∣T∣≤n|T|\le n. (2) If T⊆VT\subseteq V spans VV, apply the exchange lemma with S=TS=T (spanning) and the independent set BB (size nn): this gives n≤∣T∣n\le |T| whenever TT is finite. If TT were infinite the inequality n≤∣T∣n \le |T| trivially holds as well (an infinite set is not smaller than nn), so in all cases ∣T∣≥n|T|\ge n. (3) Let TT be independent with ∣T∣=n|T|=n. Suppose toward contradiction that TT does not span VV; then there is v∈V∖span⁡(T)v\in V\setminus \operatorname{span}(T). The set T∪{v}T\cup\{v\} is linearly independent — for if c0v+∑iciti=0c_0 v + \sum_i c_i t_i = 0 with not all ci,c0c_i, c_0 zero, then c0≠0c_0\ne 0 (else independence of TT forces all ci=0c_i=0 too), so v=−c0−1∑iciti∈span⁡(T)v = -c_0^{-1}\sum_i c_i t_i \in \operatorname{span}(T), contradicting the choice of vv. But T∪{v}T\cup\{v\} is then an independent set of size n+1n+1, contradicting part (1). Hence TT spans VV, and being independent and spanning, TT is a basis. (4) Let TT span VV with ∣T∣=n|T|=n. Suppose toward contradiction TT is linearly dependent. Then some t0∈Tt_0\in T is a linear combination of the others (a standard fact about dependent sets: some element lies in the span of the rest), so T∖{t0}T\setminus\{t_0\} still spans VV and has n−1n-1 elements, contradicting part (2) applied to the spanning set T∖{t0}T\setminus\{t_0\}. Hence TT is independent, and being independent and spanning, TT is a basis. ■\blacksquare

∎

Worked examples

Example 1: Dimension of a subspace of R4\mathbb{R}^4 described by two independent constraints. Let

W={(x1,x2,x3,x4)∈R4:x1−2x2+x3=0,  x2+x4=0}.W = \{(x_1,x_2,x_3,x_4)\in\mathbb{R}^4 : x_1 - 2x_2 + x_3 = 0,\ \ x_2 + x_4 = 0\}.

We compute dim⁡W\dim W directly by exhibiting and verifying a basis, then invoking the theorem to know the answer is basis-independent. Solve the constraints. From the second equation, x4=−x2x_4 = -x_2. From the first, x1=2x2−x3x_1 = 2x_2 - x_3. So every vector of WW has the form

(2x2−x3,  x2,  x3,  −x2)=x2(2,1,0,−1)+x3(−1,0,1,0),(2x_2-x_3,\; x_2,\; x_3,\; -x_2) = x_2(2,1,0,-1) + x_3(-1,0,1,0),

with x2,x3∈Rx_2,x_3\in\mathbb{R} free. Let v1=(2,1,0,−1)v_1=(2,1,0,-1), v2=(−1,0,1,0)v_2=(-1,0,1,0). We have shown {v1,v2}\{v_1,v_2\} spans WW. Independence: suppose av1+bv2=0a v_1 + b v_2 = 0. Comparing the second coordinate, a⋅1+b⋅0=0⇒a=0a\cdot 1 + b\cdot 0 = 0 \Rightarrow a=0. Comparing the third coordinate, a⋅0+b⋅1=0⇒b=0a\cdot 0 + b\cdot 1 = 0 \Rightarrow b=0. So {v1,v2}\{v_1,v_2\} is linearly independent. Thus {v1,v2}\{v_1,v_2\} is a basis of WW, and by the well-definedness theorem this is the number of vectors in every basis of WW:

dim⁡W=2.\dim W = 2.

As a check via Corollary (Independent sets, spanning sets, dimension): since dim⁡W=2\dim W=2, no independent subset of WW can have 33 or more vectors. Indeed v3=(1,1,1,−1)=v1+v2⋅(−1)v_3=(1,1,1,-1)=v_1+v_2\cdot(-1)... let's verify directly: is v3=(1,1,1,−1)v_3 = (1,1,1,-1) a combination of v1,v2v_1,v_2? We'd need 2a−b=1, a=1, b=1, −a=−12a-b=1,\ a=1,\ b=1,\ -a=-1. From a=1,b=1a=1,b=1: check first equation 2(1)−1=12(1)-1=1 ✓, last −1=−1-1=-1 ✓. So indeed v3=v1+v2v_3=v_1+v_2, confirming v3∈Wv_3\in W but {v1,v2,v3}\{v_1,v_2,v_3\} is automatically dependent, consistent with dim⁡W=2\dim W = 2.

Example 2: Dimension of the space of 2×32\times 3 matrices with a trace-like linear constraint. Let V=M2×3(R)V = M_{2\times 3}(\mathbb{R}), the space of all real 2×32\times 3 matrices, and let

U={A∈M2×3(R):a11+2a12−a23=0},U = \{A \in M_{2\times 3}(\mathbb{R}) : a_{11} + 2a_{12} - a_{23} = 0\},

where A=(a11a12a13a21a22a23)A = \begin{pmatrix} a_{11}&a_{12}&a_{13}\\ a_{21}&a_{22}&a_{23}\end{pmatrix}. First, dim⁡M2×3(R)=6\dim M_{2\times3}(\mathbb{R}) = 6: the six matrix units EijE_{ij} (having a 11 in position (i,j)(i,j) and 00 elsewhere, for i∈{1,2}i\in\{1,2\}, j∈{1,2,3}j\in\{1,2,3\}) are easily checked to be independent (a vanishing linear combination has each coefficient equal to the corresponding matrix entry, so all coefficients are 00) and to span (every matrix is the combination of the EijE_{ij} with coefficients equal to its own entries). Hence they form a basis, so dim⁡M2×3(R)=6\dim M_{2\times 3}(\mathbb{R})=6 by the theorem. Now for UU: it is the solution set of one linear equation in the 66 free entries a11,a12,a13,a21,a22,a23a_{11},a_{12},a_{13},a_{21},a_{22},a_{23}, namely a11+2a12−a23=0a_{11}+2a_{12}-a_{23}=0, i.e. a11=−2a12+a23a_{11} = -2a_{12}+a_{23}. Every matrix in UU is determined by choosing a12,a13,a21,a22,a23a_{12},a_{13},a_{21},a_{22},a_{23} freely (5 free scalars) and setting a11=−2a12+a23a_{11}=-2a_{12}+a_{23}. So a natural spanning set for UU is obtained by setting each free variable to 11 in turn and the rest to 00:

B1=(−210000),  B2=(001000),  B3=(000100),  B4=(000010),  B5=(100001).B_1 = \begin{pmatrix}-2&1&0\\0&0&0\end{pmatrix},\; B_2 = \begin{pmatrix}0&0&1\\0&0&0\end{pmatrix},\; B_3 = \begin{pmatrix}0&0&0\\1&0&0\end{pmatrix},\; B_4 = \begin{pmatrix}0&0&0\\0&1&0\end{pmatrix},\; B_5 = \begin{pmatrix}1&0&0\\0&0&1\end{pmatrix}.

(These come from setting (a12,a13,a21,a22,a23)(a_{12},a_{13},a_{21},a_{22},a_{23}) equal to the five standard basis vectors of R5\mathbb{R}^5 and reading off a11a_{11} each time.) Spanning: every A∈UA \in U equals a12B1+a13B2+a21B3+a22B4+a23B5a_{12}B_1 + a_{13}B_2 + a_{21}B_3 + a_{22}B_4 + a_{23}B_5 — check the (1,1)(1,1)-entry of this combination is −2a12+a23=a11-2a_{12}+a_{23}=a_{11} as required, and all other entries match by inspection. Independence: if c1B1+⋯+c5B5=0c_1B_1+\cdots+c_5B_5 = 0, then comparing entries (1,2),(1,3),(2,1),(2,2),(2,3)(1,2),(1,3),(2,1),(2,2),(2,3) directly gives c1=0,c2=0,c3=0,c4=0,c5=0c_1=0,c_2=0,c_3=0,c_4=0,c_5=0 (each of these five positions is touched by only one BiB_i). So {B1,…,B5}\{B_1,\dots,B_5\} is a basis of UU, and by the theorem,

dim⁡U=5=dim⁡M2×3(R)−1.\dim U = 5 = \dim M_{2\times3}(\mathbb{R}) - 1.

This matches the general principle (a foreshadow of dimension formulas) that imposing one nontrivial linear constraint drops dimension by exactly 11.

CounterexampleWhy finite-dimensionality is needed: the theorem can fail to even make sense without it

The well-definedness theorem assumes VV has a finite basis. Drop this hypothesis and the statement "every basis has nn elements" is not merely false — it becomes a different kind of statement altogether, one the finite-dimensional proof cannot address. Let V=R[x]V = \mathbb{R}[x], the space of all real polynomials (no bound on degree). The set

B={1,x,x2,x3,… }B = \{1, x, x^2, x^3, \dots\}

is linearly independent (a finite linear combination ∑cixi=0\sum c_i x^i = 0 as a polynomial forces every ci=0c_i=0, since a nonzero polynomial of degree dd has at most dd roots, so it cannot vanish identically unless all coefficients vanish) and spans VV (every polynomial is by definition a finite sum of scalar multiples of powers of xx). So BB is a basis, but it is infinite. Here the exchange lemma, as proved above, gives no contradiction: it only bounds a finite independent set against a finite spanning set. If we try to run the finite-dimensional proof, Step 1 breaks down immediately — there is no finite spanning set B1B_1 to compare against, so the inequality m≤nm \le n is never produced, and the entire squeeze argument has no anchor. It is true (via a more elaborate cardinal-arithmetic argument, beyond the scope of the finite exchange lemma) that any two bases of R[x]\mathbb{R}[x] have the same cardinality — here, countably infinite. But this requires the theory of infinite-dimensional bases (Hamel bases) and cardinal comparison, not the finite exchange lemma used above; it is not a corollary of the theorem proved in this article. This is exactly why finite-dimensionality is stated as an explicit hypothesis, and why Infinite-Dimensional Vector Spaces need their own separate treatment.

Scope, edge cases & common traps

SituationWhat happensWhy
V={0}V = \{0\}dim⁡V=0\dim V = 0, basis is ∅\varnothingThe empty set is vacuously independent and spans {0}\{0\}
VV has one finite basis of size nnEvery basis has size nnWell-Definedness of Dimension theorem
VV infinite-dimensional (e.g. R[x]\mathbb{R}[x])"dim⁡V\dim V" as an integer is undefined hereNo finite basis exists; needs cardinal-number theory
Field changes (e.g. C\mathbb{C} as R\mathbb{R}-space vs. C\mathbb{C}-space)dim⁡RC=2\dim_{\mathbb{R}}\mathbb{C}=2, dim⁡CC=1\dim_{\mathbb{C}}\mathbb{C}=1Dimension depends on the scalar field, not just the additive group
Comparing bases across different subspacesSizes need not matchTheorem only compares bases of the same space VV

The mathematician behind it

Origins · 1 minErnst Steinitz and how this was discovered
ES
Ernst Steinitz
1871–1928 · German mathematician, algebra and combinatorics

Ernst Steinitz worked in Breslau (now Wrocław) and Kiel, and is best known in this corner of mathematics for the 1910 paper "Algebraische Theorie der Körper" ("Algebraic Theory of Fields"), which laid rigorous foundations for abstract field theory — including the classification of fields by characteristic and transcendence degree, ideas that run in close parallel to the basis-exchange argument used to make dimension well defined. The "exchange" technique bearing his name — swapping elements of an independent set for elements of a spanning set one at a time — appears in that broader context of proving invariants (like transcendence degree) are well defined, exactly mirroring its role for vector space dimension.

History
- 1871 — Ernst Steinitz born in Laurahütte, German Empire (now Siemianowice Śląskie, Poland).
- 1894 — Steinitz completes his doctorate in Breslau, working in geometry and combinatorics.
- 1910 — Publishes "Algebraische Theorie der Körper," introducing exchange-style arguments to establish well-definedness of field-theoretic invariants.
- Early 1900s–1920s — The exchange-lemma technique is absorbed into the developing axiomatic theory of vector spaces, giving the modern proof that dimension is well defined.
- 1928 — Steinitz dies in Kiel; the exchange lemma and the resulting dimension theory become standard content in linear algebra by mid-century.
Why isn't dimension just "the number of coordinates," defined however you like?

That informal idea is exactly what the theorem makes rigorous. "Number of coordinates" secretly means "number of vectors in the basis you used to set up coordinates," and a priori different bases could give different counts. The Well-Definedness of Dimension theorem proves this cannot happen: any two bases of the same finite-dimensional space have the same size. Only because of this proof can we drop the phrase "using this particular basis" and say a space simply has a dimension, as an intrinsic number attached to the space itself, independent of any coordinate choice.

Does the theorem also work for infinite-dimensional spaces, just with infinite cardinal numbers instead of integers?

A generalized version is true — any two bases (Hamel bases) of an infinite-dimensional vector space have the same cardinality — but that is a genuinely different theorem, proved with different tools (typically via the axiom of choice and comparison of infinite cardinalities), not a direct corollary of the finite Steinitz exchange lemma used here. The finite exchange lemma compares only finite sets. Extending it to infinite bases requires infinite combinatorics beyond this article's scope; see Infinite-Dimensional Vector Spaces.

If I find one spanning set and one independent set of the same size in VV, do I automatically get a basis?

Almost, but check the logic carefully: you need the same set to be both independent and spanning, not merely two different sets of matching size. However, once you know dim⁡V=n\dim V = n, Corollary (Independent sets, spanning sets, and dimension) does give a shortcut: any independent set of size nn is automatically a basis, and any spanning set of size nn is automatically a basis. So finding either one, once you know dim⁡V=n\dim V=n in advance, suffices — you don't need to separately check both properties.

Can a vector space have two different finite dimensions depending on context?

No — dimension is fixed once the field of scalars is fixed. What changes with context is the field itself. For example, Cn\mathbb{C}^n has dimension nn as a complex vector space but dimension 2n2n as a real vector space, because a complex basis of size nn corresponds to a real basis of size 2n2n (each complex basis vector vv contributes vv and iviv as two real-independent directions). This is not an inconsistency in the theorem; it reflects that "VV as an F\mathbb{F}-vector space" already specifies the field, and dimension is well defined relative to that field.

Why does the proof need both directions of the exchange lemma — spanning bounding independence, and independence bounding spanning?

Because equality m=nm=n can only be squeezed out from two inequalities pointing in opposite directions. Applying the exchange lemma once (with B1B_1 spanning against B2B_2 independent) gives only ∣B2∣≤∣B1∣|B_2|\le |B_1| — a one-sided bound. To get the reverse bound ∣B1∣≤∣B2∣|B_1|\le|B_2|, you must apply the lemma again with the roles of B1B_1 and B2B_2 swapped, since B2B_2 is also a basis and therefore also spans while B1B_1 is also independent. Both applications are needed; neither alone proves equality.

Is dim⁡({0})=0\dim(\{0\}) = 0 really consistent with the rest of the theory, given that the empty set is a strange-looking basis?

Yes, and it is the right convention. The empty set ∅\varnothing is vacuously linearly independent (there is no nontrivial finite linear combination of zero vectors to worry about) and its span is {0}\{0\} by the convention that an empty sum of vectors equals the zero vector. So ∅\varnothing satisfies both defining properties of a basis for V={0}V=\{0\}, has 00 elements, and by the theorem every basis of {0}\{0\} must also have 00 elements — consistent, since {0}\{0\} has no nonzero vectors to include in any independent set.

Before this

Where this leads