Optimal. Leaf size=19 \[ \frac {\sqrt {1-\frac {1}{a^2 x^2}} x}{c} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.03, antiderivative size = 19, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 2, integrand size = 22, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.091, Rules used = {6312, 270}
\begin {gather*} \frac {x \sqrt {1-\frac {1}{a^2 x^2}}}{c} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 270
Rule 6312
Rubi steps
\begin {align*} \int \frac {e^{-\coth ^{-1}(a x)}}{c-\frac {c}{a x}} \, dx &=-\frac {\text {Subst}\left (\int \frac {1}{x^2 \sqrt {1-\frac {x^2}{a^2}}} \, dx,x,\frac {1}{x}\right )}{c}\\ &=\frac {\sqrt {1-\frac {1}{a^2 x^2}} x}{c}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.03, size = 19, normalized size = 1.00 \begin {gather*} \frac {\sqrt {1-\frac {1}{a^2 x^2}} x}{c} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.11, size = 28, normalized size = 1.47
method | result | size |
gosper | \(\frac {\sqrt {\frac {a x -1}{a x +1}}\, \left (a x +1\right )}{a c}\) | \(28\) |
default | \(\frac {\sqrt {\frac {a x -1}{a x +1}}\, \left (a x +1\right )}{a c}\) | \(28\) |
risch | \(\frac {\sqrt {\frac {a x -1}{a x +1}}\, \left (a x +1\right )}{a c}\) | \(28\) |
trager | \(\frac {\left (a x +1\right ) \sqrt {-\frac {-a x +1}{a x +1}}}{a c}\) | \(30\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] Leaf count of result is larger than twice the leaf count of optimal. 44 vs.
\(2 (17) = 34\).
time = 0.26, size = 44, normalized size = 2.32 \begin {gather*} -\frac {2 \, a \sqrt {\frac {a x - 1}{a x + 1}}}{\frac {{\left (a x - 1\right )} a^{2} c}{a x + 1} - a^{2} c} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.33, size = 27, normalized size = 1.42 \begin {gather*} \frac {{\left (a x + 1\right )} \sqrt {\frac {a x - 1}{a x + 1}}}{a c} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \frac {a \int \frac {x \sqrt {\frac {a x}{a x + 1} - \frac {1}{a x + 1}}}{a x - 1}\, dx}{c} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.41, size = 24, normalized size = 1.26 \begin {gather*} \frac {\sqrt {a^{2} x^{2} - 1} \mathrm {sgn}\left (a x + 1\right )}{a c} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.05, size = 39, normalized size = 2.05 \begin {gather*} \frac {2\,\sqrt {\frac {a\,x-1}{a\,x+1}}}{a\,c-\frac {a\,c\,\left (a\,x-1\right )}{a\,x+1}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________