Optimal. Leaf size=210 \[ -\frac{\sqrt [4]{1-i (a+b x)} (-a-b x+i)}{(-a+i) x \sqrt [4]{1+i (a+b x)}}-\frac{i b \tan ^{-1}\left (\frac{\sqrt [4]{-a+i} \sqrt [4]{1-i (a+b x)}}{\sqrt [4]{a+i} \sqrt [4]{1+i (a+b x)}}\right )}{(-a+i)^{5/4} (a+i)^{3/4}}-\frac{i b \tanh ^{-1}\left (\frac{\sqrt [4]{-a+i} \sqrt [4]{1-i (a+b x)}}{\sqrt [4]{a+i} \sqrt [4]{1+i (a+b x)}}\right )}{(-a+i)^{5/4} (a+i)^{3/4}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.101343, antiderivative size = 210, normalized size of antiderivative = 1., number of steps used = 5, number of rules used = 5, integrand size = 18, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.278, Rules used = {5094, 288, 212, 208, 205} \[ -\frac{\sqrt [4]{1-i (a+b x)} (-a-b x+i)}{(-a+i) x \sqrt [4]{1+i (a+b x)}}-\frac{i b \tan ^{-1}\left (\frac{\sqrt [4]{-a+i} \sqrt [4]{1-i (a+b x)}}{\sqrt [4]{a+i} \sqrt [4]{1+i (a+b x)}}\right )}{(-a+i)^{5/4} (a+i)^{3/4}}-\frac{i b \tanh ^{-1}\left (\frac{\sqrt [4]{-a+i} \sqrt [4]{1-i (a+b x)}}{\sqrt [4]{a+i} \sqrt [4]{1+i (a+b x)}}\right )}{(-a+i)^{5/4} (a+i)^{3/4}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 5094
Rule 288
Rule 212
Rule 208
Rule 205
Rubi steps
\begin{align*} \int \frac{e^{-\frac{1}{2} i \tan ^{-1}(a+b x)}}{x^2} \, dx &=-\left ((8 i b) \operatorname{Subst}\left (\int \frac{x^4}{\left (1-i a-(1+i a) x^4\right )^2} \, dx,x,\frac{\sqrt [4]{1-i (a+b x)}}{\sqrt [4]{1+i (a+b x)}}\right )\right )\\ &=-\frac{(i-a-b x) \sqrt [4]{1-i (a+b x)}}{(i-a) x \sqrt [4]{1+i (a+b x)}}-\frac{(2 b) \operatorname{Subst}\left (\int \frac{1}{1-i a+(-1-i a) x^4} \, dx,x,\frac{\sqrt [4]{1-i (a+b x)}}{\sqrt [4]{1+i (a+b x)}}\right )}{i-a}\\ &=-\frac{(i-a-b x) \sqrt [4]{1-i (a+b x)}}{(i-a) x \sqrt [4]{1+i (a+b x)}}-\frac{b \operatorname{Subst}\left (\int \frac{1}{\sqrt{i+a}-\sqrt{i-a} x^2} \, dx,x,\frac{\sqrt [4]{1-i (a+b x)}}{\sqrt [4]{1+i (a+b x)}}\right )}{(1+i a) \sqrt{i+a}}-\frac{b \operatorname{Subst}\left (\int \frac{1}{\sqrt{i+a}+\sqrt{i-a} x^2} \, dx,x,\frac{\sqrt [4]{1-i (a+b x)}}{\sqrt [4]{1+i (a+b x)}}\right )}{(1+i a) \sqrt{i+a}}\\ &=-\frac{(i-a-b x) \sqrt [4]{1-i (a+b x)}}{(i-a) x \sqrt [4]{1+i (a+b x)}}-\frac{i b \tan ^{-1}\left (\frac{\sqrt [4]{i-a} \sqrt [4]{1-i (a+b x)}}{\sqrt [4]{i+a} \sqrt [4]{1+i (a+b x)}}\right )}{(i-a)^{5/4} (i+a)^{3/4}}-\frac{i b \tanh ^{-1}\left (\frac{\sqrt [4]{i-a} \sqrt [4]{1-i (a+b x)}}{\sqrt [4]{i+a} \sqrt [4]{1+i (a+b x)}}\right )}{(i-a)^{5/4} (i+a)^{3/4}}\\ \end{align*}
Mathematica [C] time = 0.0259856, size = 107, normalized size = 0.51 \[ -\frac{\sqrt [4]{-i (a+b x+i)} \left (-2 i b x \, _2F_1\left (\frac{1}{4},1;\frac{5}{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 \sqrt [4]{i a+i b x+1}} \]
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.225, size = 0, normalized size = 0. \begin{align*} \int{\frac{1}{{x}^{2}}{\frac{1}{\sqrt{{(1+i \left ( bx+a \right ) ){\frac{1}{\sqrt{1+ \left ( bx+a \right ) ^{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} \sqrt{\frac{i \, b x + i \, a + 1}{\sqrt{{\left (b x + a\right )}^{2} + 1}}}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 2.69079, size = 1875, normalized size = 8.93 \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} \sqrt{\frac{i \, b x + i \, a + 1}{\sqrt{{\left (b x + a\right )}^{2} + 1}}}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]