Optimal. Leaf size=13 \[ \tan ^{-1}\left (\sqrt {x}\right )+\tanh ^{-1}\left (\sqrt {x}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.00, antiderivative size = 13, normalized size of antiderivative = 1.00, number of steps
used = 4, number of rules used = 4, integrand size = 15, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.267, Rules used = {335, 218, 212,
209} \begin {gather*} \text {ArcTan}\left (\sqrt {x}\right )+\tanh ^{-1}\left (\sqrt {x}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 209
Rule 212
Rule 218
Rule 335
Rubi steps
\begin {align*} \int \frac {1}{\sqrt {x} \left (1-x^2\right )} \, dx &=2 \text {Subst}\left (\int \frac {1}{1-x^4} \, dx,x,\sqrt {x}\right )\\ &=\text {Subst}\left (\int \frac {1}{1-x^2} \, dx,x,\sqrt {x}\right )+\text {Subst}\left (\int \frac {1}{1+x^2} \, dx,x,\sqrt {x}\right )\\ &=\tan ^{-1}\left (\sqrt {x}\right )+\tanh ^{-1}\left (\sqrt {x}\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.02, size = 13, normalized size = 1.00 \begin {gather*} \tan ^{-1}\left (\sqrt {x}\right )+\tanh ^{-1}\left (\sqrt {x}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.23, size = 10, normalized size = 0.77
method | result | size |
derivativedivides | \(\arctan \left (\sqrt {x}\right )+\arctanh \left (\sqrt {x}\right )\) | \(10\) |
default | \(\arctan \left (\sqrt {x}\right )+\arctanh \left (\sqrt {x}\right )\) | \(10\) |
meijerg | \(-\frac {\sqrt {x}\, \left (\ln \left (1-\left (x^{2}\right )^{\frac {1}{4}}\right )-\ln \left (1+\left (x^{2}\right )^{\frac {1}{4}}\right )-2 \arctan \left (\left (x^{2}\right )^{\frac {1}{4}}\right )\right )}{2 \left (x^{2}\right )^{\frac {1}{4}}}\) | \(40\) |
trager | \(-\frac {\ln \left (\frac {-1-x +2 \sqrt {x}}{-1+x}\right )}{2}+\frac {\RootOf \left (\textit {\_Z}^{2}+1\right ) \ln \left (-\frac {x \RootOf \left (\textit {\_Z}^{2}+1\right )-\RootOf \left (\textit {\_Z}^{2}+1\right )-2 \sqrt {x}}{1+x}\right )}{2}\) | \(59\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] Leaf count of result is larger than twice the leaf count of optimal. 21 vs.
\(2 (9) = 18\).
time = 0.50, size = 21, normalized size = 1.62 \begin {gather*} \arctan \left (\sqrt {x}\right ) + \frac {1}{2} \, \log \left (\sqrt {x} + 1\right ) - \frac {1}{2} \, \log \left (\sqrt {x} - 1\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 21 vs.
\(2 (9) = 18\).
time = 0.37, size = 21, normalized size = 1.62 \begin {gather*} \arctan \left (\sqrt {x}\right ) + \frac {1}{2} \, \log \left (\sqrt {x} + 1\right ) - \frac {1}{2} \, \log \left (\sqrt {x} - 1\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [B] Leaf count of result is larger than twice the leaf count of optimal. 26 vs.
\(2 (12) = 24\).
time = 0.12, size = 26, normalized size = 2.00 \begin {gather*} - \frac {\log {\left (\sqrt {x} - 1 \right )}}{2} + \frac {\log {\left (\sqrt {x} + 1 \right )}}{2} + \operatorname {atan}{\left (\sqrt {x} \right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] Leaf count of result is larger than twice the leaf count of optimal. 22 vs.
\(2 (9) = 18\).
time = 4.66, size = 22, normalized size = 1.69 \begin {gather*} \arctan \left (\sqrt {x}\right ) + \frac {1}{2} \, \log \left (\sqrt {x} + 1\right ) - \frac {1}{2} \, \log \left ({\left | \sqrt {x} - 1 \right |}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 3.34, size = 9, normalized size = 0.69 \begin {gather*} \mathrm {atan}\left (\sqrt {x}\right )+\mathrm {atanh}\left (\sqrt {x}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________