Similarity &
Change of Basis
Understand how similar matrices represent the same linear transformation in different bases, and master change-of-basis computations using \( P^{-1}AP \).
What Is a Basis?
A basis for a vector space \( V \) is a set of vectors \( \{ \mathbf{v}_1, \mathbf{v}_2, \dots, \mathbf{v}_n \} \) that is both linearly independent and spans \( V \). Every vector in \( V \) can be written as a unique linear combination of the basis vectors.
Coordinate Vectors
Given a basis \( \mathcal{B} = \{ \mathbf{b}_1, \mathbf{b}_2 \} \), the coordinate vector of \( \mathbf{x} \) relative to \( \mathcal{B} \) is the column \( [\mathbf{x}]_\mathcal{B} \) of scalars such that:
The Change-of-Basis Matrix
Let \( \mathcal{B} = \{ \mathbf{b}_1, \dots, \mathbf{b}_n \} \) be a basis for \( \mathbb{R}^n \). The change-of-basis matrix from \( \mathcal{B} \) to the standard basis \( \mathcal{E} \) is:
It converts \( \mathcal{B} \)-coordinates to standard coordinates:
Similar Matrices: Definition
Two \( n \times n \) matrices \( A \) and \( B \) are similar if there exists an invertible matrix \( P \) such that:
Geometrically, \( A \) and \( B \) represent the same linear transformation \( T \), but expressed in different bases. \( A \) uses the standard basis; \( B \) uses the basis whose columns form \( P \).
Properties Preserved by Similarity
Similar matrices share many fundamental properties because they represent the same transformation. If \( B = P^{-1}AP \), then \( A \) and \( B \) have the same:
Similar vs. Other Equivalences
| Relation | Form | Preserves |
|---|---|---|
| Similar | \( P^{-1}AP \) | Eigenvalues, det, trace, rank |
| Row Equivalent | \( EA \) (elem. row ops) | Row space, rank (not eigenvalues) |
| Congruent | \( P^{T}AP \) | Signature (for symmetric \( A \)) |
| Unitarily Similar | \( U^{\ast}AU \), \( U \) unitary | All of similarity + singular values |
Unpacking \( B = P^{-1}AP \)
Read the formula \( B = P^{-1}AP \) right-to-left as a three-step pipeline:
How to Compute a Change of Basis
Example 1: Basic Similarity
Let \( A = \begin{pmatrix} 4 & -2 \\ 1 & 1 \end{pmatrix} \) and \( \mathcal{B} = \left\{ \begin{pmatrix} 1 \\ 1 \end{pmatrix}, \begin{pmatrix} 2 \\ 1 \end{pmatrix} \right\} \). Find \( B = P^{-1}AP \).
Example 2: Verifying Similarity
Are \( A = \begin{pmatrix} 1 & 2 \\ 0 & 3 \end{pmatrix} \) and \( B = \begin{pmatrix} 3 & 0 \\ -2 & 1 \end{pmatrix} \) similar?
Example 3: Finding \( P \)
Find an invertible \( P \) such that \( P^{-1}AP = D \) where \( A = \begin{pmatrix} 5 & 4 \\ 1 & 2 \end{pmatrix} \).
Why Diagonalize?
The most powerful application of similarity is diagonalization. If \( A = PDP^{-1} \) where \( D \) is diagonal, then computing powers becomes trivial:
Between Two Non-Standard Bases
To convert from basis \( \mathcal{B} \) to basis \( \mathcal{C} \) (neither being the standard basis), compose the change-of-basis matrices:
Common Mistakes
Summary of Key Ideas
| Concept | Key Formula | Interpretation |
|---|---|---|
| Change-of-basis matrix | \( P = [\mathbf{b}_1 \mid \cdots \mid \mathbf{b}_n] \) | Columns are new basis vectors |
| Coordinate conversion | \( \mathbf{x} = P[\mathbf{x}]_\mathcal{B} \) | \( P \) maps \( \mathcal{B} \)-coords to standard |
| Similarity | \( B = P^{-1}AP \) | Same transformation, different basis |
| Diagonalization | \( A = PDP^{-1} \) | \( P \) = eigenvectors, \( D \) = eigenvalues |
| Matrix power | \( A^k = PD^kP^{-1} \) | Raise diagonal entries to power \( k \) |
Question 1 of 5
If \( B = P^{-1}AP \), which of the following is always true?
Question 2 of 5
Given \( P = \begin{pmatrix} 1 & 3 \\ 2 & 5 \end{pmatrix} \), what is \( P^{-1} \)?
Question 3 of 5
If \( A \) is diagonalizable with \( A = PDP^{-1} \), what is \( A^3 \)?
Question 4 of 5
Which pair of matrices is not similar?
Question 5 of 5
In the formula \( B = P^{-1}AP \), the columns of \( P \) are: