I have been stuck on this problem, I don't know where to start. The exact question is:
Determine the finite-dimensional spaces $W$ of differentiable functions with this property:
If $f$ is in $W$ then $df/dx$ is in $W$.
There is a hint: "Review the solutions of a homogeneous, constant coefficient differential equation: $d^ny/dx^n+a_1*d^{n-1}y/dx^{n-1}+...+a_{n-1}*dy/dx+a_n=0$"
I know that if $f$ is in $W$ then all of its derivatives must be in $W$. I understand that the exponential functions clearly are in some W. But aren't the polynomial in some $W$ too since there is always a point at which their derivative is $0$? Extending that thought, there must be an infinite number of those $W$.. Can you please put me on the track?