MTH 210 · Linear Algebra
Our notes
2 min readCoordinates in two bases
Let B = {b₁, ..., bₙ} and B′ be bases of V. The transition matrix P from B′ to B has as its columns the B-coordinates of the B′ vectors. Then
[v]_B = P [v]_B′ and [v]_B′ = P⁻¹ [v]_B.
When B is the standard basis of ℝⁿ, the columns of P are just the new basis vectors.
Worked example. B′ = {(1, 1), (1, −1)} in ℝ². P = [1 1; 1 −1], det = −2, P⁻¹ = (1/2)[1 1; 1 −1].
For v = (3, 1): [v]_B′ = P⁻¹(3, 1) = (1/2)(4, 2) = (2, 1). Check: 2(1, 1) + 1(1, −1) = (3, 1). ✓
Matrix of a map in a new basis
If A is the matrix of T: V → V in basis B, and P changes from B′ to B, then the matrix in B′ is
A′ = P⁻¹AP.
Worked example. T(x, y) = (y, x) (reflection in y = x): A = [0 1; 1 0]. In B′ = {(1, 1), (1, −1)}: T(1, 1) = (1, 1) = 1·b′₁ and T(1, −1) = (−1, 1) = −1·b′₂, so A′ = [1 0; 0 −1]. Check: P⁻¹AP = (1/2)[1 1; 1 −1][0 1; 1 0][1 1; 1 −1]. First AP = [1 −1; 1 1]; then (1/2)[1 1; 1 −1][1 −1; 1 1] = (1/2)[2 0; 0 −2] = [1 0; 0 −1]. ✓
A good basis makes the matrix simple (here diagonal): that is the idea behind diagonalisation.
Similar matrices
Square matrices A and B are similar if B = P⁻¹AP for some invertible P. They are the same map in different bases, so they share:
- determinant, trace, rank,
- characteristic polynomial and eigenvalues (but not, in general, the eigenvectors),
- minimal polynomial, invertibility.
To show two matrices are not similar, find one of these that differs.
Worked example. [1 0; 0 2] and [1 1; 0 1]: traces 3 and 2. Not similar.
Caution: equal trace, determinant and eigenvalues do not prove similarity: [1 0; 0 1] and [1 1; 0 1] have both, but only the identity is similar to the identity (P⁻¹IP = I).
Equivalent matrices
m × n matrices A and B are equivalent if B = QAP for invertible Q (m × m) and P (n × n): the same map with bases changed in both spaces (or A turned into B by row and column operations).
- Two matrices of the same size are equivalent if and only if they have the same rank.
- Every matrix of rank r is equivalent to the normal form [I_r 0; 0 0].
Similarity is stronger: one basis change used on both sides, for square matrices.
Exams usually ask: find a transition matrix and coordinates in a new basis; find the matrix of T in a new basis using P⁻¹AP; list invariants of similar matrices; show two matrices are not similar; normal form under equivalence.
Common mistake: writing A′ = PAP⁻¹ with the wrong P. Fix the meaning of P (columns = new basis vectors in old coordinates) and then A′ = P⁻¹AP.
Written by the UniHive team in our own words. Spotted a mistake? Tell us on WhatsApp.
Read
-
Best pick Interactive Linear Algebra, 5.3 Similarity
(opens textbooks.math.gatech.edu in a new tab)
Margalit and Rabinoff, Interactive Linear Algebra, Interactive Linear Algebra, 5.3 Similarity, GNU FDL · licence
-
Interactive Linear Algebra, 2.8 Bases as coordinate systems
(opens textbooks.math.gatech.edu in a new tab)
Margalit and Rabinoff, Interactive Linear Algebra, Interactive Linear Algebra, 2.8 Bases as coordinate systems, GNU FDL · licence
Watch
-
Change of basis | Chapter 13, Essence of linear algebra
13 min · ≈ 59 MB · about ₦33
(opens youtube.com in a new tab)
-
Change of Basis
10 min · ≈ 45 MB · about ₦25
(opens youtube.com in a new tab)
-
How to Find Transition Matrix Between Bases | Linear Algebra Exercises
7 min · ≈ 32 MB · about ₦18
(opens youtube.com in a new tab)
-
Similar Matrices and Similarity Invariants | Linear Algebra
13 min · ≈ 59 MB · about ₦33
(opens youtube.com in a new tab)
-
Similar Matrices | MIT 18.06SC Linear Algebra, Fall 2011
8 min · ≈ 36 MB · about ₦20
(opens youtube.com in a new tab)
-
Change of basis matrix | Alternate coordinate systems (bases) | Linear Algebra | Khan Academy
18 min · ≈ 81 MB · about ₦45
(opens youtube.com in a new tab)
-
31. Change of Basis; Image Compression
50 min · ≈ 225 MB · about ₦126
(opens youtube.com in a new tab)
We link to free material and never copy it. Every link was opened by our team before it went up; video data is a rough guide at 360p.