Zach Knight
- 11
- 0
Homework Statement
\int{\sqrt{1+e^x}dx}
Homework Equations
\int{uv'}=uv-\int{u'v}
The Attempt at a Solution
I rewrote the integrand as
\sqrt{1+(e^{x/2})^2}
and used the trigonometric substituition e^{x/2}=tan(\theta), which simplified the radical to
\int{\sqrt{1+e^x}dx}=2\int{csc(\theta)sec^2(\theta)d\theta}
From there I used integration by parts, with u=csc(\theta), and v'=sec^2(\theta), which gave me
2\int{csc(\theta)sec^2(\theta)d\theta}=2(sec(\theta)+\int{sin^2(\theta)d\theta})
Solving that, and undoing all of my substitutions, I found that
\int{\sqrt{1+e^x}dx}=2sec(arctan(e^{x/2}))+arctan(e^{x/2})-\frac{1}{2}sin(arctan(e^{x/2}))
WolframAlpha, on the other hand, gives
\int{\sqrt{1+e^x}dx}=2\sqrt{1+e^x}-2arctanh^{-1}(\sqrt{1+e^x})+A,
and I have no idea how. Even after rewriting the trig-inverse trig pairs as algebraic expressions, I still don't get close to what Wolfram gave. Can somebody show me where I went wrong?