Change of Basis & Similarity
The same linear map looks like different matrices in different bases. Change of basis is the translation rule, and similarity is the equivalence it induces — the key to hunting for a basis in which the map is simple, which is the whole story of Unit 10.
- Compute coordinate vectors and the change-of-coordinates matrix.
- Derive and use $[T]_{\beta'}=P^{-1}[T]_{\beta}\,P$.
- Prove similarity is an equivalence relation and list its invariants.
- Show two matrices are (or cannot be) similar.
A clumsy matrix can become diagonal in the right basis. Change of basis is how we hunt for that better viewpoint, and similarity tells us which matrices represent the same map.
Picking a better basis is the whole idea behind PCA, Fourier methods, and decoupling systems of differential equations in engineering and finance.
The search for the "best" basis for a given map leads straight to eigenvalues and the diagonalization problem of Unit 10 — and, when diagonalization fails, to the Jordan form studied in MAT247.
Coordinates and the change-of-coordinates matrix
For an ordered basis $\beta=\{v_1,\dots,v_n\}$, the coordinate vector $[v]_\beta$ lists the unique coefficients with $v=\sum a_iv_i$. If $\beta'$ is a second basis, the change-of-coordinates matrix $P$ has the $\beta$-coordinates of the $\beta'$-vectors as its columns, and $$[v]_{\beta}=P\,[v]_{\beta'}.$$ $P$ is invertible, and $P^{-1}$ translates in the other direction.
In $\mathbb{R}^2$ with $\beta'=\{(1,1),(1,-1)\}$ and $\beta$ standard: $P=\left(\begin{smallmatrix}1&1\\1&-1\end{smallmatrix}\right)$. For $v=(5,1)$: solve $a(1,1)+b(1,-1)=(5,1)$, so $a+b=5$, $a-b=1$, giving $[v]_{\beta'}=(3,2)$ — and indeed $P\,(3,2)=(5,1)$. ✓
What happens to the matrix of an operator
For an operator $T:V\to V$ and bases $\beta,\beta'$ with change-of-coordinates matrix $P$ (from $\beta'$ to $\beta$), $$[T]_{\beta'}=P^{-1}\,[T]_{\beta}\,P.$$
$T(x,y)=(3x+y,\ x+3y)$ has standard matrix $A=\left(\begin{smallmatrix}3&1\\1&3\end{smallmatrix}\right)$.
Similarity
$A,B\in M_{n\times n}(F)$ are similar if $B=P^{-1}AP$ for some invertible $P$. By the theorem above, similar matrices are exactly the matrices of one operator in different bases.
Similar matrices have the same determinant, trace, rank, characteristic polynomial, and eigenvalues. Quick proofs: $\det(P^{-1}AP)=\det(P)^{-1}\det A\det P=\det A$, and $\operatorname{tr}(P^{-1}(AP))=\operatorname{tr}((AP)P^{-1}) =\operatorname{tr}A$ using $\operatorname{tr}(XY)=\operatorname{tr}(YX)$.
• Mind the direction: $[T]_{\beta'}=P^{-1}[T]_{\beta}P$ where $P$ carries
$\beta'$-coordinates to $\beta$-coordinates.
• The columns of $P$ are the new basis vectors written in the
old coordinates.
• Sharing det/trace/eigenvalues does not make matrices similar — see the
checkpoint.
• Similarity uses one basis change on both sides ($P$ and $P^{-1}$); using two
unrelated matrices $Q^{-1}AP$ is a different, weaker equivalence.
Practice
Original problems written for this guide in the style of Friedberg, Insel & Spence exercises. Write a full solution before opening the answer.
Are similar matrices guaranteed to have the same eigenvalues?
Answer
If $B=P^{-1}AP$, prove $\det B=\det A$.
Solution
Which matrices are similar to the identity?
Answer
Find $[v]_{\beta'}$ for $v=(5,1)$ and $\beta'=\{(1,1),(1,-1)\}$.
Solution
Compute the matrix of $T(x,y)=(3x+y,\ x+3y)$ in the basis $\{(1,1),(1,-1)\}$.
Solution
Using $\operatorname{tr}(XY)=\operatorname{tr}(YX)$, prove similar matrices have equal trace.
Solution
Prove similarity is reflexive, symmetric, and transitive.
Solution
Show $\left(\begin{smallmatrix}1&1\\0&1\end{smallmatrix}\right)$ and $I$ are not similar, even though they share determinant, trace, rank, and characteristic polynomial.
Solution
Expanded topic checklist
Course coverage. This unit is part of the complete MAT240H1 topic map. It should cover the following items before you move on:
- Change of basis. Convert coordinate vectors between ordered bases using transition matrices.
- Similarity. Recognize matrices of the same operator in different bases as similar matrices.
- Invariants. Know trace, determinant, rank, characteristic polynomial, and eigenvalues are preserved under similarity.
- Coordinate discipline. Distinguish vectors from coordinate columns and operators from their representing matrices.
Use the current UofT MAT240H1 calendar topics as the coverage spine, and pair lecture notes with a Friedberg-Insel-Spence-style linear algebra text for extra reading. The exact assigned textbook should still be checked against the instructor syllabus.
The spine is: coordinates depend on basis, vectors do not; changing basis conjugates operator matrices by an invertible transition matrix.
Deep practice extensions
Use these after the main practice set. They are designed to force definition-level reasoning, theorem selection, and mixed application rather than routine calculation only.
What are the columns of the change-of-basis matrix from basis $B$ to the standard basis?
Guide
Define what it means for matrices $A$ and $B$ to be similar.
Guide
Prove determinant is preserved under similarity.
Guide
Why does similarity preserve eigenvalues?