In the official solution of an university exam I see the following question:
Given the base vectors
$$ B = \{ \begin{pmatrix} -1 \\ 1 \end{pmatrix} , \begin{pmatrix} 1 \\ 1 \end{pmatrix} \} $$
and a second set of base vectors: $$ B^* = \{ \begin{pmatrix} 1 \\ 2 \end{pmatrix} , \begin{pmatrix} 2 \\ 3 \end{pmatrix} \} $$
give the equations of the change from B to B* basis and apply it to vector of components (3,-1) in B basis.
The official solution is:
$$ C(B,B^*) = \begin{pmatrix} -5 & 1 \\ -3 & -1 \end{pmatrix} $$
and vector in B* basis is (-16,-8)
The method has been to place side by side the two matrices and apply some row multiplication and additions till make diagonal first one.
This result surprises me. If I call T the matrix formed by the base vectors in B and $T^*$ the one for $B^*$, I think the result should be ${(T^*)}^{-1}T$, by the simple logic of first T to pass to cartesian coordinates and back to B^* with the inverse of its matrix. That gives me a result of:
$$ C(B,B^*) = \begin{pmatrix} 5 & -1 \\ -3 & 1 \end{pmatrix} $$
and vector in B* equal to (16,-10).
Please, could you help me to known which one is the correct solution?
Your solution is correct. You can tell because the columns of the change of basis matrix should give the coordinates of the basis elements in $B$ in terms of the basis $B^{*}$.
Indeed, we have $$\begin{pmatrix}-1\\ 1\end{pmatrix}=5\begin{pmatrix}1\\2\end{pmatrix}-3\begin{pmatrix}2\\3\end{pmatrix}$$ and $$\begin{pmatrix}1\\ 1\end{pmatrix}=-\begin{pmatrix}1\\2\end{pmatrix}+\begin{pmatrix}2\\3\end{pmatrix}$$