Optimal. Leaf size=121 \[ -\frac{2 \sqrt{a^2 x^2+1} (1-i a x)^{\frac{1}{2} (1+i n)} (1+i a x)^{\frac{1}{2} (-1-i n)} \, _2F_1\left (1,\frac{1}{2} (i n+1);\frac{1}{2} (i n+3);\frac{1-i a x}{i a x+1}\right )}{(1+i n) \sqrt{a^2 c x^2+c}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.203202, antiderivative size = 121, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 3, integrand size = 26, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.115, Rules used = {5085, 5082, 131} \[ -\frac{2 \sqrt{a^2 x^2+1} (1-i a x)^{\frac{1}{2} (1+i n)} (1+i a x)^{\frac{1}{2} (-1-i n)} \, _2F_1\left (1,\frac{1}{2} (i n+1);\frac{1}{2} (i n+3);\frac{1-i a x}{i a x+1}\right )}{(1+i n) \sqrt{a^2 c x^2+c}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 5085
Rule 5082
Rule 131
Rubi steps
\begin{align*} \int \frac{e^{n \tan ^{-1}(a x)}}{x \sqrt{c+a^2 c x^2}} \, dx &=\frac{\sqrt{1+a^2 x^2} \int \frac{e^{n \tan ^{-1}(a x)}}{x \sqrt{1+a^2 x^2}} \, dx}{\sqrt{c+a^2 c x^2}}\\ &=\frac{\sqrt{1+a^2 x^2} \int \frac{(1-i a x)^{-\frac{1}{2}+\frac{i n}{2}} (1+i a x)^{-\frac{1}{2}-\frac{i n}{2}}}{x} \, dx}{\sqrt{c+a^2 c x^2}}\\ &=-\frac{2 (1-i a x)^{\frac{1}{2} (1+i n)} (1+i a x)^{\frac{1}{2} (-1-i n)} \sqrt{1+a^2 x^2} \, _2F_1\left (1,\frac{1}{2} (1+i n);\frac{1}{2} (3+i n);\frac{1-i a x}{1+i a x}\right )}{(1+i n) \sqrt{c+a^2 c x^2}}\\ \end{align*}
Mathematica [A] time = 0.043392, size = 120, normalized size = 0.99 \[ \frac{2 \sqrt{a^2 x^2+1} (1-i a x)^{\frac{1}{2}+\frac{i n}{2}} (1+i a x)^{-\frac{1}{2}-\frac{i n}{2}} \, _2F_1\left (1,\frac{i n}{2}+\frac{1}{2};\frac{i n}{2}+\frac{3}{2};\frac{a x+i}{i-a x}\right )}{(-1-i n) \sqrt{a^2 c x^2+c}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.287, size = 0, normalized size = 0. \begin{align*} \int{\frac{{{\rm e}^{n\arctan \left ( ax \right ) }}}{x}{\frac{1}{\sqrt{{a}^{2}c{x}^{2}+c}}}}\, 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 (n \arctan \left (a x\right )\right )}}{\sqrt{a^{2} c x^{2} + c} x}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\frac{\sqrt{a^{2} c x^{2} + c} e^{\left (n \arctan \left (a x\right )\right )}}{a^{2} c x^{3} + c x}, x\right ) \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^{n \operatorname{atan}{\left (a x \right )}}}{x \sqrt{c \left (a^{2} x^{2} + 1\right )}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{e^{\left (n \arctan \left (a x\right )\right )}}{\sqrt{a^{2} c x^{2} + c} x}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]