Optimal. Leaf size=39 \[ -\frac{1}{2} a \sqrt{1-\frac{1}{a^2 x^2}} e^{\csc ^{-1}(a x)}-\frac{e^{\csc ^{-1}(a x)}}{2 x} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0302034, antiderivative size = 39, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 3, integrand size = 10, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.3, Rules used = {5267, 12, 4433} \[ -\frac{1}{2} a \sqrt{1-\frac{1}{a^2 x^2}} e^{\csc ^{-1}(a x)}-\frac{e^{\csc ^{-1}(a x)}}{2 x} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 5267
Rule 12
Rule 4433
Rubi steps
\begin{align*} \int \frac{e^{\csc ^{-1}(a x)}}{x^2} \, dx &=-\frac{\operatorname{Subst}\left (\int a^2 e^x \cos (x) \, dx,x,\csc ^{-1}(a x)\right )}{a}\\ &=-\left (a \operatorname{Subst}\left (\int e^x \cos (x) \, dx,x,\csc ^{-1}(a x)\right )\right )\\ &=-\frac{1}{2} a e^{\csc ^{-1}(a x)} \sqrt{1-\frac{1}{a^2 x^2}}-\frac{e^{\csc ^{-1}(a x)}}{2 x}\\ \end{align*}
Mathematica [A] time = 0.0401276, size = 33, normalized size = 0.85 \[ -\frac{1}{2} a \left (\sqrt{1-\frac{1}{a^2 x^2}}+\frac{1}{a x}\right ) e^{\csc ^{-1}(a x)} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.183, size = 0, normalized size = 0. \begin{align*} \int{\frac{{{\rm e}^{{\rm arccsc} \left (ax\right )}}}{{x}^{2}}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{e^{\left (\operatorname{arccsc}\left (a x\right )\right )}}{x^{2}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 3.28267, size = 65, normalized size = 1.67 \begin{align*} -\frac{{\left (\sqrt{a^{2} x^{2} - 1} + 1\right )} e^{\left (\operatorname{arccsc}\left (a x\right )\right )}}{2 \, x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{e^{\operatorname{acsc}{\left (a x \right )}}}{x^{2}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.1397, size = 53, normalized size = 1.36 \begin{align*} -\frac{1}{2} \, a \sqrt{-\frac{1}{a^{2} x^{2}} + 1} e^{\left (\arcsin \left (\frac{1}{a x}\right )\right )} - \frac{e^{\left (\arcsin \left (\frac{1}{a x}\right )\right )}}{2 \, x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]