Given the linear transformation $T : \mathbb{R}^2 \to \mathbb{R}^3$ where $$A = \begin{bmatrix} 1 & 2 & 1\\ 1 & -1 & 1\\ 2 & 1 & 1 \end{bmatrix}$$
Find $T(x)$ if
$$x =\begin{bmatrix} 2\\ 1\\ -4 \end{bmatrix}$$
What I did:
$T(x)$ = $Ax $ = $b$
So, I performed matrix multiplication $A \cdot b$ and got an answer
$$T(x) = \begin{bmatrix} 0\\ -3\\ 1 \end{bmatrix}$$
Can someone please verify this answer? I do not think this is the correct way to solve the problem.