A function $T : P_2 \to P_2$ is defined by $T(p(t)) = tp'(t)$.
Find the matrix of $T$ with respect to the basis $B = \{1, 1+t, t^2\}$ of $P_2$.
The expression below is the only thing I could come up with. If someone could explain to me how to go about solving this, that'd be great. Thank you.
$T(a + bt + ct^2) = t(b + 2ct) = bt + 2ct^2$
The columns of the matrix of a linear operator with respect to a basis are given by the operator applied to the basis elements. We compute
\begin{align} T(1) &= 0\\ T(1+t) &= t\\ T(1+t+t^2) &= t+2t^2, \end{align} and hence the matrix is $$ \pmatrix{0&1&0\\0&1&1\\0&0&2}. $$