Optimal. Leaf size=211 \[ -\frac{(-i a-i b x+1)^{3/4} \sqrt [4]{i a+i b x+1}}{(1+i a) x}-\frac{3 i b \tan ^{-1}\left (\frac{\sqrt [4]{a+i} \sqrt [4]{i a+i b x+1}}{\sqrt [4]{-a+i} \sqrt [4]{-i a-i b x+1}}\right )}{(-a+i)^{7/4} \sqrt [4]{a+i}}-\frac{3 i b \tanh ^{-1}\left (\frac{\sqrt [4]{a+i} \sqrt [4]{i a+i b x+1}}{\sqrt [4]{-a+i} \sqrt [4]{-i a-i b x+1}}\right )}{(-a+i)^{7/4} \sqrt [4]{a+i}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.118121, antiderivative size = 211, normalized size of antiderivative = 1., number of steps used = 6, number of rules used = 6, integrand size = 18, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.333, Rules used = {5095, 94, 93, 212, 208, 205} \[ -\frac{(-i a-i b x+1)^{3/4} \sqrt [4]{i a+i b x+1}}{(1+i a) x}-\frac{3 i b \tan ^{-1}\left (\frac{\sqrt [4]{a+i} \sqrt [4]{i a+i b x+1}}{\sqrt [4]{-a+i} \sqrt [4]{-i a-i b x+1}}\right )}{(-a+i)^{7/4} \sqrt [4]{a+i}}-\frac{3 i b \tanh ^{-1}\left (\frac{\sqrt [4]{a+i} \sqrt [4]{i a+i b x+1}}{\sqrt [4]{-a+i} \sqrt [4]{-i a-i b x+1}}\right )}{(-a+i)^{7/4} \sqrt [4]{a+i}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 5095
Rule 94
Rule 93
Rule 212
Rule 208
Rule 205
Rubi steps
\begin{align*} \int \frac{e^{-\frac{3}{2} i \tan ^{-1}(a+b x)}}{x^2} \, dx &=\int \frac{(1-i a-i b x)^{3/4}}{x^2 (1+i a+i b x)^{3/4}} \, dx\\ &=-\frac{(1-i a-i b x)^{3/4} \sqrt [4]{1+i a+i b x}}{(1+i a) x}+\frac{(3 b) \int \frac{1}{x \sqrt [4]{1-i a-i b x} (1+i a+i b x)^{3/4}} \, dx}{2 (i-a)}\\ &=-\frac{(1-i a-i b x)^{3/4} \sqrt [4]{1+i a+i b x}}{(1+i a) x}+\frac{(6 b) \operatorname{Subst}\left (\int \frac{1}{-1-i a-(-1+i a) x^4} \, dx,x,\frac{\sqrt [4]{1+i a+i b x}}{\sqrt [4]{1-i a-i b x}}\right )}{i-a}\\ &=-\frac{(1-i a-i b x)^{3/4} \sqrt [4]{1+i a+i b x}}{(1+i a) x}-\frac{(3 i b) \operatorname{Subst}\left (\int \frac{1}{\sqrt{i-a}-\sqrt{i+a} x^2} \, dx,x,\frac{\sqrt [4]{1+i a+i b x}}{\sqrt [4]{1-i a-i b x}}\right )}{(i-a)^{3/2}}-\frac{(3 i b) \operatorname{Subst}\left (\int \frac{1}{\sqrt{i-a}+\sqrt{i+a} x^2} \, dx,x,\frac{\sqrt [4]{1+i a+i b x}}{\sqrt [4]{1-i a-i b x}}\right )}{(i-a)^{3/2}}\\ &=-\frac{(1-i a-i b x)^{3/4} \sqrt [4]{1+i a+i b x}}{(1+i a) x}-\frac{3 i b \tan ^{-1}\left (\frac{\sqrt [4]{i+a} \sqrt [4]{1+i a+i b x}}{\sqrt [4]{i-a} \sqrt [4]{1-i a-i b x}}\right )}{(i-a)^{7/4} \sqrt [4]{i+a}}-\frac{3 i b \tanh ^{-1}\left (\frac{\sqrt [4]{i+a} \sqrt [4]{1+i a+i b x}}{\sqrt [4]{i-a} \sqrt [4]{1-i a-i b x}}\right )}{(i-a)^{7/4} \sqrt [4]{i+a}}\\ \end{align*}
Mathematica [C] time = 0.0258798, size = 107, normalized size = 0.51 \[ -\frac{(-i (a+b x+i))^{3/4} \left (-2 i b x \, _2F_1\left (\frac{3}{4},1;\frac{7}{4};\frac{a^2+b x a-i b x+1}{a^2+b x a+i b x+1}\right )+a^2+a b x+i b x+1\right )}{\left (a^2+1\right ) x (i a+i b x+1)^{3/4}} \]
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.232, size = 0, normalized size = 0. \begin{align*} \int{\frac{1}{{x}^{2}} \left ({(1+i \left ( bx+a \right ) ){\frac{1}{\sqrt{1+ \left ( bx+a \right ) ^{2}}}}} \right ) ^{-{\frac{3}{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{1}{x^{2} \left (\frac{i \, b x + i \, a + 1}{\sqrt{{\left (b x + a\right )}^{2} + 1}}\right )^{\frac{3}{2}}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 2.62222, size = 1667, normalized size = 7.9 \begin{align*} \text{result too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \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{1}{x^{2} \left (\frac{i \, b x + i \, a + 1}{\sqrt{{\left (b x + a\right )}^{2} + 1}}\right )^{\frac{3}{2}}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]