← Back to Math 010

4.7 Change of Basis: Class Notes

Coordinate Maps

Note: Recall that (𝐯)B is the coordinate vector for a vector 𝐯 relative to a basis B. When considered as a column vector, this author uses the notation [𝐯]B.

Definition

If S={𝐯1,𝐯2,…,𝐯n} is a basis for a finite-dimensional vector space V, and if (𝐯)S=(c1,c2,…,cn) is the coordinate vector of 𝐯 relative to S, then the mapping 𝐯→(𝐯)S is the coordinate map relative to 𝐒 from V to Rn.

The standard basis for M22 is

S={[1000],[0100],[0010],[0001]}.

Relative to this basis, the coordinate vector for A=[6253] is (A)S=(6,2,5,3). But as we saw in 4.5, the coordinate vector relative to

B={[1010],[1100],[1001],[0010]}

is (A)B=(1,2,3,4). The coefficients change because the basis is different.

This produces a mapping from M22 into R4:

The matrix A in M22 mapped to two coordinate vectors in R4, one using S and one using B

The matrix A=[6253] in M22 is sent to two different points of R4: using S it goes to (A)S=(6,2,5,3), and using B it goes to (A)B=(1,2,3,4).

The goal of this section is to provide a link between (A)S and (A)B, or more generally, between (v→)B and (v→)B′.

Transition Matrices

To transition from one basis B to another basis B′ for the same vector space, we use a transition matrix, denoted by PB→B′.

In 4.5, we found (𝐯)B for 𝐯=(−1,7,2) with respect to the basis B={𝐯1,𝐯2,𝐯3}, where 𝐯1=(2,−1,−1), 𝐯2=(−2,1,2), and 𝐯3=(3,5,4) by row reducing an augmented matrix. Here we achieve the same result by using a transition matrix from S, the standard basis for R3, to B.

In what follows, B will take the place of S, and B′ will take the place of B, to match the definition below.

To find a relationship between B and B′, we start by finding a linear combination of vectors in B′ that map to vectors in B:

a[2−1−1]+b[−212]+c[354]=[100](and likewise for [010], [001])

This is 3 systems that we can solve simultaneously. The columns on the left are the vectors in B′, and the columns on the right are the vectors in B:

[2−23100−115010−124001] ⟶ [100613−14131010113−111310011132130]

The three columns on the right give the combinations of the vectors in B′ that produce e→1, e→2, and e→3, in that order.

The resulting matrix on the right maps a vector relative to B to a vector relative to B′.

Consider v→=[−172]. This is [v→]B. Now:

[613−14131113−111311132130][−172]=[−6−41]=[v→]B′

These are the coordinates of v→ relative to B′. That is,

−6[2−1−1]−4[−212]+1[354]=[−172].

Thus,

[−6−41]=[v→]B′=[613−14131113−111311132130][−172]=PB→B′[v→]B

Definition

If we change the basis for a vector space V from an old basis B={𝐮1,𝐮2,…,𝐮n} to a new basis B′={𝐮′1,𝐮′2,…,𝐮′n}, then [𝐮i]B′ are the coordinate vectors for the old basis vectors relative to the new basis. The transition matrix from 𝐁 to 𝐁′ is the matrix having these vectors as its columns and is written [by this author] as PB→B′=[[𝐮1]B′|[𝐮2]B′|…|[𝐮n]B′]. Note that this is a partitioned matrix.

We use this as follows: For every vector 𝐯 in V,

[𝐯]B′=PB→B′[𝐯]B

#3

Consider the bases B={𝐮1,𝐮2,𝐮3} and B′={𝐮′1,𝐮′2,𝐮′3} for R3, where

𝐮1=[211], 𝐮2=[2−11], 𝐮3=[121]

and 𝐮′1=[31−5], 𝐮′2=[11−3], 𝐮′3=[−102]

a. Find the transition matrix B to B′.
b. Compute the coordinate vector [𝐰]B, where 𝐰=[−58−5] and use the transition matrix in part (a) to compute [𝐰]B′.
c. Check your work by computing [𝐰]B′ directly.

Solution

a. Put the new basis vectors on the left and the old basis vectors on the right, and row reduce until the identity I is on the left; what remains on the right is PB→B′:

[31−12211101−12−5−32111] ⟶ [1003252010−2−3−12001516]

Answer: PB→B′=[3252−2−3−12516]

b.

[221−51−128111−5] ⟶ [1009010−9001−5]

[w→]B=[9−9−5], so [w→]B′=[3252−2−3−12516][9−9−5]

Answer: [w→]B′=[−722326]

c.

[31−1−51108−5−32−5] yields [w→]B′=[−722326]

Answer: [w→]B′=[−722326], which matches part (b).

Why the Transition Matrix Works

This process is generalized in the 2×2 case thus: Let B={u→1,u→2} be called the old basis and B′={u→′1,u→′2} be a new basis.

First, find the coordinates that map B′ to B. That is, when applied to vectors in B′, they return vectors in B. In the 2×2 case:

u→1=au→′1+bu→′2u→2=cu→′1+du→′2

Now let v→ be a fixed vector in V (for which B and B′ are bases). In terms of B,

v→=k1u→1+k2u→2v→=k1(au→′1+bu→′2)+k2(cu→′1+du→′2)v→=(k1a+k2c)u→′1+(k1b+k2d)u→′2

So the new coordinate vector for v→ relative to B′ is

[v→]B′=[k1a+k2ck1b+k2d]=[acbd][k1k2]=[acbd][v→]B

The first column [ab] is [u→1]B′, and the second column [cd] is [u→2]B′. This matrix transitions from B to B′!

Theorem 4.7.1

If P is the transition matrix from a basis B to a basis B′ for a finite-dimensional vector space V, then P is invertible, and P−1 is the transition matrix from B′ to B.

#13

If P is the transition matrix from a basis B′ to a basis B, and Q is the transition matrix from B to a basis C, what is the transition matrix from B′ to C? What is the transition matrix from C to B′?

Solution

Bases B prime, B, C in V with arrows P, Q, QP from B prime to C, and its inverse back

Three bases B′, B, C of V. P goes from B′ to B and Q goes from B to C. The combined arrow from B′ to C is QP=PB′→C. The arrow back from C to B′ is (QP)−1.

Going from B′ to B uses P, and then going from B to C uses Q, so QP=PB′→C. Going back the other way, (QP)−1=P−1Q−1.

Answer: PB′→C=QP and PC→B′=(QP)−1=P−1Q−1