Optimal. Leaf size=29 \[ -\frac {c \sqrt {1-a^2 x^2}}{x}-a c \sin ^{-1}(a x) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.04, antiderivative size = 29, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, integrand size = 17, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.176, Rules used = {6128, 277, 216} \[ -\frac {c \sqrt {1-a^2 x^2}}{x}-a c \sin ^{-1}(a x) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 216
Rule 277
Rule 6128
Rubi steps
\begin {align*} \int \frac {e^{\tanh ^{-1}(a x)} (c-a c x)}{x^2} \, dx &=c \int \frac {\sqrt {1-a^2 x^2}}{x^2} \, dx\\ &=-\frac {c \sqrt {1-a^2 x^2}}{x}-\left (a^2 c\right ) \int \frac {1}{\sqrt {1-a^2 x^2}} \, dx\\ &=-\frac {c \sqrt {1-a^2 x^2}}{x}-a c \sin ^{-1}(a x)\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.03, size = 28, normalized size = 0.97 \[ -\frac {c \left (\sqrt {1-a^2 x^2}+a x \sin ^{-1}(a x)\right )}{x} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.48, size = 47, normalized size = 1.62 \[ \frac {2 \, a c x \arctan \left (\frac {\sqrt {-a^{2} x^{2} + 1} - 1}{a x}\right ) - \sqrt {-a^{2} x^{2} + 1} c}{x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [B] time = 0.20, size = 74, normalized size = 2.55 \[ \frac {a^{4} c x}{2 \, {\left (\sqrt {-a^{2} x^{2} + 1} {\left | a \right |} + a\right )} {\left | a \right |}} - \frac {a^{2} c \arcsin \left (a x\right ) \mathrm {sgn}\relax (a)}{{\left | a \right |}} - \frac {{\left (\sqrt {-a^{2} x^{2} + 1} {\left | a \right |} + a\right )} c}{2 \, x {\left | a \right |}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.04, size = 51, normalized size = 1.76 \[ -\frac {c \,a^{2} \arctan \left (\frac {\sqrt {a^{2}}\, x}{\sqrt {-a^{2} x^{2}+1}}\right )}{\sqrt {a^{2}}}-\frac {c \sqrt {-a^{2} x^{2}+1}}{x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.47, size = 27, normalized size = 0.93 \[ -a c \arcsin \left (a x\right ) - \frac {\sqrt {-a^{2} x^{2} + 1} c}{x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.05, size = 38, normalized size = 1.31 \[ c\,\mathrm {asinh}\left (x\,\sqrt {-a^2}\right )\,\sqrt {-a^2}-\frac {c\,\sqrt {1-a^2\,x^2}}{x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 3.43, size = 88, normalized size = 3.03 \[ c \left (\begin {cases} - \frac {i a^{2} x}{\sqrt {a^{2} x^{2} - 1}} + i a \operatorname {acosh}{\left (a x \right )} + \frac {i}{x \sqrt {a^{2} x^{2} - 1}} & \text {for}\: \left |{a^{2} x^{2}}\right | > 1 \\\frac {a^{2} x}{\sqrt {- a^{2} x^{2} + 1}} - a \operatorname {asin}{\left (a x \right )} - \frac {1}{x \sqrt {- a^{2} x^{2} + 1}} & \text {otherwise} \end {cases}\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________