Let $ f: [-1,1] \to \mathbb{R} $ be a continuous function. Suppose that the $ n $-th midpoint Riemann sum of $ f $ vanishes for all $ n \in \mathbb{N} $. In other words, $$ \forall n \in \mathbb{N}: \quad \mathcal{R}^{f}_{n} := \sum_{k=1}^{n} f \left( -1 + \frac{2k - 1}{n} \right) \cdot \frac{2}{n} = 0. $$ Question: Is it necessarily true that $ f $ is an odd function?
It is easy to verify that if $ f $ is an odd continuous function, then $ \mathcal{R}^{f}_{n} = 0 $ for all $ n \in \mathbb{N} $. However, is the converse true?
This is part of an original research problem, so unfortunately, there is no other source except myself. With someone else, I managed to obtain the following partial result.
Theorem If $ f $ is a polynomial function and $ \mathcal{R}^{f}_{n} = 0 $ for all $ n \in \mathbb{N} $, then $ f $ has only odd powers, which immediately implies that $ f $ is an odd function.
The proof relies on properties of Bernoulli polynomials and Vandermonde matrices.
For the general case, I was thinking that Fourier-analytic tools might help, such as Poisson summation. A Fourier-analytic approach seems promising, but it has limitations and might not be able to fully resolve the question.
Would anyone care to offer some insight into the problem? Thanks!
