Find a closed form for
sin
(
a
)
+
sin
(
a
+
b
)
+
sin
(
a
+
2
b
)
+
⋯
+
sin
(
a
+
(
n
−
1
)
b
)
{\displaystyle \sin(a)+\sin(a+b)+\sin(a+2b)+\cdots +\sin(a+(n-1)b)}
Note: A 'closed form' is not mathematically defined, but just means a simplified formula which does not involve '...', or a summation sign. In our problem, we should look for a formula that only involves variables
a
,
b
,
n
{\displaystyle a,b,n}
, and known operations like the four operations, radicals, exponents, logarithm, and trigonometric functions.
To sum the series
sin
(
a
)
+
sin
(
a
+
b
)
+
sin
(
a
+
2
b
)
+
⋯
+
sin
(
a
+
(
n
−
1
)
b
)
=
S
{\displaystyle \sin(a)+\sin(a+b)+\sin(a+2b)+\cdots +\sin(a+(n-1)b)=S}
Multiply each term by
2
sin
(
b
2
)
{\displaystyle 2\sin \left({\tfrac {b}{2}}\right)}
Then we have
2
sin
(
a
)
sin
(
b
2
)
=
cos
(
a
−
b
2
)
−
cos
(
a
+
b
2
)
{\displaystyle 2\sin(a)\sin \left({\tfrac {b}{2}}\right)=\cos \left(a-{\tfrac {b}{2}}\right)-\cos \left(a+{\tfrac {b}{2}}\right)}
and similarly for all terms to
2
sin
(
a
+
(
n
−
1
)
b
)
sin
(
b
2
)
=
cos
(
a
+
(
2
n
−
3
)
b
2
)
−
cos
(
a
+
(
2
n
−
1
)
b
2
)
{\displaystyle 2\sin {\bigl (}a+(n-1)b{\bigr )}\sin \left({\tfrac {b}{2}}\right)=\cos \left(a+(2n-3){\tfrac {b}{2}}\right)-\cos \left(a+(2n-1){\tfrac {b}{2}}\right)}
Summing, we find that nearly all the terms cancel out and we are left with
2
S
sin
(
b
2
)
=
cos
(
a
−
b
2
)
−
cos
(
a
+
(
2
n
−
1
)
b
2
)
=
2
sin
(
a
+
(
n
−
1
)
b
2
)
sin
(
n
b
2
)
{\displaystyle 2S\sin \left({\tfrac {b}{2}}\right)=\cos \left(a-{\tfrac {b}{2}}\right)-\cos \left(a+(2n-1){\tfrac {b}{2}}\right)=2\sin \left(a+(n-1){\tfrac {b}{2}}\right)\sin \left({\tfrac {nb}{2}}\right)}
Hence
S
=
sin
(
a
+
(
n
−
1
)
b
2
)
sin
(
n
b
2
)
sin
(
b
2
)
{\displaystyle S=\sin \left(a+(n-1){\tfrac {b}{2}}\right){\frac {\sin \left(n{\tfrac {b}{2}}\right)}{\sin \left({\tfrac {b}{2}}\right)}}}
Similarly, if
C
=
cos
(
a
)
+
cos
(
a
+
b
)
+
cos
(
a
+
2
b
)
+
⋯
+
cos
(
a
+
(
n
−
1
)
b
)
{\displaystyle C=\cos(a)+\cos(a+b)+\cos(a+2b)+\cdots +\cos {\bigl (}a+(n-1)b{\bigr )}}
then
C
=
cos
(
a
+
(
n
−
1
)
b
2
)
sin
(
n
b
2
)
sin
(
b
2
)
{\displaystyle C=\cos \left(a+(n-1){\tfrac {b}{2}}\right){\frac {\sin \left(n{\tfrac {b}{2}}\right)}{\sin \left({\tfrac {b}{2}}\right)}}}