How to find $\sum\limits_{n=1}^\infty q^n \sin(nx)$, where $|q|<1$ and $x \in \mathbb{R}$? I was thinking about rewriting it as $\sum\limits_{n=1}^\infty (q(\Im(\cos x+i\sin x)))^n$. It is a geometric series with the first term $q \cdot \sin x$, but what is the quotient? I can find $\sum\limits_{n=1}^\infty \sin(nx)$, but how to deal with the imaginary part, when multiplied by $q$?
Thanks!