Optimal. Leaf size=43 \[ \frac {x}{6 \left (1+x^2\right )^3}-\frac {x}{24 \left (1+x^2\right )^2}+\frac {7 x}{16 \left (1+x^2\right )}+\frac {7}{16} \tan ^{-1}(x) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.01, antiderivative size = 43, normalized size of antiderivative = 1.00, number of steps
used = 4, number of rules used = 4, integrand size = 16, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.250, Rules used = {1171, 393, 205,
209} \begin {gather*} \frac {7 \text {ArcTan}(x)}{16}+\frac {7 x}{16 \left (x^2+1\right )}-\frac {x}{24 \left (x^2+1\right )^2}+\frac {x}{6 \left (x^2+1\right )^3} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 205
Rule 209
Rule 393
Rule 1171
Rubi steps
\begin {align*} \int \frac {1+x^2+x^4}{\left (1+x^2\right )^4} \, dx &=\frac {x}{6 \left (1+x^2\right )^3}-\frac {1}{6} \int \frac {-5-6 x^2}{\left (1+x^2\right )^3} \, dx\\ &=\frac {x}{6 \left (1+x^2\right )^3}-\frac {x}{24 \left (1+x^2\right )^2}+\frac {7}{8} \int \frac {1}{\left (1+x^2\right )^2} \, dx\\ &=\frac {x}{6 \left (1+x^2\right )^3}-\frac {x}{24 \left (1+x^2\right )^2}+\frac {7 x}{16 \left (1+x^2\right )}+\frac {7}{16} \int \frac {1}{1+x^2} \, dx\\ &=\frac {x}{6 \left (1+x^2\right )^3}-\frac {x}{24 \left (1+x^2\right )^2}+\frac {7 x}{16 \left (1+x^2\right )}+\frac {7}{16} \tan ^{-1}(x)\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.01, size = 30, normalized size = 0.70 \begin {gather*} \frac {1}{48} \left (\frac {x \left (27+40 x^2+21 x^4\right )}{\left (1+x^2\right )^3}+21 \tan ^{-1}(x)\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.05, size = 28, normalized size = 0.65
method | result | size |
default | \(\frac {\frac {7}{16} x^{5}+\frac {5}{6} x^{3}+\frac {9}{16} x}{\left (x^{2}+1\right )^{3}}+\frac {7 \arctan \left (x \right )}{16}\) | \(28\) |
risch | \(\frac {\frac {7}{16} x^{5}+\frac {5}{6} x^{3}+\frac {9}{16} x}{\left (x^{2}+1\right )^{3}}+\frac {7 \arctan \left (x \right )}{16}\) | \(28\) |
meijerg | \(\frac {x \left (15 x^{4}+40 x^{2}+33\right )}{48 \left (x^{2}+1\right )^{3}}+\frac {7 \arctan \left (x \right )}{16}-\frac {x \left (-15 x^{4}+40 x^{2}+15\right )}{240 \left (x^{2}+1\right )^{3}}-\frac {x \left (-3 x^{4}-8 x^{2}+3\right )}{48 \left (x^{2}+1\right )^{3}}\) | \(72\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 7.24, size = 38, normalized size = 0.88 \begin {gather*} \frac {21 \, x^{5} + 40 \, x^{3} + 27 \, x}{48 \, {\left (x^{6} + 3 \, x^{4} + 3 \, x^{2} + 1\right )}} + \frac {7}{16} \, \arctan \left (x\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.54, size = 52, normalized size = 1.21 \begin {gather*} \frac {21 \, x^{5} + 40 \, x^{3} + 21 \, {\left (x^{6} + 3 \, x^{4} + 3 \, x^{2} + 1\right )} \arctan \left (x\right ) + 27 \, x}{48 \, {\left (x^{6} + 3 \, x^{4} + 3 \, x^{2} + 1\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.05, size = 36, normalized size = 0.84 \begin {gather*} \frac {21 x^{5} + 40 x^{3} + 27 x}{48 x^{6} + 144 x^{4} + 144 x^{2} + 48} + \frac {7 \operatorname {atan}{\left (x \right )}}{16} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.45, size = 28, normalized size = 0.65 \begin {gather*} \frac {21 \, x^{5} + 40 \, x^{3} + 27 \, x}{48 \, {\left (x^{2} + 1\right )}^{3}} + \frac {7}{16} \, \arctan \left (x\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.18, size = 27, normalized size = 0.63 \begin {gather*} \frac {7\,\mathrm {atan}\left (x\right )}{16}+\frac {\frac {7\,x^5}{16}+\frac {5\,x^3}{6}+\frac {9\,x}{16}}{{\left (x^2+1\right )}^3} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________