Optimal. Leaf size=101 \[ \frac {4 \sqrt [4]{x^3+x^4}}{x}-2 \text {ArcTan}\left (\frac {x}{\sqrt [4]{x^3+x^4}}\right )+2 \sqrt [4]{2} \text {ArcTan}\left (\frac {\sqrt [4]{2} x}{\sqrt [4]{x^3+x^4}}\right )+2 \tanh ^{-1}\left (\frac {x}{\sqrt [4]{x^3+x^4}}\right )-2 \sqrt [4]{2} \tanh ^{-1}\left (\frac {\sqrt [4]{2} x}{\sqrt [4]{x^3+x^4}}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.72, antiderivative size = 193, normalized size of antiderivative = 1.91, number of steps
used = 44, number of rules used = 20, integrand size = 27, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.741, Rules used = {2081, 1600,
6865, 6857, 270, 338, 304, 209, 212, 1254, 419, 243, 342, 281, 237, 416, 418, 1227, 551, 508}
\begin {gather*} -\frac {2 \sqrt [4]{x^4+x^3} \text {ArcTan}\left (\frac {\sqrt [4]{x}}{\sqrt [4]{x+1}}\right )}{x^{3/4} \sqrt [4]{x+1}}+\frac {2 \sqrt [4]{2} \sqrt [4]{x^4+x^3} \text {ArcTan}\left (\frac {\sqrt [4]{2} \sqrt [4]{x}}{\sqrt [4]{x+1}}\right )}{x^{3/4} \sqrt [4]{x+1}}+\frac {4 \sqrt [4]{x^4+x^3}}{x}+\frac {2 \sqrt [4]{x^4+x^3} \tanh ^{-1}\left (\frac {\sqrt [4]{x}}{\sqrt [4]{x+1}}\right )}{x^{3/4} \sqrt [4]{x+1}}-\frac {2 \sqrt [4]{2} \sqrt [4]{x^4+x^3} \tanh ^{-1}\left (\frac {\sqrt [4]{2} \sqrt [4]{x}}{\sqrt [4]{x+1}}\right )}{x^{3/4} \sqrt [4]{x+1}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 209
Rule 212
Rule 237
Rule 243
Rule 270
Rule 281
Rule 304
Rule 338
Rule 342
Rule 416
Rule 418
Rule 419
Rule 508
Rule 551
Rule 1227
Rule 1254
Rule 1600
Rule 2081
Rule 6857
Rule 6865
Rubi steps
\begin {align*} \int \frac {\left (1+x^2\right ) \sqrt [4]{x^3+x^4}}{x^2 \left (-1+x^2\right )} \, dx &=\frac {\sqrt [4]{x^3+x^4} \int \frac {\sqrt [4]{1+x} \left (1+x^2\right )}{x^{5/4} \left (-1+x^2\right )} \, dx}{x^{3/4} \sqrt [4]{1+x}}\\ &=\frac {\sqrt [4]{x^3+x^4} \int \frac {1+x^2}{(-1+x) x^{5/4} (1+x)^{3/4}} \, dx}{x^{3/4} \sqrt [4]{1+x}}\\ &=\frac {\left (4 \sqrt [4]{x^3+x^4}\right ) \text {Subst}\left (\int \frac {1+x^8}{x^2 \left (-1+x^4\right ) \left (1+x^4\right )^{3/4}} \, dx,x,\sqrt [4]{x}\right )}{x^{3/4} \sqrt [4]{1+x}}\\ &=\frac {\left (4 \sqrt [4]{x^3+x^4}\right ) \text {Subst}\left (\int \left (-\frac {1}{x^2 \left (1+x^4\right )^{3/4}}+\frac {x^2}{\left (1+x^4\right )^{3/4}}+\frac {1}{\left (-1+x^2\right ) \left (1+x^4\right )^{3/4}}+\frac {1}{\left (1+x^2\right ) \left (1+x^4\right )^{3/4}}\right ) \, dx,x,\sqrt [4]{x}\right )}{x^{3/4} \sqrt [4]{1+x}}\\ &=-\frac {\left (4 \sqrt [4]{x^3+x^4}\right ) \text {Subst}\left (\int \frac {1}{x^2 \left (1+x^4\right )^{3/4}} \, dx,x,\sqrt [4]{x}\right )}{x^{3/4} \sqrt [4]{1+x}}+\frac {\left (4 \sqrt [4]{x^3+x^4}\right ) \text {Subst}\left (\int \frac {x^2}{\left (1+x^4\right )^{3/4}} \, dx,x,\sqrt [4]{x}\right )}{x^{3/4} \sqrt [4]{1+x}}+\frac {\left (4 \sqrt [4]{x^3+x^4}\right ) \text {Subst}\left (\int \frac {1}{\left (-1+x^2\right ) \left (1+x^4\right )^{3/4}} \, dx,x,\sqrt [4]{x}\right )}{x^{3/4} \sqrt [4]{1+x}}+\frac {\left (4 \sqrt [4]{x^3+x^4}\right ) \text {Subst}\left (\int \frac {1}{\left (1+x^2\right ) \left (1+x^4\right )^{3/4}} \, dx,x,\sqrt [4]{x}\right )}{x^{3/4} \sqrt [4]{1+x}}\\ &=\frac {4 \sqrt [4]{x^3+x^4}}{x}+\frac {\left (4 \sqrt [4]{x^3+x^4}\right ) \text {Subst}\left (\int \frac {x^2}{1-x^4} \, dx,x,\frac {\sqrt [4]{x}}{\sqrt [4]{1+x}}\right )}{x^{3/4} \sqrt [4]{1+x}}+\frac {\left (4 \sqrt [4]{x^3+x^4}\right ) \text {Subst}\left (\int \left (\frac {1}{\left (1-x^4\right ) \left (1+x^4\right )^{3/4}}+\frac {x^2}{\left (-1+x^4\right ) \left (1+x^4\right )^{3/4}}\right ) \, dx,x,\sqrt [4]{x}\right )}{x^{3/4} \sqrt [4]{1+x}}+\frac {\left (4 \sqrt [4]{x^3+x^4}\right ) \text {Subst}\left (\int \left (\frac {1}{\left (-1+x^4\right ) \left (1+x^4\right )^{3/4}}+\frac {x^2}{\left (-1+x^4\right ) \left (1+x^4\right )^{3/4}}\right ) \, dx,x,\sqrt [4]{x}\right )}{x^{3/4} \sqrt [4]{1+x}}\\ &=\frac {4 \sqrt [4]{x^3+x^4}}{x}+\frac {\left (2 \sqrt [4]{x^3+x^4}\right ) \text {Subst}\left (\int \frac {1}{1-x^2} \, dx,x,\frac {\sqrt [4]{x}}{\sqrt [4]{1+x}}\right )}{x^{3/4} \sqrt [4]{1+x}}-\frac {\left (2 \sqrt [4]{x^3+x^4}\right ) \text {Subst}\left (\int \frac {1}{1+x^2} \, dx,x,\frac {\sqrt [4]{x}}{\sqrt [4]{1+x}}\right )}{x^{3/4} \sqrt [4]{1+x}}+\frac {\left (4 \sqrt [4]{x^3+x^4}\right ) \text {Subst}\left (\int \frac {1}{\left (1-x^4\right ) \left (1+x^4\right )^{3/4}} \, dx,x,\sqrt [4]{x}\right )}{x^{3/4} \sqrt [4]{1+x}}+\frac {\left (4 \sqrt [4]{x^3+x^4}\right ) \text {Subst}\left (\int \frac {1}{\left (-1+x^4\right ) \left (1+x^4\right )^{3/4}} \, dx,x,\sqrt [4]{x}\right )}{x^{3/4} \sqrt [4]{1+x}}+2 \frac {\left (4 \sqrt [4]{x^3+x^4}\right ) \text {Subst}\left (\int \frac {x^2}{\left (-1+x^4\right ) \left (1+x^4\right )^{3/4}} \, dx,x,\sqrt [4]{x}\right )}{x^{3/4} \sqrt [4]{1+x}}\\ &=\frac {4 \sqrt [4]{x^3+x^4}}{x}-\frac {2 \sqrt [4]{x^3+x^4} \tan ^{-1}\left (\frac {\sqrt [4]{x}}{\sqrt [4]{1+x}}\right )}{x^{3/4} \sqrt [4]{1+x}}+\frac {2 \sqrt [4]{x^3+x^4} \tanh ^{-1}\left (\frac {\sqrt [4]{x}}{\sqrt [4]{1+x}}\right )}{x^{3/4} \sqrt [4]{1+x}}+\frac {\left (2 \sqrt [4]{x^3+x^4}\right ) \text {Subst}\left (\int \frac {\sqrt [4]{1+x^4}}{1-x^4} \, dx,x,\sqrt [4]{x}\right )}{x^{3/4} \sqrt [4]{1+x}}+\frac {\left (2 \sqrt [4]{x^3+x^4}\right ) \text {Subst}\left (\int \frac {\sqrt [4]{1+x^4}}{-1+x^4} \, dx,x,\sqrt [4]{x}\right )}{x^{3/4} \sqrt [4]{1+x}}+2 \frac {\left (4 \sqrt [4]{x^3+x^4}\right ) \text {Subst}\left (\int \frac {x^2}{-1+2 x^4} \, dx,x,\frac {\sqrt [4]{x}}{\sqrt [4]{1+x}}\right )}{x^{3/4} \sqrt [4]{1+x}}\\ &=\frac {4 \sqrt [4]{x^3+x^4}}{x}-\frac {2 \sqrt [4]{x^3+x^4} \tan ^{-1}\left (\frac {\sqrt [4]{x}}{\sqrt [4]{1+x}}\right )}{x^{3/4} \sqrt [4]{1+x}}+\frac {2 \sqrt [4]{x^3+x^4} \tanh ^{-1}\left (\frac {\sqrt [4]{x}}{\sqrt [4]{1+x}}\right )}{x^{3/4} \sqrt [4]{1+x}}+2 \left (-\frac {\left (\sqrt {2} \sqrt [4]{x^3+x^4}\right ) \text {Subst}\left (\int \frac {1}{1-\sqrt {2} x^2} \, dx,x,\frac {\sqrt [4]{x}}{\sqrt [4]{1+x}}\right )}{x^{3/4} \sqrt [4]{1+x}}+\frac {\left (\sqrt {2} \sqrt [4]{x^3+x^4}\right ) \text {Subst}\left (\int \frac {1}{1+\sqrt {2} x^2} \, dx,x,\frac {\sqrt [4]{x}}{\sqrt [4]{1+x}}\right )}{x^{3/4} \sqrt [4]{1+x}}\right )+\frac {\left (2 \sqrt {\frac {1}{1+x}} \sqrt [4]{1+x} \sqrt [4]{x^3+x^4}\right ) \text {Subst}\left (\int \frac {1}{\left (1-2 x^4\right ) \sqrt {1-x^4}} \, dx,x,\frac {\sqrt [4]{x}}{\sqrt [4]{1+x}}\right )}{x^{3/4}}+\frac {\left (2 \sqrt {\frac {1}{1+x}} \sqrt [4]{1+x} \sqrt [4]{x^3+x^4}\right ) \text {Subst}\left (\int \frac {1}{\sqrt {1-x^4} \left (-1+2 x^4\right )} \, dx,x,\frac {\sqrt [4]{x}}{\sqrt [4]{1+x}}\right )}{x^{3/4}}\\ &=\frac {4 \sqrt [4]{x^3+x^4}}{x}-\frac {2 \sqrt [4]{x^3+x^4} \tan ^{-1}\left (\frac {\sqrt [4]{x}}{\sqrt [4]{1+x}}\right )}{x^{3/4} \sqrt [4]{1+x}}+\frac {2 \sqrt [4]{x^3+x^4} \tanh ^{-1}\left (\frac {\sqrt [4]{x}}{\sqrt [4]{1+x}}\right )}{x^{3/4} \sqrt [4]{1+x}}+2 \left (\frac {\sqrt [4]{2} \sqrt [4]{x^3+x^4} \tan ^{-1}\left (\frac {\sqrt [4]{2} \sqrt [4]{x}}{\sqrt [4]{1+x}}\right )}{x^{3/4} \sqrt [4]{1+x}}-\frac {\sqrt [4]{2} \sqrt [4]{x^3+x^4} \tanh ^{-1}\left (\frac {\sqrt [4]{2} \sqrt [4]{x}}{\sqrt [4]{1+x}}\right )}{x^{3/4} \sqrt [4]{1+x}}\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.25, size = 129, normalized size = 1.28 \begin {gather*} \frac {2 x^2 (1+x)^{3/4} \left (2 \sqrt [4]{1+x}-\sqrt [4]{x} \text {ArcTan}\left (\sqrt [4]{\frac {x}{1+x}}\right )+\sqrt [4]{2} \sqrt [4]{x} \text {ArcTan}\left (\sqrt [4]{2} \sqrt [4]{\frac {x}{1+x}}\right )+\sqrt [4]{x} \tanh ^{-1}\left (\sqrt [4]{\frac {x}{1+x}}\right )-\sqrt [4]{2} \sqrt [4]{x} \tanh ^{-1}\left (\sqrt [4]{2} \sqrt [4]{\frac {x}{1+x}}\right )\right )}{\left (x^3 (1+x)\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 = 3.61, size = 376, normalized size = 3.72
method | result | size |
trager | \(\frac {4 \left (x^{4}+x^{3}\right )^{\frac {1}{4}}}{x}+\RootOf \left (\textit {\_Z}^{2}+1\right ) \ln \left (\frac {2 \sqrt {x^{4}+x^{3}}\, \RootOf \left (\textit {\_Z}^{2}+1\right ) x -2 \RootOf \left (\textit {\_Z}^{2}+1\right ) x^{3}-\RootOf \left (\textit {\_Z}^{2}+1\right ) x^{2}+2 \left (x^{4}+x^{3}\right )^{\frac {3}{4}}-2 \left (x^{4}+x^{3}\right )^{\frac {1}{4}} x^{2}}{x^{2}}\right )-\RootOf \left (\textit {\_Z}^{4}-2\right ) \ln \left (\frac {3 \RootOf \left (\textit {\_Z}^{4}-2\right )^{3} x^{3}+\RootOf \left (\textit {\_Z}^{4}-2\right )^{3} x^{2}+4 \RootOf \left (\textit {\_Z}^{4}-2\right )^{2} \left (x^{4}+x^{3}\right )^{\frac {1}{4}} x^{2}+4 \sqrt {x^{4}+x^{3}}\, \RootOf \left (\textit {\_Z}^{4}-2\right ) x +4 \left (x^{4}+x^{3}\right )^{\frac {3}{4}}}{\left (-1+x \right ) x^{2}}\right )-\RootOf \left (\textit {\_Z}^{2}+\RootOf \left (\textit {\_Z}^{4}-2\right )^{2}\right ) \ln \left (-\frac {3 \RootOf \left (\textit {\_Z}^{2}+\RootOf \left (\textit {\_Z}^{4}-2\right )^{2}\right ) \RootOf \left (\textit {\_Z}^{4}-2\right )^{2} x^{3}+\RootOf \left (\textit {\_Z}^{2}+\RootOf \left (\textit {\_Z}^{4}-2\right )^{2}\right ) \RootOf \left (\textit {\_Z}^{4}-2\right )^{2} x^{2}+4 \RootOf \left (\textit {\_Z}^{4}-2\right )^{2} \left (x^{4}+x^{3}\right )^{\frac {1}{4}} x^{2}-4 \sqrt {x^{4}+x^{3}}\, \RootOf \left (\textit {\_Z}^{2}+\RootOf \left (\textit {\_Z}^{4}-2\right )^{2}\right ) x -4 \left (x^{4}+x^{3}\right )^{\frac {3}{4}}}{\left (-1+x \right ) x^{2}}\right )+\ln \left (\frac {2 \left (x^{4}+x^{3}\right )^{\frac {3}{4}}+2 \sqrt {x^{4}+x^{3}}\, x +2 \left (x^{4}+x^{3}\right )^{\frac {1}{4}} x^{2}+2 x^{3}+x^{2}}{x^{2}}\right )\) | \(376\) |
risch | \(\text {Expression too large to display}\) | \(974\) |
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. 182 vs.
\(2 (83) = 166\).
time = 0.35, size = 182, normalized size = 1.80 \begin {gather*} \frac {4 \cdot 2^{\frac {1}{4}} x \arctan \left (\frac {2^{\frac {3}{4}} x \sqrt {\frac {\sqrt {2} x^{2} + \sqrt {x^{4} + x^{3}}}{x^{2}}} - 2^{\frac {3}{4}} {\left (x^{4} + x^{3}\right )}^{\frac {1}{4}}}{2 \, x}\right ) - 2^{\frac {1}{4}} x \log \left (\frac {2^{\frac {1}{4}} x + {\left (x^{4} + x^{3}\right )}^{\frac {1}{4}}}{x}\right ) + 2^{\frac {1}{4}} x \log \left (-\frac {2^{\frac {1}{4}} x - {\left (x^{4} + x^{3}\right )}^{\frac {1}{4}}}{x}\right ) + 2 \, x \arctan \left (\frac {{\left (x^{4} + x^{3}\right )}^{\frac {1}{4}}}{x}\right ) + x \log \left (\frac {x + {\left (x^{4} + x^{3}\right )}^{\frac {1}{4}}}{x}\right ) - x \log \left (-\frac {x - {\left (x^{4} + x^{3}\right )}^{\frac {1}{4}}}{x}\right ) + 4 \, {\left (x^{4} + x^{3}\right )}^{\frac {1}{4}}}{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 )} \left (x^{2} + 1\right )}{x^{2} \left (x - 1\right ) \left (x + 1\right )}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.45, size = 97, normalized size = 0.96 \begin {gather*} -2 \cdot 2^{\frac {1}{4}} \arctan \left (\frac {1}{2} \cdot 2^{\frac {3}{4}} {\left (\frac {1}{x} + 1\right )}^{\frac {1}{4}}\right ) - 2^{\frac {1}{4}} \log \left (2^{\frac {1}{4}} + {\left (\frac {1}{x} + 1\right )}^{\frac {1}{4}}\right ) + 2^{\frac {1}{4}} \log \left ({\left | -2^{\frac {1}{4}} + {\left (\frac {1}{x} + 1\right )}^{\frac {1}{4}} \right |}\right ) + 4 \, {\left (\frac {1}{x} + 1\right )}^{\frac {1}{4}} + 2 \, \arctan \left ({\left (\frac {1}{x} + 1\right )}^{\frac {1}{4}}\right ) + \log \left ({\left (\frac {1}{x} + 1\right )}^{\frac {1}{4}} + 1\right ) - \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^2+1\right )}{x^2\,\left (x^2-1\right )} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________