I want to determine whether it is possible to construct a (non-zero) function $\psi: \mathbb{R}\to \mathbb{R}$ such that
- $\psi$ vanishes outside $[-1, 1]$,
- $\psi$ is smooth, i.e. infinitely differentiable,
- $\int_{-1}^1 \psi(x) \, \mathrm{d}x = 1$,
- $\forall k \in \mathbb{N}$ it holds that $\int_{-1}^1 x^k \psi(x) \, \mathrm{d}x = 0$.
I know it is possible to construct a $C^m$ function satisfying 1., 3. and 4. for $k$ up to $m$ using orthogonal polynomials.
My intuition says that it should not be possible to construct such a function but I have no clue how to show it. Any thoughts?