Let $$W_1 = \lbrace\; ax^4 + bx^3 + ax^2 + cx \in P_4(\mathbb{R}) | \ a, b, c ∈ \mathbb{R}\;\rbrace$$ and $$W_2 = \lbrace\; 0x^4 + ax^3 − ax^2 + 2bx + a \in P_4(\mathbb{R}) | \ a, b ∈ \mathbb{R} \;\rbrace.$$
(a) Show that $W_1$ and $W_2$ are subspaces of $P_4(\mathbb{R})$.
(b) Find bases for $W_1$ and $W_2$.
(c) Determine the dimensions of $W_1$ and $W_2$.
So for the subspace part, can we just show $$r(a,b,a,c) = (ra, rb, ra, rc)\in P_4(\mathbb{R})$$ and $$(a, b, a , c ) + (a, -a, 2b, a) = (2a, b-a, a+2b, c+a) \in P_4(\mathbb{R})?$$ For the bases, my answer is: $$W_1=\langle\; (1,0,1,0), (0,1,0,0), (0,0,0,1)\;\rangle$$ and $$W_2 = \langle\; (1,-1,0,1), (0,0,2,0) \;\rangle $$ so the dimensions are 3 and 2 respectively.
I just wanted to make sure that my work is correct. Thanks in advance
I am going to assume the space $P_4(\mathbb{R})$ is the set of polynomials of degree $4$ or less, with the regular polynomial addition. Also, I assume you are working with $\mathbb{R}$ as your scalar field.
I hope this helps you.