Integrand size = 14, antiderivative size = 295 \[ \int e^{-\frac {1}{2} i \arctan (a x)} x \, dx=\frac {\sqrt [4]{1-i a x} (1+i a x)^{3/4}}{4 a^2}+\frac {(1-i a x)^{5/4} (1+i a x)^{3/4}}{2 a^2}+\frac {\arctan \left (1-\frac {\sqrt {2} \sqrt [4]{1-i a x}}{\sqrt [4]{1+i a x}}\right )}{4 \sqrt {2} a^2}-\frac {\arctan \left (1+\frac {\sqrt {2} \sqrt [4]{1-i a x}}{\sqrt [4]{1+i a x}}\right )}{4 \sqrt {2} a^2}+\frac {\log \left (1+\frac {\sqrt {1-i a x}}{\sqrt {1+i a x}}-\frac {\sqrt {2} \sqrt [4]{1-i a x}}{\sqrt [4]{1+i a x}}\right )}{8 \sqrt {2} a^2}-\frac {\log \left (1+\frac {\sqrt {1-i a x}}{\sqrt {1+i a x}}+\frac {\sqrt {2} \sqrt [4]{1-i a x}}{\sqrt [4]{1+i a x}}\right )}{8 \sqrt {2} a^2} \]
[Out]
Time = 0.13 (sec) , antiderivative size = 295, normalized size of antiderivative = 1.00, number of steps used = 14, number of rules used = 11, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.786, Rules used = {5170, 81, 52, 65, 246, 217, 1179, 642, 1176, 631, 210} \[ \int e^{-\frac {1}{2} i \arctan (a x)} x \, dx=\frac {\arctan \left (1-\frac {\sqrt {2} \sqrt [4]{1-i a x}}{\sqrt [4]{1+i a x}}\right )}{4 \sqrt {2} a^2}-\frac {\arctan \left (1+\frac {\sqrt {2} \sqrt [4]{1-i a x}}{\sqrt [4]{1+i a x}}\right )}{4 \sqrt {2} a^2}+\frac {(1+i a x)^{3/4} (1-i a x)^{5/4}}{2 a^2}+\frac {(1+i a x)^{3/4} \sqrt [4]{1-i a x}}{4 a^2}+\frac {\log \left (\frac {\sqrt {1-i a x}}{\sqrt {1+i a x}}-\frac {\sqrt {2} \sqrt [4]{1-i a x}}{\sqrt [4]{1+i a x}}+1\right )}{8 \sqrt {2} a^2}-\frac {\log \left (\frac {\sqrt {1-i a x}}{\sqrt {1+i a x}}+\frac {\sqrt {2} \sqrt [4]{1-i a x}}{\sqrt [4]{1+i a x}}+1\right )}{8 \sqrt {2} a^2} \]
[In]
[Out]
Rule 52
Rule 65
Rule 81
Rule 210
Rule 217
Rule 246
Rule 631
Rule 642
Rule 1176
Rule 1179
Rule 5170
Rubi steps \begin{align*} \text {integral}& = \int \frac {x \sqrt [4]{1-i a x}}{\sqrt [4]{1+i a x}} \, dx \\ & = \frac {(1-i a x)^{5/4} (1+i a x)^{3/4}}{2 a^2}+\frac {i \int \frac {\sqrt [4]{1-i a x}}{\sqrt [4]{1+i a x}} \, dx}{4 a} \\ & = \frac {\sqrt [4]{1-i a x} (1+i a x)^{3/4}}{4 a^2}+\frac {(1-i a x)^{5/4} (1+i a x)^{3/4}}{2 a^2}+\frac {i \int \frac {1}{(1-i a x)^{3/4} \sqrt [4]{1+i a x}} \, dx}{8 a} \\ & = \frac {\sqrt [4]{1-i a x} (1+i a x)^{3/4}}{4 a^2}+\frac {(1-i a x)^{5/4} (1+i a x)^{3/4}}{2 a^2}-\frac {\text {Subst}\left (\int \frac {1}{\sqrt [4]{2-x^4}} \, dx,x,\sqrt [4]{1-i a x}\right )}{2 a^2} \\ & = \frac {\sqrt [4]{1-i a x} (1+i a x)^{3/4}}{4 a^2}+\frac {(1-i a x)^{5/4} (1+i a x)^{3/4}}{2 a^2}-\frac {\text {Subst}\left (\int \frac {1}{1+x^4} \, dx,x,\frac {\sqrt [4]{1-i a x}}{\sqrt [4]{1+i a x}}\right )}{2 a^2} \\ & = \frac {\sqrt [4]{1-i a x} (1+i a x)^{3/4}}{4 a^2}+\frac {(1-i a x)^{5/4} (1+i a x)^{3/4}}{2 a^2}-\frac {\text {Subst}\left (\int \frac {1-x^2}{1+x^4} \, dx,x,\frac {\sqrt [4]{1-i a x}}{\sqrt [4]{1+i a x}}\right )}{4 a^2}-\frac {\text {Subst}\left (\int \frac {1+x^2}{1+x^4} \, dx,x,\frac {\sqrt [4]{1-i a x}}{\sqrt [4]{1+i a x}}\right )}{4 a^2} \\ & = \frac {\sqrt [4]{1-i a x} (1+i a x)^{3/4}}{4 a^2}+\frac {(1-i a x)^{5/4} (1+i a x)^{3/4}}{2 a^2}-\frac {\text {Subst}\left (\int \frac {1}{1-\sqrt {2} x+x^2} \, dx,x,\frac {\sqrt [4]{1-i a x}}{\sqrt [4]{1+i a x}}\right )}{8 a^2}-\frac {\text {Subst}\left (\int \frac {1}{1+\sqrt {2} x+x^2} \, dx,x,\frac {\sqrt [4]{1-i a x}}{\sqrt [4]{1+i a x}}\right )}{8 a^2}+\frac {\text {Subst}\left (\int \frac {\sqrt {2}+2 x}{-1-\sqrt {2} x-x^2} \, dx,x,\frac {\sqrt [4]{1-i a x}}{\sqrt [4]{1+i a x}}\right )}{8 \sqrt {2} a^2}+\frac {\text {Subst}\left (\int \frac {\sqrt {2}-2 x}{-1+\sqrt {2} x-x^2} \, dx,x,\frac {\sqrt [4]{1-i a x}}{\sqrt [4]{1+i a x}}\right )}{8 \sqrt {2} a^2} \\ & = \frac {\sqrt [4]{1-i a x} (1+i a x)^{3/4}}{4 a^2}+\frac {(1-i a x)^{5/4} (1+i a x)^{3/4}}{2 a^2}+\frac {\log \left (1+\frac {\sqrt {1-i a x}}{\sqrt {1+i a x}}-\frac {\sqrt {2} \sqrt [4]{1-i a x}}{\sqrt [4]{1+i a x}}\right )}{8 \sqrt {2} a^2}-\frac {\log \left (1+\frac {\sqrt {1-i a x}}{\sqrt {1+i a x}}+\frac {\sqrt {2} \sqrt [4]{1-i a x}}{\sqrt [4]{1+i a x}}\right )}{8 \sqrt {2} a^2}-\frac {\text {Subst}\left (\int \frac {1}{-1-x^2} \, dx,x,1-\frac {\sqrt {2} \sqrt [4]{1-i a x}}{\sqrt [4]{1+i a x}}\right )}{4 \sqrt {2} a^2}+\frac {\text {Subst}\left (\int \frac {1}{-1-x^2} \, dx,x,1+\frac {\sqrt {2} \sqrt [4]{1-i a x}}{\sqrt [4]{1+i a x}}\right )}{4 \sqrt {2} a^2} \\ & = \frac {\sqrt [4]{1-i a x} (1+i a x)^{3/4}}{4 a^2}+\frac {(1-i a x)^{5/4} (1+i a x)^{3/4}}{2 a^2}+\frac {\arctan \left (1-\frac {\sqrt {2} \sqrt [4]{1-i a x}}{\sqrt [4]{1+i a x}}\right )}{4 \sqrt {2} a^2}-\frac {\arctan \left (1+\frac {\sqrt {2} \sqrt [4]{1-i a x}}{\sqrt [4]{1+i a x}}\right )}{4 \sqrt {2} a^2}+\frac {\log \left (1+\frac {\sqrt {1-i a x}}{\sqrt {1+i a x}}-\frac {\sqrt {2} \sqrt [4]{1-i a x}}{\sqrt [4]{1+i a x}}\right )}{8 \sqrt {2} a^2}-\frac {\log \left (1+\frac {\sqrt {1-i a x}}{\sqrt {1+i a x}}+\frac {\sqrt {2} \sqrt [4]{1-i a x}}{\sqrt [4]{1+i a x}}\right )}{8 \sqrt {2} a^2} \\ \end{align*}
Result contains higher order function than in optimal. Order 5 vs. order 3 in optimal.
Time = 0.01 (sec) , antiderivative size = 63, normalized size of antiderivative = 0.21 \[ \int e^{-\frac {1}{2} i \arctan (a x)} x \, dx=\frac {(1-i a x)^{5/4} \left (5 (1+i a x)^{3/4}-2^{3/4} \operatorname {Hypergeometric2F1}\left (\frac {1}{4},\frac {5}{4},\frac {9}{4},\frac {1}{2} (1-i a x)\right )\right )}{10 a^2} \]
[In]
[Out]
\[\int \frac {x}{\sqrt {\frac {i a x +1}{\sqrt {a^{2} x^{2}+1}}}}d x\]
[In]
[Out]
none
Time = 0.27 (sec) , antiderivative size = 238, normalized size of antiderivative = 0.81 \[ \int e^{-\frac {1}{2} i \arctan (a x)} x \, dx=\frac {2 \, a^{2} \sqrt {\frac {i}{16 \, a^{4}}} \log \left (4 i \, a^{2} \sqrt {\frac {i}{16 \, a^{4}}} + \sqrt {\frac {i \, \sqrt {a^{2} x^{2} + 1}}{a x + i}}\right ) - 2 \, a^{2} \sqrt {\frac {i}{16 \, a^{4}}} \log \left (-4 i \, a^{2} \sqrt {\frac {i}{16 \, a^{4}}} + \sqrt {\frac {i \, \sqrt {a^{2} x^{2} + 1}}{a x + i}}\right ) - 2 \, a^{2} \sqrt {-\frac {i}{16 \, a^{4}}} \log \left (4 i \, a^{2} \sqrt {-\frac {i}{16 \, a^{4}}} + \sqrt {\frac {i \, \sqrt {a^{2} x^{2} + 1}}{a x + i}}\right ) + 2 \, a^{2} \sqrt {-\frac {i}{16 \, a^{4}}} \log \left (-4 i \, a^{2} \sqrt {-\frac {i}{16 \, a^{4}}} + \sqrt {\frac {i \, \sqrt {a^{2} x^{2} + 1}}{a x + i}}\right ) + \sqrt {a^{2} x^{2} + 1} {\left (-2 i \, a x + 3\right )} \sqrt {\frac {i \, \sqrt {a^{2} x^{2} + 1}}{a x + i}}}{4 \, a^{2}} \]
[In]
[Out]
\[ \int e^{-\frac {1}{2} i \arctan (a x)} x \, dx=\int \frac {x}{\sqrt {\frac {i \left (a x - i\right )}{\sqrt {a^{2} x^{2} + 1}}}}\, dx \]
[In]
[Out]
\[ \int e^{-\frac {1}{2} i \arctan (a x)} x \, dx=\int { \frac {x}{\sqrt {\frac {i \, a x + 1}{\sqrt {a^{2} x^{2} + 1}}}} \,d x } \]
[In]
[Out]
Exception generated. \[ \int e^{-\frac {1}{2} i \arctan (a x)} x \, dx=\text {Exception raised: TypeError} \]
[In]
[Out]
Timed out. \[ \int e^{-\frac {1}{2} i \arctan (a x)} x \, dx=\int \frac {x}{\sqrt {\frac {1+a\,x\,1{}\mathrm {i}}{\sqrt {a^2\,x^2+1}}}} \,d x \]
[In]
[Out]