I have an exercise where I have to figure out if the set $(p, q, r)$ is linearly independent where $p=x, q=x^2, r=2$ and $p,q,r\in P_2$.
I know that they are independent if $c_1p+c_2q+c_3r=0$ where $c_1,c_2,c_3\in\mathbb{R}$.
The next step I should do is write this into a matrix but I'm not sure how to do this since there is only one polynomial and not a set of them.
If (p,q,r) were linearly independent then they would form a basis for P_2 but there are many elements in P_2 (such as 1 and x-1) which cannot be written as a linear combination of p,q,rApologies for the incorrect answer. I mistakenly thought $P_2$ is over the integers (been working with algebraic integers all day!). Anyway, the idea is same. Can we show that $p,q,r$ form a basis for $P_2$? The answer is yes, and we can show this by observing that $p,q,r$ generate the natural basis of $P_2$: $(x^2,x,1)$. So since $p,q,r$ form a basis of $P_2$, they are linearly independent.