In one of the proofs in my notes the Fejér Kernel ($K_{n}$ below) is plucked out of an absolute value seemingly for free. On the previous page it is remarked that this function is always non-negative. I can't see why this would be automatic. Why is this true?
We have $K_{n} = \sum\limits_{j=-n}^{n} D_{j}(t)$, where $D_{n} = \sum\limits_{j=-n}^{n}e^{ijt}$.
It is not automatic that $e^{ijt}$ is non-negative (or even real) for every value of $t\in [-\pi,\pi)$, $j\in\mathbb{Z}$.
This is what confuses me.