Optimal. Leaf size=15 \[ -\frac{\tanh ^{-1}\left (\frac{x^2}{a^2}\right )}{2 a^2} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0070744, antiderivative size = 15, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 13, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.154, Rules used = {275, 207} \[ -\frac{\tanh ^{-1}\left (\frac{x^2}{a^2}\right )}{2 a^2} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 275
Rule 207
Rubi steps
\begin{align*} \int \frac{x}{-a^4+x^4} \, dx &=\frac{1}{2} \operatorname{Subst}\left (\int \frac{1}{-a^4+x^2} \, dx,x,x^2\right )\\ &=-\frac{\tanh ^{-1}\left (\frac{x^2}{a^2}\right )}{2 a^2}\\ \end{align*}
Mathematica [A] time = 0.0039054, size = 15, normalized size = 1. \[ -\frac{\tanh ^{-1}\left (\frac{x^2}{a^2}\right )}{2 a^2} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] time = 0.006, size = 30, normalized size = 2. \begin{align*} -{\frac{\ln \left ({a}^{2}+{x}^{2} \right ) }{4\,{a}^{2}}}+{\frac{\ln \left ( -{a}^{2}+{x}^{2} \right ) }{4\,{a}^{2}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] time = 0.926207, size = 39, normalized size = 2.6 \begin{align*} -\frac{\log \left (a^{2} + x^{2}\right )}{4 \, a^{2}} + \frac{\log \left (-a^{2} + x^{2}\right )}{4 \, a^{2}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.8419, size = 61, normalized size = 4.07 \begin{align*} -\frac{\log \left (a^{2} + x^{2}\right ) - \log \left (-a^{2} + x^{2}\right )}{4 \, a^{2}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 0.132057, size = 22, normalized size = 1.47 \begin{align*} \frac{\frac{\log{\left (- a^{2} + x^{2} \right )}}{4} - \frac{\log{\left (a^{2} + x^{2} \right )}}{4}}{a^{2}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] time = 1.07081, size = 41, normalized size = 2.73 \begin{align*} -\frac{\log \left (a^{2} + x^{2}\right )}{4 \, a^{2}} + \frac{\log \left ({\left | -a^{2} + x^{2} \right |}\right )}{4 \, a^{2}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]