let f(x) be the characteristic function of the interval [a,b] $\subset$ $[-\pi , \pi ]$, show that the Fourier series of $f$ is given by $$ \frac{b-a}{2\pi} + \sum_ {n \neq 0} \frac{e^{-ina} - e^{-inb}}{2\pi i n} e^{inx} $$ The Formula for the Fourier series of the Characteristic function
I have calculated $\hat{f}(0)$ and it was $\frac{b-a}{2\pi}$ as required. and I have calculated $\hat{f}(n)$ and it was equal to $$\hat{f}(n) = \frac{1}{2in\pi} (e^{-ina} - e^{-inb})$$.
So I solved letter(a) of the question it was so easy, thank u very much for anyone helped me. But the remaining part of the question is as follows:
(b)Show that if $a \ne -\pi$ or $b \ne \pi$ and $a\ne b$ then the Fourier Series does not converge absolutely to for any x.
There is a hint in the book for proving this part, but even the application for the hint is not clear for me.
The Hint is:[It suffices to prove that for many values of n one has $|sin n\theta_0| \ge c > 0$ where $\theta_0 = \frac{(b-a)}{2}$]
Could anyone help me?