How does one deal with improper integrals with absolute value bars?
I need to show that a given function is a density function, which means I need to show that $\int_{-\infty}^\infty p(|x|) dx = 1$ yet what do to with those bars?
The function is of the form $$p(x) = \frac{1}{2}e^{-|x|}$$
Use the definition of the absolute value: $$|x| = \cases{x & $x \ge 0$ \\ -x & else}$$ So $$\int_{-\infty}^\infty p(|x|) \;\mathrm dx = \int_{-\infty}^0 p(-x)\;\mathrm dx + \int_0^\infty p(x)\;\mathrm dx = 2\int_0^\infty p(x)\;\mathrm dx$$