Optimal. Leaf size=18 \[ \frac{x}{c^2}-\frac{\tanh ^{-1}(a x)}{a c^2} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.136995, antiderivative size = 18, normalized size of antiderivative = 1., number of steps used = 6, number of rules used = 5, integrand size = 22, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.227, Rules used = {6167, 6131, 6129, 72, 207} \[ \frac{x}{c^2}-\frac{\tanh ^{-1}(a x)}{a c^2} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 6167
Rule 6131
Rule 6129
Rule 72
Rule 207
Rubi steps
\begin{align*} \int \frac{e^{-2 \coth ^{-1}(a x)}}{\left (c-\frac{c}{a x}\right )^2} \, dx &=-\int \frac{e^{-2 \tanh ^{-1}(a x)}}{\left (c-\frac{c}{a x}\right )^2} \, dx\\ &=-\frac{a^2 \int \frac{e^{-2 \tanh ^{-1}(a x)} x^2}{(1-a x)^2} \, dx}{c^2}\\ &=-\frac{a^2 \int \frac{x^2}{(1-a x) (1+a x)} \, dx}{c^2}\\ &=-\frac{a^2 \int \left (-\frac{1}{a^2}-\frac{1}{a^2 \left (-1+a^2 x^2\right )}\right ) \, dx}{c^2}\\ &=\frac{x}{c^2}+\frac{\int \frac{1}{-1+a^2 x^2} \, dx}{c^2}\\ &=\frac{x}{c^2}-\frac{\tanh ^{-1}(a x)}{a c^2}\\ \end{align*}
Mathematica [B] time = 0.0825677, size = 39, normalized size = 2.17 \[ \frac{\log (1-a x)}{2 a c^2}-\frac{\log (a x+1)}{2 a c^2}+\frac{x}{c^2} \]
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.046, size = 35, normalized size = 1.9 \begin{align*}{\frac{x}{{c}^{2}}}-{\frac{\ln \left ( ax+1 \right ) }{2\,a{c}^{2}}}+{\frac{\ln \left ( ax-1 \right ) }{2\,a{c}^{2}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.01405, size = 46, normalized size = 2.56 \begin{align*} \frac{x}{c^{2}} - \frac{\log \left (a x + 1\right )}{2 \, a c^{2}} + \frac{\log \left (a x - 1\right )}{2 \, a c^{2}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.80369, size = 69, normalized size = 3.83 \begin{align*} \frac{2 \, a x - \log \left (a x + 1\right ) + \log \left (a x - 1\right )}{2 \, a c^{2}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [B] time = 0.328685, size = 34, normalized size = 1.89 \begin{align*} a^{2} \left (\frac{x}{a^{2} c^{2}} + \frac{\frac{\log{\left (x - \frac{1}{a} \right )}}{2} - \frac{\log{\left (x + \frac{1}{a} \right )}}{2}}{a^{3} c^{2}}\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] time = 1.16819, size = 49, normalized size = 2.72 \begin{align*} \frac{x}{c^{2}} - \frac{\log \left ({\left | a x + 1 \right |}\right )}{2 \, a c^{2}} + \frac{\log \left ({\left | a x - 1 \right |}\right )}{2 \, a c^{2}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]