Basis (linear algebra)

From Wikipedia, the free encyclopedia
(Redirected from Vector decomposition)
Jump to navigation Jump to search

Template:Short description Script error: No such module "redirect hatnote".

File:3d two bases same vector.svg
The same vector (dark purple) can be represented in two different bases (purple and red arrows).

In mathematics, a set Template:Mvar of elements of a vector space VScript error: No such module "Check for unknown parameters". is called a basis (Template:Plural form: bases) if every element of VScript error: No such module "Check for unknown parameters". can be written in a unique way as a finite linear combination of elements of Template:Mvar. The coefficients of this linear combination are referred to as components or coordinates of the vector with respect to Template:Mvar. The elements of a basis are called Template:Visible anchor.

Equivalently, a set Template:Mvar is a basis if its elements are linearly independent and every element of Template:Mvar is a linear combination of elements of Template:Mvar. In other words, a basis is a linearly independent spanning set.

A vector space can have several bases; however all the bases have the same number of elements, called the dimension of the vector space.

This article deals mainly with finite-dimensional vector spaces. However, many of the principles are also valid for infinite-dimensional vector spaces.

Basis vectors find applications in the study of crystal structures and frames of reference.

Definition

A basis BScript error: No such module "Check for unknown parameters". of a vector space VScript error: No such module "Check for unknown parameters". over a field FScript error: No such module "Check for unknown parameters". (such as the real numbers RScript error: No such module "Check for unknown parameters". or the complex numbers CScript error: No such module "Check for unknown parameters".) is a linearly independent subset of VScript error: No such module "Check for unknown parameters". that spans VScript error: No such module "Check for unknown parameters".. This means that a subset Template:Mvar of VScript error: No such module "Check for unknown parameters". is a basis if it satisfies the two following conditions:Template:R

  • linear independence: for every finite subset {𝐯1,,𝐯m} of Template:Mvar, if c1𝐯1++cm𝐯m=𝟎 for some c1,,cm in Template:Mvar, then c1==cm=0; andTemplate:R
  • the spanning property: for every vector 𝐯 in V, one can choose a1,,an in F and 𝐯1,,𝐯n in B such that 𝐯=a1𝐯1++an𝐯n. In other words, 𝕧 can be represented as a linear combination of some vectors in B.Template:R

The first property may be equivalently phrased as follows: if a linear combination of vectors in Template:Mvar is equal to the zero vector, then all the scalars coefficients of the combination must be zero.

If Template:Mvar is a basis for Template:Mvar, then every vector 𝐯 in Template:Mvar can be written as a linear combination of vectors in Template:Mvar (by the spanning property); it follows from linear independence that this can be done in exactly one way. Thus, the scalar coefficients ai that appear in this combination are uniquely determined; they are called the coordinates of 𝐯 with respect to the basis B.

A vector space that has a finite basis is called finite-dimensional. In this case, the finite subset can be taken as B itself to check for linear independence in the above definition.Template:R

It is often convenient or even necessary to have an ordering on the basis vectors, for example, when discussing orientation, or when one considers the scalar coefficients of a vector with respect to a basis without referring explicitly to the basis elements. In this case, the ordering is necessary for associating each coefficient with the corresponding basis element. This ordering can be done by numbering the basis elements. In order to emphasize that an order has been chosen, one speaks of an ordered basis, which is therefore not simply an unstructured set, but a sequence, an indexed family, or similar; see Template:Slink below.

Examples

File:Basis graph (no label).svg
This picture illustrates the standard basis in R2. The blue and orange vectors are the elements of the basis; the green vector can be given in terms of the basis vectors, and so is linearly dependent upon them.

The set R2Script error: No such module "Check for unknown parameters". of the ordered pairs of real numbers is a vector space under the operations of component-wise addition (a,b)+(c,d)=(a+c,b+d) and scalar multiplication λ(a,b)=(λa,λb), where λ is any real number. A simple basis of this vector space consists of the two vectors e1 = (1, 0)Script error: No such module "Check for unknown parameters". and e2 = (0, 1)Script error: No such module "Check for unknown parameters".. These vectors form a basis (called the standard basis) because any vector v = (a, b)Script error: No such module "Check for unknown parameters". of R2Script error: No such module "Check for unknown parameters". may be uniquely written as 𝐯=a𝐞1+b𝐞2. Any other pair of linearly independent vectors of R2Script error: No such module "Check for unknown parameters"., such as (1, 1)Script error: No such module "Check for unknown parameters". and (−1, 2)Script error: No such module "Check for unknown parameters"., forms also a basis of R2Script error: No such module "Check for unknown parameters"..

More generally, if Template:Mvar is a field, the set Fn of [[tuple|Template:Mvar-tuples]] of elements of Template:Mvar is a vector space for similarly defined addition and scalar multiplication. Let 𝐞i=(0,,0,1,0,,0) be the Template:Mvar-tuple with all components equal to 0, except the Template:Mvarth, which is 1. Then 𝐞1,,𝐞n is a basis of Fn, which is called the standard basis of Fn.

A different flavor of example is given by polynomial rings. If Template:Mvar is a field, the collection F[X]Script error: No such module "Check for unknown parameters". of all polynomials in one indeterminate Template:Mvar with coefficients in Template:Mvar is an Template:Mvar-vector space. One basis for this space is the monomial basis Template:Mvar, consisting of all monomials: B={1,X,X2,}. Any set of polynomials such that there is exactly one polynomial of each degree (such as the Bernstein basis polynomials or Chebyshev polynomials) is also a basis. (Such a set of polynomials is called a polynomial sequence.) But there are also many bases for F[X]Script error: No such module "Check for unknown parameters". that are not of this form.

Properties

Many properties of finite bases result from the Steinitz exchange lemma, which states that, for any vector space Template:Mvar, given a finite spanning set Template:Mvar and a linearly independent set Template:Mvar of Template:Mvar elements of Template:Mvar, one may replace Template:Mvar well-chosen elements of Template:Mvar by the elements of Template:Mvar to get a spanning set containing Template:Mvar, having its other elements in Template:Mvar, and having the same number of elements as Template:Mvar.

Most properties resulting from the Steinitz exchange lemma remain true when there is no finite spanning set, but their proofs in the infinite case generally require the axiom of choice or a weaker form of it, such as the ultrafilter lemma.

If Template:Mvar is a vector space over a field Template:Mvar, then:

If Template:Mvar is a vector space of dimension Template:Mvar, then:

Coordinates Script error: No such module "anchor".

Let Template:Mvar be a vector space of finite dimension Template:Mvar over a field Template:Mvar, and B={𝐛1,,𝐛n} be a basis of Template:Mvar. By definition of a basis, every vScript error: No such module "Check for unknown parameters". in Template:Mvar may be written, in a unique way, as 𝐯=λ1𝐛1++λn𝐛n, where the coefficients λ1,,λn are scalars (that is, elements of Template:Mvar), which are called the coordinates of vScript error: No such module "Check for unknown parameters". over Template:Mvar. However, if one talks of the set of the coefficients, one loses the correspondence between coefficients and basis elements, and several vectors may have the same set of coefficients. For example, 3𝐛1+2𝐛2 and 2𝐛1+3𝐛2 have the same set of coefficients {2, 3}Script error: No such module "Check for unknown parameters"., and are different. It is therefore often convenient to work with an ordered basis; this is typically done by indexing the basis elements by the first natural numbers. Then, the coordinates of a vector form a sequence similarly indexed, and a vector is completely characterized by the sequence of coordinates. An ordered basis, especially when used in conjunction with an origin, is also called a coordinate frame or simply a frame (for example, a Cartesian frame or an affine frame).

Let, as usual, Fn be the set of the [[tuple|Template:Mvar-tuples]] of elements of Template:Mvar. This set is an Template:Mvar-vector space, with addition and scalar multiplication defined component-wise. The map φ:(λ1,,λn)λ1𝐛1++λn𝐛n is a linear isomorphism from the vector space Fn onto Template:Mvar. In other words, Fn is the coordinate space of Template:Mvar, and the Template:Mvar-tuple φ1(𝐯) is the coordinate vector of vScript error: No such module "Check for unknown parameters"..

The inverse image by φ of 𝐛i is the Template:Mvar-tuple 𝐞i all of whose components are 0, except the Template:Mvarth that is 1. The 𝐞i form an ordered basis of Fn, which is called its standard basis or canonical basis. The ordered basis Template:Mvar is the image by φ of the canonical basis of Fn.

It follows from what precedes that every ordered basis is the image by a linear isomorphism of the canonical basis of Fn, and that every linear isomorphism from Fn onto Template:Mvar may be defined as the isomorphism that maps the canonical basis of Fn onto a given ordered basis of Template:Mvar. In other words, it is equivalent to define an ordered basis of Template:Mvar, or a linear isomorphism from Fn onto Template:Mvar.

Change of basis

Script error: No such module "Labelled list hatnote". Let VScript error: No such module "Check for unknown parameters". be a vector space of dimension Template:Mvar over a field FScript error: No such module "Check for unknown parameters".. Given two (ordered) bases Bold=(𝐯1,,𝐯n) and Bnew=(𝐰1,,𝐰n) of VScript error: No such module "Check for unknown parameters"., it is often useful to express the coordinates of a vector Template:Mvar with respect to Bold in terms of the coordinates with respect to Bnew. This can be done by the change-of-basis formula, that is described below. The subscripts "old" and "new" have been chosen because it is customary to refer to Bold and Bnew as the old basis and the new basis, respectively. It is useful to describe the old coordinates in terms of the new ones, because, in general, one has expressions involving the old coordinates, and if one wants to obtain equivalent expressions in terms of the new coordinates; this is obtained by replacing the old coordinates by their expressions in terms of the new coordinates.

Typically, the new basis vectors are given by their coordinates over the old basis, that is, 𝐰j=i=1nai,j𝐯i. If (x1,,xn) and (y1,,yn) are the coordinates of a vector xScript error: No such module "Check for unknown parameters". over the old and the new basis respectively, the change-of-basis formula is xi=j=1nai,jyj, for i = 1, ..., nScript error: No such module "Check for unknown parameters"..

This formula may be concisely written in matrix notation. Let Template:Mvar be the matrix of the ai,j, and X=[x1xn]andY=[y1yn] be the column vectors of the coordinates of vScript error: No such module "Check for unknown parameters". in the old and the new basis respectively, then the formula for changing coordinates is X=AY.

The formula can be proven by considering the decomposition of the vector xScript error: No such module "Check for unknown parameters". on the two bases: one has 𝐱=i=1nxi𝐯i, and 𝐱=j=1nyj𝐰j=j=1nyji=1nai,j𝐯i=i=1n(j=1nai,jyj)𝐯i.

The change-of-basis formula results then from the uniqueness of the decomposition of a vector over a basis, here Bold; that is xi=j=1nai,jyj, for i = 1, ..., nScript error: No such module "Check for unknown parameters"..

Related notions

Free module

Script error: No such module "Labelled list hatnote". If one replaces the field occurring in the definition of a vector space by a ring, one gets the definition of a module. For modules, linear independence and spanning sets are defined exactly as for vector spaces, although "generating set" is more commonly used than that of "spanning set".

Like for vector spaces, a basis of a module is a linearly independent subset that is also a generating set. A major difference with the theory of vector spaces is that not every module has a basis. A module that has a basis is called a free module. Free modules play a fundamental role in module theory, as they may be used for describing the structure of non-free modules through free resolutions.

A module over the integers is exactly the same thing as an abelian group. Thus a free module over the integers is also a free abelian group. Free abelian groups have specific properties that are not shared by modules over other rings. Specifically, every subgroup of a free abelian group is a free abelian group, and, if Template:Mvar is a subgroup of a finitely generated free abelian group Template:Mvar (that is an abelian group that has a finite basis), then there is a basis 𝐞1,,𝐞n of Template:Mvar and an integer 0 ≤ knScript error: No such module "Check for unknown parameters". such that a1𝐞1,,ak𝐞k is a basis of Template:Mvar, for some nonzero integers a1,,ak. For details, see Template:Slink.

Analysis

In the context of infinite-dimensional vector spaces over the real or complex numbers, the term Template:Visible anchor (named after Georg Hamel[1]) or algebraic basis can be used to refer to a basis as defined in this article. This is to make a distinction with other notions of "basis" that exist when infinite-dimensional vector spaces are endowed with extra structure. The most important alternatives are orthogonal bases on Hilbert spaces, Schauder bases, and Markushevich bases on normed linear spaces. In the case of the real numbers R viewed as a vector space over the field Q of rational numbers, Hamel bases are uncountable, and have specifically the cardinality of the continuum, which is the cardinal number 20, where 0 (aleph-nought) is the smallest infinite cardinal, the cardinal of the integers.

The common feature of the other notions is that they permit the taking of infinite linear combinations of the basis vectors in order to generate the space. This, of course, requires that infinite sums are meaningfully defined on these spaces, as is the case for topological vector spaces – a large class of vector spaces including e.g. Hilbert spaces, Banach spaces, or Fréchet spaces.

The preference of other types of bases for infinite-dimensional spaces is justified by the fact that the Hamel basis becomes "too big" in Banach spaces: If X is an infinite-dimensional normed vector space that is complete (i.e. X is a Banach space), then any Hamel basis of X is necessarily uncountable. This is a consequence of the Baire category theorem. The completeness as well as infinite dimension are crucial assumptions in the previous claim. Indeed, finite-dimensional spaces have by definition finite bases and there are infinite-dimensional (non-complete) normed spaces that have countable Hamel bases. Consider c00, the space of the sequences x=(xn) of real numbers that have only finitely many non-zero elements, with the norm x=supn|xn|. Its standard basis, consisting of the sequences having only one non-zero element, which is equal to 1, is a countable Hamel basis.

Example

In the study of Fourier series, one learns that the functions {1} ∪ { sin(nx), cos(nx) : n = 1, 2, 3, ... }Script error: No such module "Check for unknown parameters". are an "orthogonal basis" of the (real or complex) vector space of all (real or complex valued) functions on the interval [0, 2π] that are square-integrable on this interval, i.e., functions f satisfying 02π|f(x)|2dx<.

The functions {1} ∪ { sin(nx), cos(nx) : n = 1, 2, 3, ... }Script error: No such module "Check for unknown parameters". are linearly independent, and every function f that is square-integrable on [0, 2π] is an "infinite linear combination" of them, in the sense that limn02π|a0+k=1n(akcos(kx)+bksin(kx))f(x)|2dx=0

for suitable (real or complex) coefficients ak, bk. But many[2] square-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 typically not useful, whereas orthonormal bases of these spaces are essential in Fourier analysis.

Geometry

The geometric notions of an affine space, projective space, convex set, and cone have related notions of Script error: No such module "anchor". basis.[3] An affine basis for an n-dimensional affine space is n+1 points in general linear position. A Template:Visible anchor is n+2 points in general position, in a projective space of dimension n. A Template:Visible anchor of a polytope is the set of the vertices of its convex hull. A Template:Visible anchor[4] consists of one point by edge of a polygonal cone. See also a Hilbert basis (linear programming).

Random basis

For a probability distribution in RnScript error: No such module "Check for unknown parameters". with a probability density function, such as the equidistribution in an n-dimensional ball with respect to Lebesgue measure, it can be shown that Template:Mvar randomly and independently chosen vectors will form a basis with probability one, which is due to the fact that Template:Mvar linearly dependent vectors x1Script error: No such module "Check for unknown parameters"., ..., xnScript error: No such module "Check for unknown parameters". in RnScript error: No such module "Check for unknown parameters". should satisfy the equation det[x1xn] = 0Script error: No such module "Check for unknown parameters". (zero determinant of the matrix with columns xiScript error: No such module "Check for unknown parameters".), and the set of zeros of a non-trivial polynomial has zero measure. This observation has led to techniques for approximating random bases.[5][6]

File:Random almost orthogonal sets.png
Empirical distribution of lengths N of pairwise almost orthogonal chains of vectors that are independently randomly sampled from the n-dimensional cube [−1, 1]nScript error: No such module "Check for unknown parameters". as a function of dimension, n. Boxplots show the second and third quartiles of this data for each n, red bars correspond to the medians, and blue stars indicate means. Red curve shows theoretical bound given by Eq. (1) and green curve shows a refined estimate.[6]

It is difficult to check numerically the linear dependence or exact orthogonality. Therefore, the notion of ε-orthogonality is used. For spaces with inner product, x is ε-orthogonal to y if |x,y|/(xy)<ε (that is, cosine of the angle between Template:Mvar and Template:Mvar is less than Template:Mvar).

In high dimensions, two independent random vectors are with high probability almost orthogonal, and the number of independent random vectors, which all are with given high probability pairwise almost orthogonal, grows exponentially with dimension. More precisely, consider equidistribution in n-dimensional ball. Choose N independent random vectors from a ball (they are independent and identically distributed). Let θ be a small positive number. Then for Template:NumBlk

Template:Mvar random vectors are all pairwise ε-orthogonal with probability 1 − θScript error: No such module "Check for unknown parameters"..[6] This Template:Mvar growth exponentially with dimension Template:Mvar and Nn for sufficiently big Template:Mvar. This property of random bases is a manifestation of the so-called Template:Em.[7]

The figure (right) illustrates distribution of lengths N of pairwise almost orthogonal chains of vectors that are independently randomly sampled from the n-dimensional cube [−1, 1]nScript error: No such module "Check for unknown parameters". as a function of dimension, n. A point is first randomly selected in the cube. The second point is randomly chosen in the same cube. If the angle between the vectors was within π/2 ± 0.037π/2Script error: No such module "Check for unknown parameters". then the vector was retained. At the next step a new vector is generated in the same hypercube, and its angles with the previously generated vectors are evaluated. If these angles are within π/2 ± 0.037π/2Script error: No such module "Check for unknown parameters". then the vector is retained. The process is repeated until the chain of almost orthogonality breaks, and the number of such pairwise almost orthogonal vectors (length of the chain) is recorded. For each n, 20 pairwise almost orthogonal chains were constructed numerically for each dimension. Distribution of the length of these chains is presented.

Proof that every vector space has a basis

Let VScript error: No such module "Check for unknown parameters". be any vector space over some field FScript error: No such module "Check for unknown parameters".. Let XScript error: No such module "Check for unknown parameters". be the set of all linearly independent subsets of VScript error: No such module "Check for unknown parameters"..

The set XScript error: No such module "Check for unknown parameters". is nonempty since the empty set is an independent subset of VScript error: No such module "Check for unknown parameters"., and it is partially ordered by inclusion, which is denoted, as usual, by Script error: No such module "Check for unknown parameters"..

Let YScript error: No such module "Check for unknown parameters". be a subset of XScript error: No such module "Check for unknown parameters". that is totally ordered by Script error: No such module "Check for unknown parameters"., and let LYScript error: No such module "Check for unknown parameters". be the union of all the elements of YScript error: No such module "Check for unknown parameters". (which are themselves certain subsets of VScript error: No such module "Check for unknown parameters".).

Since (Y, ⊆)Script error: No such module "Check for unknown parameters". is totally ordered, every finite subset of LYScript error: No such module "Check for unknown parameters". is a subset of an element of YScript error: No such module "Check for unknown parameters"., which is a linearly independent subset of VScript error: No such module "Check for unknown parameters"., and hence LYScript error: No such module "Check for unknown parameters". is linearly independent. Thus LYScript error: No such module "Check for unknown parameters". is an element of XScript error: No such module "Check for unknown parameters".. Therefore, LYScript error: No such module "Check for unknown parameters". is an upper bound for YScript error: No such module "Check for unknown parameters". in (X, ⊆)Script error: No such module "Check for unknown parameters".: it is an element of XScript error: No such module "Check for unknown parameters"., that contains every element of YScript error: No such module "Check for unknown parameters"..

As XScript error: No such module "Check for unknown parameters". is nonempty, and every totally ordered subset of (X, ⊆)Script error: No such module "Check for unknown parameters". has an upper bound in XScript error: No such module "Check for unknown parameters"., Zorn's lemma asserts that XScript error: No such module "Check for unknown parameters". has a maximal element. In other words, there exists some element LmaxScript error: No such module "Check for unknown parameters". of XScript error: No such module "Check for unknown parameters". satisfying the condition that whenever Lmax ⊆ LScript error: No such module "Check for unknown parameters". for some element LScript error: No such module "Check for unknown parameters". of XScript error: No such module "Check for unknown parameters"., then L = LmaxScript error: No such module "Check for unknown parameters"..

It remains to prove that LmaxScript error: No such module "Check for unknown parameters". is a basis of VScript error: No such module "Check for unknown parameters".. Since LmaxScript error: No such module "Check for unknown parameters". belongs to XScript error: No such module "Check for unknown parameters"., we already know that LmaxScript error: No such module "Check for unknown parameters". is a linearly independent subset of VScript error: No such module "Check for unknown parameters"..

If there were some vector wScript error: No such module "Check for unknown parameters". of VScript error: No such module "Check for unknown parameters". that is not in the span of LmaxScript error: No such module "Check for unknown parameters"., then wScript error: No such module "Check for unknown parameters". would not be an element of LmaxScript error: No such module "Check for unknown parameters". either. Let Lw = Lmax ∪ {w}Script error: No such module "Check for unknown parameters".. This set is an element of XScript error: No such module "Check for unknown parameters"., that is, it is a linearly independent subset of VScript error: No such module "Check for unknown parameters". (because w is not in the span of LmaxScript error: No such module "Check for unknown parameters"., and LmaxScript error: No such module "Check for unknown parameters". is independent). As Lmax ⊆ LwScript error: No such module "Check for unknown parameters"., and Lmax ≠ LwScript error: No such module "Check for unknown parameters". (because LwScript error: No such module "Check for unknown parameters". contains the vector wScript error: No such module "Check for unknown parameters". that is not contained in LmaxScript error: No such module "Check for unknown parameters".), this contradicts the maximality of LmaxScript error: No such module "Check for unknown parameters".. Thus this shows that LmaxScript error: No such module "Check for unknown parameters". spans VScript error: No such module "Check for unknown parameters"..

Hence LmaxScript error: No such module "Check for unknown parameters". is linearly independent and spans VScript error: No such module "Check for unknown parameters".. It is thus a basis of VScript error: No such module "Check for unknown parameters"., and this proves that every vector space has a basis.

This proof relies on Zorn's lemma, which is equivalent to the axiom of choice. Conversely, it has been proved that if every vector space has a basis, then the axiom of choice is true.[8] Thus the two assertions are equivalent.

See also

Notes

  1. Script error: No such module "Footnotes".
  2. Note that one cannot say "most" because the cardinalities of the two sets (functions that can and cannot be represented with a finite number of basis functions) are the same.
  3. Script error: No such module "citation/CS1".
  4. Script error: No such module "Citation/CS1".
  5. Script error: No such module "Citation/CS1".
  6. a b c Script error: No such module "Citation/CS1".
  7. Script error: No such module "Citation/CS1".
  8. Script error: No such module "Footnotes".

Cite error: <ref> tag with name "brown" defined in <references> is not used in prior text.
Cite error: <ref> tag with name "halmos" defined in <references> is not used in prior text.

References

General references

  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".

Historical references

  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1"., reprint: Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".

External links

Script error: No such module "Navbox".

Template:Tensors