Optimal. Leaf size=69 \[ \frac {\left (\sqrt {x}+3 \sqrt {1+x}\right ) \sqrt {-x+\sqrt {x} \sqrt {1+x}}}{4 \sqrt {2}}-\left (\frac {3}{8}+x\right ) \sin ^{-1}\left (\sqrt {x}-\sqrt {1+x}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [F]
time = 0.10, antiderivative size = 0, normalized size of antiderivative = 0.00, number of steps
used = 0, number of rules used = 0, integrand size = 0, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.000, Rules used = {}
\begin {gather*} \int -\text {ArcSin}\left (\sqrt {x}-\sqrt {1+x}\right ) \, dx \end {gather*}
Verification is not applicable to the result.
[In]
[Out]
Rubi steps
\begin {align*} \int -\sin ^{-1}\left (\sqrt {x}-\sqrt {1+x}\right ) \, dx &=-x \sin ^{-1}\left (\sqrt {x}-\sqrt {1+x}\right )+\int \frac {\sqrt {-x+\sqrt {x} \sqrt {1+x}}}{2 \sqrt {2} \sqrt {1+x}} \, dx\\ &=-x \sin ^{-1}\left (\sqrt {x}-\sqrt {1+x}\right )+\frac {\int \frac {\sqrt {-x+\sqrt {x} \sqrt {1+x}}}{\sqrt {1+x}} \, dx}{2 \sqrt {2}}\\ &=-x \sin ^{-1}\left (\sqrt {x}-\sqrt {1+x}\right )+\frac {\text {Subst}\left (\int \sqrt {1-x^2+x \sqrt {-1+x^2}} \, dx,x,\sqrt {1+x}\right )}{\sqrt {2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.71, size = 106, normalized size = 1.54 \begin {gather*} \frac {1}{8} \left (\sqrt {x}+3 \sqrt {1+x}\right ) \sqrt {-2 x+2 \sqrt {x} \sqrt {1+x}}-x \sin ^{-1}\left (\sqrt {x}-\sqrt {1+x}\right )-\frac {3}{8} \tan ^{-1}\left (\frac {\sqrt {-2 x+2 \sqrt {x} \sqrt {1+x}}}{-\sqrt {x}+\sqrt {1+x}}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(250\) vs.
\(2(49)=98\).
time = 0.58, size = 251, normalized size = 3.64
method | result | size |
default | \(-\frac {\arcsin \left (\sqrt {x}-\sqrt {1+x}\right ) \left (\tan ^{8}\left (\frac {\arcsin \left (\sqrt {x}-\sqrt {1+x}\right )}{2}\right )\right )-2 \left (\tan ^{7}\left (\frac {\arcsin \left (\sqrt {x}-\sqrt {1+x}\right )}{2}\right )\right )+2 \arcsin \left (\sqrt {x}-\sqrt {1+x}\right ) \left (\tan ^{6}\left (\frac {\arcsin \left (\sqrt {x}-\sqrt {1+x}\right )}{2}\right )\right )-6 \left (\tan ^{5}\left (\frac {\arcsin \left (\sqrt {x}-\sqrt {1+x}\right )}{2}\right )\right )+18 \arcsin \left (\sqrt {x}-\sqrt {1+x}\right ) \left (\tan ^{4}\left (\frac {\arcsin \left (\sqrt {x}-\sqrt {1+x}\right )}{2}\right )\right )+6 \left (\tan ^{3}\left (\frac {\arcsin \left (\sqrt {x}-\sqrt {1+x}\right )}{2}\right )\right )+2 \arcsin \left (\sqrt {x}-\sqrt {1+x}\right ) \left (\tan ^{2}\left (\frac {\arcsin \left (\sqrt {x}-\sqrt {1+x}\right )}{2}\right )\right )+2 \tan \left (\frac {\arcsin \left (\sqrt {x}-\sqrt {1+x}\right )}{2}\right )+\arcsin \left (\sqrt {x}-\sqrt {1+x}\right )}{16 \left (1+\tan ^{2}\left (\frac {\arcsin \left (\sqrt {x}-\sqrt {1+x}\right )}{2}\right )\right )^{2} \tan \left (\frac {\arcsin \left (\sqrt {x}-\sqrt {1+x}\right )}{2}\right )^{2}}\) | \(251\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 4.16, size = 4, normalized size = 0.06 \begin {gather*} \frac {1}{2} \, \pi x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 22.13, size = 49, normalized size = 0.71 \begin {gather*} \frac {1}{8} \, {\left (8 \, x + 3\right )} \arcsin \left (\sqrt {x + 1} - \sqrt {x}\right ) + \frac {1}{8} \, \sqrt {2 \, \sqrt {x + 1} \sqrt {x} - 2 \, x} {\left (3 \, \sqrt {x + 1} + \sqrt {x}\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} - \int \operatorname {asin}{\left (\sqrt {x} - \sqrt {x + 1} \right )}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \mathrm {asin}\left (\sqrt {x+1}-\sqrt {x}\right ) \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________