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 ) \]
________________________________________________________________________________________
Rubi [A] time = 0.02, antiderivative size = 58, normalized size of antiderivative = 1.00, 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 203
Rule 288
Rule 321
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.02, 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]
________________________________________________________________________________________
IntegrateAlgebraic [A] time = 0.03, 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]
________________________________________________________________________________________
fricas [A] time = 0.99, size = 59, normalized size = 1.02 \[ \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 )}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.94, size = 31, normalized size = 0.53 \[ 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 ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.27, size = 31, normalized size = 0.53
method | result | size |
risch | \(x +\frac {\frac {29}{4} x^{5}+\frac {136}{3} x^{3}+76 x}{\left (x^{2}+4\right )^{3}}-\frac {35 \arctan \left (\frac {x}{2}\right )}{8}\) | \(31\) |
default | \(x -\frac {16 \left (-\frac {29}{64} x^{5}-\frac {17}{6} x^{3}-\frac {19}{4} x \right )}{\left (x^{2}+4\right )^{3}}-\frac {35 \arctan \left (\frac {x}{2}\right )}{8}\) | \(32\) |
meijerg | \(\frac {x \left (\frac {9}{4} x^{6}+\frac {693}{16} x^{4}+210 x^{2}+315\right )}{144 \left (\frac {x^{2}}{4}+1\right )^{3}}-\frac {35 \arctan \left (\frac {x}{2}\right )}{8}\) | \(37\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.96, size = 41, normalized size = 0.71 \[ 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 ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.07, size = 40, normalized size = 0.69 \[ x-\frac {35\,\mathrm {atan}\left (\frac {x}{2}\right )}{8}+\frac {\frac {29\,x^5}{4}+\frac {136\,x^3}{3}+76\,x}{x^6+12\,x^4+48\,x^2+64} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.15, size = 39, normalized size = 0.67 \[ 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} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________