Consider the linear transform of $V=\mathbb{R}^2 \rightarrow W=\mathbb{R}^3$ given by:
$$T(a,b) = (-a, a+b, a-b)$$
The basis of:
$$V = \{\ (2,1),\ (1,7)\ \}$$
and the basis of:
$$W = \{\ (1,0,0,),\ (0,1,0),\ (0,0,1)\ \}$$
Now applying transform function T to each vector in V basis:
$$T(2,1) = (-2,3,1)$$ $$T(1,7) = (-1,8,-6)$$
Since, W is the standard basis, the matrix representation of T is formed by concatenating as column vectors T(2,1) and T(1,7). Thus, T matrix is:
$$T = \begin{bmatrix} -2 & -1 \\ 3 & 8 \\ 1 & -6 \end{bmatrix} $$
Now for the part that I don't get, how to check that my T matrix actually works?
I'm wondering why I can't use my T matrix in place of T function and get the same result?? Am I correctly understanding the purpose of T matrix representation?
$$ \begin{bmatrix} -2 & -1 \\ 3 & 8 \\ 1 & -6 \end{bmatrix} \begin{bmatrix} -2 \\ -1 \end{bmatrix} \ne \begin{bmatrix} -2 \\ 3 \\ 1 \end{bmatrix} $$
why?
Don't forget that, in $\mathbb{R}^2$, the basis that you are working with is $\bigl((2,1),(1,7)\bigr)$, not the standard one. Therefore, since the coordinates of $(-2,-1)$ in that basis are $-1$ and $0$, then, in order to check whether that matrix works, what you do is$$\begin{bmatrix}-2&-1\\3&8\\1&-6\end{bmatrix}.\begin{bmatrix}-1\\0\end{bmatrix}=\begin{bmatrix}2\\-3\\-1\end{bmatrix}.$$