Optimal. Leaf size=58 \[ -\frac{x^7}{6 \left (x^2+4\right )^3}-\frac{7 x^5}{24 \left (x^2+4\right )^2}-\frac{35 x^3}{48 \left (x^2+4\right )}+\frac{35 x}{16}-\frac{35}{8} \tan ^{-1}\left (\frac{x}{2}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0166097, antiderivative size = 58, normalized size of antiderivative = 1., number of steps used = 5, number of rules used = 3, integrand size = 11, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.273, Rules used = {288, 321, 203} \[ -\frac{x^7}{6 \left (x^2+4\right )^3}-\frac{7 x^5}{24 \left (x^2+4\right )^2}-\frac{35 x^3}{48 \left (x^2+4\right )}+\frac{35 x}{16}-\frac{35}{8} \tan ^{-1}\left (\frac{x}{2}\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 288
Rule 321
Rule 203
Rubi steps
\begin{align*} \int \frac{x^8}{\left (4+x^2\right )^4} \, dx &=-\frac{x^7}{6 \left (4+x^2\right )^3}+\frac{7}{6} \int \frac{x^6}{\left (4+x^2\right )^3} \, dx\\ &=-\frac{x^7}{6 \left (4+x^2\right )^3}-\frac{7 x^5}{24 \left (4+x^2\right )^2}+\frac{35}{24} \int \frac{x^4}{\left (4+x^2\right )^2} \, dx\\ &=-\frac{x^7}{6 \left (4+x^2\right )^3}-\frac{7 x^5}{24 \left (4+x^2\right )^2}-\frac{35 x^3}{48 \left (4+x^2\right )}+\frac{35}{16} \int \frac{x^2}{4+x^2} \, dx\\ &=\frac{35 x}{16}-\frac{x^7}{6 \left (4+x^2\right )^3}-\frac{7 x^5}{24 \left (4+x^2\right )^2}-\frac{35 x^3}{48 \left (4+x^2\right )}-\frac{35}{4} \int \frac{1}{4+x^2} \, dx\\ &=\frac{35 x}{16}-\frac{x^7}{6 \left (4+x^2\right )^3}-\frac{7 x^5}{24 \left (4+x^2\right )^2}-\frac{35 x^3}{48 \left (4+x^2\right )}-\frac{35}{8} \tan ^{-1}\left (\frac{x}{2}\right )\\ \end{align*}
Mathematica [A] time = 0.0190208, size = 40, normalized size = 0.69 \[ \frac{x \left (12 x^6+231 x^4+1120 x^2+1680\right )}{12 \left (x^2+4\right )^3}-\frac{35}{8} \tan ^{-1}\left (\frac{x}{2}\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.007, size = 32, normalized size = 0.6 \begin{align*} x-16\,{\frac{1}{ \left ({x}^{2}+4 \right ) ^{3}} \left ( -{\frac{29\,{x}^{5}}{64}}-{\frac{17\,{x}^{3}}{6}}-{\frac{19\,x}{4}} \right ) }-{\frac{35}{8}\arctan \left ({\frac{x}{2}} \right ) } \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.40538, size = 55, normalized size = 0.95 \begin{align*} x + \frac{87 \, x^{5} + 544 \, x^{3} + 912 \, x}{12 \,{\left (x^{6} + 12 \, x^{4} + 48 \, x^{2} + 64\right )}} - \frac{35}{8} \, \arctan \left (\frac{1}{2} \, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.87502, size = 166, normalized size = 2.86 \begin{align*} \frac{24 \, x^{7} + 462 \, x^{5} + 2240 \, x^{3} - 105 \,{\left (x^{6} + 12 \, x^{4} + 48 \, x^{2} + 64\right )} \arctan \left (\frac{1}{2} \, x\right ) + 3360 \, x}{24 \,{\left (x^{6} + 12 \, x^{4} + 48 \, x^{2} + 64\right )}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 0.140521, size = 39, normalized size = 0.67 \begin{align*} x + \frac{87 x^{5} + 544 x^{3} + 912 x}{12 x^{6} + 144 x^{4} + 576 x^{2} + 768} - \frac{35 \operatorname{atan}{\left (\frac{x}{2} \right )}}{8} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.05332, size = 42, normalized size = 0.72 \begin{align*} x + \frac{87 \, x^{5} + 544 \, x^{3} + 912 \, x}{12 \,{\left (x^{2} + 4\right )}^{3}} - \frac{35}{8} \, \arctan \left (\frac{1}{2} \, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]