Does there exist a matrix representation for the linear transformation
$T(x P(x)) = (x-1)P(x)$, where $P(x)$ is the second degree polynomial?
Here, $xP(x)$ are all third degree polynomials that satisfy $P(0) = 0$ and $(x-1) P(x)$ are all third degree polynomials, that satisfy $P(1) = 0$.
I know that a basis for $xP(x)$ is $\{x, x^2, x^3\}$ and basis for $(x-1) P(x)$ is $\{x-1, x^2-x, x^3 - x^2\}$, but can't figure out how to write a matrix for linear transformation.