If $f(t)$ is a Probability density function of a positive RV.
$\int_0^\infty\int_x^{\infty}f(t)dtdx$ Using fubini theorem should become $\int_0^\infty\int_0^{t}f(t)dxdt$
But why? Surely the answer is very simple but I don't see it. Fubini theorem allows the change of the order of integration. So it should become $\int_0^\infty\int_x^{\infty}f(t)dxdt$
but then I don't understand what meaning could have $\int_x^{\infty}dx$
Note that the integral can be written as $$ \int_0^\infty \int_x^\infty f(t)\,\mathrm dt\,\mathrm dx=\int_0^\infty \int_0^\infty f(t)\mathbf{1}_{t\geq x}\,\mathrm dt\,\mathrm dx $$ and using Fubini we get $$ \int_0^\infty \int_0^\infty f(t)\mathbf{1}_{t\geq x}\,\mathrm dx\,\mathrm dt=\int_0^\infty \int_0^t f(t)\,\mathrm dx\,\mathrm dt. $$
Here $\mathbf{1}_{t\geq x}$ is the indicator functions which is $1$ if $t\geq x$ and $0$ otherwise.