Given the following sum, with $i$ as the imaginary unit: $$\sum_{n=1}^\infty \frac{(-i)^n}{n}$$ The sum should be checked for convergence.
I tried using the ratio test, but that failed. I think the alternating series test might be the way to go. However, the alternating series requires two things from a sum $\sum_{n=1}^\infty a_n$ for convergence, where $a_n=(-1)^nb_n$:
- $\lim_{n \to \infty} b_n = 0$
- $b_n$ is a decreasing sequence
The first requirement is met, however I don't know how to prove the second requirement, since I am unsure about the alternating thing for the imaginary unit $i$ (I know that $(-i)^n$ switches between the numbers $-i, -1, i$ and $1$, but don't know how to apply this to the alternating series test). Would really appreciate your help!
Just apply Dirichlet's test and use the fact that, for each natural $N$,$$\left\lvert\sum_{n=1}^Ni^n\right\rvert=\left\lvert\frac{i-i^{N+1}}{1-i}\right\rvert\leqslant\sqrt2.$$