Optimal. Leaf size=58 \[ \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 ) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.02, antiderivative size = 58, normalized size of antiderivative = 1.00, 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 = {272, 46}
\begin {gather*} \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} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 46
Rule 272
Rubi steps
\begin {align*} \int \frac {1}{x \left (-4+x^2\right )^4} \, dx &=\frac {1}{2} \text {Subst}\left (\int \frac {1}{(-4+x)^4 x} \, dx,x,x^2\right )\\ &=\frac {1}{2} \text {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.01, size = 40, normalized size = 0.69 \begin {gather*} \frac {-\frac {4 \left (88-30 x^2+3 x^4\right )}{\left (-4+x^2\right )^3}+6 \log (x)-3 \log \left (4-x^2\right )}{1536} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.09, size = 60, normalized size = 1.03
method | result | size |
risch | \(\frac {-\frac {1}{128} x^{4}+\frac {5}{64} x^{2}-\frac {11}{48}}{\left (x^{2}-4\right )^{3}}+\frac {\ln \left (x \right )}{256}-\frac {\ln \left (x^{2}-4\right )}{512}\) | \(34\) |
norman | \(\frac {-\frac {1}{128} x^{4}+\frac {5}{64} x^{2}-\frac {11}{48}}{\left (x^{2}-4\right )^{3}}+\frac {\ln \left (x \right )}{256}-\frac {\ln \left (-2+x \right )}{512}-\frac {\ln \left (2+x \right )}{512}\) | \(38\) |
meijerg | \(\frac {11}{3072}+\frac {\ln \left (x \right )}{256}-\frac {\ln \left (2\right )}{256}+\frac {i \pi }{512}+\frac {x^{2} \left (\frac {11}{16} x^{4}-\frac {27}{4} x^{2}+18\right )}{12288 \left (1-\frac {x^{2}}{4}\right )^{3}}-\frac {\ln \left (1-\frac {x^{2}}{4}\right )}{512}\) | \(51\) |
default | \(\frac {\ln \left (x \right )}{256}-\frac {1}{1536 \left (-2+x \right )^{3}}+\frac {3}{2048 \left (-2+x \right )^{2}}-\frac {11}{4096 \left (-2+x \right )}-\frac {\ln \left (-2+x \right )}{512}+\frac {1}{1536 \left (2+x \right )^{3}}+\frac {3}{2048 \left (2+x \right )^{2}}+\frac {11}{4096 \left (2+x \right )}-\frac {\ln \left (2+x \right )}{512}\) | \(60\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 2.50, size = 46, normalized size = 0.79 \begin {gather*} -\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 {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.58, size = 73, normalized size = 1.26 \begin {gather*} -\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 {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.06, size = 41, normalized size = 0.71 \begin {gather*} \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 {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.97, size = 42, normalized size = 0.72 \begin {gather*} \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 {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.08, size = 44, normalized size = 0.76 \begin {gather*} \frac {\ln \left (x\right )}{256}-\frac {\ln \left (x^2-4\right )}{512}-\frac {\frac {x^4}{128}-\frac {5\,x^2}{64}+\frac {11}{48}}{x^6-12\,x^4+48\,x^2-64} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________