I'm given the following probability density function of $x$:
$$f(x)=\frac{1}{2}e^{x}\mathbf{1}_{\{x<0\}}+\frac{1}{2}e^{-x}\mathbf{1}_{\{x\geq 0\}}$$
How do I find the cumulative distribution of the following function? I'm confused on how to handle the indicator function while integrating.
Really appreciate the help! Thank you!