I want to collect terms in x from a product of polynomials and Fourier transform. So I try following code:
(1 + x ) Distribute[FourierTransform[Normal[Series[Sqrt[1 + x f[t]], {x, 0, 2}]], t, \[Omega]]]
Collect[%, x]
But it doesn't work (it doesn't collect x inside Fourier transform) and the output is following:
$$\sqrt{2 \pi } \text{DiracDelta}[\omega ]+\text{FourierTransform}\left[\frac{1}{2} x f[t],t,\omega \right]+\text{FourierTransform}\left[-\frac{1}{8} x^2 f[t]^2,t,\omega \right]+x \left(\sqrt{2 \pi } \text{DiracDelta}[\omega ]+\text{FourierTransform}\left[\frac{1}{2} x f[t],t,\omega \right]+\text{FourierTransform}\left[-\frac{1}{8} x^2 f[t]^2,t,\omega \right]\right)$$
The result I expect is:
$$\sqrt{2 \pi } \text{DiracDelta}[\omega ]+x \left(\sqrt{2 \pi } \text{DiracDelta}[\omega ]+\frac{1}{2} \text{FourierTransform}[f[t],t,\omega ]\right)+x^2 \left(\frac{1}{2} \text{FourierTransform}[f[t],t,\omega ]-\frac{1}{8} \text{FourierTransform}\left[f[t]^2,t,\omega \right]\right)-\frac{1}{8} x^3 \text{FourierTransform}\left[f[t]^2,t,\omega \right]$$