Integrand size = 12, antiderivative size = 92 \[ \int e^{3 i \arctan (a x)} x \, dx=-\frac {9 \sqrt {1+a^2 x^2}}{2 a^2}-\frac {3 \left (1+a^2 x^2\right )^{3/2}}{2 a^2 (1-i a x)}-\frac {\left (1+a^2 x^2\right )^{5/2}}{a^2 (1-i a x)^3}+\frac {9 i \text {arcsinh}(a x)}{2 a^2} \]
[Out]
Time = 0.23 (sec) , antiderivative size = 92, normalized size of antiderivative = 1.00, number of steps used = 9, number of rules used = 7, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.583, Rules used = {5168, 1647, 1607, 12, 807, 679, 221} \[ \int e^{3 i \arctan (a x)} x \, dx=\frac {9 i \text {arcsinh}(a x)}{2 a^2}-\frac {\left (a^2 x^2+1\right )^{5/2}}{a^2 (1-i a x)^3}-\frac {3 \left (a^2 x^2+1\right )^{3/2}}{2 a^2 (1-i a x)}-\frac {9 \sqrt {a^2 x^2+1}}{2 a^2} \]
[In]
[Out]
Rule 12
Rule 221
Rule 679
Rule 807
Rule 1607
Rule 1647
Rule 5168
Rubi steps \begin{align*} \text {integral}& = \int \frac {x (1+i a x)^2}{(1-i a x) \sqrt {1+a^2 x^2}} \, dx \\ & = -\left ((i a) \int \frac {\left (\frac {i x}{a}-x^2\right ) \sqrt {1+a^2 x^2}}{(1-i a x)^2} \, dx\right ) \\ & = -\left ((i a) \int \frac {\left (\frac {i}{a}-x\right ) x \sqrt {1+a^2 x^2}}{(1-i a x)^2} \, dx\right ) \\ & = a^2 \int \frac {x \left (1+a^2 x^2\right )^{3/2}}{a^2 (1-i a x)^3} \, dx \\ & = \int \frac {x \left (1+a^2 x^2\right )^{3/2}}{(1-i a x)^3} \, dx \\ & = -\frac {\left (1+a^2 x^2\right )^{5/2}}{a^2 (1-i a x)^3}+\frac {(3 i) \int \frac {\left (1+a^2 x^2\right )^{3/2}}{(1-i a x)^2} \, dx}{a} \\ & = -\frac {3 \left (1+a^2 x^2\right )^{3/2}}{2 a^2 (1-i a x)}-\frac {\left (1+a^2 x^2\right )^{5/2}}{a^2 (1-i a x)^3}+\frac {(9 i) \int \frac {\sqrt {1+a^2 x^2}}{1-i a x} \, dx}{2 a} \\ & = -\frac {9 \sqrt {1+a^2 x^2}}{2 a^2}-\frac {3 \left (1+a^2 x^2\right )^{3/2}}{2 a^2 (1-i a x)}-\frac {\left (1+a^2 x^2\right )^{5/2}}{a^2 (1-i a x)^3}+\frac {(9 i) \int \frac {1}{\sqrt {1+a^2 x^2}} \, dx}{2 a} \\ & = -\frac {9 \sqrt {1+a^2 x^2}}{2 a^2}-\frac {3 \left (1+a^2 x^2\right )^{3/2}}{2 a^2 (1-i a x)}-\frac {\left (1+a^2 x^2\right )^{5/2}}{a^2 (1-i a x)^3}+\frac {9 i \text {arcsinh}(a x)}{2 a^2} \\ \end{align*}
Time = 0.04 (sec) , antiderivative size = 54, normalized size of antiderivative = 0.59 \[ \int e^{3 i \arctan (a x)} x \, dx=-\frac {i \left (\frac {\sqrt {1+a^2 x^2} \left (14-5 i a x+a^2 x^2\right )}{i+a x}-9 \text {arcsinh}(a x)\right )}{2 a^2} \]
[In]
[Out]
Time = 0.34 (sec) , antiderivative size = 106, normalized size of antiderivative = 1.15
method | result | size |
risch | \(-\frac {i \left (a x -6 i\right ) \sqrt {a^{2} x^{2}+1}}{2 a^{2}}+\frac {i \left (\frac {9 \ln \left (\frac {a^{2} x}{\sqrt {a^{2}}}+\sqrt {a^{2} x^{2}+1}\right )}{\sqrt {a^{2}}}-\frac {8 \sqrt {\left (x +\frac {i}{a}\right )^{2} a^{2}-2 i a \left (x +\frac {i}{a}\right )}}{a^{2} \left (x +\frac {i}{a}\right )}\right )}{2 a}\) | \(106\) |
meijerg | \(\frac {\sqrt {\pi }-\frac {\sqrt {\pi }}{\sqrt {a^{2} x^{2}+1}}}{a^{2} \sqrt {\pi }}+\frac {3 i \left (-\frac {\sqrt {\pi }\, x \left (a^{2}\right )^{\frac {3}{2}}}{a^{2} \sqrt {a^{2} x^{2}+1}}+\frac {\sqrt {\pi }\, \left (a^{2}\right )^{\frac {3}{2}} \operatorname {arcsinh}\left (a x \right )}{a^{3}}\right )}{a \sqrt {\pi }\, \sqrt {a^{2}}}-\frac {3 \left (-2 \sqrt {\pi }+\frac {\sqrt {\pi }\, \left (4 a^{2} x^{2}+8\right )}{4 \sqrt {a^{2} x^{2}+1}}\right )}{a^{2} \sqrt {\pi }}-\frac {i \left (\frac {\sqrt {\pi }\, x \left (a^{2}\right )^{\frac {5}{2}} \left (5 a^{2} x^{2}+15\right )}{10 a^{4} \sqrt {a^{2} x^{2}+1}}-\frac {3 \sqrt {\pi }\, \left (a^{2}\right )^{\frac {5}{2}} \operatorname {arcsinh}\left (a x \right )}{2 a^{5}}\right )}{a \sqrt {\pi }\, \sqrt {a^{2}}}\) | \(192\) |
default | \(-\frac {1}{a^{2} \sqrt {a^{2} x^{2}+1}}-3 a^{2} \left (\frac {x^{2}}{a^{2} \sqrt {a^{2} x^{2}+1}}+\frac {2}{a^{4} \sqrt {a^{2} x^{2}+1}}\right )-i a^{3} \left (\frac {x^{3}}{2 a^{2} \sqrt {a^{2} x^{2}+1}}-\frac {3 \left (-\frac {x}{a^{2} \sqrt {a^{2} x^{2}+1}}+\frac {\ln \left (\frac {a^{2} x}{\sqrt {a^{2}}}+\sqrt {a^{2} x^{2}+1}\right )}{a^{2} \sqrt {a^{2}}}\right )}{2 a^{2}}\right )+3 i a \left (-\frac {x}{a^{2} \sqrt {a^{2} x^{2}+1}}+\frac {\ln \left (\frac {a^{2} x}{\sqrt {a^{2}}}+\sqrt {a^{2} x^{2}+1}\right )}{a^{2} \sqrt {a^{2}}}\right )\) | \(193\) |
[In]
[Out]
none
Time = 0.26 (sec) , antiderivative size = 72, normalized size of antiderivative = 0.78 \[ \int e^{3 i \arctan (a x)} x \, dx=\frac {-8 i \, a x - 9 \, {\left (i \, a x - 1\right )} \log \left (-a x + \sqrt {a^{2} x^{2} + 1}\right ) + \sqrt {a^{2} x^{2} + 1} {\left (-i \, a^{2} x^{2} - 5 \, a x - 14 i\right )} + 8}{2 \, {\left (a^{3} x + i \, a^{2}\right )}} \]
[In]
[Out]
\[ \int e^{3 i \arctan (a x)} x \, dx=- i \left (\int \frac {i x}{a^{2} x^{2} \sqrt {a^{2} x^{2} + 1} + \sqrt {a^{2} x^{2} + 1}}\, dx + \int \left (- \frac {3 a x^{2}}{a^{2} x^{2} \sqrt {a^{2} x^{2} + 1} + \sqrt {a^{2} x^{2} + 1}}\right )\, dx + \int \frac {a^{3} x^{4}}{a^{2} x^{2} \sqrt {a^{2} x^{2} + 1} + \sqrt {a^{2} x^{2} + 1}}\, dx + \int \left (- \frac {3 i a^{2} x^{3}}{a^{2} x^{2} \sqrt {a^{2} x^{2} + 1} + \sqrt {a^{2} x^{2} + 1}}\right )\, dx\right ) \]
[In]
[Out]
none
Time = 0.21 (sec) , antiderivative size = 76, normalized size of antiderivative = 0.83 \[ \int e^{3 i \arctan (a x)} x \, dx=-\frac {i \, a x^{3}}{2 \, \sqrt {a^{2} x^{2} + 1}} - \frac {3 \, x^{2}}{\sqrt {a^{2} x^{2} + 1}} - \frac {9 i \, x}{2 \, \sqrt {a^{2} x^{2} + 1} a} + \frac {9 i \, \operatorname {arsinh}\left (a x\right )}{2 \, a^{2}} - \frac {7}{\sqrt {a^{2} x^{2} + 1} a^{2}} \]
[In]
[Out]
\[ \int e^{3 i \arctan (a x)} x \, dx=\int { \frac {{\left (i \, a x + 1\right )}^{3} x}{{\left (a^{2} x^{2} + 1\right )}^{\frac {3}{2}}} \,d x } \]
[In]
[Out]
Time = 0.50 (sec) , antiderivative size = 104, normalized size of antiderivative = 1.13 \[ \int e^{3 i \arctan (a x)} x \, dx=-\frac {\sqrt {a^2\,x^2+1}\,\left (\frac {3\,\sqrt {a^2}}{a^2}+\frac {x\,\sqrt {a^2}\,1{}\mathrm {i}}{2\,a}\right )}{\sqrt {a^2}}+\frac {\mathrm {asinh}\left (x\,\sqrt {a^2}\right )\,9{}\mathrm {i}}{2\,a\,\sqrt {a^2}}-\frac {\sqrt {a^2\,x^2+1}\,4{}\mathrm {i}}{a\,\left (x\,\sqrt {a^2}+\frac {\sqrt {a^2}\,1{}\mathrm {i}}{a}\right )\,\sqrt {a^2}} \]
[In]
[Out]