Linear algebra, polynomial problem Could someone help me with this question? Because I'm stuck and have no idea how to solve it & it's due tomorrow :(
Let $S$ be the following subset of the vector space $P_3$ of all real polynomials $p$ of degree at most 3:
$$S=\{p\in P_3\mid p(1)=0, p^\prime (1)=0\}$$
where $p^\prime$ is the derivative of $p$.
a) Determine whether $S$ is a subspace of $P_3$
b) determine whether the polynomial $q(x)= x-2x^2 +x^3$ is an element of S
Attempt:
I know that for the first part I need to proof that it's none empty, closed under addition and multiplication right?
will this give me full mark for the part a if I answer like this:
$(af+bg)(1)=af(1)+bg(1)=0+0=0$ and 
$(af+bg)′(1)=af′(1)+bg′(1)=0+0=0$ 
so therefore it's a subspace of $P_3$?
b) i got no idea...
Thank you very much!

Well, your idea is right. But if you want to receive full marks, you also need to organize you idea in more logically manners.
Here is the answer to part a)
proof: For two elements $p_1$ and $p_2$ in $S$, we have $p_1(1)=0$, $p_1'(1)=0$, $p_2(1)=0$, $p_2'(1)=0$.
Then define $p_3=a*p_1+b*p_2$ where $a\; b$ are scalars from field $K$ which should be defined in question.
$$p_3(1)=a*p_1(1)+b*p_2(1)=0$$
$$p_3'(1)=a*p_1'(1)+b*p_2'(1)=0$$
According to the above two equations, we can conclude that $p_3$ is also in $S$. And $S$ is the subspace of $P^3$.
part b) just proof $q(1)=0$ and $q'(1)=0$ and $q \in S$.
