So, actually this is a calculation I'm struggling to make in physics exercise.
I have to find $\operatorname{Re}\left(1+e^{i\triangle\varphi}+e^{i2\triangle\varphi}+...+e^{i\triangle\left(N-1\right)\varphi}\right) $ and it's supposed to be something that looks like this:
$ \frac{\sin\left(\frac{N\cdot\triangle\varphi}{2}\right)}{\frac{N\cdot\triangle\varphi}{2}} $
But I can't see how.
Here's my attempt:
Notice that we can write the sum as :
$ \operatorname{Re}\left(\sum_{j=0}^{N-1}\left(e^{i\triangle\varphi}\right)^{j}\right) $
And that's just a geometric series sum, so : $ \operatorname{Re}\left(\frac{1-e^{iN\triangle\varphi}}{1-e^{i\triangle\varphi}}\right) $
Now I'm not sure if there's easier way to find the real part, so I just wrote the complex number and tried to use algebraic manipulation:
$ \frac{1-e^{iN\triangle\varphi}}{1-e^{i\triangle\varphi}}=\frac{1-\cos\left(N\triangle\varphi\right)+i\sin\left(N\triangle\varphi\right)}{1-\cos\left(\triangle\varphi\right)+i\sin\left(\triangle\varphi\right)}=\frac{\left(1-\cos\left(N\triangle\varphi\right)+i\sin\left(N\triangle\varphi\right)\right)1-\cos\left(\triangle\varphi\right)-i\sin\left(\triangle\varphi\right)}{\left(1-\cos\left(\triangle\varphi\right)+i\sin\left(\triangle\varphi\right)\right)\left(1-\cos\left(\triangle\varphi\right)-i\sin\left(\triangle\varphi\right)\right)} $
After taking just the real terms from the product, I reached this:
$ =\frac{1-\cos\left(\triangle\varphi\right)-\cos\left(N\triangle\varphi\right)+\cos\left(N\triangle\varphi\right)\cos\left(\triangle\varphi\right)+\sin\left(N\triangle\varphi\right)\sin\left(\triangle\varphi\right)}{\left(1-\cos\left(\triangle\varphi\right)\right)^{2}+\sin^{2}\left(\triangle\varphi\right)} $
Which seems really different from the form I'm supposed to get to.
I'll write a reference to the physics calculation I'm trying to do: It's about a variation of the Double slit experiment . This variation is about wide slit experiment, say $ a $ is the width of the slit, and there are $ N $ light sources, the distance between to light waves given by $ \frac{a}{N} $ and each wave described by $ y_{j}\left(x,t\right)=A\cos\left(kx-\omega t+j\triangle\varphi\right) $. So I want to sum all of the waves and find the amplitude, thus:
$ \overline{y}\left(x,t\right)=\sum_{j=1}^{N-1}y_{j}\left(x,t\right)=A\cos\left(kx-\omega t\right)+A\cos\left(kx-\omega t+\triangle\varphi\right)+A\cos\left(kx-\omega t+2\triangle\varphi\right)+...+A\cos\left(kx-\omega t+\left(N-1\right)\triangle\varphi\right) $
So :$ A\cos\left(kx-\omega t\right)+A\cos\left(kx-\omega t+\triangle\varphi\right)+A\cos\left(kx-\omega t+2\triangle\varphi\right)+...+A\cos\left(kx-\omega t+\left(N-1\right)\triangle\varphi\right)=\operatorname{Re}\left(e^{i\left(kx-\omega t\right)}\left(1+e^{i\triangle\varphi}+e^{i2\triangle\varphi}+..e^{i\left(N-1\right)\triangle\varphi}\right)\right) $
And since I'm only interested in the amplitude, I want to calculate the sum I presented here in the first place:
$ \operatorname{Re}\left(1+e^{i\triangle\varphi}+e^{i2\triangle\varphi}+..e^{i\left(N-1\right)\triangle\varphi}\right) $
Thanks in advance.