Computing a limit of a very complicated complex exponential expression; Fourier Transform of $\tan(x)$

complex-analysiscontinuityexponential functionfourier transformlimits

1. BACKGROUND

I stumbled upon this problem while doing something very unusual — computing the Fourier Transform of the tangent function.

I got that:

$$\mathcal{F}\{\tan(x)\}=-i\cdot\Bigg(\int_{-\infty}^{\infty}e^{-2\pi ixf}\,dx\;-\;\int_{-\infty}^{\infty}{2e^{-2\pi ixf}\over e^{2ix}+1}\,dx\Bigg)$$

The first integral computes to $\delta(f)$, the dirac delta function. The other integral is very messy. I won't show my computations here because they are way too long to write out (I hope they are correct), but I got an infinite series, which is:

$$\int_{-\infty}^{\infty}{2e^{-2\pi ixf}\over e^{2ix}+1}\,dx\;=\;{1\over i}\sum_{k=0}^{\infty}\Bigg((-1)^{k+1}\,\cdot\frac{\Gamma(\pi f-k)}{\Gamma(\pi f+1)}\,\cdot\Bigg[\frac{e^{2ix(k-\pi f)}}{(e^{2ix}+1)^{k+1}}\Bigg]_{x=-\infty}^{x=\infty}\Bigg)$$

2. THE PROBLEM

The infinite series contains a problematic expression, that I have no idea how to compute. More precisely, it is:

$$\Bigg[\frac{e^{2ix(k-\pi f)}}{(e^{2ix}+1)^{k+1}}\Bigg]_{x=-\infty}^{x=\infty}$$

Which means the same thing as:

$$\lim_{x\to\infty}\Bigg[\frac{e^{2ix(k-\pi f)}}{(e^{2ix}+1)^{k+1}}\Bigg]\;-\;\lim_{x\to-\infty}\Bigg[\frac{e^{2ix(k-\pi f)}}{(e^{2ix}+1)^{k+1}}\Bigg]$$

At this point, I tried everything from L'Hopital's rule to decomposition of complex exponentials into trigonometric functions (and using trigonometric properties). I have considered changing the exponentials into geometric series, but haven't been able to do so…I don't even know how to do this at that point, and I'm not sure that would help anyhow.

I expect a discrete answer: something in terms of (or similar to) the dirac delta function, which would make the most sense with such a weird expression like this. But to be honest, I have no idea whether this expression even exists or converges…

Thank you for any help.

Best Answer

First we define $\tan$ to be the distribution understood in the sense of the principal value. Then we can compute its Fourier coefficients and use the general formula for the Fourier transform of a periodic function: $$\frac 1 \pi \int_0^\pi e^{-2 i k t}\tan t \, dt = (-1)^k i \operatorname{sgn} k, \\ (\tan t, e^{-2 \pi i f t}) = i \sum_{k \in \mathbb Z} (-1)^k \hspace {1px} \delta {\left( f - \frac k \pi \right)} \operatorname{sgn} k.$$

Related Question