Let $p_1(x)=1+2x+x^2$, $p_2(x)=1+x+x^2$, $p_3(x)=1+x^2$. Show that they span the space of polynomials of degree 2.
I'm not sure why if a general linear combination of these three vectors equals a general polynomial of degree 2 then that means they span the space.
It turns out that the vector space generated by $\{p_1,p_2,p_3\}$ is equal to the one generated by $\{q_1,q_2\}$, where $q_1(x)=x$ and $q_2(x)=1+x^2$. Indeed, each element of $\{p_1,p_2,p_3\}$ is a linear combination of $q_1$ and $q_2$ and $q_1=p_1-p_2$ and $q_2=p_3$.