<math>
y=(b-a)/3, \,<math>
and finally
- <math> x=y+a=((b-a)/3)+a. \,<math>
Example II: It is easy to show that the vectors E1, E2, ..., En are linearly independent and generate Rn. Therefore, they form a basis for Rn and the dimension of Rn is n.
Example III: Let W be the real vector space generated by the functions et, e2t. The two functions are linearly independent, and therefore form a basis for W.
Example IV: Let R[x] denote the vector space of real polynomials, then (1, x, x2, ...) is a basis of R[x]. The dimension of R[x] is therefore equal to aleph-0.
Basis extension
Between any linearly independent set and any generating set there is a basis. More formally: if L is a linearly independent set in the vector space V and G is a generating set of V containing L, then there exists a basis of V that contains L and is contained in G. In particular (taking G = V), any linearly independent set L can be "extended" to form a basis of V. These extensions are not unique.
Other notions
The phrase Hamel basis is sometimes used to denote a basis as defined above, in which the fact that all linear combinations are finite is crucial. A set B is a Hamel basis of a vector space V if every member of V is a linear combination of just finitely many members of B.
However, in Hilbert spaces and other Banach spaces, one often considers linear combinations of infinitely many vectors. In an infinite-dimensional Hilbert space, a set of vectors orthogonal to each other can never span the whole space via finite linear combinations, but what is called an orthonormal basis is a set of mutually orthogonal unit vectors that "span" the space via sometimes-infinite linear combinations. More generally, in topological vector spaces, one may define infinite sums (or series) and express elements of the space as infinite linear combinations of other elements. To better distinguish these notions, vector space bases are also called Hamel bases and the vector space dimension is also known as Hamel dimension.
An "orthonormal basis" of an infinite-dimensional Hilbert space is not a Hamel basis
In the study of Fourier series, one learns that the functions { 1} ∪ { sin(nx), cos(nx) : n = 1, 2, 3, ... } are an "orthonormal basis" of the set of all complex-valued functions that are quadratically integrable on the interval [0, 2π], i.e., functions f satisfying
- <math>\int_0^{2\pi} \left|f(x)\right|^2\,dx<\infty.<math>
These functions are linearly independent, and every function that is quadratically integrable on that interval is an "infinite linear combination" of them. That means that
- <math>\lim_{n\rightarrow\infty}\int_0^{2\pi}\left|\left(a_0+\sum_{k=1}^n a_k\cos(kx)+b_k\sin(kx)\right)-f(x)\right|^2\,dx=0<math>
for suitable coefficients ak, bk. But most quadratically integrable functions cannot be represented as finite linear combinations of these basis functions, which therefore do not comprise a Hamel basis. Every Hamel basis of this space is much bigger than this merely countably infinite set of functions. Hamel bases of spaces of this kind are of little if any interest; orthonormal bases of these spaces are important to Fourier analysis.
See also
de:Basis (Vektorraum)
he:בסיס (אלגברה)
nl:basis van een vectorruimte
pl:baza (przestrzeń liniowa)
sl:baza (linearna algebra)