Optimal. Leaf size=26 \[ \sqrt {-1+e^{2 x}}-\tan ^{-1}\left (\sqrt {-1+e^{2 x}}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.01, antiderivative size = 26, normalized size of antiderivative = 1.00, number of steps
used = 4, number of rules used = 4, integrand size = 11, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.364, Rules used = {2320, 52, 65,
209} \begin {gather*} \sqrt {e^{2 x}-1}-\tan ^{-1}\left (\sqrt {e^{2 x}-1}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 52
Rule 65
Rule 209
Rule 2320
Rubi steps
\begin {align*} \int \sqrt {-1+e^{2 x}} \, dx &=\frac {1}{2} \text {Subst}\left (\int \frac {\sqrt {-1+x}}{x} \, dx,x,e^{2 x}\right )\\ &=\sqrt {-1+e^{2 x}}-\frac {1}{2} \text {Subst}\left (\int \frac {1}{\sqrt {-1+x} x} \, dx,x,e^{2 x}\right )\\ &=\sqrt {-1+e^{2 x}}-\text {Subst}\left (\int \frac {1}{1+x^2} \, dx,x,\sqrt {-1+e^{2 x}}\right )\\ &=\sqrt {-1+e^{2 x}}-\tan ^{-1}\left (\sqrt {-1+e^{2 x}}\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.02, size = 26, normalized size = 1.00 \begin {gather*} \sqrt {-1+e^{2 x}}-\tan ^{-1}\left (\sqrt {-1+e^{2 x}}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Mathics [C] Result contains higher order function than in optimal. Order 9 vs. order 3 in
optimal.
time = 2.53, size = 30, normalized size = 1.15 \begin {gather*} \text {ConditionalExpression}\left [\sqrt {-1+E^{2 x}}-\text {ArcCos}\left [E^{-x}\right ],E^x>-1\text {\&\&}E^x<1\right ] \end {gather*}
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.04, size = 21, normalized size = 0.81
method | result | size |
derivativedivides | \(-\arctan \left (\sqrt {{\mathrm e}^{2 x}-1}\right )+\sqrt {{\mathrm e}^{2 x}-1}\) | \(21\) |
default | \(-\arctan \left (\sqrt {{\mathrm e}^{2 x}-1}\right )+\sqrt {{\mathrm e}^{2 x}-1}\) | \(21\) |
risch | \(-\arctan \left (\sqrt {{\mathrm e}^{2 x}-1}\right )+\sqrt {{\mathrm e}^{2 x}-1}\) | \(21\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.36, size = 20, normalized size = 0.77 \begin {gather*} \sqrt {e^{\left (2 \, x\right )} - 1} - \arctan \left (\sqrt {e^{\left (2 \, x\right )} - 1}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.34, size = 20, normalized size = 0.77 \begin {gather*} \sqrt {e^{\left (2 \, x\right )} - 1} - \arctan \left (\sqrt {e^{\left (2 \, x\right )} - 1}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.60, size = 24, normalized size = 0.92 \begin {gather*} \begin {cases} \sqrt {e^{2 x} - 1} - \operatorname {acos}{\left (e^{- x} \right )} & \text {for}\: e^{x} > -1 \wedge e^{x} < 1 \end {cases} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.00, size = 23, normalized size = 0.88 \begin {gather*} \sqrt {\mathrm {e}^{2 x}-1}-\arctan \left (\sqrt {\mathrm {e}^{2 x}-1}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.26, size = 31, normalized size = 1.19 \begin {gather*} \sqrt {{\mathrm {e}}^{2\,x}-1}\,\left (\frac {{\mathrm {e}}^{-x}\,\mathrm {asin}\left ({\mathrm {e}}^{-x}\right )}{\sqrt {1-{\mathrm {e}}^{-2\,x}}}+1\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________