Optimal. Leaf size=86 \[ \frac {1}{2} \text {RootSum}\left [\text {$\#$1}^8-4 \text {$\#$1}^4+2\& ,\frac {\log \left (\sqrt [4]{x^4-x^3}-\text {$\#$1} x\right )-\log (x)}{\text {$\#$1}^3}\& \right ]-2 \tan ^{-1}\left (\frac {x}{\sqrt [4]{x^4-x^3}}\right )+2 \tanh ^{-1}\left (\frac {x}{\sqrt [4]{x^4-x^3}}\right ) \]
________________________________________________________________________________________
Rubi [B] time = 0.56, antiderivative size = 365, normalized size of antiderivative = 4.24, number of steps used = 17, number of rules used = 10, integrand size = 24, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.417, Rules used = {2056, 905, 63, 240, 212, 206, 203, 6728, 93, 298} \begin {gather*} \frac {2 \sqrt [4]{x^4-x^3} \tan ^{-1}\left (\frac {\sqrt [4]{x-1}}{\sqrt [4]{x}}\right )}{\sqrt [4]{x-1} x^{3/4}}+\frac {\sqrt [4]{10+7 \sqrt {2}} \sqrt [4]{x^4-x^3} \tan ^{-1}\left (\frac {\sqrt [4]{2-\sqrt {2}} \sqrt [4]{x}}{\sqrt [4]{x-1}}\right )}{\sqrt {2} \sqrt [4]{x-1} x^{3/4}}+\frac {\sqrt [4]{10-7 \sqrt {2}} \sqrt [4]{x^4-x^3} \tan ^{-1}\left (\frac {\sqrt [4]{2+\sqrt {2}} \sqrt [4]{x}}{\sqrt [4]{x-1}}\right )}{\sqrt {2} \sqrt [4]{x-1} x^{3/4}}+\frac {2 \sqrt [4]{x^4-x^3} \tanh ^{-1}\left (\frac {\sqrt [4]{x-1}}{\sqrt [4]{x}}\right )}{\sqrt [4]{x-1} x^{3/4}}-\frac {\sqrt [4]{10+7 \sqrt {2}} \sqrt [4]{x^4-x^3} \tanh ^{-1}\left (\frac {\sqrt [4]{2-\sqrt {2}} \sqrt [4]{x}}{\sqrt [4]{x-1}}\right )}{\sqrt {2} \sqrt [4]{x-1} x^{3/4}}-\frac {\sqrt [4]{10-7 \sqrt {2}} \sqrt [4]{x^4-x^3} \tanh ^{-1}\left (\frac {\sqrt [4]{2+\sqrt {2}} \sqrt [4]{x}}{\sqrt [4]{x-1}}\right )}{\sqrt {2} \sqrt [4]{x-1} x^{3/4}} \end {gather*}
Warning: Unable to verify antiderivative.
[In]
[Out]
Rule 63
Rule 93
Rule 203
Rule 206
Rule 212
Rule 240
Rule 298
Rule 905
Rule 2056
Rule 6728
Rubi steps
\begin {align*} \int \frac {\sqrt [4]{-x^3+x^4}}{-1-2 x+x^2} \, dx &=\frac {\sqrt [4]{-x^3+x^4} \int \frac {\sqrt [4]{-1+x} x^{3/4}}{-1-2 x+x^2} \, dx}{\sqrt [4]{-1+x} x^{3/4}}\\ &=\frac {\sqrt [4]{-x^3+x^4} \int \frac {1}{(-1+x)^{3/4} \sqrt [4]{x}} \, dx}{\sqrt [4]{-1+x} x^{3/4}}+\frac {\sqrt [4]{-x^3+x^4} \int \frac {1+x}{(-1+x)^{3/4} \sqrt [4]{x} \left (-1-2 x+x^2\right )} \, dx}{\sqrt [4]{-1+x} x^{3/4}}\\ &=\frac {\sqrt [4]{-x^3+x^4} \int \left (\frac {1+\sqrt {2}}{(-1+x)^{3/4} \sqrt [4]{x} \left (-2-2 \sqrt {2}+2 x\right )}+\frac {1-\sqrt {2}}{(-1+x)^{3/4} \sqrt [4]{x} \left (-2+2 \sqrt {2}+2 x\right )}\right ) \, dx}{\sqrt [4]{-1+x} x^{3/4}}+\frac {\left (4 \sqrt [4]{-x^3+x^4}\right ) \operatorname {Subst}\left (\int \frac {1}{\sqrt [4]{1+x^4}} \, dx,x,\sqrt [4]{-1+x}\right )}{\sqrt [4]{-1+x} x^{3/4}}\\ &=\frac {\left (4 \sqrt [4]{-x^3+x^4}\right ) \operatorname {Subst}\left (\int \frac {1}{1-x^4} \, dx,x,\frac {\sqrt [4]{-1+x}}{\sqrt [4]{x}}\right )}{\sqrt [4]{-1+x} x^{3/4}}+\frac {\left (\left (1-\sqrt {2}\right ) \sqrt [4]{-x^3+x^4}\right ) \int \frac {1}{(-1+x)^{3/4} \sqrt [4]{x} \left (-2+2 \sqrt {2}+2 x\right )} \, dx}{\sqrt [4]{-1+x} x^{3/4}}+\frac {\left (\left (1+\sqrt {2}\right ) \sqrt [4]{-x^3+x^4}\right ) \int \frac {1}{(-1+x)^{3/4} \sqrt [4]{x} \left (-2-2 \sqrt {2}+2 x\right )} \, dx}{\sqrt [4]{-1+x} x^{3/4}}\\ &=\frac {\left (2 \sqrt [4]{-x^3+x^4}\right ) \operatorname {Subst}\left (\int \frac {1}{1-x^2} \, dx,x,\frac {\sqrt [4]{-1+x}}{\sqrt [4]{x}}\right )}{\sqrt [4]{-1+x} x^{3/4}}+\frac {\left (2 \sqrt [4]{-x^3+x^4}\right ) \operatorname {Subst}\left (\int \frac {1}{1+x^2} \, dx,x,\frac {\sqrt [4]{-1+x}}{\sqrt [4]{x}}\right )}{\sqrt [4]{-1+x} x^{3/4}}+\frac {\left (4 \left (1-\sqrt {2}\right ) \sqrt [4]{-x^3+x^4}\right ) \operatorname {Subst}\left (\int \frac {x^2}{-2+2 \sqrt {2}-2 \sqrt {2} x^4} \, dx,x,\frac {\sqrt [4]{x}}{\sqrt [4]{-1+x}}\right )}{\sqrt [4]{-1+x} x^{3/4}}+\frac {\left (4 \left (1+\sqrt {2}\right ) \sqrt [4]{-x^3+x^4}\right ) \operatorname {Subst}\left (\int \frac {x^2}{-2-2 \sqrt {2}+2 \sqrt {2} x^4} \, dx,x,\frac {\sqrt [4]{x}}{\sqrt [4]{-1+x}}\right )}{\sqrt [4]{-1+x} x^{3/4}}\\ &=\frac {2 \sqrt [4]{-x^3+x^4} \tan ^{-1}\left (\frac {\sqrt [4]{-1+x}}{\sqrt [4]{x}}\right )}{\sqrt [4]{-1+x} x^{3/4}}+\frac {2 \sqrt [4]{-x^3+x^4} \tanh ^{-1}\left (\frac {\sqrt [4]{-1+x}}{\sqrt [4]{x}}\right )}{\sqrt [4]{-1+x} x^{3/4}}+\frac {\left (\left (1-\sqrt {2}\right ) \sqrt [4]{-x^3+x^4}\right ) \operatorname {Subst}\left (\int \frac {1}{\sqrt {2-\sqrt {2}}-\sqrt {2} x^2} \, dx,x,\frac {\sqrt [4]{x}}{\sqrt [4]{-1+x}}\right )}{\sqrt [4]{-1+x} x^{3/4}}-\frac {\left (\left (1-\sqrt {2}\right ) \sqrt [4]{-x^3+x^4}\right ) \operatorname {Subst}\left (\int \frac {1}{\sqrt {2-\sqrt {2}}+\sqrt {2} x^2} \, dx,x,\frac {\sqrt [4]{x}}{\sqrt [4]{-1+x}}\right )}{\sqrt [4]{-1+x} x^{3/4}}-\frac {\left (\left (1+\sqrt {2}\right ) \sqrt [4]{-x^3+x^4}\right ) \operatorname {Subst}\left (\int \frac {1}{\sqrt {2+\sqrt {2}}-\sqrt {2} x^2} \, dx,x,\frac {\sqrt [4]{x}}{\sqrt [4]{-1+x}}\right )}{\sqrt [4]{-1+x} x^{3/4}}+\frac {\left (\left (1+\sqrt {2}\right ) \sqrt [4]{-x^3+x^4}\right ) \operatorname {Subst}\left (\int \frac {1}{\sqrt {2+\sqrt {2}}+\sqrt {2} x^2} \, dx,x,\frac {\sqrt [4]{x}}{\sqrt [4]{-1+x}}\right )}{\sqrt [4]{-1+x} x^{3/4}}\\ &=\frac {2 \sqrt [4]{-x^3+x^4} \tan ^{-1}\left (\frac {\sqrt [4]{-1+x}}{\sqrt [4]{x}}\right )}{\sqrt [4]{-1+x} x^{3/4}}+\frac {\sqrt [4]{10+7 \sqrt {2}} \sqrt [4]{-x^3+x^4} \tan ^{-1}\left (\frac {\sqrt [4]{2-\sqrt {2}} \sqrt [4]{x}}{\sqrt [4]{-1+x}}\right )}{\sqrt {2} \sqrt [4]{-1+x} x^{3/4}}+\frac {\sqrt [4]{10-7 \sqrt {2}} \sqrt [4]{-x^3+x^4} \tan ^{-1}\left (\frac {\sqrt [4]{2+\sqrt {2}} \sqrt [4]{x}}{\sqrt [4]{-1+x}}\right )}{\sqrt {2} \sqrt [4]{-1+x} x^{3/4}}+\frac {2 \sqrt [4]{-x^3+x^4} \tanh ^{-1}\left (\frac {\sqrt [4]{-1+x}}{\sqrt [4]{x}}\right )}{\sqrt [4]{-1+x} x^{3/4}}-\frac {\sqrt [4]{10+7 \sqrt {2}} \sqrt [4]{-x^3+x^4} \tanh ^{-1}\left (\frac {\sqrt [4]{2-\sqrt {2}} \sqrt [4]{x}}{\sqrt [4]{-1+x}}\right )}{\sqrt {2} \sqrt [4]{-1+x} x^{3/4}}-\frac {\sqrt [4]{10-7 \sqrt {2}} \sqrt [4]{-x^3+x^4} \tanh ^{-1}\left (\frac {\sqrt [4]{2+\sqrt {2}} \sqrt [4]{x}}{\sqrt [4]{-1+x}}\right )}{\sqrt {2} \sqrt [4]{-1+x} x^{3/4}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.05, size = 105, normalized size = 1.22 \begin {gather*} \frac {\sqrt [4]{(x-1) x^3} \left (4 \sqrt [4]{x} \, _2F_1\left (\frac {1}{4},\frac {1}{4};\frac {5}{4};1-x\right )+\left (\sqrt {2}-2\right ) \, _2F_1\left (\frac {1}{4},1;\frac {5}{4};-\frac {\left (-2+\sqrt {2}\right ) (x-1)}{2 x}\right )-\left (2+\sqrt {2}\right ) \, _2F_1\left (\frac {1}{4},1;\frac {5}{4};\frac {\left (2+\sqrt {2}\right ) (x-1)}{2 x}\right )\right )}{x} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [A] time = 0.00, size = 86, normalized size = 1.00 \begin {gather*} -2 \tan ^{-1}\left (\frac {x}{\sqrt [4]{-x^3+x^4}}\right )+2 \tanh ^{-1}\left (\frac {x}{\sqrt [4]{-x^3+x^4}}\right )+\frac {1}{2} \text {RootSum}\left [2-4 \text {$\#$1}^4+\text {$\#$1}^8\&,\frac {-\log (x)+\log \left (\sqrt [4]{-x^3+x^4}-x \text {$\#$1}\right )}{\text {$\#$1}^3}\&\right ] \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 0.88, size = 496, normalized size = 5.77 \begin {gather*} \sqrt {2} {\left (7 \, \sqrt {2} + 10\right )}^{\frac {1}{4}} \arctan \left (\frac {{\left ({\left (3 \, \sqrt {2} x - 4 \, x\right )} \sqrt {7 \, \sqrt {2} + 10} \sqrt {-\frac {{\left (2 \, \sqrt {2} x^{2} - 3 \, x^{2}\right )} \sqrt {7 \, \sqrt {2} + 10} - \sqrt {x^{4} - x^{3}}}{x^{2}}} - {\left (x^{4} - x^{3}\right )}^{\frac {1}{4}} \sqrt {7 \, \sqrt {2} + 10} {\left (3 \, \sqrt {2} - 4\right )}\right )} {\left (7 \, \sqrt {2} + 10\right )}^{\frac {1}{4}}}{2 \, x}\right ) + \sqrt {2} {\left (-7 \, \sqrt {2} + 10\right )}^{\frac {1}{4}} \arctan \left (\frac {{\left (3 \, \sqrt {2} x + 4 \, x\right )} {\left (-7 \, \sqrt {2} + 10\right )}^{\frac {3}{4}} \sqrt {\frac {{\left (2 \, \sqrt {2} x^{2} + 3 \, x^{2}\right )} \sqrt {-7 \, \sqrt {2} + 10} + \sqrt {x^{4} - x^{3}}}{x^{2}}} - {\left (x^{4} - x^{3}\right )}^{\frac {1}{4}} {\left (3 \, \sqrt {2} + 4\right )} {\left (-7 \, \sqrt {2} + 10\right )}^{\frac {3}{4}}}{2 \, x}\right ) - \frac {1}{4} \, \sqrt {2} {\left (7 \, \sqrt {2} + 10\right )}^{\frac {1}{4}} \log \left (\frac {{\left (\sqrt {2} x - x\right )} {\left (7 \, \sqrt {2} + 10\right )}^{\frac {1}{4}} + {\left (x^{4} - x^{3}\right )}^{\frac {1}{4}}}{x}\right ) + \frac {1}{4} \, \sqrt {2} {\left (7 \, \sqrt {2} + 10\right )}^{\frac {1}{4}} \log \left (-\frac {{\left (\sqrt {2} x - x\right )} {\left (7 \, \sqrt {2} + 10\right )}^{\frac {1}{4}} - {\left (x^{4} - x^{3}\right )}^{\frac {1}{4}}}{x}\right ) - \frac {1}{4} \, \sqrt {2} {\left (-7 \, \sqrt {2} + 10\right )}^{\frac {1}{4}} \log \left (\frac {{\left (\sqrt {2} x + x\right )} {\left (-7 \, \sqrt {2} + 10\right )}^{\frac {1}{4}} + {\left (x^{4} - x^{3}\right )}^{\frac {1}{4}}}{x}\right ) + \frac {1}{4} \, \sqrt {2} {\left (-7 \, \sqrt {2} + 10\right )}^{\frac {1}{4}} \log \left (-\frac {{\left (\sqrt {2} x + x\right )} {\left (-7 \, \sqrt {2} + 10\right )}^{\frac {1}{4}} - {\left (x^{4} - x^{3}\right )}^{\frac {1}{4}}}{x}\right ) + 2 \, \arctan \left (\frac {{\left (x^{4} - x^{3}\right )}^{\frac {1}{4}}}{x}\right ) + \log \left (\frac {x + {\left (x^{4} - x^{3}\right )}^{\frac {1}{4}}}{x}\right ) - \log \left (-\frac {x - {\left (x^{4} - x^{3}\right )}^{\frac {1}{4}}}{x}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F(-2)] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: TypeError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [B] time = 17.27, size = 5300, normalized size = 61.63
method | result | size |
trager | \(\text {Expression too large to display}\) | \(5300\) |
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*} \int \frac {{\left (x^{4} - x^{3}\right )}^{\frac {1}{4}}}{x^{2} - 2 \, x - 1}\,{d x} \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 \frac {{\left (x^4-x^3\right )}^{1/4}}{-x^2+2\,x+1} \,d x \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 \frac {\sqrt [4]{x^{3} \left (x - 1\right )}}{x^{2} - 2 x - 1}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________