Take $P_{n+1}(\Re)$ to be the space of polynomials with coefficients in the real numbers, with the degree of all polynomials $\le n+1$. I want to show that, given any $n$ points $a_1, a_2, ..., a_n \in \Re,$ $\exists f \in P_{n+1}(\Re), f\ne0,$ s.t. the function is zero at all of those points $a_i$, but the sum of the derivatives at those points is $0$.
I don't know where to start. The hint in the textbook says to use the dimension theorem, but I don't see how that can be used here.
Hint:
Define the mapping from $P_{n+1}(\mathbb R)$ to $\mathbb R^{n+1}$, defined as
$$p\mapsto \left[p(a_1), p(a_2),\dots, p(a_n), \sum_{i=1}^n p'(a_n)\right]$$
and notice that it is a linear mapping.