Let $W = \{ p(x) \in P_5 \mid p(0) = p(1) = 0 \}$.
a) Show that $W$ is a subspace of $P_5$.
b) Find a basis for $W$.
c) What is $\dim(W)$?
For part a), I need to show three things (I believe):
1) Closure under addition
2) Closure under multiplication
3) Show the vector zero is in the subset
I'm just unsure of how to show this closure with this example, I've done closure with other examples. I just don't know what $W$ really is, and what to do with it. Thanks for any help!
For closure note that $$ (P+Q)(0)=P(0)+Q(0) = 0+0 =0$$
$$ (\lambda P)(0)= \lambda (P(0))= \lambda 0 =0 $$
For basis consider $$\{ x(x-1), x^2(x-1), x^3(x-1) , x^4(x-1)\}$$
Thus the dimension of $W$ is four.