In linear algebra, changing bases lets you pick the most convenient coordinate system for your problem. When your new basis is orthonormal, you can recover a vector’s coordinates simply by taking dot-products (i.e. projecting onto each axis) But if your basis isn’t orthonormal—or you need to convert between two arbitrary bases—you’ll build an explicit change-of-basis matrix to transform coordinate vectors Change of basis.

Simple but Restricted - Changing Basis Via Projection Example

Deeper dive into Projection here: Projection

In the example above we are going to change the basis of the vector $r_e$ to use the basis $\hat{b_1},\hat{b_2}$

For this we first need to have the new basis $\hat{b_1},\hat{b_2}$ defined with $\hat{e}$ coordinates.

In this case

$b_1e= \begin{bmatrix} 2 \\ 1 \\ \end{bmatrix}=2*\hat{e_1}+1*\hat{e_2}$

$b_2e= \begin{bmatrix} -2 \\ 4 \\ \end{bmatrix}=-2*\hat{e_1}+4*\hat{e_2}$

Now we need to derive how r is looking like when described by basis b1 and b2

That means