Optimal. Leaf size=29 \[ -\frac {x \left (3+2 x^2+3 x^4\right )}{3 \left (1+x^2+x^4\right )^{3/2}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.03, antiderivative size = 35, normalized size of antiderivative = 1.21, number of steps
used = 2, number of rules used = 2, integrand size = 23, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.087, Rules used = {1692, 1602}
\begin {gather*} \frac {x^3}{3 \left (x^4+x^2+1\right )^{3/2}}-\frac {x}{\sqrt {x^4+x^2+1}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 1602
Rule 1692
Rubi steps
\begin {align*} \int \frac {\left (-1+x^4\right ) \left (1+x^4\right )}{\left (1+x^2+x^4\right )^{5/2}} \, dx &=\frac {x^3}{3 \left (1+x^2+x^4\right )^{3/2}}+\frac {1}{9} \int \frac {-9+9 x^4}{\left (1+x^2+x^4\right )^{3/2}} \, dx\\ &=\frac {x^3}{3 \left (1+x^2+x^4\right )^{3/2}}-\frac {x}{\sqrt {1+x^2+x^4}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.25, size = 29, normalized size = 1.00 \begin {gather*} -\frac {x \left (3+2 x^2+3 x^4\right )}{3 \left (1+x^2+x^4\right )^{3/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(84\) vs.
\(2(25)=50\).
time = 0.23, size = 85, normalized size = 2.93
method | result | size |
trager | \(-\frac {x \left (3 x^{4}+2 x^{2}+3\right )}{3 \left (x^{4}+x^{2}+1\right )^{\frac {3}{2}}}\) | \(26\) |
risch | \(-\frac {x \left (3 x^{4}+2 x^{2}+3\right )}{3 \left (x^{4}+x^{2}+1\right )^{\frac {3}{2}}}\) | \(26\) |
gosper | \(-\frac {\left (3 x^{4}+2 x^{2}+3\right ) x \left (x^{2}+x +1\right ) \left (x^{2}-x +1\right )}{3 \left (x^{4}+x^{2}+1\right )^{\frac {5}{2}}}\) | \(40\) |
elliptic | \(\frac {\left (-\frac {\sqrt {2}\, x}{\sqrt {x^{4}+x^{2}+1}}+\frac {\sqrt {2}\, x^{3}}{3 \left (x^{4}+x^{2}+1\right )^{\frac {3}{2}}}\right ) \sqrt {2}}{2}\) | \(41\) |
default | \(\frac {\frac {2}{9} x^{3}+\frac {1}{9} x}{\left (x^{4}+x^{2}+1\right )^{\frac {3}{2}}}-\frac {2 \left (\frac {7}{27} x^{3}+\frac {11}{27} x \right )}{\sqrt {x^{4}+x^{2}+1}}-\frac {\frac {1}{9} x -\frac {1}{9} x^{3}}{\left (x^{4}+x^{2}+1\right )^{\frac {3}{2}}}+\frac {\frac {14}{27} x^{3}-\frac {5}{27} x}{\sqrt {x^{4}+x^{2}+1}}\) | \(85\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] Leaf count of result is larger than twice the leaf count of optimal. 56 vs.
\(2 (25) = 50\).
time = 0.32, size = 56, normalized size = 1.93 \begin {gather*} -\frac {{\left (3 \, x^{5} + 2 \, x^{3} + 3 \, x\right )} \sqrt {x^{2} + x + 1} \sqrt {x^{2} - x + 1}}{3 \, {\left (x^{8} + 2 \, x^{6} + 3 \, x^{4} + 2 \, x^{2} + 1\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.36, size = 48, normalized size = 1.66 \begin {gather*} -\frac {{\left (3 \, x^{5} + 2 \, x^{3} + 3 \, x\right )} \sqrt {x^{4} + x^{2} + 1}}{3 \, {\left (x^{8} + 2 \, x^{6} + 3 \, x^{4} + 2 \, x^{2} + 1\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 - 1\right ) \left (x + 1\right ) \left (x^{2} + 1\right ) \left (x^{4} + 1\right )}{\left (\left (x^{2} - x + 1\right ) \left (x^{2} + x + 1\right )\right )^{\frac {5}{2}}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.40, size = 26, normalized size = 0.90 \begin {gather*} -\frac {{\left ({\left (3 \, x^{2} + 2\right )} x^{2} + 3\right )} x}{3 \, {\left (x^{4} + x^{2} + 1\right )}^{\frac {3}{2}}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.13, size = 25, normalized size = 0.86 \begin {gather*} -\frac {x\,\left (3\,x^4+2\,x^2+3\right )}{3\,{\left (x^4+x^2+1\right )}^{3/2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________