Optimal. Leaf size=74 \[ \frac {x \left (1+x^4\right )^{3/4}}{8 \left (2+x^4\right )}+\frac {3 \tan ^{-1}\left (\frac {x}{\sqrt [4]{2} \sqrt [4]{1+x^4}}\right )}{16\ 2^{3/4}}+\frac {3 \tanh ^{-1}\left (\frac {x}{\sqrt [4]{2} \sqrt [4]{1+x^4}}\right )}{16\ 2^{3/4}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.02, antiderivative size = 74, normalized size of antiderivative = 1.00, number of steps
used = 5, number of rules used = 5, integrand size = 17, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.294, Rules used = {386, 385, 218,
212, 209} \begin {gather*} \frac {3 \text {ArcTan}\left (\frac {x}{\sqrt [4]{2} \sqrt [4]{x^4+1}}\right )}{16\ 2^{3/4}}+\frac {\left (x^4+1\right )^{3/4} x}{8 \left (x^4+2\right )}+\frac {3 \tanh ^{-1}\left (\frac {x}{\sqrt [4]{2} \sqrt [4]{x^4+1}}\right )}{16\ 2^{3/4}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 209
Rule 212
Rule 218
Rule 385
Rule 386
Rubi steps
\begin {align*} \int \frac {\left (1+x^4\right )^{3/4}}{\left (2+x^4\right )^2} \, dx &=\frac {x \left (1+x^4\right )^{3/4}}{8 \left (2+x^4\right )}+\frac {3}{8} \int \frac {1}{\sqrt [4]{1+x^4} \left (2+x^4\right )} \, dx\\ &=\frac {x \left (1+x^4\right )^{3/4}}{8 \left (2+x^4\right )}+\frac {3}{8} \text {Subst}\left (\int \frac {1}{2-x^4} \, dx,x,\frac {x}{\sqrt [4]{1+x^4}}\right )\\ &=\frac {x \left (1+x^4\right )^{3/4}}{8 \left (2+x^4\right )}+\frac {3 \text {Subst}\left (\int \frac {1}{\sqrt {2}-x^2} \, dx,x,\frac {x}{\sqrt [4]{1+x^4}}\right )}{16 \sqrt {2}}+\frac {3 \text {Subst}\left (\int \frac {1}{\sqrt {2}+x^2} \, dx,x,\frac {x}{\sqrt [4]{1+x^4}}\right )}{16 \sqrt {2}}\\ &=\frac {x \left (1+x^4\right )^{3/4}}{8 \left (2+x^4\right )}+\frac {3 \tan ^{-1}\left (\frac {x}{\sqrt [4]{2} \sqrt [4]{1+x^4}}\right )}{16\ 2^{3/4}}+\frac {3 \tanh ^{-1}\left (\frac {x}{\sqrt [4]{2} \sqrt [4]{1+x^4}}\right )}{16\ 2^{3/4}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.24, size = 74, normalized size = 1.00 \begin {gather*} \frac {x \left (1+x^4\right )^{3/4}}{8 \left (2+x^4\right )}+\frac {3 \tan ^{-1}\left (\frac {x}{\sqrt [4]{2} \sqrt [4]{1+x^4}}\right )}{16\ 2^{3/4}}+\frac {3 \tanh ^{-1}\left (\frac {x}{\sqrt [4]{2} \sqrt [4]{1+x^4}}\right )}{16\ 2^{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 = 1.69, size = 227, normalized size = 3.07
method | result | size |
risch | \(\frac {\left (x^{4}+1\right )^{\frac {3}{4}} x}{8 x^{4}+16}-\frac {3 \RootOf \left (\textit {\_Z}^{4}-2\right ) \ln \left (\frac {2 \sqrt {x^{4}+1}\, \RootOf \left (\textit {\_Z}^{4}-2\right )^{3} x^{2}-2 \left (x^{4}+1\right )^{\frac {1}{4}} \RootOf \left (\textit {\_Z}^{4}-2\right )^{2} x^{3}+3 \RootOf \left (\textit {\_Z}^{4}-2\right ) x^{4}-4 \left (x^{4}+1\right )^{\frac {3}{4}} x +2 \RootOf \left (\textit {\_Z}^{4}-2\right )}{x^{4}+2}\right )}{64}+\frac {3 \RootOf \left (\textit {\_Z}^{2}+\RootOf \left (\textit {\_Z}^{4}-2\right )^{2}\right ) \ln \left (\frac {2 \sqrt {x^{4}+1}\, \RootOf \left (\textit {\_Z}^{4}-2\right )^{2} \RootOf \left (\textit {\_Z}^{2}+\RootOf \left (\textit {\_Z}^{4}-2\right )^{2}\right ) x^{2}+2 \left (x^{4}+1\right )^{\frac {1}{4}} \RootOf \left (\textit {\_Z}^{4}-2\right )^{2} x^{3}-3 \RootOf \left (\textit {\_Z}^{2}+\RootOf \left (\textit {\_Z}^{4}-2\right )^{2}\right ) x^{4}-4 \left (x^{4}+1\right )^{\frac {3}{4}} x -2 \RootOf \left (\textit {\_Z}^{2}+\RootOf \left (\textit {\_Z}^{4}-2\right )^{2}\right )}{x^{4}+2}\right )}{64}\) | \(227\) |
trager | \(\frac {\left (x^{4}+1\right )^{\frac {3}{4}} x}{8 x^{4}+16}-\frac {3 \RootOf \left (\textit {\_Z}^{4}-2\right ) \ln \left (\frac {2 \sqrt {x^{4}+1}\, \RootOf \left (\textit {\_Z}^{4}-2\right )^{3} x^{2}-2 \left (x^{4}+1\right )^{\frac {1}{4}} \RootOf \left (\textit {\_Z}^{4}-2\right )^{2} x^{3}+3 \RootOf \left (\textit {\_Z}^{4}-2\right ) x^{4}-4 \left (x^{4}+1\right )^{\frac {3}{4}} x +2 \RootOf \left (\textit {\_Z}^{4}-2\right )}{x^{4}+2}\right )}{64}-\frac {3 \RootOf \left (\textit {\_Z}^{2}+\RootOf \left (\textit {\_Z}^{4}-2\right )^{2}\right ) \ln \left (-\frac {2 \sqrt {x^{4}+1}\, \RootOf \left (\textit {\_Z}^{4}-2\right )^{2} \RootOf \left (\textit {\_Z}^{2}+\RootOf \left (\textit {\_Z}^{4}-2\right )^{2}\right ) x^{2}-2 \left (x^{4}+1\right )^{\frac {1}{4}} \RootOf \left (\textit {\_Z}^{4}-2\right )^{2} x^{3}-3 \RootOf \left (\textit {\_Z}^{2}+\RootOf \left (\textit {\_Z}^{4}-2\right )^{2}\right ) x^{4}+4 \left (x^{4}+1\right )^{\frac {3}{4}} x -2 \RootOf \left (\textit {\_Z}^{2}+\RootOf \left (\textit {\_Z}^{4}-2\right )^{2}\right )}{x^{4}+2}\right )}{64}\) | \(228\) |
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. 242 vs.
\(2 (56) = 112\).
time = 6.13, size = 242, normalized size = 3.27 \begin {gather*} -\frac {12 \cdot 8^{\frac {3}{4}} {\left (x^{4} + 2\right )} \arctan \left (-\frac {8^{\frac {3}{4}} {\left (x^{4} + 1\right )}^{\frac {1}{4}} x^{3} + 4 \cdot 8^{\frac {1}{4}} {\left (x^{4} + 1\right )}^{\frac {3}{4}} x - 2^{\frac {1}{4}} {\left (8^{\frac {3}{4}} \sqrt {x^{4} + 1} x^{2} + 8^{\frac {1}{4}} {\left (3 \, x^{4} + 2\right )}\right )}}{2 \, {\left (x^{4} + 2\right )}}\right ) - 3 \cdot 8^{\frac {3}{4}} {\left (x^{4} + 2\right )} \log \left (\frac {8 \, \sqrt {2} {\left (x^{4} + 1\right )}^{\frac {1}{4}} x^{3} + 8 \cdot 8^{\frac {1}{4}} \sqrt {x^{4} + 1} x^{2} + 8^{\frac {3}{4}} {\left (3 \, x^{4} + 2\right )} + 16 \, {\left (x^{4} + 1\right )}^{\frac {3}{4}} x}{x^{4} + 2}\right ) + 3 \cdot 8^{\frac {3}{4}} {\left (x^{4} + 2\right )} \log \left (\frac {8 \, \sqrt {2} {\left (x^{4} + 1\right )}^{\frac {1}{4}} x^{3} - 8 \cdot 8^{\frac {1}{4}} \sqrt {x^{4} + 1} x^{2} - 8^{\frac {3}{4}} {\left (3 \, x^{4} + 2\right )} + 16 \, {\left (x^{4} + 1\right )}^{\frac {3}{4}} x}{x^{4} + 2}\right ) - 64 \, {\left (x^{4} + 1\right )}^{\frac {3}{4}} x}{512 \, {\left (x^{4} + 2\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 {\left (x^{4} + 1\right )^{\frac {3}{4}}}{\left (x^{4} + 2\right )^{2}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \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+1\right )}^{3/4}}{{\left (x^4+2\right )}^2} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________