Optimal. Leaf size=27 \[ \frac{1}{2 a^2 (1-a x)}-\frac{\tanh ^{-1}(a x)}{2 a^2} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0775094, antiderivative size = 27, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 3, integrand size = 22, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.136, Rules used = {6150, 77, 207} \[ \frac{1}{2 a^2 (1-a x)}-\frac{\tanh ^{-1}(a x)}{2 a^2} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 6150
Rule 77
Rule 207
Rubi steps
\begin{align*} \int \frac{e^{\tanh ^{-1}(a x)} x}{\left (1-a^2 x^2\right )^{3/2}} \, dx &=\int \frac{x}{(1-a x)^2 (1+a x)} \, dx\\ &=\int \left (\frac{1}{2 a (-1+a x)^2}+\frac{1}{2 a \left (-1+a^2 x^2\right )}\right ) \, dx\\ &=\frac{1}{2 a^2 (1-a x)}+\frac{\int \frac{1}{-1+a^2 x^2} \, dx}{2 a}\\ &=\frac{1}{2 a^2 (1-a x)}-\frac{\tanh ^{-1}(a x)}{2 a^2}\\ \end{align*}
Mathematica [A] time = 0.0190793, size = 22, normalized size = 0.81 \[ \frac{\frac{1}{1-a x}-\tanh ^{-1}(a x)}{2 a^2} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.035, size = 36, normalized size = 1.3 \begin{align*} -{\frac{\ln \left ( ax+1 \right ) }{4\,{a}^{2}}}-{\frac{1}{2\,{a}^{2} \left ( ax-1 \right ) }}+{\frac{\ln \left ( ax-1 \right ) }{4\,{a}^{2}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 0.946489, size = 51, normalized size = 1.89 \begin{align*} -\frac{1}{2 \,{\left (a^{3} x - a^{2}\right )}} - \frac{\log \left (a x + 1\right )}{4 \, a^{2}} + \frac{\log \left (a x - 1\right )}{4 \, a^{2}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.70477, size = 100, normalized size = 3.7 \begin{align*} -\frac{{\left (a x - 1\right )} \log \left (a x + 1\right ) -{\left (a x - 1\right )} \log \left (a x - 1\right ) + 2}{4 \,{\left (a^{3} x - a^{2}\right )}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 0.335607, size = 32, normalized size = 1.19 \begin{align*} - \frac{1}{2 a^{3} x - 2 a^{2}} + \frac{\frac{\log{\left (x - \frac{1}{a} \right )}}{4} - \frac{\log{\left (x + \frac{1}{a} \right )}}{4}}{a^{2}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.21206, size = 50, normalized size = 1.85 \begin{align*} -\frac{\log \left ({\left | a x + 1 \right |}\right )}{4 \, a^{2}} + \frac{\log \left ({\left | a x - 1 \right |}\right )}{4 \, a^{2}} - \frac{1}{2 \,{\left (a x - 1\right )} a^{2}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]