I need to know the value of following integration.
$\frac{1}{2\pi}\int_{-\infty}^{\infty}dx_{1}dx_{2} e^{i k_{1}x_{1} +ik_{2}x_{2}} \theta(x_{1})\theta(x_{2}-x_{1})$, where $\theta$ is Heaviside theta function.
Above integration looks like a two-dimensional Fourier transformation of Heaviside theta functions, $\theta(x_{1})\theta(x_{2}-x_{1})$. To do this, I thought two ways as below.
1) $\frac{1}{\sqrt{2\pi}}\int_{-\infty}^{\infty}dx_{1} e^{ik_{1}x_{1}} \theta(x_{1}) \Big( \frac{1}{\sqrt{2\pi}}\int_{-\infty}^{\infty}dx_{2} e^{ik_{2}x_{2}} \theta(x_{2}-x_{1}) \Big)$
or
2) $\frac{1}{\sqrt{2\pi}}\int_{-\infty}^{\infty}dx_{2} e^{ik_{2}x_{2}} \Big( \frac{1}{\sqrt{2\pi}}\int_{-\infty}^{\infty}dx_{1} e^{ik_{1}x_{1}} \theta(x_{1})\theta(x_{2}-x_{1}) \Big)$.
As far as I have checked in mathematica, above two ways lead slightly different results. I thought they should be same. I don't know why.
Please help me figure out which one is correct way.