How to find a transformation matrix in a different basis

A transformation can have different matrices when we describe the inputs and outputs in different bases. The underlying map stays the same, but the coordinates change. Let’s follow those coordinate changes to build the matrix in a new basis.

Use a basis matrix to convert coordinates

Let B be the ordered basis (1,1), (-3,-2). Put those vectors into the columns of C. Multiplying C[x]B converts basis coordinates into standard coordinates.

C=[1-31-2]

Use the following matrix for the transformation in standard coordinates.

A=[2-1-30]

Convert to standard coordinates, apply A, then convert back

[T(x)]B=C-1AC[x]B

The matrix of the transformation in basis B is C-1AC.

M=[-1135-413]

Apply the new matrix to basis coordinates

For [x]B=(2,1), multiply by M.

-11(2)+35(1)=13-4(2)+13(1)=5

The output coordinates are (13,5) in basis B. To check them, the input in standard coordinates is C(2,1)=(-1,0). Applying A gives (-2,3), and converting (13,5) back with C gives the same (-2,3).