Today, one of my student found the following integral and asked me for its solution:
$\int|x|\; dx$
I used some formal methods for it, but it seems I need a magic trick. I wish, I am noting a valuable question here for others. Thanks for your time.