For questions related to usage of Wolfram Alpha.

learn more… | top users | synonyms (1)

2
votes
2answers
1k views

Wolfram Alpha: How to show functions with abs() and sgn() as a piecewise function?

I was trying to obtain this result: integrate e^|x| dx The result is $$ \int e^{|x|} dx = \frac12 e^{-x} \left( (e^x-1)^2 \operatorname{sgn}(x) -2e^x +e^{2x} - ...