When I plug
$$\int_0^\infty |\sin x|e^{-x}dx$$
into symbolab, it tells me the first step is to find the equivalent expression for the integrand at $0\leq x \leq \infty$. It says this expression is $\sin (x) e^{-x}dx$.
I don't understand this because on $0\leq x \leq \infty$, $\sin x$ is not just zero or a positive number. It can be negative so you can't just remove the absolute value bars.
Note
\begin{align} I=&\int_0^\infty e^{- x}|\sin x| \ dx\\ =&\int_0^\pi e^{- x}|\sin x| \ dx + \int_\pi^{2\pi} e^{-x}|\sin x| \ dx+\int_{2\pi}^{3\pi} e^{- x}|\sin x| \ dx+\cdots \end{align}
For each integral $\int_{n\pi}^{n\pi+\pi} e^{- x}|\sin x| \ dx$, make the variable change $x=n\pi+t$ to obtain \begin{align} I=&\ \left(1 + e^{-\pi} + e^{-2\pi} + e^{-3\pi}+\cdots\right)\int_0^{\pi} e^{- t}\sin t \ dt\\ =& \ \frac1{1-e^{-\pi}}\frac{1+e^{-\pi}}2=\frac12\coth\frac\pi2 \end{align}