Optimal. Leaf size=147 \[ \sqrt [4]{-x^3+x^4}-\frac {7}{2} \text {ArcTan}\left (\frac {x}{\sqrt [4]{-x^3+x^4}}\right )+\frac {7}{2} \tanh ^{-1}\left (\frac {x}{\sqrt [4]{-x^3+x^4}}\right )-\text {RootSum}\left [1-\text {$\#$1}^4+\text {$\#$1}^8\& ,\frac {-2 \log (x)+2 \log \left (\sqrt [4]{-x^3+x^4}-x \text {$\#$1}\right )+\log (x) \text {$\#$1}^4-\log \left (\sqrt [4]{-x^3+x^4}-x \text {$\#$1}\right ) \text {$\#$1}^4}{-\text {$\#$1}^3+2 \text {$\#$1}^7}\& \right ] \]
[Out]
________________________________________________________________________________________
Rubi [C] Result contains complex when optimal does not.
time = 0.45, antiderivative size = 695, normalized size of antiderivative = 4.73, number of steps
used = 25, number of rules used = 13, integrand size = 27, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.482, Rules used = {2081, 6860,
103, 163, 65, 246, 218, 212, 209, 95, 304, 211, 214} \begin {gather*} \frac {\left (7+i \sqrt {3}\right ) \sqrt [4]{x^4-x^3} \text {ArcTan}\left (\frac {\sqrt [4]{x-1}}{\sqrt [4]{x}}\right )}{4 \sqrt [4]{x-1} x^{3/4}}+\frac {\left (7-i \sqrt {3}\right ) \sqrt [4]{x^4-x^3} \text {ArcTan}\left (\frac {\sqrt [4]{x-1}}{\sqrt [4]{x}}\right )}{4 \sqrt [4]{x-1} x^{3/4}}+\frac {\sqrt [4]{-\frac {-\sqrt {3}+i}{\sqrt {3}+i}} \left (\sqrt {3}+i\right ) \sqrt [4]{x^4-x^3} \text {ArcTan}\left (\frac {\sqrt [4]{x}}{\sqrt [4]{-\frac {-\sqrt {3}+i}{\sqrt {3}+i}} \sqrt [4]{x-1}}\right )}{\sqrt [4]{x-1} x^{3/4}}+\frac {\left (-\frac {-\sqrt {3}+i}{\sqrt {3}+i}\right )^{3/4} \left (\sqrt {3}+i\right ) \sqrt [4]{x^4-x^3} \text {ArcTan}\left (\frac {\sqrt [4]{-\frac {-\sqrt {3}+i}{\sqrt {3}+i}} \sqrt [4]{x}}{\sqrt [4]{x-1}}\right )}{\sqrt [4]{x-1} x^{3/4}}+\frac {1}{2} \left (1+i \sqrt {3}\right ) \sqrt [4]{x^4-x^3}+\frac {1}{2} \left (1-i \sqrt {3}\right ) \sqrt [4]{x^4-x^3}+\frac {\left (7+i \sqrt {3}\right ) \sqrt [4]{x^4-x^3} \tanh ^{-1}\left (\frac {\sqrt [4]{x-1}}{\sqrt [4]{x}}\right )}{4 \sqrt [4]{x-1} x^{3/4}}+\frac {\left (7-i \sqrt {3}\right ) \sqrt [4]{x^4-x^3} \tanh ^{-1}\left (\frac {\sqrt [4]{x-1}}{\sqrt [4]{x}}\right )}{4 \sqrt [4]{x-1} x^{3/4}}-\frac {\sqrt [4]{-\frac {-\sqrt {3}+i}{\sqrt {3}+i}} \left (\sqrt {3}+i\right ) \sqrt [4]{x^4-x^3} \tanh ^{-1}\left (\frac {\sqrt [4]{x}}{\sqrt [4]{-\frac {-\sqrt {3}+i}{\sqrt {3}+i}} \sqrt [4]{x-1}}\right )}{\sqrt [4]{x-1} x^{3/4}}-\frac {\left (-\frac {-\sqrt {3}+i}{\sqrt {3}+i}\right )^{3/4} \left (\sqrt {3}+i\right ) \sqrt [4]{x^4-x^3} \tanh ^{-1}\left (\frac {\sqrt [4]{-\frac {-\sqrt {3}+i}{\sqrt {3}+i}} \sqrt [4]{x}}{\sqrt [4]{x-1}}\right )}{\sqrt [4]{x-1} x^{3/4}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 65
Rule 95
Rule 103
Rule 163
Rule 209
Rule 211
Rule 212
Rule 214
Rule 218
Rule 246
Rule 304
Rule 2081
Rule 6860
Rubi steps
\begin {align*} \int \frac {(1+x) \sqrt [4]{-x^3+x^4}}{1-x+x^2} \, dx &=\frac {\sqrt [4]{-x^3+x^4} \int \frac {\sqrt [4]{-1+x} x^{3/4} (1+x)}{1-x+x^2} \, dx}{\sqrt [4]{-1+x} x^{3/4}}\\ &=\frac {\sqrt [4]{-x^3+x^4} \int \left (\frac {\left (1-i \sqrt {3}\right ) \sqrt [4]{-1+x} x^{3/4}}{-1-i \sqrt {3}+2 x}+\frac {\left (1+i \sqrt {3}\right ) \sqrt [4]{-1+x} x^{3/4}}{-1+i \sqrt {3}+2 x}\right ) \, dx}{\sqrt [4]{-1+x} x^{3/4}}\\ &=\frac {\left (\left (1-i \sqrt {3}\right ) \sqrt [4]{-x^3+x^4}\right ) \int \frac {\sqrt [4]{-1+x} x^{3/4}}{-1-i \sqrt {3}+2 x} \, dx}{\sqrt [4]{-1+x} x^{3/4}}+\frac {\left (\left (1+i \sqrt {3}\right ) \sqrt [4]{-x^3+x^4}\right ) \int \frac {\sqrt [4]{-1+x} x^{3/4}}{-1+i \sqrt {3}+2 x} \, dx}{\sqrt [4]{-1+x} x^{3/4}}\\ &=\frac {1}{2} \left (1-i \sqrt {3}\right ) \sqrt [4]{-x^3+x^4}+\frac {1}{2} \left (1+i \sqrt {3}\right ) \sqrt [4]{-x^3+x^4}-\frac {\left (\left (1-i \sqrt {3}\right ) \sqrt [4]{-x^3+x^4}\right ) \int \frac {\frac {3}{4} \left (1+i \sqrt {3}\right )+\frac {1}{2} \left (-1-2 i \sqrt {3}\right ) x}{(-1+x)^{3/4} \sqrt [4]{x} \left (-1-i \sqrt {3}+2 x\right )} \, dx}{2 \sqrt [4]{-1+x} x^{3/4}}-\frac {\left (\left (1+i \sqrt {3}\right ) \sqrt [4]{-x^3+x^4}\right ) \int \frac {\frac {3}{4} \left (1-i \sqrt {3}\right )+\frac {1}{2} \left (-1+2 i \sqrt {3}\right ) x}{(-1+x)^{3/4} \sqrt [4]{x} \left (-1+i \sqrt {3}+2 x\right )} \, dx}{2 \sqrt [4]{-1+x} x^{3/4}}\\ &=\frac {1}{2} \left (1-i \sqrt {3}\right ) \sqrt [4]{-x^3+x^4}+\frac {1}{2} \left (1+i \sqrt {3}\right ) \sqrt [4]{-x^3+x^4}-\frac {\left (\left (1-i \sqrt {3}\right ) \sqrt [4]{-x^3+x^4}\right ) \int \frac {1}{(-1+x)^{3/4} \sqrt [4]{x} \left (-1-i \sqrt {3}+2 x\right )} \, dx}{\sqrt [4]{-1+x} x^{3/4}}-\frac {\left (\left (1+i \sqrt {3}\right ) \sqrt [4]{-x^3+x^4}\right ) \int \frac {1}{(-1+x)^{3/4} \sqrt [4]{x} \left (-1+i \sqrt {3}+2 x\right )} \, dx}{\sqrt [4]{-1+x} x^{3/4}}-\frac {\left (\left (1-i \sqrt {3}\right ) \left (-1-2 i \sqrt {3}\right ) \sqrt [4]{-x^3+x^4}\right ) \int \frac {1}{(-1+x)^{3/4} \sqrt [4]{x}} \, dx}{8 \sqrt [4]{-1+x} x^{3/4}}-\frac {\left (\left (1+i \sqrt {3}\right ) \left (-1+2 i \sqrt {3}\right ) \sqrt [4]{-x^3+x^4}\right ) \int \frac {1}{(-1+x)^{3/4} \sqrt [4]{x}} \, dx}{8 \sqrt [4]{-1+x} x^{3/4}}\\ &=\frac {1}{2} \left (1-i \sqrt {3}\right ) \sqrt [4]{-x^3+x^4}+\frac {1}{2} \left (1+i \sqrt {3}\right ) \sqrt [4]{-x^3+x^4}-\frac {\left (4 \left (1-i \sqrt {3}\right ) \sqrt [4]{-x^3+x^4}\right ) \text {Subst}\left (\int \frac {x^2}{-1-i \sqrt {3}-\left (1-i \sqrt {3}\right ) 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+i \sqrt {3}\right ) \sqrt [4]{-x^3+x^4}\right ) \text {Subst}\left (\int \frac {x^2}{-1+i \sqrt {3}-\left (1+i \sqrt {3}\right ) x^4} \, dx,x,\frac {\sqrt [4]{x}}{\sqrt [4]{-1+x}}\right )}{\sqrt [4]{-1+x} x^{3/4}}-\frac {\left (\left (1-i \sqrt {3}\right ) \left (-1-2 i \sqrt {3}\right ) \sqrt [4]{-x^3+x^4}\right ) \text {Subst}\left (\int \frac {1}{\sqrt [4]{1+x^4}} \, dx,x,\sqrt [4]{-1+x}\right )}{2 \sqrt [4]{-1+x} x^{3/4}}-\frac {\left (\left (1+i \sqrt {3}\right ) \left (-1+2 i \sqrt {3}\right ) \sqrt [4]{-x^3+x^4}\right ) \text {Subst}\left (\int \frac {1}{\sqrt [4]{1+x^4}} \, dx,x,\sqrt [4]{-1+x}\right )}{2 \sqrt [4]{-1+x} x^{3/4}}\\ &=\frac {1}{2} \left (1-i \sqrt {3}\right ) \sqrt [4]{-x^3+x^4}+\frac {1}{2} \left (1+i \sqrt {3}\right ) \sqrt [4]{-x^3+x^4}-\frac {\left (\left (1-i \sqrt {3}\right ) \left (-1-2 i \sqrt {3}\right ) \sqrt [4]{-x^3+x^4}\right ) \text {Subst}\left (\int \frac {1}{1-x^4} \, dx,x,\frac {\sqrt [4]{-1+x}}{\sqrt [4]{x}}\right )}{2 \sqrt [4]{-1+x} x^{3/4}}-\frac {\left (\left (1+i \sqrt {3}\right ) \left (-1+2 i \sqrt {3}\right ) \sqrt [4]{-x^3+x^4}\right ) \text {Subst}\left (\int \frac {1}{1-x^4} \, dx,x,\frac {\sqrt [4]{-1+x}}{\sqrt [4]{x}}\right )}{2 \sqrt [4]{-1+x} x^{3/4}}+\frac {\left (2 i \left (1+i \sqrt {3}\right ) \sqrt [4]{-x^3+x^4}\right ) \text {Subst}\left (\int \frac {1}{\sqrt {i+\sqrt {3}}-\sqrt {-i+\sqrt {3}} x^2} \, dx,x,\frac {\sqrt [4]{x}}{\sqrt [4]{-1+x}}\right )}{\sqrt {-i+\sqrt {3}} \sqrt [4]{-1+x} x^{3/4}}-\frac {\left (2 i \left (1+i \sqrt {3}\right ) \sqrt [4]{-x^3+x^4}\right ) \text {Subst}\left (\int \frac {1}{\sqrt {i+\sqrt {3}}+\sqrt {-i+\sqrt {3}} x^2} \, dx,x,\frac {\sqrt [4]{x}}{\sqrt [4]{-1+x}}\right )}{\sqrt {-i+\sqrt {3}} \sqrt [4]{-1+x} x^{3/4}}-\frac {\left (2 i \left (1-i \sqrt {3}\right ) \sqrt [4]{-x^3+x^4}\right ) \text {Subst}\left (\int \frac {1}{\sqrt {-i+\sqrt {3}}-\sqrt {i+\sqrt {3}} x^2} \, dx,x,\frac {\sqrt [4]{x}}{\sqrt [4]{-1+x}}\right )}{\sqrt {i+\sqrt {3}} \sqrt [4]{-1+x} x^{3/4}}+\frac {\left (2 i \left (1-i \sqrt {3}\right ) \sqrt [4]{-x^3+x^4}\right ) \text {Subst}\left (\int \frac {1}{\sqrt {-i+\sqrt {3}}+\sqrt {i+\sqrt {3}} x^2} \, dx,x,\frac {\sqrt [4]{x}}{\sqrt [4]{-1+x}}\right )}{\sqrt {i+\sqrt {3}} \sqrt [4]{-1+x} x^{3/4}}\\ &=\frac {1}{2} \left (1-i \sqrt {3}\right ) \sqrt [4]{-x^3+x^4}+\frac {1}{2} \left (1+i \sqrt {3}\right ) \sqrt [4]{-x^3+x^4}+\frac {2 \sqrt [4]{-x^3+x^4} \tan ^{-1}\left (\frac {\sqrt [4]{x}}{\sqrt [4]{-\frac {i-\sqrt {3}}{i+\sqrt {3}}} \sqrt [4]{-1+x}}\right )}{\sqrt [4]{-\frac {i-\sqrt {3}}{i+\sqrt {3}}} \sqrt [4]{-1+x} x^{3/4}}+\frac {2 \sqrt [4]{-\frac {i-\sqrt {3}}{i+\sqrt {3}}} \sqrt [4]{-x^3+x^4} \tan ^{-1}\left (\frac {\sqrt [4]{-\frac {i-\sqrt {3}}{i+\sqrt {3}}} \sqrt [4]{x}}{\sqrt [4]{-1+x}}\right )}{\sqrt [4]{-1+x} x^{3/4}}-\frac {2 \sqrt [4]{-x^3+x^4} \tanh ^{-1}\left (\frac {\sqrt [4]{x}}{\sqrt [4]{-\frac {i-\sqrt {3}}{i+\sqrt {3}}} \sqrt [4]{-1+x}}\right )}{\sqrt [4]{-\frac {i-\sqrt {3}}{i+\sqrt {3}}} \sqrt [4]{-1+x} x^{3/4}}-\frac {2 \sqrt [4]{-\frac {i-\sqrt {3}}{i+\sqrt {3}}} \sqrt [4]{-x^3+x^4} \tanh ^{-1}\left (\frac {\sqrt [4]{-\frac {i-\sqrt {3}}{i+\sqrt {3}}} \sqrt [4]{x}}{\sqrt [4]{-1+x}}\right )}{\sqrt [4]{-1+x} x^{3/4}}-\frac {\left (\left (1-i \sqrt {3}\right ) \left (-1-2 i \sqrt {3}\right ) \sqrt [4]{-x^3+x^4}\right ) \text {Subst}\left (\int \frac {1}{1-x^2} \, dx,x,\frac {\sqrt [4]{-1+x}}{\sqrt [4]{x}}\right )}{4 \sqrt [4]{-1+x} x^{3/4}}-\frac {\left (\left (1-i \sqrt {3}\right ) \left (-1-2 i \sqrt {3}\right ) \sqrt [4]{-x^3+x^4}\right ) \text {Subst}\left (\int \frac {1}{1+x^2} \, dx,x,\frac {\sqrt [4]{-1+x}}{\sqrt [4]{x}}\right )}{4 \sqrt [4]{-1+x} x^{3/4}}-\frac {\left (\left (1+i \sqrt {3}\right ) \left (-1+2 i \sqrt {3}\right ) \sqrt [4]{-x^3+x^4}\right ) \text {Subst}\left (\int \frac {1}{1-x^2} \, dx,x,\frac {\sqrt [4]{-1+x}}{\sqrt [4]{x}}\right )}{4 \sqrt [4]{-1+x} x^{3/4}}-\frac {\left (\left (1+i \sqrt {3}\right ) \left (-1+2 i \sqrt {3}\right ) \sqrt [4]{-x^3+x^4}\right ) \text {Subst}\left (\int \frac {1}{1+x^2} \, dx,x,\frac {\sqrt [4]{-1+x}}{\sqrt [4]{x}}\right )}{4 \sqrt [4]{-1+x} x^{3/4}}\\ &=\frac {1}{2} \left (1-i \sqrt {3}\right ) \sqrt [4]{-x^3+x^4}+\frac {1}{2} \left (1+i \sqrt {3}\right ) \sqrt [4]{-x^3+x^4}+\frac {\left (7-i \sqrt {3}\right ) \sqrt [4]{-x^3+x^4} \tan ^{-1}\left (\frac {\sqrt [4]{-1+x}}{\sqrt [4]{x}}\right )}{4 \sqrt [4]{-1+x} x^{3/4}}+\frac {\left (7+i \sqrt {3}\right ) \sqrt [4]{-x^3+x^4} \tan ^{-1}\left (\frac {\sqrt [4]{-1+x}}{\sqrt [4]{x}}\right )}{4 \sqrt [4]{-1+x} x^{3/4}}+\frac {2 \sqrt [4]{-x^3+x^4} \tan ^{-1}\left (\frac {\sqrt [4]{x}}{\sqrt [4]{-\frac {i-\sqrt {3}}{i+\sqrt {3}}} \sqrt [4]{-1+x}}\right )}{\sqrt [4]{-\frac {i-\sqrt {3}}{i+\sqrt {3}}} \sqrt [4]{-1+x} x^{3/4}}+\frac {2 \sqrt [4]{-\frac {i-\sqrt {3}}{i+\sqrt {3}}} \sqrt [4]{-x^3+x^4} \tan ^{-1}\left (\frac {\sqrt [4]{-\frac {i-\sqrt {3}}{i+\sqrt {3}}} \sqrt [4]{x}}{\sqrt [4]{-1+x}}\right )}{\sqrt [4]{-1+x} x^{3/4}}+\frac {\left (7-i \sqrt {3}\right ) \sqrt [4]{-x^3+x^4} \tanh ^{-1}\left (\frac {\sqrt [4]{-1+x}}{\sqrt [4]{x}}\right )}{4 \sqrt [4]{-1+x} x^{3/4}}+\frac {\left (7+i \sqrt {3}\right ) \sqrt [4]{-x^3+x^4} \tanh ^{-1}\left (\frac {\sqrt [4]{-1+x}}{\sqrt [4]{x}}\right )}{4 \sqrt [4]{-1+x} x^{3/4}}-\frac {2 \sqrt [4]{-x^3+x^4} \tanh ^{-1}\left (\frac {\sqrt [4]{x}}{\sqrt [4]{-\frac {i-\sqrt {3}}{i+\sqrt {3}}} \sqrt [4]{-1+x}}\right )}{\sqrt [4]{-\frac {i-\sqrt {3}}{i+\sqrt {3}}} \sqrt [4]{-1+x} x^{3/4}}-\frac {2 \sqrt [4]{-\frac {i-\sqrt {3}}{i+\sqrt {3}}} \sqrt [4]{-x^3+x^4} \tanh ^{-1}\left (\frac {\sqrt [4]{-\frac {i-\sqrt {3}}{i+\sqrt {3}}} \sqrt [4]{x}}{\sqrt [4]{-1+x}}\right )}{\sqrt [4]{-1+x} x^{3/4}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.00, size = 159, normalized size = 1.08 \begin {gather*} \frac {(-1+x)^{3/4} x^{9/4} \left (4 \sqrt [4]{-1+x} x^{3/4}-14 \text {ArcTan}\left (\frac {1}{\sqrt [4]{\frac {-1+x}{x}}}\right )+14 \tanh ^{-1}\left (\frac {1}{\sqrt [4]{\frac {-1+x}{x}}}\right )-\text {RootSum}\left [1-\text {$\#$1}^4+\text {$\#$1}^8\&,\frac {-2 \log (x)+8 \log \left (\sqrt [4]{-1+x}-\sqrt [4]{x} \text {$\#$1}\right )+\log (x) \text {$\#$1}^4-4 \log \left (\sqrt [4]{-1+x}-\sqrt [4]{x} \text {$\#$1}\right ) \text {$\#$1}^4}{-\text {$\#$1}^3+2 \text {$\#$1}^7}\&\right ]\right )}{4 \left ((-1+x) x^3\right )^{3/4}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] Result contains higher order function than in optimal. Order 9 vs. order
1.
time = 46.16, size = 2857, normalized size = 19.44
method | result | size |
trager | \(\text {Expression too large to display}\) | \(2857\) |
risch | \(\text {Expression too large to display}\) | \(5888\) |
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 [C] Result contains higher order function than in optimal. Order 3 vs. order
1.
time = 0.39, size = 836, normalized size = 5.69 \begin {gather*} -\frac {1}{4} \, {\left (\sqrt {3} + 2\right )} \sqrt {-4 \, \sqrt {3} + 8} \log \left (\frac {2 \, {\left (2 \, x^{2} + {\left (x^{4} - x^{3}\right )}^{\frac {1}{4}} {\left (\sqrt {3} x + 2 \, x\right )} \sqrt {-4 \, \sqrt {3} + 8} + 2 \, \sqrt {x^{4} - x^{3}}\right )}}{x^{2}}\right ) + \frac {1}{4} \, {\left (\sqrt {3} + 2\right )} \sqrt {-4 \, \sqrt {3} + 8} \log \left (\frac {2 \, {\left (2 \, x^{2} - {\left (x^{4} - x^{3}\right )}^{\frac {1}{4}} {\left (\sqrt {3} x + 2 \, x\right )} \sqrt {-4 \, \sqrt {3} + 8} + 2 \, \sqrt {x^{4} - x^{3}}\right )}}{x^{2}}\right ) - \frac {1}{2} \, \sqrt {\sqrt {3} + 2} {\left (\sqrt {3} - 2\right )} \log \left (\frac {4 \, {\left (x^{2} + {\left (x^{4} - x^{3}\right )}^{\frac {1}{4}} {\left (\sqrt {3} x - 2 \, x\right )} \sqrt {\sqrt {3} + 2} + \sqrt {x^{4} - x^{3}}\right )}}{x^{2}}\right ) + \frac {1}{2} \, \sqrt {\sqrt {3} + 2} {\left (\sqrt {3} - 2\right )} \log \left (\frac {4 \, {\left (x^{2} - {\left (x^{4} - x^{3}\right )}^{\frac {1}{4}} {\left (\sqrt {3} x - 2 \, x\right )} \sqrt {\sqrt {3} + 2} + \sqrt {x^{4} - x^{3}}\right )}}{x^{2}}\right ) + \sqrt {-4 \, \sqrt {3} + 8} \arctan \left (\frac {\sqrt {2} {\left (\sqrt {3} x + 2 \, x\right )} \sqrt {-4 \, \sqrt {3} + 8} \sqrt {\frac {2 \, x^{2} + {\left (x^{4} - x^{3}\right )}^{\frac {1}{4}} {\left (\sqrt {3} x + 2 \, x\right )} \sqrt {-4 \, \sqrt {3} + 8} + 2 \, \sqrt {x^{4} - x^{3}}}{x^{2}}} - 2 \, {\left (x^{4} - x^{3}\right )}^{\frac {1}{4}} {\left (\sqrt {3} + 2\right )} \sqrt {-4 \, \sqrt {3} + 8} - 2 \, \sqrt {3} x - 4 \, x}{2 \, x}\right ) + \sqrt {-4 \, \sqrt {3} + 8} \arctan \left (\frac {\sqrt {2} {\left (\sqrt {3} x + 2 \, x\right )} \sqrt {-4 \, \sqrt {3} + 8} \sqrt {\frac {2 \, x^{2} - {\left (x^{4} - x^{3}\right )}^{\frac {1}{4}} {\left (\sqrt {3} x + 2 \, x\right )} \sqrt {-4 \, \sqrt {3} + 8} + 2 \, \sqrt {x^{4} - x^{3}}}{x^{2}}} - 2 \, {\left (x^{4} - x^{3}\right )}^{\frac {1}{4}} {\left (\sqrt {3} + 2\right )} \sqrt {-4 \, \sqrt {3} + 8} + 2 \, \sqrt {3} x + 4 \, x}{2 \, x}\right ) - 2 \, \sqrt {\sqrt {3} + 2} \arctan \left (\frac {2 \, {\left (\sqrt {3} x - 2 \, x\right )} \sqrt {\sqrt {3} + 2} \sqrt {\frac {x^{2} + {\left (x^{4} - x^{3}\right )}^{\frac {1}{4}} {\left (\sqrt {3} x - 2 \, x\right )} \sqrt {\sqrt {3} + 2} + \sqrt {x^{4} - x^{3}}}{x^{2}}} - 2 \, {\left (x^{4} - x^{3}\right )}^{\frac {1}{4}} \sqrt {\sqrt {3} + 2} {\left (\sqrt {3} - 2\right )} + \sqrt {3} x - 2 \, x}{x}\right ) - 2 \, \sqrt {\sqrt {3} + 2} \arctan \left (\frac {2 \, {\left (\sqrt {3} x - 2 \, x\right )} \sqrt {\sqrt {3} + 2} \sqrt {\frac {x^{2} - {\left (x^{4} - x^{3}\right )}^{\frac {1}{4}} {\left (\sqrt {3} x - 2 \, x\right )} \sqrt {\sqrt {3} + 2} + \sqrt {x^{4} - x^{3}}}{x^{2}}} - 2 \, {\left (x^{4} - x^{3}\right )}^{\frac {1}{4}} \sqrt {\sqrt {3} + 2} {\left (\sqrt {3} - 2\right )} - \sqrt {3} x + 2 \, x}{x}\right ) + {\left (x^{4} - x^{3}\right )}^{\frac {1}{4}} + \frac {7}{2} \, \arctan \left (\frac {{\left (x^{4} - x^{3}\right )}^{\frac {1}{4}}}{x}\right ) + \frac {7}{4} \, \log \left (\frac {x + {\left (x^{4} - x^{3}\right )}^{\frac {1}{4}}}{x}\right ) - \frac {7}{4} \, \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]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\sqrt [4]{x^{3} \left (x - 1\right )} \left (x + 1\right )}{x^{2} - x + 1}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [C] Result contains higher order function than in optimal. Order 3 vs. order
1.
time = 0.45, size = 384, normalized size = 2.61 \begin {gather*} \frac {1}{2} \, {\left (\sqrt {6} + \sqrt {2}\right )} \arctan \left (\frac {\sqrt {6} - \sqrt {2} + 4 \, {\left (-\frac {1}{x} + 1\right )}^{\frac {1}{4}}}{\sqrt {6} + \sqrt {2}}\right ) + \frac {1}{2} \, {\left (\sqrt {6} + \sqrt {2}\right )} \arctan \left (-\frac {\sqrt {6} - \sqrt {2} - 4 \, {\left (-\frac {1}{x} + 1\right )}^{\frac {1}{4}}}{\sqrt {6} + \sqrt {2}}\right ) + \frac {1}{2} \, {\left (\sqrt {6} - \sqrt {2}\right )} \arctan \left (\frac {\sqrt {6} + \sqrt {2} + 4 \, {\left (-\frac {1}{x} + 1\right )}^{\frac {1}{4}}}{\sqrt {6} - \sqrt {2}}\right ) + \frac {1}{2} \, {\left (\sqrt {6} - \sqrt {2}\right )} \arctan \left (-\frac {\sqrt {6} + \sqrt {2} - 4 \, {\left (-\frac {1}{x} + 1\right )}^{\frac {1}{4}}}{\sqrt {6} - \sqrt {2}}\right ) + \frac {1}{4} \, {\left (\sqrt {6} + \sqrt {2}\right )} \log \left (\frac {1}{2} \, {\left (\sqrt {6} + \sqrt {2}\right )} {\left (-\frac {1}{x} + 1\right )}^{\frac {1}{4}} + \sqrt {-\frac {1}{x} + 1} + 1\right ) - \frac {1}{4} \, {\left (\sqrt {6} + \sqrt {2}\right )} \log \left (-\frac {1}{2} \, {\left (\sqrt {6} + \sqrt {2}\right )} {\left (-\frac {1}{x} + 1\right )}^{\frac {1}{4}} + \sqrt {-\frac {1}{x} + 1} + 1\right ) + \frac {1}{4} \, {\left (\sqrt {6} - \sqrt {2}\right )} \log \left (\frac {1}{2} \, {\left (\sqrt {6} - \sqrt {2}\right )} {\left (-\frac {1}{x} + 1\right )}^{\frac {1}{4}} + \sqrt {-\frac {1}{x} + 1} + 1\right ) - \frac {1}{4} \, {\left (\sqrt {6} - \sqrt {2}\right )} \log \left (-\frac {1}{2} \, {\left (\sqrt {6} - \sqrt {2}\right )} {\left (-\frac {1}{x} + 1\right )}^{\frac {1}{4}} + \sqrt {-\frac {1}{x} + 1} + 1\right ) - x {\left (-\frac {1}{x} + 1\right )}^{\frac {1}{4}} - \frac {7}{2} \, \arctan \left ({\left (-\frac {1}{x} + 1\right )}^{\frac {1}{4}}\right ) - \frac {7}{4} \, \log \left ({\left (-\frac {1}{x} + 1\right )}^{\frac {1}{4}} + 1\right ) + \frac {7}{4} \, \log \left ({\left | {\left (-\frac {1}{x} + 1\right )}^{\frac {1}{4}} - 1 \right |}\right ) \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}\,\left (x+1\right )}{x^2-x+1} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________