Change of basis

From testwiki
Jump to navigation Jump to search

Template:Short description Template:Distinguish Template:More citations needed Template:Multiple image In mathematics, an ordered basis of a vector space of finite dimension Template:Mvar allows representing uniquely any element of the vector space by a coordinate vector, which is a finite sequence of Template:Mvar scalars called coordinates. If two different bases are considered, the coordinate vector that represents a vector Template:Mvar on one basis is, in general, different from the coordinate vector that represents Template:Mvar on the other basis. A change of basis consists of converting every assertion expressed in terms of coordinates relative to one basis into an assertion expressed in terms of coordinates relative to the other basis.[1][2][3]

Such a conversion results from the change-of-basis formula, which expresses the coordinates relative to one basis in terms of the coordinates relative to the other basis. Using matrices, this formula can be written

𝐱old=A𝐱new,

where 𝐱old and 𝐱new are the column vectors of the coordinates of the same vector on the "old" (initially defined) and "new" (other) bases. Template:AnchorA is the change-of-basis matrix (also called transition matrix), which is the matrix whose columns are the coordinates of the "new" basis vectors on the "old" basis.

The matrix A=[a→1|a→2] maps coordinate vectors in the basis (a→1,a→2) to coordinate vectors in the standard basis: x→=Ax→A.
Geometric illustration of change of basis: the same vector expressed in two non-canonical bases and the standard basis, showing the relationship between coordinate representations.Template:Efn

A change of basis is sometimes called a change of coordinates, although it excludes many coordinate transformations. For applications in physics and specially in mechanics, a change of basis often involves the transformation of an orthonormal basis, understood as a rotation in physical space, thus excluding translations.

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

Change-of-basis formula

Let Bold=(v1,…,vn) be a basis of a finite-dimensional vector space Template:Mvar over a field Template:Mvar.Template:Efn

For Template:Math, one can define a vector Template:Math by its coordinates ai,j over Bold:

wj=βˆ‘i=1nai,jvi.

Let

A=(ai,j)i,j

be the matrix whose Template:Mvar-th column is formed by the coordinates of Template:Math. (Here and in what follows, the index Template:Mvar refers always to the rows of Template:Mvar and the vi, while the index Template:Mvar refers always to the columns of Template:Mvar and the wj; such a convention is useful for avoiding errors in explicit computations.)

Setting Bnew=(w1,…,wn), one has that Bnew is a basis of Template:Mvar if and only if the matrix Template:Mvar is invertible, or equivalently, if it has a nonzero determinant. In this case, Template:Mvar is said to be the change-of-basis matrix from the basis Bold to the basis Bnew.

Given a vector u∈V, let (x1,…,xn) be the coordinates of u over Bold, and (y1,…,yn) its coordinates over Bnew; that is

u=βˆ‘i=1nxivi=βˆ‘j=1nyjwj.

(One could take the same summation index for the two sums, but choosing systematically the indexes Template:Mvar for the old basis and Template:Mvar for the new one makes clearer the formulas that follows, and helps avoiding errors in proofs and explicit computations.)

The change-of-basis formula expresses the coordinates over the old basis in terms of the coordinates over the new basis. With above notation, it is

xi=βˆ‘j=1nai,jyjfor i=1,…,n.

In terms of matrices, the change-of-basis formula is

𝐱=A𝐲,

where 𝐱 and 𝐲 are the column vectors of the coordinates of u over Bold and Bnew, respectively. (This reverse terminology is confusing, but internationally adopted.)

Proof: Using the above definition of the change-of-basis matrix, one has

u=βˆ‘j=1nyjwj=βˆ‘j=1n(yjβˆ‘i=1nai,jvi)=βˆ‘i=1n(βˆ‘j=1nai,jyj)vi.

As u=βˆ‘i=1nxivi, the change-of-basis formula results from the uniqueness of the decomposition of a vector over a basis.

Example

Consider the Euclidean vector space ℝ2 and its standard basis, consisting of the vectors v1 and v2 with column vectors

𝐯𝟏=[10] and 𝐯𝟐=[01].

Rotating them by an angle of t gives a "new" basis, formed by the vectors w1 and w2 with column vectors

𝐰𝟏=[cos⁡tsin⁡t] and 𝐰𝟐=[βˆ’sin⁡tcos⁡t].

So, the change-of-basis matrix is

[cos⁡tβˆ’sin⁡tsin⁡tcos⁡t].

The change-of-basis formula asserts that, for a vector with "old" coordinates (x1,x2) and "new" coordinates (y1,y2), one has

[x1x2]=[cos⁡tβˆ’sin⁡tsin⁡tcos⁡t][y1y2].

That is,

{x1=y1cos⁡tβˆ’y2sin⁡tx2=y1sin⁡t+y2cos⁡t.

This may be shown by writing

y1w1+y2w2=y1((cos⁡t)v1+(sin⁡t)v2)+y2(βˆ’(sin⁡t)v1+(cos⁡t)v2)=(y1cos⁡tβˆ’y2sin⁡t)v1+(y1sin⁡t+y2cos⁡t)v2=x1v1+x2v2.

In terms of linear maps

Usually, a matrix represents a linear map, and the product of a matrix and a column vector represents the function application of the corresponding linear map to the vector whose coordinates form the column vector. The change-of-basis formula is a specific case of this general principle, although this is not immediately clear from its definition and proof.

When one says that a matrix represents a linear map, one refers implicitly to bases of implied vector spaces, and to the fact that the choice of a basis induces a linear isomorphism between a vector space and Fn, where Template:Mvar is the ground field of scalars. When only one basis is considered for each vector space, it is convenient to leave this isomorphism implicit, and to work up to an isomorphism. As several bases of the same vector space are considered here, a more accurate wording is required.

Let Template:Mvar be a field, the set Fn of the [[tuple|Template:Mvar-tuples]] is an Template:Mvar-vector space whose addition and scalar multiplication are defined component-wise. Its standard basis is the basis that has as its Template:Mvar-th element the tuple with all components equal to Template:Math except the Template:Mvar-th one, equal to Template:Math.

A basis B=(v1,…,vn) of an Template:Mvar-vector space Template:Mvar defines a linear isomorphism Ο†:Fnβ†’V by

Ο†(x1,…,xn)=βˆ‘i=1nxivi.

Conversely, such a linear isomorphism defines a basis, which is the image by Ο† of the standard basis of Fn.

Let Bold=(v1,…,vn) be the "old" basis of a change of basis, and Ο†old the associated isomorphism. Given a change-of-basis (invertible) matrix Template:Mvar, one could consider it the matrix of an automorphism (a bijective endomorphism) ψA of Fn. Finally, define

Ο†new=Ο†old∘ψA

(where ∘ denotes function composition), and

Bnew=Ο†new(Ο†oldβˆ’1(Bold)).

A straightforward verification shows that this definition of Bnew is the same as that in the preceding section.

Now, by composing the equation Ο†new=Ο†old∘ψA with Ο†oldβˆ’1 on the left and Ο†newβˆ’1 on the right, one gets

Ο†oldβˆ’1=ψAβˆ˜Ο†newβˆ’1.

It follows that, for v∈V, one has

Ο†oldβˆ’1(v)=ψA(Ο†newβˆ’1(v)),

which is the change-of-basis formula expressed in terms of linear maps instead of coordinates.

Function defined on a vector space

A function that has a vector space as its domain is commonly specified as a multivariate function whose variables are the coordinates on some basis of the vector on which the function is applied.

When the basis is changed, the expression of the function is changed. This change can be computed by substituting the "old" coordinates for their expressions in terms of the "new" coordinates. More precisely, if Template:Math is the expression of the function in terms of the "old" coordinates, and if Template:Math is the change-of-basis formula, then Template:Math is the expression of the same function in terms of the "new" coordinates.

The fact that the change-of-basis formula expresses the "old" coordinates in terms of the "new" ones may seem unnatural, but appears as useful, because no matrix inversion is needed here.

As the change-of-basis formula involves only linear functions, many function properties are kept by a change of basis. This allows defining these properties as properties of functions of a variable vector that are not related to any specific basis. So, a function whose domain is a vector space or a subset of it is

if the multivariate function that represents it on some basisTemplate:Mathand thus on every basisTemplate:Mathhas the same property.

This is specially useful in the theory of manifolds, as this allows extending the concepts of continuous, differentiable, smooth, and analytic functions to functions that are defined on a manifold.

Linear maps

Consider a linear map Template:Math from a vector space Template:Mvar of dimension Template:Mvar to a vector space Template:Mvar of dimension Template:Mvar. It is represented on "old" bases of Template:Mvar and Template:Mvar by an Template:Math matrix Template:Mvar. A change of basis is defined by an Template:Math change-of-basis matrix Template:Mvar for Template:Mvar, and an Template:Math change-of-basis matrix Template:Mvar for Template:Mvar.

On the "new" bases, the matrix representation of Template:Mvar is

M′=Qβˆ’1MP.

This is a straightforward consequence of the change-of-basis formula.

Endomorphisms

Endomorphisms are linear maps from a vector space Template:Mvar to itself. For a change of basis, the formula of the preceding section applies, with the same change-of-basis matrix on both sides of the formula. That is, if Template:Mvar is the square matrix of an endomorphism of Template:Mvar on an "old" basis, and Template:Mvar is a change-of-basis matrix, then the matrix of the endomorphism on the "new" basis is

M′=Pβˆ’1MP.

As every invertible matrix can be used as a change-of-basis matrix, this implies that two matrices are similar if and only if they represent the same endomorphism on two different bases.

Bilinear forms

A bilinear form on a vector space Template:Mvar over a field Template:Mvar is a function 𝛷:VΓ—Vβ†’F which is linear in both arguments. That is, 𝛷 is bilinear if the maps v↦𝛷(v,w) and v↦𝛷(w,v) are linear for every fixed w∈V.

The matrix 𝜱 of a bilinear form 𝛷 on a basis (v1,…,vn) (the "old" basis) is the matrix whose entry of the Template:Mvar-th row and Template:Mvar-th column is 𝛷(vi,vj). It follows that for two vectors Template:Mvar and Template:Mvar with coordinate column vectors Template:Math and Template:Math, one has

𝛷(v,w)=π―π–³πœ±π°,

where 𝐯𝖳 denotes the transpose of the column vector Template:Math.

For a change of basis with matrix Template:Mvar, a straightforward computation shows that the matrix of the bilinear form on the "new" basis is

𝜱′=Pπ–³πœ±P.

A symmetric bilinear form is a bilinear form Template:Mvar such that S(v,w)=S(w,v) for every Template:Mvar and Template:Mvar in Template:Mvar. It follows that the matrix of Template:Mvar on any basis is symmetric. This implies that the property of being a symmetric matrix must be kept by the above change-of-basis formula. One can also check this by noting that the transpose of a matrix product is the product of the transposes computed in the reverse order. Thus,

(P𝖳𝐒P)𝖳=P𝖳𝐒𝖳P;

finally, since the matrix Template:Math is symmetric,

(P𝖳𝐒P)𝖳=P𝖳𝐒P.

If the characteristic of the ground field Template:Mvar is not two, then for every symmetric bilinear form, there is a basis for which the matrix is diagonal. Moreover, the resulting nonzero entries on the diagonal are defined up to the multiplication by a square. So, if the ground field is the field ℝ of the real numbers, these nonzero entries can be chosen to be either Template:Math or Template:Math. Sylvester's law of inertia is a theorem that asserts that the numbers of Template:Math and of Template:Math depend only on the bilinear form, and not on the change of basis.

Symmetric bilinear forms over the reals are often encountered in geometry and physics, typically in the study of quadrics and of the inertia of a rigid body. In these cases, orthonormal bases are specially useful; this means that one generally prefers to restrict changes of basis to those that have an orthogonal change-of-basis matrix, that is, a matrix such that P𝖳=Pβˆ’1. Such matrices have the fundamental property that the change-of-basis formula is the same for a symmetric bilinear form and the endomorphism that is represented by the same symmetric matrix. The Spectral theorem asserts that, given such a symmetric matrix, there is an orthogonal change of basis such that the resulting matrix (of both the bilinear form and the endomorphism) is a diagonal matrix with the eigenvalues of the initial matrix on the diagonal. It follows that, over the reals, if the matrix of an endomorphism is symmetric, then it is diagonalizable.

See also

Notes

Template:Notelist

References

Template:Reflist

Bibliography

Template:Linear algebra Template:Authority control