Why is the matrix defined by $\left(\sum\limits_{k = -N}^{N}\exp(2\pi \textbf{i} k\frac{i-j}{M})\right)_{i,j=1,\ldots,M}$ of rank $2N+1$ if $2N+1 \leq M$?
This problem appeared while linearizing an algorithm trying to calculate integrals of the form $\int_{\mathcal{M}} K(x,y)f(x) \, dx$ where $K(x,y)$ is a nonnegative-definite kernel and $\mathcal{M}$ is a (nice enough) manifold in $\mathbb{R}^d$ for some $d \in \mathbb{N}$.
Now, since $K(x,y) = \sum\limits_{k = -N}^{N}\exp(2\pi \textbf{i} k(x-y))$ is such a kernel, the derivation dictates that we must calculate $(K(x_i,x_j))_{i,j = 1,\ldots,M}$ for a chosen set of training points $x_i$. Choosing the rather nice "grid points" $x_i := \frac{i-1}{M}$, the problem above pops out very easily. Since I was asked to check that the matrix in this case has rank $2N+1$ for $M$ large enough, I set out to do just that -- but using the definition of the rank (dimension of the image space) or that we can represent every other column/row by $2N+1$ distinct columns/rows I got nowhere.
I would be glad if anybody could help me out on this small detail to justify my writeup (on the approximation quality of said algorithm) using this example :).