Basis and dimension

A Hamel basis is a linearly independent set that spans the whole vector space
Basis and dimension

Let XX be a over KK, and let BXB\subset X.

A set BB is a basis (also called a Hamel basis) of XX if:

  1. BB is , and
  2. every xXx\in X can be written as a finite linear combination of elements of BB, i.e., there exist mNm\in\mathbb{N}, x1,,xmBx_1,\dots,x_m\in B, and α1,,αmK\alpha_1,\dots,\alpha_m\in K such that x=i=1mαixi. x=\sum_{i=1}^m \alpha_i x_i.

If XX has a basis with finitely many elements, then XX is finite-dimensional, and the number of basis vectors is the dimension dim(X)\dim(X). If no finite basis exists, XX is infinite-dimensional (often written dim(X)=\dim(X)=\infty).

The existence of a Hamel basis in full generality uses set-theoretic choice; see .

Examples:

  • The set {e1,,en}\{e_1,\dots,e_n\} is a basis of Rn\mathbb{R}^n, so dim(Rn)=n\dim(\mathbb{R}^n)=n.
  • The polynomials of degree m\le m form a vector space with basis {1,t,,tm}\{1,t,\dots,t^m\}, so its dimension is m+1m+1.
  • The space of all sequences ss is infinite-dimensional (no finite set can generate all sequences by finite linear combinations).