Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Can anyone help me with this:

$$ \int \sqrt\frac{e^x-1}{e^x+1}\, \mathrm{d}x$$

I can't think of a good substitution, any hint is welcome :)

share|cite|improve this question
Do you assume anything on the region where $x$ is from? For example, is $x > 0$? – Vincent Jan 17 '14 at 14:23
No, nothing is known about x. – Genadi Jan 17 '14 at 14:24
Well, the expression is only defined for $x \geq 0 $ – aaaaa Jan 17 '14 at 14:28
up vote 7 down vote accepted

An idea:

$$u^2:=\frac{e^x-1}{e^x+1}=1-\frac2{e^x+1}\iff e^x+1=\frac2{1-u^2}\;\;,\;\;e^x=\frac{1+u^2}{1-u^2}$$

$$\implies 2u\,du=\frac{2e^x}{(e^x+1)^2}dx\implies dx=\frac{\frac{4}{(1-u^2)^2}}{\frac{2(1+u^2)}{1-u^2}}2u\,du=\frac{4u\,du}{(1-u^2)(1+u^2)}$$

$$\int\sqrt{\frac{e^x-1}{e^x+1}}dx=\int \frac{4u^2}{(1-u^2)(1+u^2)}du=\int\left(\frac1{1-u}+\frac1{1+u}-\frac2{1+u^2}\right)du=$$

$$=\log(1-u^2)-2\arctan u+C=\;\ldots$$

share|cite|improve this answer


Let $\displaystyle\sqrt{\frac{e^x-1}{e^x+1}}=\tan\theta$

$\displaystyle\implies \frac{e^x-1}{e^x+1}=\frac{\tan^2\theta}1 $

Applying Componendo and dividendo


$\displaystyle\implies-2\sin2\theta\ d\theta=-e^{-x}dx\iff dx=2\tan2\theta\ d\theta$

$$I=\int\sqrt{\frac{e^x-1}{e^x+1}}dx=\int \tan\theta\cdot 2\tan2\theta\ d\theta$$

Now using $\tan2A$ formula, $$\int \tan\theta\cdot 2\tan2\theta\ d\theta=\int\frac{2\sin^2\theta}{1-2\sin^2\theta}d\theta=\int\left(-1+\sec2\theta\right)d\theta$$

Can you take it home from here?

share|cite|improve this answer

It's not elegant, but substitute $u^2 = \dfrac{e^x-1}{e^x+1}$, and you'll get a rational function in $u$ to integrate.

share|cite|improve this answer

You can write

$$\frac {e^x-1}{e^x+1}=\frac {e^{x/2}-e^{-x/2}}{e^{x/2}+e^{-x/2}}=\tanh \frac x2$$

Thus, if

$$u=\sqrt{\frac {e^x-1}{e^x+1}}=\sqrt{\tanh \frac x2}$$

$$x = 2\arg \tanh u^2$$

$$\mathrm{d}x = \frac{4u\mathrm{d}u}{1-u^4}$$


$$\int \sqrt{\frac {e^x-1}{e^x+1}} \mathrm{d}x=\int \frac{4u^2\mathrm{d}u}{1-u^4}$$

And you can expand in partial fractions:




$$\int \frac{1}{1-u^2}-\frac{1}{1+u^2} \mathrm{d}u=\arg \tanh u - \arctan u$$


$$\int \sqrt{\frac {e^x-1}{e^x+1}} \mathrm{d}x=2\arg \tanh \left( \sqrt{\tanh \frac x2}\right) - 2\arctan \left( \sqrt{\tanh \frac x2}\right)$$

share|cite|improve this answer

$u = \sqrt{\frac{e^x - 1}{e^x + 1}}$ will work. Then you'll need partial fractions.

share|cite|improve this answer

If you multiply numerator and denominator under the radical by $e^x-1$, you'll get $$\displaystyle \int \sqrt{\frac{(e^x-1)^2}{(e^x+1)(e^x-1)}}dx = \int \frac{e^x-1}{\sqrt{e^{2x}-1}}dx$$ which gives you two separate integrals which might be easier to see how to solve.

share|cite|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.