Optimal. Leaf size=27 \[ \frac{\tan ^{-1}\left (\frac{x}{a}\right )}{2 a^3}+\frac{\tanh ^{-1}\left (\frac{x}{a}\right )}{2 a^3} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0080693, antiderivative size = 27, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 3, integrand size = 11, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.273, Rules used = {212, 206, 203} \[ \frac{\tan ^{-1}\left (\frac{x}{a}\right )}{2 a^3}+\frac{\tanh ^{-1}\left (\frac{x}{a}\right )}{2 a^3} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 212
Rule 206
Rule 203
Rubi steps
\begin{align*} \int \frac{1}{a^4-x^4} \, dx &=\frac{\int \frac{1}{a^2-x^2} \, dx}{2 a^2}+\frac{\int \frac{1}{a^2+x^2} \, dx}{2 a^2}\\ &=\frac{\tan ^{-1}\left (\frac{x}{a}\right )}{2 a^3}+\frac{\tanh ^{-1}\left (\frac{x}{a}\right )}{2 a^3}\\ \end{align*}
Mathematica [A] time = 0.004278, size = 38, normalized size = 1.41 \[ -\frac{\log (a-x)}{4 a^3}+\frac{\log (a+x)}{4 a^3}+\frac{\tan ^{-1}\left (\frac{x}{a}\right )}{2 a^3} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.008, size = 33, normalized size = 1.2 \begin{align*} -{\frac{\ln \left ( -a+x \right ) }{4\,{a}^{3}}}+{\frac{1}{2\,{a}^{3}}\arctan \left ({\frac{x}{a}} \right ) }+{\frac{\ln \left ( a+x \right ) }{4\,{a}^{3}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.40099, size = 43, normalized size = 1.59 \begin{align*} \frac{\arctan \left (\frac{x}{a}\right )}{2 \, a^{3}} + \frac{\log \left (a + x\right )}{4 \, a^{3}} - \frac{\log \left (-a + x\right )}{4 \, a^{3}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 2.12863, size = 70, normalized size = 2.59 \begin{align*} \frac{2 \, \arctan \left (\frac{x}{a}\right ) + \log \left (a + x\right ) - \log \left (-a + x\right )}{4 \, a^{3}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [C] time = 0.13063, size = 37, normalized size = 1.37 \begin{align*} - \frac{\frac{\log{\left (- a + x \right )}}{4} - \frac{\log{\left (a + x \right )}}{4} + \frac{i \log{\left (- i a + x \right )}}{4} - \frac{i \log{\left (i a + x \right )}}{4}}{a^{3}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.04852, size = 46, normalized size = 1.7 \begin{align*} \frac{\arctan \left (\frac{x}{a}\right )}{2 \, a^{3}} + \frac{\log \left ({\left | a + x \right |}\right )}{4 \, a^{3}} - \frac{\log \left ({\left | -a + x \right |}\right )}{4 \, a^{3}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]