Integrand size = 14, antiderivative size = 26 \[ \int \frac {1}{\sqrt {1+e^x+e^{2 x}}} \, dx=-\text {arctanh}\left (\frac {2+e^x}{2 \sqrt {1+e^x+e^{2 x}}}\right ) \]
[Out]
Time = 0.02 (sec) , antiderivative size = 26, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.214, Rules used = {2320, 738, 212} \[ \int \frac {1}{\sqrt {1+e^x+e^{2 x}}} \, dx=-\text {arctanh}\left (\frac {e^x+2}{2 \sqrt {e^x+e^{2 x}+1}}\right ) \]
[In]
[Out]
Rule 212
Rule 738
Rule 2320
Rubi steps \begin{align*} \text {integral}& = \text {Subst}\left (\int \frac {1}{x \sqrt {1+x+x^2}} \, dx,x,e^x\right ) \\ & = -\left (2 \text {Subst}\left (\int \frac {1}{4-x^2} \, dx,x,\frac {2+e^x}{\sqrt {1+e^x+e^{2 x}}}\right )\right ) \\ & = -\text {arctanh}\left (\frac {2+e^x}{2 \sqrt {1+e^x+e^{2 x}}}\right ) \\ \end{align*}
Time = 0.10 (sec) , antiderivative size = 23, normalized size of antiderivative = 0.88 \[ \int \frac {1}{\sqrt {1+e^x+e^{2 x}}} \, dx=2 \text {arctanh}\left (e^x-\sqrt {1+e^x+e^{2 x}}\right ) \]
[In]
[Out]
Time = 0.03 (sec) , antiderivative size = 20, normalized size of antiderivative = 0.77
method | result | size |
default | \(-\operatorname {arctanh}\left (\frac {{\mathrm e}^{x}+2}{2 \sqrt {1+{\mathrm e}^{x}+{\mathrm e}^{2 x}}}\right )\) | \(20\) |
[In]
[Out]
none
Time = 0.26 (sec) , antiderivative size = 37, normalized size of antiderivative = 1.42 \[ \int \frac {1}{\sqrt {1+e^x+e^{2 x}}} \, dx=-\log \left (\sqrt {e^{\left (2 \, x\right )} + e^{x} + 1} - e^{x} + 1\right ) + \log \left (\sqrt {e^{\left (2 \, x\right )} + e^{x} + 1} - e^{x} - 1\right ) \]
[In]
[Out]
\[ \int \frac {1}{\sqrt {1+e^x+e^{2 x}}} \, dx=\int \frac {1}{\sqrt {e^{2 x} + e^{x} + 1}}\, dx \]
[In]
[Out]
none
Time = 0.28 (sec) , antiderivative size = 18, normalized size of antiderivative = 0.69 \[ \int \frac {1}{\sqrt {1+e^x+e^{2 x}}} \, dx=-\operatorname {arsinh}\left (\frac {2}{3} \, \sqrt {3} e^{\left (-x\right )} + \frac {1}{3} \, \sqrt {3}\right ) \]
[In]
[Out]
none
Time = 0.29 (sec) , antiderivative size = 37, normalized size of antiderivative = 1.42 \[ \int \frac {1}{\sqrt {1+e^x+e^{2 x}}} \, dx=-\log \left (\sqrt {e^{\left (2 \, x\right )} + e^{x} + 1} - e^{x} + 1\right ) + \log \left (-\sqrt {e^{\left (2 \, x\right )} + e^{x} + 1} + e^{x} + 1\right ) \]
[In]
[Out]
Time = 16.08 (sec) , antiderivative size = 21, normalized size of antiderivative = 0.81 \[ \int \frac {1}{\sqrt {1+e^x+e^{2 x}}} \, dx=x-\ln \left (\frac {{\mathrm {e}}^x}{2}+\sqrt {{\mathrm {e}}^{2\,x}+{\mathrm {e}}^x+1}+1\right ) \]
[In]
[Out]