Saturday 30 June 2018

Complex sum of sine and cosine function

I have worked something out like the following



https://math.stackexchange.com/a/1172454/626039
- reproduced here:
$$\begin{align}
\sum_{k=1}^{n} \sin (k\theta)&=\Im \sum_{k=1}^{n} e^{ik\theta}\\\\
&=\Im\left( e^{i\theta}\frac{e^{in\theta}-1}{e^{i\theta}-1}\right)\\\\
&=\Im\left( e^{i\theta}\frac{e^{in\theta/2}\left(e^{in\theta/2}-e^{-in\theta/2}\right)}{e^{i\theta/2}\left(e^{i\theta/2}-e^{-i\theta/2}\right)}\right)\\\\
&=\Im\left( e^{i\theta}\frac{e^{in\theta/2}\left(2i\sin(n\theta/2)\right)}{e^{i\theta/2}\left(2i\sin(\theta/2)\right)}\right)\\\\
&=\Im\left( e^{i(n+1)\theta/2}\frac{\sin(n\theta/2)}{\sin(\theta/2)}\right)\\\\

&=\Im\left( \left(\cos ((n+1)\theta/2)+i\sin ((n+1)\theta/2)\right)\frac{\sin(n\theta/2)}{\sin(\theta/2)}\right)\\\\
&=\frac{\sin ((n+1)\theta/2)}{\sin(\theta/2)}\sin(n\theta/2).
\end{align}$$



The only problem is that i want to do this for when the sequence starts at k = 0 NOT k = 1 . I can't seem to achieve the same result but it should do according to my question.

No comments:

Post a Comment

real analysis - How to find $lim_{hrightarrow 0}frac{sin(ha)}{h}$

How to find $\lim_{h\rightarrow 0}\frac{\sin(ha)}{h}$ without lhopital rule? I know when I use lhopital I easy get $$ \lim_{h\rightarrow 0}...