So I have this sum of exponentials and I would like to find an expression for it.
$$\sum^n_{i=1} e^{\mu(i-1)} $$
Note that $i$ is not an imaginary indicator. I am aware there is a formula for summing a purely exponential sum, but I am not clear as to what happens to the $\mu$.
Define $a=e^\mu$ when $\mu\ne 0$. Then you have $$\sum^n_{i=1} e^{\mu(i-1)} =\sum^n_{i=1} a^{i-1}=1+a+\cdots+a^{n-1}={a^n-1\over a-1}={e^{\mu n}-1\over e^\mu -1} $$For $\mu =0 $ we obtain$$\sum^n_{i=1} e^{\mu(i-1)}=n$$