Which is the right way to solve indefinite integrals which contain absolute values? For example if I have
$\int |2x+3| e^x dx$
Can I consider the sign function and integrate separetly? I mean doing:
$ Sign(2x+3) \int (2x+3)e^x dx$
Or maybe I should use the definition of absolute value and divide the two possibilities
$\int (2x+3)e^x dx$ if $ (2x+3)>0$ and
$\int (-2x-3)e^x dx$ if $ (2x+3)<0$
But I think that's more suitable for definite rather than indefinite integrals
How can I solve this type of integrals? Thanks a lot in advice