I have the following integral
$$\int_{- \infty}^\infty e^{-|x|} dx$$
Since the preimages $x$ determine the the images $e^{-|x|}$ for nonnegative and negatives preimages, I believe the integral must be evaluated in the following manner
$$\lim \limits_{c \rightarrow 0} \enspace \int_{- \infty}^{c} e^{-|x|} \enspace dx \quad + \quad \int_{0}^{\infty} e^{- |x|} \enspace dx$$
where $c$ obviously approaches $0$ without necessarily equalling $0$, so that $e^{- |x|} = e{-(-x)}$. So,
$$\lim \limits_{c \rightarrow 0} \enspace \int_{- \infty}^{c} e^{-|x|} \enspace dx \quad + \quad \int_{0}^{\infty} e^{- |x|} \enspace dx $$
$$= \lim \limits_{c \rightarrow 0} \enspace \int_{- \infty}^{c} e^{x} \enspace dx \quad + \quad \int_{0}^{\infty} e^{-x} \enspace dx $$
$$= 2$$
Also, I think it is wrong to write
$$\int_{- \infty}^{\infty} e^{-|x|} \enspace dx \quad + \quad \int_{0}^{\infty} e^{- |x|} \enspace dx$$
Since the first integral includes the value $0$, causing discrepancies with $e^{-|x|}$.
This is more of a notation issue and I would like some insight. Thank you.
Actually, there is no need to take limits here. The function has no singularities where it blows up to $\infty$ for any real value of $x$.
Since $e^{-|x|}$ is an even function, we have $$ \int_{-\infty}^{\infty}e^{-|x|}=2\int_0^{\infty}e^{-|x|}=2\int_0^{\infty}e^{-x}=2. $$