When doing integrating factors in order to solve differential equations, we often have something in a form similar to $$e^{\int{\frac{1}{x}dx}}$$
I know that $\int{\frac{1}{x}dx} = \ln{|x|}$, but for some reason, I often times see people simplifying $e^{\int{\frac{1}{x}dx}}$ down to just $x$.
Is $e^{\int{\frac{1}{x}dx}}$ equal to $|x|$ or $x$?
In general, $$e^{\int\frac{1}{x}dx} = e^{\ln |x|} = |x|$$ is the correct answer. But often times, introductory classses on ODE deals with initial value problems and many of those problems have initial value given like $y(x_0) = y_0$, where $x_0\geq 0.$ In that case, you are only concerned with $x\geq x_0\geq 0$, so you can just forget about the absolute value.