Let $V$ = $P_{n}(\Bbb{R})$ be a vector space of polynomials with real coefficients up to degree $n$.
Let $W = \{ p(x)\in V\mid p(a) = p'(a) = p''(a)=\ldots=p^{(r)}(a) = 0 \}$
What is the dimension of $W$?
I can notice that if $p(x)$ belongs to $W$ then $x-a$ will be a factor of each of $p(x),p'(x),p''(x),\ldots, p^{(r)}(x)$ but still I am unable to explicitly write this polynomial to find the dimension of the subspace.
Please help.