Fourier Analysis: An Introduction Elias M. Stein & Rami Shakarchi ISBN 978-0-691-11384-5 Princeton University Press (2003) For $f \in L^1(\mathbb{T})$, the Fourier coefficients are $$ \hat{f}(n) = \frac{1}{2\pi}\int_{-\pi}^{\pi} f(x)e^{-inx}\,dx . $$ Inline also works with \( e^{i\pi} + 1 = 0 \).