I can't grasp the difference between $\int_{-\infty}^{\infty}\,f(t)\,dt$ and $\lim\limits_{x \to \infty} \int_{-x}^x\,f(t)\,dt$ for example if $ f(t)=t $ then the first one will give a divergent improper integral whereas the second one gives us 0.
Thanks for your help.
Note that $\int_{-\infty}^{\infty} f(t)dt$ should be interpreted as $$\lim_{\overset{x \to -\infty}{y \to \infty}}\int_{x}^y f(t)dt$$ which is different from $\lim_{x \to \infty} \int_{-x}^x f(t)dt$.
As an example consider $$f(x) = \begin{cases} 1 & \text{ if }\vert x \vert \leq 1\\ \dfrac1{x} & \text{ if } \vert x \vert \geq 1 \end{cases}$$
Now the integral $$\lim_{x \to \infty}\int_{-x}^x f(t) dt = \lim_{x \to \infty}\left(\int_{-x}^{-1} \dfrac{dt}t + \int_{-1}^1 f(t)dt + \int_1^x \dfrac{dt}t \right) = 2$$ However, one way to interpret $\int_{-\infty}^{\infty} f(t)dt$ is $$\lim_{x \to \infty}\int_{-x}^{x^2} f(t) dt = \lim_{x \to \infty}\left(\int_{-x}^{-1} \dfrac{dt}t + \int_{-1}^1 f(t)dt + \int_1^{x^2} \dfrac{dt}t \right) = \lim_{x \to \infty} \left(2 + \log(x^2) - \log(x)\right) = \infty$$