Question:
Let $P$ denote the set of polynomials
$p(x) = \sum_{i=0}^n a_{i}x^i$
for $n=0, 1, 2, ....$ and real numbers $a_{i}$. Let $D:P \to P$ be the differential operator defined by
$(Dp)(x) = \sum_{i=1}^n ia_{i}x^{i-1}$
and let $I:P \to P$ be the integration operator
$(Ip)(x) = \sum_{i=0}^n \frac{a_{i}}{i+1}x^{i+1}$
Show that $D$ is surjective, but not injective.
Attempted solution:
$D$ is surjective if $\forall$ $q$ $\in$ $P$ there exists at least one $p$ $\in$ $P$ such that $D(p) = q$. To show this I choose an arbitrary $q$ in the codomain and find a corresponding $p$ in the domain such that $D(p) = q$. Since the domain consists of the set of polynomials $p(x)$ and $p$ is a polynomial in the domain, I express $p'(x) = q$ and integrate on both sides yielding
$p(x) = \int (\sum_{i=1}^n ia_{i}x^{i-1}) dx = \sum_{i=0}^n a_{i}x^i $
But I'm quite unsure what I have achieved at this point, or if what I've done is correct. Any help will be appreciated. .....