I am stuck on a homework problem I am not sure if my solution makes any sense. We are given the basis {$1,t,t^2,t^3,t^4,t^5$}.
Here is the question verbatim: How does the operator $D^{2}$ act on a polynomial? What is its matrix?
Here is my attempt:
The matrix for $D$ is $\left[\begin{array}{cccccc} \frac{d^{2}}{dt^{2}} & 0 & 0 & 0 & 0 & 0\\ 0 & \frac{d^{2}}{dt^{2}} & 0 & 0 & 0 & 0\\ 0 & 0 & \frac{d^{2}}{dt^{2}} & 0 & 0 & 0\\ 0 & 0 & 0 & \frac{d^{2}}{dt^{2}} & 0 & 0\\ 0 & 0 & 0 & 0 & \frac{d^{2}}{dt^{2}} & 0\\ 0 & 0 & 0 & 0 & 0 & \frac{d^{2}}{dt^{2}} \end{array}\right]$
Given any polynomial then $D^{2}$ will give the $4^{th}$ derivative of the polynomial in the span of $\mathbb{P}_{6}$. The matrix can be represented by:
$D^{2}=\left[\left[\begin{array}{cccccc} \frac{d^{2}}{dt^{2}} & 0 & 0 & 0 & 0 & 0\\ 0 & \frac{d^{2}}{dt^{2}} & 0 & 0 & 0 & 0\\ 0 & 0 & \frac{d^{2}}{dt^{2}} & 0 & 0 & 0\\ 0 & 0 & 0 & \frac{d^{2}}{dt^{2}} & 0 & 0\\ 0 & 0 & 0 & 0 & \frac{d^{2}}{dt^{2}} & 0\\ 0 & 0 & 0 & 0 & 0 & \frac{d^{2}}{dt^{2}} \end{array}\right]\left[\begin{array}{cccccc} \frac{d^{2}}{dt^{2}} & 0 & 0 & 0 & 0 & 0\\ 0 & \frac{d^{2}}{dt^{2}} & 0 & 0 & 0 & 0\\ 0 & 0 & \frac{d^{2}}{dt^{2}} & 0 & 0 & 0\\ 0 & 0 & 0 & \frac{d^{2}}{dt^{2}} & 0 & 0\\ 0 & 0 & 0 & 0 & \frac{d^{2}}{dt^{2}} & 0\\ 0 & 0 & 0 & 0 & 0 & \frac{d^{2}}{dt^{2}} \end{array}\right]\right] $
But this is just: $[\begin{array}{cccccc} \frac{d^{4}}{dt^{4}} & 0 & 0 & 0 & 0 & 0\\ 0 & \frac{d^{4}}{dt^{4}} & 0 & 0 & 0 & 0\\ 0 & 0 & \frac{d^{4}}{dt^{4}} & 0 & 0 & 0\\ 0 & 0 & 0 & \frac{d^{4}}{dt^{4}} & 0 & 0\\ 0 & 0 & 0 & 0 & \frac{d^{4}}{dt^{4}} & 0\\ 0 & 0 & 0 & 0 & 0 & \frac{d^{4}}{dt^{4}} \end{array}]$
I am just worried though because when I think about the vector: $(6,t-1,(t-1)^2,(t-1)^3,(t-1)^4,(t-1)^5)$ when I represent this as a set of vectors I get: $\left[\begin{array}{c} 1\\ 0\\ 0\\ 0\\ 0\\ 0 \end{array}\right],\left[\begin{array}{c} -1\\ 1\\ 0\\ 0\\ 0\\ 0 \end{array}\right],\left[\begin{array}{c} 1\\ -2\\ 1\\ 0\\ 0\\ 0 \end{array}\right],\left[\begin{array}{c} -1\\ 3\\ -3\\ 1\\ 0\\ 0 \end{array}\right],\left[\begin{array}{c} 1\\ -4\\ 6\\ -4\\ 1\\ 0 \end{array}\right],\left[\begin{array}{c} 1\\ 5\\ -10\\ 10\\ -5\\ 1 \end{array}\right]$
But how do I apply my differentiation matrix to any of these vectors? It is always 0! I have a feeling my matrix for D is wrong but I am not sure how to fix it.