Optimal. Leaf size=37 \[ -\frac {1}{\sqrt {x+\sqrt {1+x^2}}}+\frac {1}{3} \left (x+\sqrt {1+x^2}\right )^{3/2} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.01, antiderivative size = 37, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 2, integrand size = 15, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.133, Rules used = {2142, 14}
\begin {gather*} \frac {1}{3} \left (\sqrt {x^2+1}+x\right )^{3/2}-\frac {1}{\sqrt {\sqrt {x^2+1}+x}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 14
Rule 2142
Rubi steps
\begin {gather*} \begin {aligned} \text {Integral} &=\frac {1}{2} \text {Subst}\left (\int \frac {1+x^2}{x^{3/2}} \, dx,x,x+\sqrt {1+x^2}\right )\\ &=\frac {1}{2} \text {Subst}\left (\int \left (\frac {1}{x^{3/2}}+\sqrt {x}\right ) \, dx,x,x+\sqrt {1+x^2}\right )\\ &=-\frac {1}{\sqrt {x+\sqrt {1+x^2}}}+\frac {1}{3} \left (x+\sqrt {1+x^2}\right )^{3/2}\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A]
time = 0.03, size = 37, normalized size = 1.00 \begin {gather*} -\frac {1}{\sqrt {x+\sqrt {1+x^2}}}+\frac {1}{3} \left (x+\sqrt {1+x^2}\right )^{3/2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] Result contains higher order function than in optimal. Order 3 vs. order
2.
time = 0.03, size = 57, normalized size = 1.54
method | result | size |
meijerg | \(\frac {\frac {16 \sqrt {\pi }\, \sqrt {2}\, x^{\frac {3}{2}} \left (-\frac {1}{x^{2}}+1\right ) \cosh \left (\frac {\arcsinh \left (\frac {1}{x}\right )}{2}\right )}{3}+\frac {16 \sqrt {\pi }\, \sqrt {2}\, \sqrt {x}\, \sqrt {\frac {1}{x^{2}}+1}\, \sinh \left (\frac {\arcsinh \left (\frac {1}{x}\right )}{2}\right )}{3}}{8 \sqrt {\pi }}\) | \(57\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.58, size = 26, normalized size = 0.70 \begin {gather*} \frac {2}{3} \, {\left (2 \, x - \sqrt {x^{2} + 1}\right )} \sqrt {x + \sqrt {x^{2} + 1}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.14, size = 42, normalized size = 1.14 \begin {gather*} \frac {4 x \sqrt {x + \sqrt {x^{2} + 1}}}{3} - \frac {2 \sqrt {x + \sqrt {x^{2} + 1}} \sqrt {x^{2} + 1}}{3} \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.03 \begin {gather*} \int \sqrt {x+\sqrt {x^2+1}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Chatgpt [F] Failed to verify
time = 1.00, size = 27, normalized size = 0.73 \begin {gather*} \frac {\left (2+x \right ) \sqrt {x +\sqrt {x^{2}+1}}}{8}+\frac {\arcsinh \left (\sqrt {x^{2}+1}\right )}{8} \end {gather*}
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________