I was wondering is there is a general formula for $\sin(x_1+x_2+x_3+...+x_n)$ as well as for the cosine function. I know that $\sin(x_1+x_2)=\sin(x_1)\cos(x_2)+\cos(x_1)\sin(x_2)$ and $\cos(x_1+x_2)=\cos(x_1)\cos(x_2)-\sin(x_1)\sin(x_2)$ But I want to find a general formula for the sum of a finite number of angles for the Sine and the cosine but I didn't noticed any pattern. I suspect that it may have a recursive pattern. Any suggestions and hints (not answers) will be appreciated.
Asked
Active
Viewed 419 times
1
-
Hint, it is easy to write out using the exponential version of sine and cosine, e to the I Pi beta equals sine theta plus I co – ericf Jul 28 '18 at 02:41
-
Sorry, my phone went crazy and now I can't edit my previous comment. – ericf Jul 28 '18 at 02:42
-
@ericf don't worry about it. What are your suggestions? – user573497 Jul 28 '18 at 02:44
-
This is a semi-duplicate of a recent question. (That question only asks about sine.) – Blue Jul 28 '18 at 02:47
-
Wikipedia has a nice entry on Euler's formula, check it out. – ericf Jul 28 '18 at 02:47
-
I just posted an answer in a recent question that you might find helpful – WW1 Jul 28 '18 at 04:45
-
Wikipedia has an answer. in the article on Trigonometric Identities. https://en.wikipedia.org/wiki/List_of_trigonometric_identities#Sine,_cosine,_and_tangent_of_multiple_angles – awkward Jul 28 '18 at 12:32
2 Answers
1
Well, for $n=3$: $$\cos(x+y+z)=\cos(x+y)\cos(z)-\sin(x+y)\sin(z)=(\cos(x)\cos(y)-\sin(x)\sin(y))\cos(z)-(\sin(x)\cos(y)+\cos(x)\sin(y))\sin(z).$$ It should be easy to do this for higher $n$ as well, and for $\sin(x+y+z)$. It resembles some sort of cyclic sum, though I'm not quite sure how.
YiFan Tey
- 17,431
- 4
- 28
- 66
0
You could use a pair of two mutually recursive formulas for both $\sin(\sum x_i)$ and $\cos(\sum x_i)$. Both formulas can be derived from simple sine/cosine of sum of two elements:
$\sin(x_1+...+x_N + x_{N+1}) = \sin(x_1 + ... + x_N) \cdot \cos x_{N+1} + \cos(x_1 + ... + x_N) \cdot \sin x_{N+1}$
$\cos(x_1+...+x_N + x_{N+1}) = \cos(x_1 + ... + x_N) \cdot \cos x_{N+1} - \sin(x_1 + ... + x_N) \cdot \sin x_{N+1}$
tstanisl
- 101