I'm looking for a way to write the following sum as a closed form expression:
$$ \sum_{n=-N}^{N} e^{cn*i} $$
where $c$ is a constant and $i$ is the imaginary unit.
I found a closed form solution for $n= [0, N-1]$ at http://mathworld.wolfram.com/ExponentialSumFormulas.html , but I'm not sure how I can manipulate this to change the range from -N to N. Any help would be appreciated.
This is just a geometric sequence. The first term is $e^{-cNi}$ and you keep multiplying by $e^{ci}$. You have $2N+1$ terms. the sum is then $$e^{-cNi}\frac{1-e^{ci(2N+1)}}{1-e^{ci}}$$