Optimal. Leaf size=24 \[ \sqrt {x^5-2 x+1}-\sqrt {x^3+1} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.32, antiderivative size = 24, normalized size of antiderivative = 1.00, number of steps used = 5, number of rules used = 4, integrand size = 68, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.059, Rules used = {12, 6688, 261, 2099} \[ \sqrt {x^5-2 x+1}-\sqrt {x^3+1} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 261
Rule 2099
Rule 6688
Rubi steps
\begin {align*} \int \frac {-2 \sqrt {1+x^3}+5 x^4 \sqrt {1+x^3}-3 x^2 \sqrt {1-2 x+x^5}}{2 \sqrt {1+x^3} \sqrt {1-2 x+x^5}} \, dx &=\frac {1}{2} \int \frac {-2 \sqrt {1+x^3}+5 x^4 \sqrt {1+x^3}-3 x^2 \sqrt {1-2 x+x^5}}{\sqrt {1+x^3} \sqrt {1-2 x+x^5}} \, dx\\ &=\frac {1}{2} \int \left (-\frac {3 x^2}{\sqrt {1+x^3}}-\frac {2}{\sqrt {1-2 x+x^5}}+\frac {5 x^4}{\sqrt {1-2 x+x^5}}\right ) \, dx\\ &=-\left (\frac {3}{2} \int \frac {x^2}{\sqrt {1+x^3}} \, dx\right )+\frac {5}{2} \int \frac {x^4}{\sqrt {1-2 x+x^5}} \, dx-\int \frac {1}{\sqrt {1-2 x+x^5}} \, dx\\ &=-\sqrt {1+x^3}+\sqrt {1-2 x+x^5}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.17, size = 24, normalized size = 1.00 \[ \sqrt {x^5-2 x+1}-\sqrt {x^3+1} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.41, size = 20, normalized size = 0.83 \[ \sqrt {x^{5} - 2 \, x + 1} - \sqrt {x^{3} + 1} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {5 \, \sqrt {x^{3} + 1} x^{4} - 3 \, \sqrt {x^{5} - 2 \, x + 1} x^{2} - 2 \, \sqrt {x^{3} + 1}}{2 \, \sqrt {x^{5} - 2 \, x + 1} \sqrt {x^{3} + 1}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.00, size = 21, normalized size = 0.88 \[ -\sqrt {x^{3}+1}+\sqrt {x^{5}-2 x +1} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 1.19, size = 30, normalized size = 1.25 \[ \sqrt {x^{4} + x^{3} + x^{2} + x - 1} \sqrt {x - 1} - \sqrt {x^{3} + 1} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.31, size = 20, normalized size = 0.83 \[ \sqrt {x^5-2\,x+1}-\sqrt {x^3+1} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 1.34, size = 19, normalized size = 0.79 \[ - \sqrt {x^{3} + 1} + \sqrt {x^{5} - 2 x + 1} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________