Optimal. Leaf size=39 \[ \frac{1}{2} a \sqrt{1-\frac{1}{a^2 x^2}} e^{\sec ^{-1}(a x)}-\frac{e^{\sec ^{-1}(a x)}}{2 x} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0298828, 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 = {5266, 12, 4432} \[ \frac{1}{2} a \sqrt{1-\frac{1}{a^2 x^2}} e^{\sec ^{-1}(a x)}-\frac{e^{\sec ^{-1}(a x)}}{2 x} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 5266
Rule 12
Rule 4432
Rubi steps
\begin{align*} \int \frac{e^{\sec ^{-1}(a x)}}{x^2} \, dx &=\frac{\operatorname{Subst}\left (\int a^2 e^x \sin (x) \, dx,x,\sec ^{-1}(a x)\right )}{a}\\ &=a \operatorname{Subst}\left (\int e^x \sin (x) \, dx,x,\sec ^{-1}(a x)\right )\\ &=\frac{1}{2} a e^{\sec ^{-1}(a x)} \sqrt{1-\frac{1}{a^2 x^2}}-\frac{e^{\sec ^{-1}(a x)}}{2 x}\\ \end{align*}
Mathematica [A] time = 0.0410404, size = 34, normalized size = 0.87 \[ \frac{1}{2} a \left (\sqrt{1-\frac{1}{a^2 x^2}}-\frac{1}{a x}\right ) e^{\sec ^{-1}(a x)} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.176, size = 0, normalized size = 0. \begin{align*} \int{\frac{{{\rm e}^{{\rm arcsec} \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{arcsec}\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 = 2.43419, size = 63, normalized size = 1.62 \begin{align*} \frac{{\left (\sqrt{a^{2} x^{2} - 1} - 1\right )} e^{\left (\operatorname{arcsec}\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{asec}{\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.15866, size = 69, normalized size = 1.77 \begin{align*} \frac{1}{2} \, a \sqrt{-\frac{1}{a^{2} x^{2}} + 1} e^{\left (\frac{1}{2} \, \pi - \arcsin \left (\frac{1}{a x}\right )\right )} - \frac{e^{\left (\frac{1}{2} \, \pi - \arcsin \left (\frac{1}{a x}\right )\right )}}{2 \, x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]