Let $P_2$ be the vector space of polynomials of degree ≤ 2. A function $T : P_2 \to {\mathbb R}^2$ is defined by: $$ T(p(x))=(p(1),p(2)) $$ How do I find the transformation matrix with respect to the standard bases $B=\{1,x,x^2\}$ and $S=\{(1,0),(0,1)\}$?
I don't fully understand what that transformation represents and hence I am unable to proceed with the problem.
Hint: for any polynomial $$ p(x)=ax^2+bx+c=\begin{pmatrix}x^2 & x & 1\end{pmatrix}\begin{pmatrix}a\\b\\c\end{pmatrix} $$ we should calculate the values at the points $x=1$ and $x=2$. For example, $$ p(1)=\begin{pmatrix}1 & 1 & 1\end{pmatrix}\begin{pmatrix}a\\b\\c\end{pmatrix}. $$ Then $(p(1),p(2))=A(1,0)+B(0,1)$. Can you represent the transformation $T$ from $(a,b,c)$ to $(A,B)$ as a matrix multiplication with some matrix?