Optimal. Leaf size=261 \[ \frac {1}{4} (11+4 x) \sqrt [4]{-x^3+x^4}-\frac {49}{8} \text {ArcTan}\left (\frac {x}{\sqrt [4]{-x^3+x^4}}\right )+\sqrt {2 \left (11+5 \sqrt {5}\right )} \text {ArcTan}\left (\frac {\sqrt {-\frac {1}{2}+\frac {\sqrt {5}}{2}} x}{\sqrt [4]{-x^3+x^4}}\right )-\sqrt {2 \left (-11+5 \sqrt {5}\right )} \text {ArcTan}\left (\frac {\sqrt {\frac {1}{2}+\frac {\sqrt {5}}{2}} x}{\sqrt [4]{-x^3+x^4}}\right )+\frac {49}{8} \tanh ^{-1}\left (\frac {x}{\sqrt [4]{-x^3+x^4}}\right )-\sqrt {2 \left (11+5 \sqrt {5}\right )} \tanh ^{-1}\left (\frac {\sqrt {-\frac {1}{2}+\frac {\sqrt {5}}{2}} x}{\sqrt [4]{-x^3+x^4}}\right )+\sqrt {2 \left (-11+5 \sqrt {5}\right )} \tanh ^{-1}\left (\frac {\sqrt {\frac {1}{2}+\frac {\sqrt {5}}{2}} x}{\sqrt [4]{-x^3+x^4}}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [B] Leaf count is larger than twice the leaf count of optimal. \(672\) vs. \(2(261)=522\).
time = 0.78, antiderivative size = 672, normalized size of antiderivative = 2.57, number of steps
used = 34, number of rules used = 12, integrand size = 32, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.375, Rules used = {2081, 6860,
52, 65, 246, 218, 212, 209, 103, 163, 95, 304} \begin {gather*} \frac {\left (13+7 \sqrt {5}\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 (13-7 \sqrt {5}\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 {3 \sqrt [4]{x^4-x^3} \text {ArcTan}\left (\frac {\sqrt [4]{x-1}}{\sqrt [4]{x}}\right )}{8 \sqrt [4]{x-1} x^{3/4}}+\frac {\left (3+\sqrt {5}\right )^{5/4} \sqrt [4]{x^4-x^3} \text {ArcTan}\left (\frac {\sqrt [4]{\frac {2}{3+\sqrt {5}}} \sqrt [4]{x}}{\sqrt [4]{x-1}}\right )}{\sqrt [4]{2} \sqrt [4]{x-1} x^{3/4}}-\frac {\left (3-\sqrt {5}\right )^{5/4} \sqrt [4]{x^4-x^3} \text {ArcTan}\left (\frac {\sqrt [4]{\frac {1}{2} \left (3+\sqrt {5}\right )} \sqrt [4]{x}}{\sqrt [4]{x-1}}\right )}{\sqrt [4]{2} \sqrt [4]{x-1} x^{3/4}}-\sqrt [4]{x^4-x^3} (1-x)+\frac {1}{2} \left (3+\sqrt {5}\right ) \sqrt [4]{x^4-x^3}+\frac {1}{2} \left (3-\sqrt {5}\right ) \sqrt [4]{x^4-x^3}+\frac {3}{4} \sqrt [4]{x^4-x^3}+\frac {\left (13+7 \sqrt {5}\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 (13-7 \sqrt {5}\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 {3 \sqrt [4]{x^4-x^3} \tanh ^{-1}\left (\frac {\sqrt [4]{x-1}}{\sqrt [4]{x}}\right )}{8 \sqrt [4]{x-1} x^{3/4}}-\frac {\left (3+\sqrt {5}\right )^{5/4} \sqrt [4]{x^4-x^3} \tanh ^{-1}\left (\frac {\sqrt [4]{\frac {2}{3+\sqrt {5}}} \sqrt [4]{x}}{\sqrt [4]{x-1}}\right )}{\sqrt [4]{2} \sqrt [4]{x-1} x^{3/4}}+\frac {\left (3-\sqrt {5}\right )^{5/4} \sqrt [4]{x^4-x^3} \tanh ^{-1}\left (\frac {\sqrt [4]{\frac {1}{2} \left (3+\sqrt {5}\right )} \sqrt [4]{x}}{\sqrt [4]{x-1}}\right )}{\sqrt [4]{2} \sqrt [4]{x-1} x^{3/4}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 52
Rule 65
Rule 95
Rule 103
Rule 163
Rule 209
Rule 212
Rule 218
Rule 246
Rule 304
Rule 2081
Rule 6860
Rubi steps
\begin {align*} \int \frac {\left (-1+x+2 x^2\right ) \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} \left (-1+x+2 x^2\right )}{-1-x+x^2} \, dx}{\sqrt [4]{-1+x} x^{3/4}}\\ &=\frac {\sqrt [4]{-x^3+x^4} \int \left (2 \sqrt [4]{-1+x} x^{3/4}+\frac {\sqrt [4]{-1+x} x^{3/4} (1+3 x)}{-1-x+x^2}\right ) \, dx}{\sqrt [4]{-1+x} x^{3/4}}\\ &=\frac {\sqrt [4]{-x^3+x^4} \int \frac {\sqrt [4]{-1+x} x^{3/4} (1+3 x)}{-1-x+x^2} \, dx}{\sqrt [4]{-1+x} x^{3/4}}+\frac {\left (2 \sqrt [4]{-x^3+x^4}\right ) \int \sqrt [4]{-1+x} x^{3/4} \, dx}{\sqrt [4]{-1+x} x^{3/4}}\\ &=-\left ((1-x) \sqrt [4]{-x^3+x^4}\right )+\frac {\left (3 \sqrt [4]{-x^3+x^4}\right ) \int \frac {\sqrt [4]{-1+x}}{\sqrt [4]{x}} \, dx}{4 \sqrt [4]{-1+x} x^{3/4}}+\frac {\sqrt [4]{-x^3+x^4} \int \left (\frac {\left (3+\sqrt {5}\right ) \sqrt [4]{-1+x} x^{3/4}}{-1-\sqrt {5}+2 x}+\frac {\left (3-\sqrt {5}\right ) \sqrt [4]{-1+x} x^{3/4}}{-1+\sqrt {5}+2 x}\right ) \, dx}{\sqrt [4]{-1+x} x^{3/4}}\\ &=\frac {3}{4} \sqrt [4]{-x^3+x^4}-(1-x) \sqrt [4]{-x^3+x^4}-\frac {\left (3 \sqrt [4]{-x^3+x^4}\right ) \int \frac {1}{(-1+x)^{3/4} \sqrt [4]{x}} \, dx}{16 \sqrt [4]{-1+x} x^{3/4}}+\frac {\left (\left (3-\sqrt {5}\right ) \sqrt [4]{-x^3+x^4}\right ) \int \frac {\sqrt [4]{-1+x} x^{3/4}}{-1+\sqrt {5}+2 x} \, dx}{\sqrt [4]{-1+x} x^{3/4}}+\frac {\left (\left (3+\sqrt {5}\right ) \sqrt [4]{-x^3+x^4}\right ) \int \frac {\sqrt [4]{-1+x} x^{3/4}}{-1-\sqrt {5}+2 x} \, dx}{\sqrt [4]{-1+x} x^{3/4}}\\ &=\frac {3}{4} \sqrt [4]{-x^3+x^4}+\frac {1}{2} \left (3-\sqrt {5}\right ) \sqrt [4]{-x^3+x^4}+\frac {1}{2} \left (3+\sqrt {5}\right ) \sqrt [4]{-x^3+x^4}-(1-x) \sqrt [4]{-x^3+x^4}-\frac {\left (3 \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 )}{4 \sqrt [4]{-1+x} x^{3/4}}-\frac {\left (\left (3-\sqrt {5}\right ) \sqrt [4]{-x^3+x^4}\right ) \int \frac {\frac {3}{4} \left (1-\sqrt {5}\right )+\frac {1}{2} \left (-1+2 \sqrt {5}\right ) x}{(-1+x)^{3/4} \sqrt [4]{x} \left (-1+\sqrt {5}+2 x\right )} \, dx}{2 \sqrt [4]{-1+x} x^{3/4}}-\frac {\left (\left (3+\sqrt {5}\right ) \sqrt [4]{-x^3+x^4}\right ) \int \frac {\frac {3}{4} \left (1+\sqrt {5}\right )+\frac {1}{2} \left (-1-2 \sqrt {5}\right ) x}{(-1+x)^{3/4} \sqrt [4]{x} \left (-1-\sqrt {5}+2 x\right )} \, dx}{2 \sqrt [4]{-1+x} x^{3/4}}\\ &=\frac {3}{4} \sqrt [4]{-x^3+x^4}+\frac {1}{2} \left (3-\sqrt {5}\right ) \sqrt [4]{-x^3+x^4}+\frac {1}{2} \left (3+\sqrt {5}\right ) \sqrt [4]{-x^3+x^4}-(1-x) \sqrt [4]{-x^3+x^4}-\frac {\left (3 \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 )}{4 \sqrt [4]{-1+x} x^{3/4}}+\frac {\left (\left (3-\sqrt {5}\right ) \sqrt [4]{-x^3+x^4}\right ) \int \frac {1}{(-1+x)^{3/4} \sqrt [4]{x} \left (-1+\sqrt {5}+2 x\right )} \, dx}{\sqrt [4]{-1+x} x^{3/4}}+\frac {\left (\left (3+\sqrt {5}\right ) \sqrt [4]{-x^3+x^4}\right ) \int \frac {1}{(-1+x)^{3/4} \sqrt [4]{x} \left (-1-\sqrt {5}+2 x\right )} \, dx}{\sqrt [4]{-1+x} x^{3/4}}-\frac {\left (\left (-1-2 \sqrt {5}\right ) \left (3+\sqrt {5}\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 (3-\sqrt {5}\right ) \left (-1+2 \sqrt {5}\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 {3}{4} \sqrt [4]{-x^3+x^4}+\frac {1}{2} \left (3-\sqrt {5}\right ) \sqrt [4]{-x^3+x^4}+\frac {1}{2} \left (3+\sqrt {5}\right ) \sqrt [4]{-x^3+x^4}-(1-x) \sqrt [4]{-x^3+x^4}-\frac {\left (3 \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 )}{8 \sqrt [4]{-1+x} x^{3/4}}-\frac {\left (3 \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 )}{8 \sqrt [4]{-1+x} x^{3/4}}+\frac {\left (4 \left (3-\sqrt {5}\right ) \sqrt [4]{-x^3+x^4}\right ) \text {Subst}\left (\int \frac {x^2}{-1+\sqrt {5}-\left (1+\sqrt {5}\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 (3+\sqrt {5}\right ) \sqrt [4]{-x^3+x^4}\right ) \text {Subst}\left (\int \frac {x^2}{-1-\sqrt {5}-\left (1-\sqrt {5}\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-2 \sqrt {5}\right ) \left (3+\sqrt {5}\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 (3-\sqrt {5}\right ) \left (-1+2 \sqrt {5}\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 {3}{4} \sqrt [4]{-x^3+x^4}+\frac {1}{2} \left (3-\sqrt {5}\right ) \sqrt [4]{-x^3+x^4}+\frac {1}{2} \left (3+\sqrt {5}\right ) \sqrt [4]{-x^3+x^4}-(1-x) \sqrt [4]{-x^3+x^4}-\frac {3 \sqrt [4]{-x^3+x^4} \tan ^{-1}\left (\frac {\sqrt [4]{-1+x}}{\sqrt [4]{x}}\right )}{8 \sqrt [4]{-1+x} x^{3/4}}-\frac {3 \sqrt [4]{-x^3+x^4} \tanh ^{-1}\left (\frac {\sqrt [4]{-1+x}}{\sqrt [4]{x}}\right )}{8 \sqrt [4]{-1+x} x^{3/4}}-\frac {\left (2 \sqrt {2} \left (3-\sqrt {5}\right ) \sqrt [4]{-x^3+x^4}\right ) \text {Subst}\left (\int \frac {1}{\sqrt {3-\sqrt {5}}-\sqrt {2} x^2} \, dx,x,\frac {\sqrt [4]{x}}{\sqrt [4]{-1+x}}\right )}{\left (-1-\sqrt {5}\right ) \sqrt [4]{-1+x} x^{3/4}}+\frac {\left (2 \sqrt {2} \left (3-\sqrt {5}\right ) \sqrt [4]{-x^3+x^4}\right ) \text {Subst}\left (\int \frac {1}{\sqrt {3-\sqrt {5}}+\sqrt {2} x^2} \, dx,x,\frac {\sqrt [4]{x}}{\sqrt [4]{-1+x}}\right )}{\left (-1-\sqrt {5}\right ) \sqrt [4]{-1+x} x^{3/4}}-\frac {\left (\left (-1-2 \sqrt {5}\right ) \left (3+\sqrt {5}\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 \sqrt {2} \left (3+\sqrt {5}\right ) \sqrt [4]{-x^3+x^4}\right ) \text {Subst}\left (\int \frac {1}{\sqrt {3+\sqrt {5}}-\sqrt {2} x^2} \, dx,x,\frac {\sqrt [4]{x}}{\sqrt [4]{-1+x}}\right )}{\left (1-\sqrt {5}\right ) \sqrt [4]{-1+x} x^{3/4}}-\frac {\left (2 \sqrt {2} \left (3+\sqrt {5}\right ) \sqrt [4]{-x^3+x^4}\right ) \text {Subst}\left (\int \frac {1}{\sqrt {3+\sqrt {5}}+\sqrt {2} x^2} \, dx,x,\frac {\sqrt [4]{x}}{\sqrt [4]{-1+x}}\right )}{\left (1-\sqrt {5}\right ) \sqrt [4]{-1+x} x^{3/4}}-\frac {\left (\left (3-\sqrt {5}\right ) \left (-1+2 \sqrt {5}\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 {3}{4} \sqrt [4]{-x^3+x^4}+\frac {1}{2} \left (3-\sqrt {5}\right ) \sqrt [4]{-x^3+x^4}+\frac {1}{2} \left (3+\sqrt {5}\right ) \sqrt [4]{-x^3+x^4}-(1-x) \sqrt [4]{-x^3+x^4}-\frac {3 \sqrt [4]{-x^3+x^4} \tan ^{-1}\left (\frac {\sqrt [4]{-1+x}}{\sqrt [4]{x}}\right )}{8 \sqrt [4]{-1+x} x^{3/4}}+\frac {2^{3/4} \sqrt [4]{123+55 \sqrt {5}} \sqrt [4]{-x^3+x^4} \tan ^{-1}\left (\frac {\sqrt [4]{\frac {2}{3+\sqrt {5}}} \sqrt [4]{x}}{\sqrt [4]{-1+x}}\right )}{\sqrt [4]{-1+x} x^{3/4}}-\frac {2^{3/4} \sqrt [4]{123-55 \sqrt {5}} \sqrt [4]{-x^3+x^4} \tan ^{-1}\left (\frac {\sqrt [4]{\frac {1}{2} \left (3+\sqrt {5}\right )} \sqrt [4]{x}}{\sqrt [4]{-1+x}}\right )}{\sqrt [4]{-1+x} x^{3/4}}-\frac {3 \sqrt [4]{-x^3+x^4} \tanh ^{-1}\left (\frac {\sqrt [4]{-1+x}}{\sqrt [4]{x}}\right )}{8 \sqrt [4]{-1+x} x^{3/4}}-\frac {2^{3/4} \sqrt [4]{123+55 \sqrt {5}} \sqrt [4]{-x^3+x^4} \tanh ^{-1}\left (\frac {\sqrt [4]{\frac {2}{3+\sqrt {5}}} \sqrt [4]{x}}{\sqrt [4]{-1+x}}\right )}{\sqrt [4]{-1+x} x^{3/4}}+\frac {2^{3/4} \sqrt [4]{123-55 \sqrt {5}} \sqrt [4]{-x^3+x^4} \tanh ^{-1}\left (\frac {\sqrt [4]{\frac {1}{2} \left (3+\sqrt {5}\right )} \sqrt [4]{x}}{\sqrt [4]{-1+x}}\right )}{\sqrt [4]{-1+x} x^{3/4}}-\frac {\left (\left (-1-2 \sqrt {5}\right ) \left (3+\sqrt {5}\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-2 \sqrt {5}\right ) \left (3+\sqrt {5}\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 (3-\sqrt {5}\right ) \left (-1+2 \sqrt {5}\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 (3-\sqrt {5}\right ) \left (-1+2 \sqrt {5}\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 {3}{4} \sqrt [4]{-x^3+x^4}+\frac {1}{2} \left (3-\sqrt {5}\right ) \sqrt [4]{-x^3+x^4}+\frac {1}{2} \left (3+\sqrt {5}\right ) \sqrt [4]{-x^3+x^4}-(1-x) \sqrt [4]{-x^3+x^4}-\frac {3 \sqrt [4]{-x^3+x^4} \tan ^{-1}\left (\frac {\sqrt [4]{-1+x}}{\sqrt [4]{x}}\right )}{8 \sqrt [4]{-1+x} x^{3/4}}+\frac {\left (13-7 \sqrt {5}\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 (13+7 \sqrt {5}\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^{3/4} \sqrt [4]{123+55 \sqrt {5}} \sqrt [4]{-x^3+x^4} \tan ^{-1}\left (\frac {\sqrt [4]{\frac {2}{3+\sqrt {5}}} \sqrt [4]{x}}{\sqrt [4]{-1+x}}\right )}{\sqrt [4]{-1+x} x^{3/4}}-\frac {2^{3/4} \sqrt [4]{123-55 \sqrt {5}} \sqrt [4]{-x^3+x^4} \tan ^{-1}\left (\frac {\sqrt [4]{\frac {1}{2} \left (3+\sqrt {5}\right )} \sqrt [4]{x}}{\sqrt [4]{-1+x}}\right )}{\sqrt [4]{-1+x} x^{3/4}}-\frac {3 \sqrt [4]{-x^3+x^4} \tanh ^{-1}\left (\frac {\sqrt [4]{-1+x}}{\sqrt [4]{x}}\right )}{8 \sqrt [4]{-1+x} x^{3/4}}+\frac {\left (13-7 \sqrt {5}\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 (13+7 \sqrt {5}\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^{3/4} \sqrt [4]{123+55 \sqrt {5}} \sqrt [4]{-x^3+x^4} \tanh ^{-1}\left (\frac {\sqrt [4]{\frac {2}{3+\sqrt {5}}} \sqrt [4]{x}}{\sqrt [4]{-1+x}}\right )}{\sqrt [4]{-1+x} x^{3/4}}+\frac {2^{3/4} \sqrt [4]{123-55 \sqrt {5}} \sqrt [4]{-x^3+x^4} \tanh ^{-1}\left (\frac {\sqrt [4]{\frac {1}{2} \left (3+\sqrt {5}\right )} \sqrt [4]{x}}{\sqrt [4]{-1+x}}\right )}{\sqrt [4]{-1+x} x^{3/4}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 1.21, size = 392, normalized size = 1.50 \begin {gather*} \frac {(-1+x)^{3/4} x^{9/4} \left (22 \sqrt [4]{-1+x} x^{3/4}+8 \sqrt [4]{-1+x} x^{7/4}-49 \text {ArcTan}\left (\frac {1}{\sqrt [4]{\frac {-1+x}{x}}}\right )+12 \sqrt {2 \left (1+\sqrt {5}\right )} \text {ArcTan}\left (\frac {\sqrt {\frac {1}{2} \left (-1+\sqrt {5}\right )}}{\sqrt [4]{\frac {-1+x}{x}}}\right )+4 \sqrt {10 \left (1+\sqrt {5}\right )} \text {ArcTan}\left (\frac {\sqrt {\frac {1}{2} \left (-1+\sqrt {5}\right )}}{\sqrt [4]{\frac {-1+x}{x}}}\right )-12 \sqrt {2 \left (-1+\sqrt {5}\right )} \text {ArcTan}\left (\frac {\sqrt {\frac {1}{2} \left (1+\sqrt {5}\right )}}{\sqrt [4]{\frac {-1+x}{x}}}\right )+4 \sqrt {10 \left (-1+\sqrt {5}\right )} \text {ArcTan}\left (\frac {\sqrt {\frac {1}{2} \left (1+\sqrt {5}\right )}}{\sqrt [4]{\frac {-1+x}{x}}}\right )+49 \tanh ^{-1}\left (\frac {1}{\sqrt [4]{\frac {-1+x}{x}}}\right )-4 \sqrt {2 \left (1+\sqrt {5}\right )} \left (3+\sqrt {5}\right ) \tanh ^{-1}\left (\frac {\sqrt {\frac {1}{2} \left (-1+\sqrt {5}\right )}}{\sqrt [4]{\frac {-1+x}{x}}}\right )+12 \sqrt {2 \left (-1+\sqrt {5}\right )} \tanh ^{-1}\left (\frac {\sqrt {\frac {1}{2} \left (1+\sqrt {5}\right )}}{\sqrt [4]{\frac {-1+x}{x}}}\right )-4 \sqrt {10 \left (-1+\sqrt {5}\right )} \tanh ^{-1}\left (\frac {\sqrt {\frac {1}{2} \left (1+\sqrt {5}\right )}}{\sqrt [4]{\frac {-1+x}{x}}}\right )\right )}{8 \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
3.
time = 19.40, size = 1912, normalized size = 7.33
method | result | size |
trager | \(\text {Expression too large to display}\) | \(1912\) |
risch | \(\text {Expression too large to display}\) | \(4140\) |
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 [B] Leaf count of result is larger than twice the leaf count of optimal. 474 vs.
\(2 (189) = 378\).
time = 0.53, size = 474, normalized size = 1.82 \begin {gather*} -2 \, \sqrt {10 \, \sqrt {5} - 22} \arctan \left (\frac {\sqrt {2} {\left (\sqrt {5} x + 3 \, x\right )} \sqrt {10 \, \sqrt {5} - 22} \sqrt {\frac {\sqrt {5} x^{2} + x^{2} + 2 \, \sqrt {x^{4} - x^{3}}}{x^{2}}} - 2 \, {\left (x^{4} - x^{3}\right )}^{\frac {1}{4}} \sqrt {10 \, \sqrt {5} - 22} {\left (\sqrt {5} + 3\right )}}{8 \, x}\right ) - 2 \, \sqrt {10 \, \sqrt {5} + 22} \arctan \left (\frac {\sqrt {2} {\left (\sqrt {5} x - 3 \, x\right )} \sqrt {10 \, \sqrt {5} + 22} \sqrt {\frac {\sqrt {5} x^{2} - x^{2} + 2 \, \sqrt {x^{4} - x^{3}}}{x^{2}}} - 2 \, {\left (x^{4} - x^{3}\right )}^{\frac {1}{4}} \sqrt {10 \, \sqrt {5} + 22} {\left (\sqrt {5} - 3\right )}}{8 \, x}\right ) - \frac {1}{2} \, \sqrt {10 \, \sqrt {5} + 22} \log \left (\frac {{\left (\sqrt {5} x - 2 \, x\right )} \sqrt {10 \, \sqrt {5} + 22} + 2 \, {\left (x^{4} - x^{3}\right )}^{\frac {1}{4}}}{x}\right ) + \frac {1}{2} \, \sqrt {10 \, \sqrt {5} + 22} \log \left (-\frac {{\left (\sqrt {5} x - 2 \, x\right )} \sqrt {10 \, \sqrt {5} + 22} - 2 \, {\left (x^{4} - x^{3}\right )}^{\frac {1}{4}}}{x}\right ) + \frac {1}{2} \, \sqrt {10 \, \sqrt {5} - 22} \log \left (\frac {{\left (\sqrt {5} x + 2 \, x\right )} \sqrt {10 \, \sqrt {5} - 22} + 2 \, {\left (x^{4} - x^{3}\right )}^{\frac {1}{4}}}{x}\right ) - \frac {1}{2} \, \sqrt {10 \, \sqrt {5} - 22} \log \left (-\frac {{\left (\sqrt {5} x + 2 \, x\right )} \sqrt {10 \, \sqrt {5} - 22} - 2 \, {\left (x^{4} - x^{3}\right )}^{\frac {1}{4}}}{x}\right ) + \frac {1}{4} \, {\left (x^{4} - x^{3}\right )}^{\frac {1}{4}} {\left (4 \, x + 11\right )} + \frac {49}{8} \, \arctan \left (\frac {{\left (x^{4} - x^{3}\right )}^{\frac {1}{4}}}{x}\right ) + \frac {49}{16} \, \log \left (\frac {x + {\left (x^{4} - x^{3}\right )}^{\frac {1}{4}}}{x}\right ) - \frac {49}{16} \, \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 ) \left (2 x - 1\right )}{x^{2} - x - 1}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.51, size = 261, normalized size = 1.00 \begin {gather*} \frac {1}{4} \, {\left (11 \, {\left (-\frac {1}{x} + 1\right )}^{\frac {5}{4}} - 15 \, {\left (-\frac {1}{x} + 1\right )}^{\frac {1}{4}}\right )} x^{2} - \sqrt {10 \, \sqrt {5} - 22} \arctan \left (\frac {{\left (-\frac {1}{x} + 1\right )}^{\frac {1}{4}}}{\sqrt {\frac {1}{2} \, \sqrt {5} + \frac {1}{2}}}\right ) + \sqrt {10 \, \sqrt {5} + 22} \arctan \left (\frac {{\left (-\frac {1}{x} + 1\right )}^{\frac {1}{4}}}{\sqrt {\frac {1}{2} \, \sqrt {5} - \frac {1}{2}}}\right ) - \frac {1}{2} \, \sqrt {10 \, \sqrt {5} - 22} \log \left (\sqrt {\frac {1}{2} \, \sqrt {5} + \frac {1}{2}} + {\left (-\frac {1}{x} + 1\right )}^{\frac {1}{4}}\right ) + \frac {1}{2} \, \sqrt {10 \, \sqrt {5} + 22} \log \left (\sqrt {\frac {1}{2} \, \sqrt {5} - \frac {1}{2}} + {\left (-\frac {1}{x} + 1\right )}^{\frac {1}{4}}\right ) + \frac {1}{2} \, \sqrt {10 \, \sqrt {5} - 22} \log \left ({\left | -\sqrt {\frac {1}{2} \, \sqrt {5} + \frac {1}{2}} + {\left (-\frac {1}{x} + 1\right )}^{\frac {1}{4}} \right |}\right ) - \frac {1}{2} \, \sqrt {10 \, \sqrt {5} + 22} \log \left ({\left | -\sqrt {\frac {1}{2} \, \sqrt {5} - \frac {1}{2}} + {\left (-\frac {1}{x} + 1\right )}^{\frac {1}{4}} \right |}\right ) - \frac {49}{8} \, \arctan \left ({\left (-\frac {1}{x} + 1\right )}^{\frac {1}{4}}\right ) - \frac {49}{16} \, \log \left ({\left (-\frac {1}{x} + 1\right )}^{\frac {1}{4}} + 1\right ) + \frac {49}{16} \, \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.00 \begin {gather*} \int -\frac {{\left (x^4-x^3\right )}^{1/4}\,\left (2\,x^2+x-1\right )}{-x^2+x+1} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________