Coordinates and Change of Basis
Translate vectors between coordinate systems. Compute basis coordinates, change-of-basis matrices, and the representation of a linear map in a new basis.
Big idea: vector versus address
The object
A vector is the geometric object itself. In the standard basis of $\mathbb{R}^2$, $x=\begin{bmatrix}3\\1\end{bmatrix}$ means $3e_1+e_2$.
The address
Coordinates depend on the basis. If $\mathcal B=\{(1,1),(1,-1)\}$, then the same vector has $[x]_{\mathcal B}=\begin{bmatrix}2\\1\end{bmatrix}$.
Basis matrix
For a basis $\mathcal B=\{v_1,\dots,v_n\}$, put the basis vectors as columns:
Basis coordinates to standard coordinates
Standard coordinates to basis coordinates
Why columns, not rows?
The expression $x=c_1v_1+\cdots+c_nv_n$ is exactly the matrix product $P_{\mathcal B}c$ when the basis vectors are columns.
Interactive coordinate lab
drag by typingChoose a basis $\mathcal B=\{v_1,v_2\}$ and a vector $x$. The page computes $[x]_{\mathcal B}$ and draws the coordinate grid.
Blue and purple arrows are basis vectors. Green is the target vector. The tilted grid is the coordinate grid generated by the basis.
Change-of-basis machine
$B\to C$Start with coordinates in basis $\mathcal B$, convert to the actual vector $x$, then translate that vector into basis $\mathcal C$.
Matrix representation in a new basis
If $A$ is the standard matrix of a transformation and $P_{\mathcal B}$ is the basis matrix, then the matrix that acts on $\mathcal B$-coordinates is
Similarity preview calculator
$P^{-1}AP$Algorithmic summary
1. Build $P$
Place basis vectors as columns.
2. Convert coordinates
Use $x=P[x]_B$ and $[x]_B=P^{-1}x$.
3. Change matrices
Use $A_B=P^{-1}AP$ for a square transformation.
Quick check
If $P_B$ has basis vectors as columns, what is $P_Bc$?