A change of basis converts the coordinate description of a vector from one basis to another. The vector itself does not change. Only the coordinate column changes.
If a vector space has two ordered bases, then the same vector has two coordinate vectors. A change-of-basis matrix gives the linear rule that converts one coordinate vector into the other. In finite-dimensional spaces, this matrix is invertible because both coordinate systems describe the same vector space.
24.1 The Problem
Let V be a finite-dimensional vector space over a field F. Let
B=(b1,…,bn)
and
C=(c1,…,cn)
be ordered bases of V.
For a vector v∈V, we may know its coordinates in basis B:
[v]B.
We may want its coordinates in basis C:
[v]C.
The change-of-basis problem is to compute
[v]C
from
[v]B.
The vector v remains fixed. The coordinate system changes.
24.2 Coordinate Equality
Since B is a basis, the vector v has a unique expression
v=x1b1+⋯+xnbn.
Thus
[v]B=x1⋮xn.
Since C is also a basis, the same vector has another expression
v=y1c1+⋯+yncn.
Thus
[v]C=y1⋮yn.
The two coordinate columns are usually different, but they describe the same vector.
24.3 Basis Matrices in Rn
In Rn, a basis can be stored as a matrix whose columns are the basis vectors.
For
B=(b1,…,bn),
define
PB=∣b1∣∣b2∣⋯∣bn∣.
Then
v=PB[v]B.
Similarly, for
C=(c1,…,cn),
define
PC=∣c1∣∣c2∣⋯∣cn∣.
Then
v=PC[v]C.
Since both expressions represent the same vector,
PB[v]B=PC[v]C.
This equation is the starting point for change of basis.
24.4 Change from B to C
From
PB[v]B=PC[v]C,
multiply by PC−1:
[v]C=PC−1PB[v]B.
The matrix
PC←B=PC−1PB
is called the change-of-basis matrix from B-coordinates to C-coordinates.
It satisfies
[v]C=PC←B[v]B.
The arrow notation means “coordinates in B, converted to coordinates in C.”
24.5 Change from C to B
The reverse change of basis is
[v]B=PB−1PC[v]C.
Thus
PB←C=PB−1PC.
The two change-of-basis matrices are inverses:
PB←C=(PC←B)−1.
Changing from B to C and then back to B gives the original coordinate vector.
24.6 Columns of a Change-of-Basis Matrix
The columns of
PC←B
have a direct meaning.
Since
PC←B[v]B=[v]C,
apply this to each basis vector bj.
The B-coordinate vector of bj is the standard coordinate column ej. Hence
PC←Bej=[bj]C.
Therefore the j-th column of PC←B is
[bj]C.
So
PC←B=∣[b1]C∣∣[b2]C∣⋯∣[bn]C∣.
This is often the cleanest definition: the change-of-basis matrix from B to C has as its columns the C-coordinates of the B-basis vectors.
24.7 Example in R2
Let
B=([11],[1−1])
and let C be the standard basis
C=(e1,e2).
Then
PB=[111−1],PC=[1001].
Therefore
PC←B=PC−1PB=PB=[111−1].
If
[v]B=[52],
then
[v]C=[111−1][52]=[73].
Thus the vector with B-coordinates (5,2) has standard coordinates (7,3).
24.8 Reverse Example
Using the same basis B, convert standard coordinates back to B-coordinates.
We need
PB←C=PB−1PC=PB−1.
Since
PB=[111−1],
we have
PB−1=[1/21/21/2−1/2].
For
[v]C=[73],
we compute
[v]B=[1/21/21/2−1/2][73]=[52].
The two computations are inverse processes.
24.9 Change Between Two Nonstandard Bases
Let
B=([11],[1−1]),C=([21],[11]).
Then
PB=[111−1],PC=[2111].
The change-of-basis matrix from B to C is
PC←B=PC−1PB.
Since
PC−1=[1−1−12],
we get
PC←B=[1−1−12][111−1]=[012−3].
Therefore
[v]C=[012−3][v]B.
If
[v]B=[41],
then
[v]C=[012−3][41]=[21].
Check the vector itself:
v=4[11]+1[1−1]=[53].
Also,
2[21]+1[11]=[53].
Both coordinate columns describe the same vector.
24.10 The Identity Transformation
A change of basis is not necessarily a transformation of the vector space. Often it is the identity transformation written in two coordinate systems.
The vector v remains the same. The coordinate column changes from [v]B to [v]C.
This distinction matters because the same matrix notation can represent two different ideas:
Matrix use
Meaning
Transformation matrix
Sends one vector to another vector
Change-of-basis matrix
Sends one coordinate description to another coordinate description
In change of basis, the object is fixed and the representation changes.
24.11 Abstract Vector Spaces
The formula using PB and PC assumes that vectors are already written in standard coordinates, as in Rn. For abstract vector spaces, the column interpretation still works.
Let
B=(b1,…,bn)
and
C=(c1,…,cn)
be bases of V.
To build PC←B, write each bj in the C-basis:
bj=a1jc1+⋯+anjcn.
Then the j-th column of PC←B is
[bj]C=a1j⋮anj.
Thus
PC←B=(aij).
This method works for polynomials, matrices, functions, and any finite-dimensional vector space.
24.12 Polynomial Example
Let P2 be the space of polynomials of degree at most 2.
Let
B=(1,x,x2)
and
C=(1,1+x,1+x+x2).
We construct PC←B. Its columns are
[1]C,[x]C,[x2]C.
First,
1=1⋅1+0(1+x)+0(1+x+x2),
so
[1]C=100.
Next,
x=−1⋅1+1(1+x)+0(1+x+x2),
so
[x]C=−110.
Finally,
x2=0⋅1−1(1+x)+1(1+x+x2),
so
[x2]C=0−11.
Therefore
PC←B=100−1100−11.
For
p(x)=3−5x+2x2,
we have
[p]B=3−52.
Thus
[p]C=100−1100−113−52=8−72.
So
p(x)=8−7(1+x)+2(1+x+x2).
24.13 Matrix Example
Let M2×2(R) have the standard ordered basis
B=(E11,E12,E21,E22).
Let
C=(A1,A2,A3,A4),
where
A1=E11,A2=E11+E12,A3=E21,A4=E21+E22.
To compute coordinates in C, write a matrix
M=[acbd]
as
M=αA1+βA2+γA3+δA4.
Then
αA1+βA2+γA3+δA4=[α+βγ+δβδ].
Matching entries gives
β=b,α=a−b,δ=d,γ=c−d.
Therefore
[M]C=a−bbc−dd.
This illustrates the same rule in a vector space whose vectors are matrices.
24.14 Change of Basis and Linear Maps
Let
T:V→V
be a linear transformation. Suppose its matrix in basis B is
[T]B.
If C is another basis, the matrix of the same transformation in basis C is related by a change of basis.
Let
S=PB←C.
This matrix converts C-coordinates into B-coordinates:
[v]B=S[v]C.
Apply the transformation in B-coordinates:
[T(v)]B=[T]B[v]B.
Convert back to C-coordinates:
[T(v)]C=S−1[T(v)]B.
Substitute:
[T(v)]C=S−1[T]BS[v]C.
Therefore
[T]C=S−1[T]BS.
This is the similarity formula.
24.15 Similar Matrices
Two square matrices A and B are similar if there exists an invertible matrix S such that
B=S−1AS.
Similar matrices represent the same linear transformation in different bases.
They may look different, but they share important structural properties, including determinant, trace, rank, characteristic polynomial, eigenvalues, and invertibility.
Similarity is the matrix form of changing the coordinate system for a linear operator.
24.16 Diagonalization as Change of Basis
Diagonalization is a special change of basis.
A matrix A is diagonalizable if there is a basis made of eigenvectors of the corresponding linear transformation. In that basis, the matrix becomes diagonal.
If
S=∣v1∣∣v2∣⋯∣vn∣
has eigenvectors as columns, and
Avi=λivi,
then
S−1AS=λ10⋮00λ2⋮0⋯⋯⋱⋯00⋮λn.
This is not a different transformation. It is the same transformation described in an eigenvector basis.
24.17 Common Sources of Confusion
The phrase “change-of-basis matrix” is used in more than one convention. Some texts define the matrix from new coordinates to old coordinates. Others define the matrix from old coordinates to new coordinates.
The safest method is to write the equation explicitly.
Desired conversion
Matrix
B-coordinates to standard coordinates
PB
Standard coordinates to B-coordinates
PB−1
B-coordinates to C-coordinates
PC−1PB
C-coordinates to B-coordinates
PB−1PC
Always check the direction by applying the matrix to a coordinate column.
24.18 Change of Basis as Relabeling
Geometrically, changing basis relabels the same vector with respect to different axes.
In R2, standard coordinates measure horizontal and vertical displacement. A nonstandard basis may use slanted axes. The point or vector in the plane remains fixed, but the numbers used to reach it along the chosen basis directions change.
This explains why change of basis is invertible. A valid basis gives a complete coordinate system. No information is lost by changing from one basis to another.
24.19 Computational Procedure
To change coordinates from basis B to basis C in Rn:
Step
Operation
1
Form PB from the columns b1,…,bn
2
Form PC from the columns c1,…,cn
3
Compute PC←B=PC−1PB
4
Multiply [v]C=PC←B[v]B
For an abstract vector space, replace the basis matrices by coordinate columns. Express each B-basis vector in the C-basis, and place those coordinate columns into the matrix.
24.20 Summary
Change of basis converts coordinates from one ordered basis to another. It does not change the vector itself.
The key ideas are:
Concept
Meaning
Basis matrix
Matrix whose columns are basis vectors
PB[v]B
Convert B-coordinates to standard coordinates
PC−1PB
Convert B-coordinates to C-coordinates
PC←B
Change-of-basis matrix from B to C
Columns of PC←B
C-coordinates of the B-basis vectors
Similar matrices
Same linear operator in different bases
Diagonalization
Change to an eigenvector basis
A basis gives coordinates. A change of basis changes coordinates. The underlying vector or linear transformation remains the same, while its numerical representation changes.
← → section · ↑ ↓ slide · Space next · F fullscreen · Esc exit