Optimal. Leaf size=58 \[ \frac{1}{128 \left (4-x^2\right )}+\frac{1}{64 \left (4-x^2\right )^2}+\frac{1}{24 \left (4-x^2\right )^3}-\frac{1}{512} \log \left (4-x^2\right )+\frac{\log (x)}{256} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0319356, antiderivative size = 58, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 2, integrand size = 11, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.182, Rules used = {266, 44} \[ \frac{1}{128 \left (4-x^2\right )}+\frac{1}{64 \left (4-x^2\right )^2}+\frac{1}{24 \left (4-x^2\right )^3}-\frac{1}{512} \log \left (4-x^2\right )+\frac{\log (x)}{256} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 266
Rule 44
Rubi steps
\begin{align*} \int \frac{1}{x \left (-4+x^2\right )^4} \, dx &=\frac{1}{2} \operatorname{Subst}\left (\int \frac{1}{(-4+x)^4 x} \, dx,x,x^2\right )\\ &=\frac{1}{2} \operatorname{Subst}\left (\int \left (\frac{1}{4 (-4+x)^4}-\frac{1}{16 (-4+x)^3}+\frac{1}{64 (-4+x)^2}-\frac{1}{256 (-4+x)}+\frac{1}{256 x}\right ) \, dx,x,x^2\right )\\ &=\frac{1}{24 \left (4-x^2\right )^3}+\frac{1}{64 \left (4-x^2\right )^2}+\frac{1}{128 \left (4-x^2\right )}+\frac{\log (x)}{256}-\frac{1}{512} \log \left (4-x^2\right )\\ \end{align*}
Mathematica [A] time = 0.0159794, size = 40, normalized size = 0.69 \[ \frac{-\frac{4 \left (3 x^4-30 x^2+88\right )}{\left (x^2-4\right )^3}-3 \log \left (4-x^2\right )+6 \log (x)}{1536} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.012, size = 60, normalized size = 1. \begin{align*}{\frac{1}{1536\, \left ( 2+x \right ) ^{3}}}+{\frac{3}{2048\, \left ( 2+x \right ) ^{2}}}+{\frac{11}{8192+4096\,x}}-{\frac{\ln \left ( 2+x \right ) }{512}}+{\frac{\ln \left ( x \right ) }{256}}-{\frac{1}{1536\, \left ( -2+x \right ) ^{3}}}+{\frac{3}{2048\, \left ( -2+x \right ) ^{2}}}-{\frac{11}{-8192+4096\,x}}-{\frac{\ln \left ( -2+x \right ) }{512}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 0.92482, size = 62, normalized size = 1.07 \begin{align*} -\frac{3 \, x^{4} - 30 \, x^{2} + 88}{384 \,{\left (x^{6} - 12 \, x^{4} + 48 \, x^{2} - 64\right )}} - \frac{1}{512} \, \log \left (x^{2} - 4\right ) + \frac{1}{512} \, \log \left (x^{2}\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 2.00235, size = 201, normalized size = 3.47 \begin{align*} -\frac{12 \, x^{4} - 120 \, x^{2} + 3 \,{\left (x^{6} - 12 \, x^{4} + 48 \, x^{2} - 64\right )} \log \left (x^{2} - 4\right ) - 6 \,{\left (x^{6} - 12 \, x^{4} + 48 \, x^{2} - 64\right )} \log \left (x\right ) + 352}{1536 \,{\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.145878, size = 41, normalized size = 0.71 \begin{align*} - \frac{3 x^{4} - 30 x^{2} + 88}{384 x^{6} - 4608 x^{4} + 18432 x^{2} - 24576} + \frac{\log{\left (x \right )}}{256} - \frac{\log{\left (x^{2} - 4 \right )}}{512} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.13846, size = 57, normalized size = 0.98 \begin{align*} \frac{11 \, x^{6} - 156 \, x^{4} + 768 \, x^{2} - 1408}{3072 \,{\left (x^{2} - 4\right )}^{3}} + \frac{1}{512} \, \log \left (x^{2}\right ) - \frac{1}{512} \, \log \left ({\left | x^{2} - 4 \right |}\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]