I recently got to realize I need the Fourier transform of the function $\log(1/e + x e^x)$.
I need this in a context of the following integral
$$ \int \limits_{-\infty}^\infty \mathrm{d} x \, \log (1/e + x e^x) \int \limits_{-\infty}^\infty \mathrm{d} k \, e^{- i k x} \phi (k) = \int \limits_{-\infty}^\infty \mathrm{d} k \, \phi (k) \int \limits_{-\infty}^\infty \mathrm{d} x \, e^{- i k x}\log (1/e + x e^x) $$
As you can see, generalized functions such as $\delta$, its derivatives etc. are allowed, because the function is then integrated over with another function $\phi$, that has any and all of the good properties you'd want for this to work. Also, $\phi$ is analytic everywhere (except some isolated points on the imaginary axis we probably won't touch this way), so results involving complex numbers are fine, too.
Is there an analytic expression for the Fourier transform of $\log(1/e+x e^x)$? Since there's function $x e^x$ involved, using $W$ (Lambert logarithm) in any of its branches is considered "analytic". Since the behavior for $\log (1/e + x e^x)$ is $-1$ for large negative $x$ and linear for large positive $x$, I expect $\theta$ and $\delta^\prime$ to be involved, but I don't know how to proceed.
EDIT: take Fourier transform of $1/x$, it's equal to $\text{sign}(k)/(2 i)$. That's even more straightforward.
– user16320 Jul 20 '23 at 12:18