Optimal. Leaf size=18 \[ \frac{\tanh ^{-1}(a x)}{a c^2}-\frac{x}{c^2} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.109727, antiderivative size = 18, normalized size of antiderivative = 1., number of steps used = 5, number of rules used = 4, integrand size = 22, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.182, Rules used = {6131, 6129, 72, 207} \[ \frac{\tanh ^{-1}(a x)}{a c^2}-\frac{x}{c^2} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 6131
Rule 6129
Rule 72
Rule 207
Rubi steps
\begin{align*} \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.0728216, size = 40, normalized size = 2.22 \[ -\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.036, size = 36, normalized size = 2. \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 = 0.964698, size = 47, normalized size = 2.61 \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 = 2.20241, size = 70, normalized size = 3.89 \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.353467, size = 36, normalized size = 2. \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 [A] time = 1.21909, size = 47, normalized size = 2.61 \begin{align*} -\frac{a x + 1}{a c^{2}} - \frac{\log \left ({\left | -\frac{2}{a x + 1} + 1 \right |}\right )}{2 \, a c^{2}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]