Optimal. Leaf size=27 \[ \frac{1}{2 a (1-a x)}+\frac{\tanh ^{-1}(a x)}{2 a} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0484609, antiderivative size = 27, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 3, integrand size = 21, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.143, Rules used = {6140, 44, 207} \[ \frac{1}{2 a (1-a x)}+\frac{\tanh ^{-1}(a x)}{2 a} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 6140
Rule 44
Rule 207
Rubi steps
\begin{align*} \int \frac{e^{\tanh ^{-1}(a x)}}{\left (1-a^2 x^2\right )^{3/2}} \, dx &=\int \frac{1}{(1-a x)^2 (1+a x)} \, dx\\ &=\int \left (\frac{1}{2 (-1+a x)^2}-\frac{1}{2 \left (-1+a^2 x^2\right )}\right ) \, dx\\ &=\frac{1}{2 a (1-a x)}-\frac{1}{2} \int \frac{1}{-1+a^2 x^2} \, dx\\ &=\frac{1}{2 a (1-a x)}+\frac{\tanh ^{-1}(a x)}{2 a}\\ \end{align*}
Mathematica [A] time = 0.015646, size = 20, normalized size = 0.74 \[ \frac{\frac{1}{1-a x}+\tanh ^{-1}(a x)}{2 a} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.033, size = 36, normalized size = 1.3 \begin{align*}{\frac{\ln \left ( ax+1 \right ) }{4\,a}}-{\frac{1}{2\,a \left ( ax-1 \right ) }}-{\frac{\ln \left ( ax-1 \right ) }{4\,a}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 0.94299, size = 49, normalized size = 1.81 \begin{align*} \frac{\log \left (a x + 1\right )}{4 \, a} - \frac{\log \left (a x - 1\right )}{4 \, a} - \frac{1}{2 \,{\left (a^{2} x - a\right )}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.69701, size = 96, normalized size = 3.56 \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^{2} x - a\right )}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 0.352961, size = 29, normalized size = 1.07 \begin{align*} - \frac{1}{2 a^{2} x - 2 a} + \frac{- \frac{\log{\left (x - \frac{1}{a} \right )}}{4} + \frac{\log{\left (x + \frac{1}{a} \right )}}{4}}{a} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.16653, size = 50, normalized size = 1.85 \begin{align*} \frac{\log \left ({\left | a x + 1 \right |}\right )}{4 \, a} - \frac{\log \left ({\left | a x - 1 \right |}\right )}{4 \, a} - \frac{1}{2 \,{\left (a x - 1\right )} a} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]