Change of Basis and Similarity

Translate coordinate descriptions and distinguish changing a vector from changing its coordinates.

Builds on Linear Maps and Geometry

The bigger question: Is the vector changing, or only the coordinates used to describe it?

On this page

Put basis vectors in columns

Let B=(b1,…,bn)B=(\mathbf b_1,\ldots,\mathbf b_n) be a basis and let PP contain those vectors as columns in standard coordinates. Then x=P[x]B\mathbf x=P[\mathbf x]_B, and [x]B=P−1x[\mathbf x]_B=P^{-1}\mathbf x. The direction of this conversion matters: PP builds the physical vector from its basis coordinates.

If a linear map has standard matrix AA, its matrix in basis BB is AB=P−1APA_B=P^{-1}AP. Follow the operations from right to left: convert to standard coordinates, apply the map, convert back. Matrices connected this way are similar and describe the same linear operator in different bases.

Visual guide

VISUAL GUIDESame vector, different coordinate labels
With basis b₁ = (1, 0), b₂ = (1, 1), the vector (3, 2) has basis coordinates (1, 2). One b₁ step plus two b₂ steps reaches the same geometric endpoint as three horizontal and two vertical standard steps.-0.5-0.50.50.3751.51.252.52.133.53xy
  • Standard-coordinate path
With basis b₁ = (1, 0), b₂ = (1, 1), the vector (3, 2) has basis coordinates (1, 2). One b₁ step plus two b₂ steps reaches the same geometric endpoint as three horizontal and two vertical standard steps.

Worked example: convert a vector

With b1=(1,1)T\mathbf b_1=(1,1)^T, b2=(1,−1)T\mathbf b_2=(1,-1)^T, we have P=(111−1)P=\begin{pmatrix}1&1\\1&-1\end{pmatrix}. For standard vector (3,1)T(3,1)^T, solving Pc=(3,1)TP\mathbf c=(3,1)^T gives c=(2,1)T\mathbf c=(2,1)^T. Multiplying P(2,1)TP(2,1)^T verifies the conversion.

PAUSE & THINKA quick check, not a grade

Try it yourself.

Choose an answer and explain your reasoning to yourself. Use a hint if you get stuck.

A basis matrix P has the new basis vectors as columns. If c is the coordinate vector in that basis, what is the usual-coordinate vector v?

Hint 1 · Find a starting point

Coordinates are coefficients of basis vectors.

Hint 2 · Take the next step

Multiplying by P forms their weighted column combination.

Show the reasoning

Answer: v=Pc

v=Pc converts basis coordinates to the usual coordinates; c=P⁻¹v goes the other way.

Before moving on: what would make one of the other answers wrong? Saying why is part of understanding.

Worked example: simplify a transformation

Let A=(2112)A=\begin{pmatrix}2&1\\1&2\end{pmatrix}. Applying AA to the basis vectors above gives Ab1=3b1A\mathbf b_1=3\mathbf b_1 and Ab2=b2A\mathbf b_2=\mathbf b_2. Hence in this basis the matrix is AB=diag⁡(3,1)A_B=\operatorname{diag}(3,1).

This is the idea behind diagonalization: choose directions that the transformation only scales. Such a basis does not exist for every matrix. Similarity preserves eigenvalues, determinant and trace, but it need not preserve the lengths of coordinate vectors unless the basis change is orthogonal.

For different input and output bases of a map, the formula is Q−1APQ^{-1}AP, where PP converts input coordinates and QQ converts output coordinates. Similarity is the special case where the same basis change is used on both sides.

Practice

  1. If P=diag⁡(2,3)P=\operatorname{diag}(2,3), convert basis coordinates (1,2)T(1,2)^T to standard coordinates.
  2. With that PP, convert standard vector (4,3)T(4,3)^T to basis coordinates.
  3. Why must PP be invertible?
Show worked solutions
  1. P(1,2)T=(2,6)TP(1,2)^T=(2,6)^T.
  2. P−1(4,3)T=(2,1)TP^{-1}(4,3)^T=(2,1)^T.
  3. Its columns must be a basis, so every vector has unique coordinates. Dependent columns would destroy uniqueness.
MAKE IT YOURS

Pause before the next idea.

Can you explain how the visualization connects to this lesson’s goal? If a step still feels uncertain, put this lesson on your review list and try the check again another day.

Optional marks, not a grade. Saved in this browser only. Open notebook →