Let $f \in L^1(\mathbb{R})$ be such that $f'$ is continuous and $f' \in L^1(\mathbb{R})$. Find a function $g \in L^1(\mathbb{R})$ such that $$g(t) = \int_{-\infty}^{t} e^{u-t} g(u) du - f'(t), \quad t\in \mathbb{R}$$
We identify the integral as the convolution $h*g$ with $h(x) = e^{-x}(1-\theta(x))$. Fourier transforming both sides yields $$\hat{g}(\omega) = \hat{h}(\omega)\hat{g}(\omega)-i\omega f(\omega)$$ and so we seek to find $\hat{h}$. The definition of the Fourier transform my book uses would lead us to $$\hat{h}(\omega) = \int_{\mathbb{R}} e^{-x}(1-\theta(x))e^{-i\omega x} dx $$ which clearly is divergent. How can I salvage this?