Optimal. Leaf size=12 \[ -2 \tanh ^{-1}\left (\sqrt {e^x+1}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.01, antiderivative size = 12, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, integrand size = 9, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.333, Rules used = {2282, 63, 207} \[ -2 \tanh ^{-1}\left (\sqrt {e^x+1}\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 63
Rule 207
Rule 2282
Rubi steps
\begin {align*} \int \frac {1}{\sqrt {1+e^x}} \, dx &=\operatorname {Subst}\left (\int \frac {1}{x \sqrt {1+x}} \, dx,x,e^x\right )\\ &=2 \operatorname {Subst}\left (\int \frac {1}{-1+x^2} \, dx,x,\sqrt {1+e^x}\right )\\ &=-2 \tanh ^{-1}\left (\sqrt {1+e^x}\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.00, size = 12, normalized size = 1.00 \[ -2 \tanh ^{-1}\left (\sqrt {e^x+1}\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 0.43, size = 21, normalized size = 1.75 \[ -\log \left (\sqrt {e^{x} + 1} + 1\right ) + \log \left (\sqrt {e^{x} + 1} - 1\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [B] time = 0.97, size = 21, normalized size = 1.75 \[ -\log \left (\sqrt {e^{x} + 1} + 1\right ) + \log \left (\sqrt {e^{x} + 1} - 1\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.00, size = 10, normalized size = 0.83 \[ -2 \arctanh \left (\sqrt {{\mathrm e}^{x}+1}\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [B] time = 0.64, size = 21, normalized size = 1.75 \[ -\log \left (\sqrt {e^{x} + 1} + 1\right ) + \log \left (\sqrt {e^{x} + 1} - 1\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.03, size = 9, normalized size = 0.75 \[ -2\,\mathrm {atanh}\left (\sqrt {{\mathrm {e}}^x+1}\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [B] time = 1.41, size = 26, normalized size = 2.17 \[ \log {\left (-1 + \frac {1}{\sqrt {e^{x} + 1}} \right )} - \log {\left (1 + \frac {1}{\sqrt {e^{x} + 1}} \right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________