I'm involved in a waves problem and I have to calculate $\cos(A)+\cos(B)+\cos(C)$, where $A$, $B$ and $C$ are independent angles. I want to find an expression similar to the sum-product identity: $$\cos(A)+\cos(B)=2\cos\left(\frac{A+B}{2}\right)\cos\left(\frac{A-B}{2}\right) $$
I have tried the same path that leads you to the mentioned identity, but it is different. In the two cosines case it is easy because you lose two terms as they have opposite signs, however, in the three cosines case, you can't lose them as they are odd.
Any help is welcome!
Thank you for your time :)
EDIT: Someone told me that you can use: $$ \cos(A)+(\cos(B)+\cos(C))+(\cos(A)+\cos(B))+\cos(C)+\cos(B)+(\cos(A)+\cos(C)) $$ And use the sum-product identity in those sums in brackets in order to obtain the triple of the sum we want to obtain, so we obtain: $$ \cos(A)+\cos(B)+\cos(C)=\cos\left(\frac{A+B}{2}\right)\cos\left(\frac{A-B}{2}\right)+\cos\left(\frac{B+C}{2}\right)\cos\left(\frac{B-C}{2}\right)+\cos\left(\frac{A+C}{2}\right)\cos\left(\frac{A-C}{2}\right) $$ While it is not a product, it is an interesting thing.

Well, I was trying to sleep but an idea came to my mind xD If you use the sum-product identity twice:
$$ cos(A)+cos(B)+cos(C)+cos(D)=2cos(\frac{A+B}{2})cos(\frac{A-B}{2})+2cos(\frac{C+D}{2})cos(\frac{C-D}{2}) $$ Now, if we want to have the sum of the first three cosines, we just have to do $ D= \frac \pi 2$, so the cosine of D will equal zero. Then: $$ 2cos(\frac{C+D}{2})cos(\frac{C-D}{2})=2\left(cos(\frac C 2)cos(\frac \pi 4)-sen(\frac C 2)sen(\frac \pi 4)\right)\left(cos(\frac C 2)cos(\frac \pi 4)+sen(\frac C 2)sen(\frac \pi 4)\right)=\frac{2}{\sqrt{2}}\left(cos(\frac C 2)-sen(\frac C 2)\right)\left(cos(\frac C 2)+sen(\frac C 2))\right) $$ Where we used the cosine of a sum of angles. And if we use the equation for the cosine of a double angle: $$ {\sqrt{2}}\left(cos^2(\frac C 2)-sen^2(\frac C 2)\right)={\sqrt{2}}cos(C) $$
So the final result should be: $$ cos(A)+cos(B)+cos(C)=2cos(\frac{A+B}{2})cos(\frac{A-B}{2})+{\sqrt{2}}cos(C) $$
However, there is something very strange in this equation as we can use the sum-product identity again to remove cos(A)+cos(B) and we will obtain: $$ cos(C)={\sqrt{2}}cos(C) $$ What can only be true if cos(C)=0 and then $C=\frac \pi 2$
Why does this happen?