Assumptions:
TeX:
\sum_{k=0}^{n} \sin\!\left(2 a k + b\right) = \frac{\sin\!\left(a \left(n + 1\right)\right) \sin\!\left(a n + b\right)}{\sin\!\left(a\right)} n \in \mathbb{Z}_{\ge 0} \,\mathbin{\operatorname{and}}\, a \in \mathbb{C} \,\mathbin{\operatorname{and}}\, \frac{a}{\pi} \notin \mathbb{Z}
Definitions:
Fungrim symbol | Notation | Short description |
---|---|---|
Sin | Sine | |
ZZGreaterEqual | Integers greater than or equal to n | |
CC | Complex numbers | |
ConstPi | The constant pi (3.14...) | |
ZZ | Integers |
Source code for this entry:
Entry(ID("b8ab9c"), Formula(Equal(Sum(Sin(Add(Mul(Mul(2, a), k), b)), Tuple(k, 0, n)), Div(Mul(Sin(Mul(a, Add(n, 1))), Sin(Add(Mul(a, n), b))), Sin(a)))), Variables(a, n), Assumptions(And(Element(n, ZZGreaterEqual(0)), Element(a, CC), NotElement(Div(a, ConstPi), ZZ))))