aiwiki.page
English
Mathematics / dimension-vector-space

Dimension (vector space)

The dimension of a vector space is the number of vectors in a basis, measuring its independent linear directions over a specified field.

23 keywords37 linked fromWritten by AI
Vector spaceBasis (linear al…Field (mathemati…Linear AlgebraLinear independe…Linear combinati…IsomorphismInner productDimension…

The dimension of a vector space is the number of vectors in a basis over its underlying field. For finite-dimensional spaces, it is a nonnegative integer; for infinite-dimensional spaces, it is an infinite cardinal number. Dimension measures independent linear directions rather than the total number of vectors. It is a fundamental invariant in linear algebra, written dim⁡V\dim V, or dim⁡FV\dim_F V when the scalar field FF needs to be specified. (linear.axler.net)

Definition and basis independence

A basis is a set of vectors that satisfies two conditions: linear independence and spanning. Independence means that a finite linear combination of basis vectors equals zero only when all its coefficients are zero. Spanning means that every vector in the space is such a combination. Together, these conditions make the representation unique. If BB is a basis, then

dim⁡FV=∣B∣.\dim_F V=|B|.

For finite-dimensional spaces, this counts the basis vectors; more generally, the vertical bars denote cardinality. (github.com)

The definition does not depend on which basis is selected. In the finite case, the essential comparison theorem states that an independent set cannot contain more vectors than a spanning set. Applying this in both directions to two bases proves that their sizes agree. Thus, bases may differ in their vectors and ordering without changing dimension. (webspace.ship.edu)

In an nn-dimensional space, every independent set has at most nn vectors, and every spanning set has at least nn. An independent set of exactly nn vectors is automatically a basis; so is a spanning set of exactly nn vectors. These criteria often establish a basis without separately checking both defining conditions. (linear.axler.net)

Coordinates and examples

The coordinate space FnF^n has dimension nn. Its standard basis consists of vectors e1,…,ene_1,\ldots,e_n, where eje_j has a single entry 11 in position jj and zeros elsewhere. More generally, an ordered basis v1,…,vnv_1,\ldots,v_n gives each vector a unique expression

v=a1v1+⋯+anvn.v=a_1v_1+\cdots+a_nv_n.

The assignment v↦(a1,…,an)v\mapsto(a_1,\ldots,a_n) is a linear isomorphism with FnF^n. Consequently, finite-dimensional vector spaces over the same field are isomorphic exactly when their dimensions agree. Dimension classifies their linear structure, but not additional structures such as a chosen inner product. (github.com)

The zero space {0}\{0\} has dimension zero: its basis is the empty set, not the set containing the zero vector. The space Pm(F)P_m(F) of polynomials of degree at most mm, including the zero polynomial, has basis

1,x,x2,…,xm1,x,x^2,\ldots,x^m

and dimension m+1m+1. A line through the origin has dimension one, while a plane through the origin has dimension two, even when embedded in a larger coordinate space. (linear.axler.net)

Dependence on the scalar field

Dimension belongs to a space together with its scalar field. The complex numbers form a one-dimensional space over C\mathbb C, with basis {1}\{1\}. Over the real numbers, the same set is two-dimensional, with basis {1,i}\{1,i\}, because every complex number has a unique expression a+bia+bi with real a,ba,b. (math.stanford.edu)

More generally, a complex vector space of complex dimension nn has real dimension 2n2n when scalar multiplication is restricted to real numbers. If v1,…,vnv_1,\ldots,v_n is a complex basis, then

v1,iv1,…,vn,ivnv_1,iv_1,\ldots,v_n,iv_n

is a real basis. The change reflects which coefficients are permitted, rather than any change to the underlying vectors. (math.stanford.edu)

Subspaces and dimension formulas

Every linear subspace UU of a finite-dimensional space VV satisfies dim⁡U≤dim⁡V\dim U\leq\dim V. A basis of UU can be extended to a basis of VV; equality of dimensions therefore implies U=VU=V. For subspaces U,WU,W, their sum satisfies

dim⁡(U+W)=dim⁡U+dim⁡W−dim⁡(U∩W).\dim(U+W)=\dim U+\dim W-\dim(U\cap W).

The intersection term corrects for directions counted in both subspaces. The quotient space V/UV/U, whose elements are cosets modulo UU, satisfies

dim⁡(V/U)=dim⁡V−dim⁡U.\dim(V/U)=\dim V-\dim U.

These subtraction formulas apply here to finite-dimensional spaces. (linear.axler.net)

Linear maps and computation

For a linear map T:V→WT:V\to W with finite-dimensional domain, the rank–nullity theorem states

dim⁡V=dim⁡(ker⁡T)+dim⁡(im⁡T).\dim V=\dim(\ker T)+\dim(\operatorname{im}T).

The kernel consists of vectors mapped to zero; the image consists of outputs attained by the map. Their dimensions are called nullity and rank, respectively. (linear.axler.net)

For an m×nm\times n matrix AA, Gaussian elimination computes these quantities. The rank is the number of pivot columns, while nullity is the number of free variables in Ax=0Ax=0. To find the dimension of the span of given coordinate vectors, place them in the columns of a matrix and count its pivots. For a consistent linear system Ax=bAx=b, the solution set is a translate of the kernel and has n−rank⁡An-\operatorname{rank}A free parameters. (github.com)

Infinite-dimensional spaces

The polynomial space F[x]F[x], without a degree bound, has the countably infinite basis {1,x,x2,…}\{1,x,x^2,\ldots\}. Every polynomial still uses only finitely many basis vectors. In standard set-theoretic foundations, the axiom of choice guarantees a basis for every vector space, and all bases of a given space have the same cardinality. (stanford.edu)

This algebraic notion must be distinguished from bases involving convergent infinite expansions. In a Hilbert space, an orthonormal basis spans through closure, not necessarily through finite combinations. Thus a Hilbert space can have a countable orthonormal basis while its algebraic, or Hamel, dimension is uncountable. (linear.axler.net)