Prove that $1+t^2$, $t+t^2$, $1+2t+t^2$ is a basis for the space of quadratic polynomials $P^{(2)}$.
I have worked it out to the point where I have the following: $(1+t^2)(1, 0, 1)^T +(t+t^2)(1,1,0)^T + (1+2t+t^2)(1,2,1)^t$
Am I on the right track? If so, what should my next step be?
Hint: If you call $f(t)= 1+t^2,\, g(t) = t+t^2,\, h(t) = 1+ 2t+ t^2$, you need to find $3$ values for $t$, let's say $t_1,\, t_2,\, t_3$, such that:
$$\begin{vmatrix} f(t_1) & f(t_2) & f(t_3) \\ g(t_1) & g(t_2) & g(t_3) \\ h(t_1) & h(t_2) & h(t_3) \end{vmatrix}\neq 0 $$
So, you prove that $f(t),\,g(t),\,h(t)$ are linearly independent.
Plus, you know that $\dim P_2[t]=3$.