Lably
Skip to content

Change of basis

Coordinate change in linear algebra

  • 8 min read
  • 6 chapters

Related on Lably

Through Mathematics, Dimension (vector space) and Sequence

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

xold=Axnew,

where xold and xnew are the column vectors of the coordinates of the same vector on the "old" (initially defined) and "new" (other) bases. A 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.

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 V over a field F.

For j = 1, ..., n, one can define a vector wj by its coordinates ai,j over Bold:

wj=∑i=1nai,jvi.

Let

A=(ai,j)i,j

be the matrix whose j-th column is formed by the coordinates of wj. (Here and in what follows, the index i refers always to the rows of A and the vi, while the index j refers always to the columns of A 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 V if and only if the matrix A is invertible, or equivalently, if it has a nonzero determinant. In this case, A 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 i for the old basis and j 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

x=Ay,

where x and y 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.

Sign in to keep reading

5 more chapters are free with a Lably account.

More in Topics in mathematics