In the space of polynomials with degree $n\leq 3$ $V$ equipped with the inner product induced by $$\langle f,g\rangle:=\int_{-1}^{1}f(t)g(t)\mathrm{d}t$$ the accordingly normed Legendre polynomials $$\left\{\frac{1}{\sqrt{2}},\frac{\sqrt{6}}{2}x,\frac{\sqrt{10}}{4}(3x^2-1), \frac{\sqrt{14}}{4}(5x^3-3x)\right\}$$ form an orthonormal basis. As an exercise, I had to give the adjoint of the derivative $p\mapsto p'.$
So, I am currently trying to first get the Transformation matrix of the derivative according to the given basis, and then use transposition to find the adjoint. However I have problems in expressing the image of the last listed basis vector, $\frac{14\sqrt{14}}{4}x^2-\frac{3\sqrt{14}}{4}$, in terms of only the third, $\frac{\sqrt{10}}{4}(3x^2-1)$, as they are not linearly dependent. I therefore think I made an error, as I can not get the typical diagonal in the transformation matrix, but i cannot find it.
Thank you for any help in advance.
In your calculations, it seems that all your diagonal entries should be $0$. That is, letting $\{e_0, e_1, e_2, e_3\}$ be the onb you gave above, you will find that the $i$th coefficient of $\frac{d}{dx} e_i$ expanded in that onb is zero.
For example:
$$ \frac{d}{dx} \left\{ \frac{\sqrt{14}}{4}(5x^3 - 3x) \right\} = \frac{5\sqrt{14}}{4}\left(3x^2 - \frac{3}{5}\right) = \frac{5\sqrt{14}}{4}\left(3x^2 - 1\right) + \frac{5\sqrt{14}}{4}\cdot \frac{2}{5} \\= a\, e_0 + b\, e_1 + c \, e_2 + k\, e_3 $$ has $a = - \frac{\sqrt{14}/2}{1/\sqrt{2}}$, $b = 0$, $c = \frac{5\sqrt{14}/4}{\sqrt{10}/4}$ and $k = 0$.