33. Change of Basis

The same vector or transformation gets different coordinate representations depending on which basis you use. Change of basis converts between two such representations.

33.1. Change of basis matrix

Given two bases 𝐵={𝑏1,,𝑏𝑛} and 𝐵={𝑏1,,𝑏𝑛} of the same space, the change-of-basis matrix from 𝐵 to 𝐵 is

𝑃𝐵𝐵=[[𝑏1]𝐵[𝑏2]𝐵[𝑏𝑛]𝐵]

— each column is the 𝐵-basis vector expressed in 𝐵-coordinates.

It satisfies:

[𝑥]𝐵=𝑃𝐵𝐵[𝑥]𝐵

The reverse direction uses the inverse:

[𝑥]𝐵=𝑃𝐵𝐵1[𝑥]𝐵

33.2. Standard basis as anchor

For a basis 𝐵={𝑏1,,𝑏𝑛} of 𝑛, write the basis vectors as columns of a matrix:

𝑃=[𝑏1𝑏2𝑏𝑛]

Then [𝑥]𝐸=𝑃[𝑥]𝐵 (standard ↔ 𝐵 conversion via plain matrix–vector product).

Example

𝐵={[11],[11]} in 2, 𝑥=[31] (standard coords).

𝑃=[1111]𝑃1=12[1111][𝑥]𝐵=𝑃1𝑥=12[1111][31]=[21]

𝑥=2𝑏1+1𝑏2.

33.3. Change of basis for a linear transformation

If a linear transformation has matrix 𝐴 in basis 𝐵 and matrix 𝐴 in basis 𝐵, with change-of-basis matrix 𝑃 (mapping 𝐵 coords to 𝐵 coords):

𝐴=𝑃1𝐴𝑃

This is similarity. Two matrices related by 𝐴=𝑃1𝐴𝑃 for some invertible 𝑃 are similar — they represent the same linear transformation in different bases.

Similar matrices share:

33.4. Why it matters

33.5. See also