Linear-Algebra-Done-Right · Unit 7 · Video 5 · Interactive Practice

Change of Basis for an Operator: A = C⁻¹BC

IKey Formulas

FormulaNameSetting
M(I)=I\mathcal{M}(I) = I,  AI=IA=A\ AI = IA = AIdentity operator and identity matrixAny basis of VV; any square AA of the same size
(A−1)−1=A(A^{-1})^{-1} = A,  (AD)−1=D−1A−1\ (AD)^{-1} = D^{-1}A^{-1}Inverse rulesAA, DD invertible square matrices of the same size
M(I,(v),(u))=(M(I,(u),(v)))−1\mathcal{M}\big(I, (v), (u)\big) = \big(\mathcal{M}(I, (u), (v))\big)^{-1}Change-of-basis matrices(u)(u), (v)(v) bases of VV; column kk of M(I,(u),(v))\mathcal{M}(I, (u), (v)) writes uku_k in the basis (v)(v)
A=C−1BCA = C^{-1}BCChange-of-basis formulaT∈L(V)T \in \mathcal{L}(V), A=M(T,(u))A = \mathcal{M}(T, (u)), B=M(T,(v))B = \mathcal{M}(T, (v)), C=M(I,(u),(v))C = \mathcal{M}(I, (u), (v))

Key Insight: Read C−1BCC^{-1}BC from right to left: CC turns uu-coordinates into vv-coordinates, BB applies TT, and C−1C^{-1} turns the result back into uu-coordinates. The same bookkeeping gives M(T−1)=(M(T))−1\mathcal{M}(T^{-1}) = \big(\mathcal{M}(T)\big)^{-1} for an invertible TT.

IIThe Change-of-Basis Matrix and Its Inverse

Columns of CC write each uku_k in the standard basis; columns of C−1C^{-1} write each standard vector in the uu-basis.

IIIOne Vector Through C, B and C⁻¹

For the video's operator and basis, CC, then BB, then C−1C^{-1} carry the uu-coordinates of xx to those of TxTx, exactly as AA does.

IVSame Operator, Another Basis

Column kk of A=C−1BCA = C^{-1}BC holds the uu-coordinates of TukTu_k, so AA changes with the basis while BB stays fixed.

💡 Challenge: find a basis in which A=(3002)A = \begin{pmatrix} 3 & 0 \\ 0 & 2 \end{pmatrix}, and another one, with u1≠(4,2)u_1 \ne (4, 2), in which A=(2003)A = \begin{pmatrix} 2 & 0 \\ 0 & 3 \end{pmatrix}.

VQuiz Questions

Problem 1 · Which Way Does the Matrix Go?

Given: the basis u1=(1,2)u_1 = (1, 2), u2=(1,3)u_2 = (1, 3) of F2\mathbf{F}^2, and the standard basis (v)(v): (1,0),(0,1)(1, 0), (0, 1). Find M(I,(v),(u))\mathcal{M}\big(I, (v), (u)\big).

✅ Correct! Its first column says (1,0)=3u1−2u2(1, 0) = 3u_1 - 2u_2 and its second says (0,1)=−u1+u2(0, 1) = -u_1 + u_2.
❌ Wrong direction. That is M(I,(u),(v))\mathcal{M}\big(I, (u), (v)\big): its columns write u1u_1, u2u_2 in the standard basis. With (v)(v) in the domain, the columns must write (1,0)(1,0) and (0,1)(0,1) in the basis u1,u2u_1, u_2, which gives the inverse matrix.
❌ Rows and columns swapped. Since (1,0)=3u1−2u2(1, 0) = 3u_1 - 2u_2, the coefficients 3,−23, -2 form the first column, not the first row.
❌ Not quite. This writes u1u_1 and u2u_2 as rows. Even written as columns they would give M(I,(u),(v))\mathcal{M}\big(I, (u), (v)\big), and the matrix asked for is its inverse.
Show solution

The identity sends uku_k to itself, so the columns of C=M(I,(u),(v))C = \mathcal{M}\big(I, (u), (v)\big) are u1u_1 and u2u_2 in standard coordinates:

C=(1123).C = \begin{pmatrix} 1 & 1 \\ 2 & 3 \end{pmatrix}.

By the theorem, M(I,(v),(u))=C−1\mathcal{M}\big(I, (v), (u)\big) = C^{-1}. The candidate below works, since

(1123)(3−1−21)=(1001)=(3−1−21)(1123).\begin{pmatrix} 1 & 1 \\ 2 & 3 \end{pmatrix}\begin{pmatrix} 3 & -1 \\ -2 & 1 \end{pmatrix} = \begin{pmatrix} 1 & 0 \\ 0 & 1 \end{pmatrix} = \begin{pmatrix} 3 & -1 \\ -2 & 1 \end{pmatrix}\begin{pmatrix} 1 & 1 \\ 2 & 3 \end{pmatrix}.

Check the columns directly: 3(1,2)−2(1,3)=(1,0)3(1,2) - 2(1,3) = (1, 0) and −(1,2)+(1,3)=(0,1)-(1,2) + (1,3) = (0, 1). So

M(I,(v),(u))=(3−1−21).\mathcal{M}\big(I, (v), (u)\big) = \begin{pmatrix} 3 & -1 \\ -2 & 1 \end{pmatrix}.

Problem 2 · The Order of the Factors

Given: T∈L(F2)T \in \mathcal{L}(\mathbf{F}^2) with B=M(T)=(2110)B = \mathcal{M}(T) = \begin{pmatrix} 2 & 1 \\ 1 & 0 \end{pmatrix} in the standard basis (v)(v), and the basis u1=(1,0)u_1 = (1, 0), u2=(1,1)u_2 = (1, 1). Find A=M(T,(u))A = \mathcal{M}\big(T, (u)\big).

✅ Correct! Tu1=(2,1)=u1+u2Tu_1 = (2, 1) = u_1 + u_2 and Tu2=(3,1)=2u1+u2Tu_2 = (3, 1) = 2u_1 + u_2, which are the two columns.
❌ Factors in the wrong order. This is CBC−1CBC^{-1}. The formula is A=C−1BCA = C^{-1}BC: the CC that acts first, on the right, converts uu-coordinates into vv-coordinates.
❌ One step short. This is BC=M(T,(u),(v))BC = \mathcal{M}\big(T, (u), (v)\big): its columns are Tu1Tu_1, Tu2Tu_2 in standard coordinates. Multiply by C−1C^{-1} on the left to write them in the uu-basis.
❌ Not quite. This is C−1B=M(T,(v),(u))C^{-1}B = \mathcal{M}\big(T, (v), (u)\big), which still takes standard coordinates as input. The factor CC on the right is missing.
Show solution

The columns of C=M(I,(u),(v))C = \mathcal{M}\big(I, (u), (v)\big) are u1u_1, u2u_2, and C−1C^{-1} can be checked by multiplying:

C=(1101),C−1=(1−101).C = \begin{pmatrix} 1 & 1 \\ 0 & 1 \end{pmatrix}, \qquad C^{-1} = \begin{pmatrix} 1 & -1 \\ 0 & 1 \end{pmatrix}.

First BCBC, whose columns are Tu1Tu_1 and Tu2Tu_2 in standard coordinates:

BC=(2110)(1101)=(2311).BC = \begin{pmatrix} 2 & 1 \\ 1 & 0 \end{pmatrix}\begin{pmatrix} 1 & 1 \\ 0 & 1 \end{pmatrix} = \begin{pmatrix} 2 & 3 \\ 1 & 1 \end{pmatrix}.

Then

A=C−1(BC)=(1−101)(2311)=(1211).A = C^{-1}(BC) = \begin{pmatrix} 1 & -1 \\ 0 & 1 \end{pmatrix}\begin{pmatrix} 2 & 3 \\ 1 & 1 \end{pmatrix} = \begin{pmatrix} 1 & 2 \\ 1 & 1 \end{pmatrix}.

Check by columns: T(1,0)=(2,1)=1⋅(1,0)+1⋅(1,1)T(1,0) = (2,1) = 1\cdot(1,0) + 1\cdot(1,1) and T(1,1)=(3,1)=2⋅(1,0)+1⋅(1,1)T(1,1) = (3,1) = 2\cdot(1,0) + 1\cdot(1,1).

Problem 3 · The Inverse in Two Bases

Given: the basis u1=(1,1)u_1 = (1, 1), u2=(0,1)u_2 = (0, 1) of F2\mathbf{F}^2 and an invertible T∈L(F2)T \in \mathcal{L}(\mathbf{F}^2) with M(T,(u))=(1201)\mathcal{M}\big(T, (u)\big) = \begin{pmatrix} 1 & 2 \\ 0 & 1 \end{pmatrix}. Find the matrix of T−1T^{-1} in the basis (u)(u) and in the standard basis (v)(v).

What is M(T−1,(u))\mathcal{M}\big(T^{-1}, (u)\big)?

What is M(T−1,(v))\mathcal{M}\big(T^{-1}, (v)\big)?

✅ Correct! M(T−1)=(M(T))−1\mathcal{M}(T^{-1}) = \big(\mathcal{M}(T)\big)^{-1} in each basis, and the two answers are related by C (⋅) C−1C\,(\cdot)\,C^{-1}.
❌ Check the product. M(T−1,(u))\mathcal{M}\big(T^{-1}, (u)\big) is the inverse of (1201)\begin{pmatrix} 1 & 2 \\ 0 & 1 \end{pmatrix}, so multiplying the two in either order must give II.
❌ Not quite. Inverting a matrix is not taking reciprocals of entries: (1201)(1−1/201)=(13/201)≠I\begin{pmatrix} 1 & 2 \\ 0 & 1 \end{pmatrix}\begin{pmatrix} 1 & -1/2 \\ 0 & 1 \end{pmatrix} = \begin{pmatrix} 1 & 3/2 \\ 0 & 1 \end{pmatrix} \ne I.
❌ Check the second part. Rearranging A=C−1BCA = C^{-1}BC gives B=CAC−1B = CAC^{-1}; apply it to T−1T^{-1}.
❌ That is M(T,(v))\mathcal{M}(T, (v)). You changed basis correctly but used TT instead of T−1T^{-1}.
❌ The basis was not changed. That is M(T−1,(u))\mathcal{M}\big(T^{-1}, (u)\big) again; the standard basis gives a different matrix.
❌ The formula is used backwards. This is C−1 M(T−1,(u)) CC^{-1}\,\mathcal{M}(T^{-1}, (u))\,C. Since M(⋅,(u))=C−1 M(⋅,(v)) C\mathcal{M}(\cdot, (u)) = C^{-1}\,\mathcal{M}(\cdot, (v))\,C, the standard-basis matrix is C M(⋅,(u)) C−1C\,\mathcal{M}(\cdot, (u))\,C^{-1}.
Show solution

Step 1. By M(T−1)=(M(T))−1\mathcal{M}(T^{-1}) = \big(\mathcal{M}(T)\big)^{-1} in the basis (u)(u):

M(T−1,(u))=(1201)−1=(1−201),since(1201)(1−201)=I.\mathcal{M}\big(T^{-1}, (u)\big) = \begin{pmatrix} 1 & 2 \\ 0 & 1 \end{pmatrix}^{-1} = \begin{pmatrix} 1 & -2 \\ 0 & 1 \end{pmatrix}, \quad\text{since}\quad \begin{pmatrix} 1 & 2 \\ 0 & 1 \end{pmatrix}\begin{pmatrix} 1 & -2 \\ 0 & 1 \end{pmatrix} = I.

Step 2. The columns of C=M(I,(u),(v))C = \mathcal{M}\big(I, (u), (v)\big) are u1u_1, u2u_2:

C=(1011),C−1=(10−11).C = \begin{pmatrix} 1 & 0 \\ 1 & 1 \end{pmatrix}, \qquad C^{-1} = \begin{pmatrix} 1 & 0 \\ -1 & 1 \end{pmatrix}.

Step 3. The change-of-basis formula for the operator T−1T^{-1} reads M(T−1,(u))=C−1 M(T−1,(v)) C\mathcal{M}(T^{-1}, (u)) = C^{-1}\,\mathcal{M}(T^{-1}, (v))\,C. Multiply by CC on the left and C−1C^{-1} on the right:

M(T−1,(v))=C(1−201)C−1=(1−21−1)(10−11)=(3−22−1).\mathcal{M}\big(T^{-1}, (v)\big) = C\begin{pmatrix} 1 & -2 \\ 0 & 1 \end{pmatrix}C^{-1} = \begin{pmatrix} 1 & -2 \\ 1 & -1 \end{pmatrix}\begin{pmatrix} 1 & 0 \\ -1 & 1 \end{pmatrix} = \begin{pmatrix} 3 & -2 \\ 2 & -1 \end{pmatrix}.

Check. In the standard basis, M(T)=C(1201)C−1=(−12−23)\mathcal{M}(T) = C\begin{pmatrix} 1 & 2 \\ 0 & 1 \end{pmatrix}C^{-1} = \begin{pmatrix} -1 & 2 \\ -2 & 3 \end{pmatrix}, and

(−12−23)(3−22−1)=(1001).\begin{pmatrix} -1 & 2 \\ -2 & 3 \end{pmatrix}\begin{pmatrix} 3 & -2 \\ 2 & -1 \end{pmatrix} = \begin{pmatrix} 1 & 0 \\ 0 & 1 \end{pmatrix}.

Problem 4 · Inverting the Formula

Given: an invertible T∈L(V)T \in \mathcal{L}(V), bases (u)(u) and (v)(v) of VV, and A=M(T,(u))A = \mathcal{M}(T, (u)), B=M(T,(v))B = \mathcal{M}(T, (v)), C=M(I,(u),(v))C = \mathcal{M}(I, (u), (v)), so that A=C−1BCA = C^{-1}BC. Which expression equals A−1A^{-1}?

✅ Correct! Reverse the order and invert each factor: (C−1BC)−1=C−1B−1(C−1)−1=C−1B−1C(C^{-1}BC)^{-1} = C^{-1}B^{-1}(C^{-1})^{-1} = C^{-1}B^{-1}C. It is the change-of-basis formula for T−1T^{-1}.
❌ The order was not reversed. Inverting each factor in place gives (C−1)−1B−1C−1=CB−1C−1(C^{-1})^{-1}B^{-1}C^{-1} = CB^{-1}C^{-1}, but (XY)−1=Y−1X−1(XY)^{-1} = Y^{-1}X^{-1} reverses the order.
❌ Not quite. The last factor is the inverse of C−1C^{-1}, and (C−1)−1=C(C^{-1})^{-1} = C, not C−1C^{-1}.
❌ The CC's do not cancel. Matrix multiplication is not commutative, so C−1C^{-1} and CC cannot meet. In Problem 2, A−1=(−121−1)A^{-1} = \begin{pmatrix} -1 & 2 \\ 1 & -1 \end{pmatrix} while B−1=(011−2)B^{-1} = \begin{pmatrix} 0 & 1 \\ 1 & -2 \end{pmatrix}.
Show solution

Route 1: the product rule. B=M(T,(v))B = \mathcal{M}(T, (v)) is invertible, with inverse M(T−1,(v))\mathcal{M}(T^{-1}, (v)). Applying (XY)−1=Y−1X−1(XY)^{-1} = Y^{-1}X^{-1} twice to the three invertible factors gives

A−1=(C−1BC)−1=C−1B−1(C−1)−1=C−1B−1C.A^{-1} = (C^{-1}BC)^{-1} = C^{-1}B^{-1}(C^{-1})^{-1} = C^{-1}B^{-1}C.

Check: (C−1BC)(C−1B−1C)=C−1B(CC−1)B−1C=C−1(BB−1)C=C−1C=I(C^{-1}BC)(C^{-1}B^{-1}C) = C^{-1}B(CC^{-1})B^{-1}C = C^{-1}(BB^{-1})C = C^{-1}C = I, and the product in the other order also equals II by the same regrouping.

Route 2: the formula for T−1T^{-1}. A−1=M(T−1,(u))A^{-1} = \mathcal{M}(T^{-1}, (u)) and B−1=M(T−1,(v))B^{-1} = \mathcal{M}(T^{-1}, (v)). The change-of-basis formula for the operator T−1T^{-1}, with the same CC, gives M(T−1,(u))=C−1 M(T−1,(v)) C\mathcal{M}(T^{-1}, (u)) = C^{-1}\,\mathcal{M}(T^{-1}, (v))\,C, that is, A−1=C−1B−1CA^{-1} = C^{-1}B^{-1}C.

Solved: 0 / 4