Suppose you have two independent variables with equal density function
$p(x|\omega_i)\propto e^{(-|x-a_i|/b_i)}$ for $i=1,2$ and $0<b_i$
Normalize each function for parameters $ a_i, b_i $ arbitrary, $ b_i $ positive.
I tried this:
$$p(x|\omega_i) = N_i e^{(-|x-a_i|/b_i)}$$
$N_i$ is known as the normalizing constant and it must verify that
$$N_i \int_{-\infty}^{\infty} e^{(-|x-a_i|/b_i)}dx = 1$$
we substitute $u = \sqrt{|x-a_i|}$, then $\dfrac{d u}{dx} = \dfrac{1}{2}|x-a_i|^{-1/2}$ which implies $dx = \dfrac{2du}{|x-a_i|^{-1/2}} = \dfrac{2du}{(u^2)^{-1/2}} = 2u du$
then the integral is
$$2 N_i \int_{-\infty}^{\infty} e^{-u^2/b_i} u du= 1$$
now we substitute $t=\dfrac{-u^2}{b_i}$ y $dt= \dfrac{-2udu}{b_i}$ $\implies$ $udu = \dfrac{-dt b_i}{2}$
$$-N_i b_i \int_{-\infty}^{\infty} e^{t} dt= 1$$
but that integral does not converge... I don't know what to do or what I'm doing wrong... please help