Optimal. Leaf size=26 \[ -\frac {1}{2 a^4 x^2}+\frac {\tanh ^{-1}\left (\frac {x^2}{a^2}\right )}{2 a^6} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.01, antiderivative size = 26, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 3, integrand size = 15, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.200, Rules used = {281, 331, 212}
\begin {gather*} \frac {\tanh ^{-1}\left (\frac {x^2}{a^2}\right )}{2 a^6}-\frac {1}{2 a^4 x^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 212
Rule 281
Rule 331
Rubi steps
\begin {align*} \int \frac {1}{x^3 \left (a^4-x^4\right )} \, dx &=\frac {1}{2} \text {Subst}\left (\int \frac {1}{x^2 \left (a^4-x^2\right )} \, dx,x,x^2\right )\\ &=-\frac {1}{2 a^4 x^2}+\frac {\text {Subst}\left (\int \frac {1}{a^4-x^2} \, dx,x,x^2\right )}{2 a^4}\\ &=-\frac {1}{2 a^4 x^2}+\frac {\tanh ^{-1}\left (\frac {x^2}{a^2}\right )}{2 a^6}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.01, size = 50, normalized size = 1.92 \begin {gather*} -\frac {1}{2 a^4 x^2}-\frac {\log (a-x)}{4 a^6}-\frac {\log (a+x)}{4 a^6}+\frac {\log \left (a^2+x^2\right )}{4 a^6} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.05, size = 43, normalized size = 1.65
method | result | size |
risch | \(-\frac {1}{2 a^{4} x^{2}}+\frac {\ln \left (-a^{2}-x^{2}\right )}{4 a^{6}}-\frac {\ln \left (a^{2}-x^{2}\right )}{4 a^{6}}\) | \(42\) |
default | \(\frac {\ln \left (a^{2}+x^{2}\right )}{4 a^{6}}-\frac {1}{2 a^{4} x^{2}}-\frac {\ln \left (a +x \right )}{4 a^{6}}-\frac {\ln \left (a -x \right )}{4 a^{6}}\) | \(43\) |
norman | \(\frac {\ln \left (a^{2}+x^{2}\right )}{4 a^{6}}-\frac {1}{2 a^{4} x^{2}}-\frac {\ln \left (a +x \right )}{4 a^{6}}-\frac {\ln \left (a -x \right )}{4 a^{6}}\) | \(43\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 1.73, size = 37, normalized size = 1.42 \begin {gather*} \frac {\log \left (a^{2} + x^{2}\right )}{4 \, a^{6}} - \frac {\log \left (-a^{2} + x^{2}\right )}{4 \, a^{6}} - \frac {1}{2 \, a^{4} x^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.39, size = 41, normalized size = 1.58 \begin {gather*} \frac {x^{2} \log \left (a^{2} + x^{2}\right ) - x^{2} \log \left (-a^{2} + x^{2}\right ) - 2 \, a^{2}}{4 \, a^{6} x^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.09, size = 34, normalized size = 1.31 \begin {gather*} - \frac {1}{2 a^{4} x^{2}} - \frac {\frac {\log {\left (- a^{2} + x^{2} \right )}}{4} - \frac {\log {\left (a^{2} + x^{2} \right )}}{4}}{a^{6}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 1.14, size = 38, normalized size = 1.46 \begin {gather*} \frac {\log \left (a^{2} + x^{2}\right )}{4 \, a^{6}} - \frac {\log \left ({\left | -a^{2} + x^{2} \right |}\right )}{4 \, a^{6}} - \frac {1}{2 \, a^{4} x^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.20, size = 22, normalized size = 0.85 \begin {gather*} \frac {\mathrm {atanh}\left (\frac {x^2}{a^2}\right )}{2\,a^6}-\frac {1}{2\,a^4\,x^2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________