Integrand size = 15, antiderivative size = 171 \[ \int e^{i n \arctan (a x)} x^3 \, dx=\frac {x^2 (1-i a x)^{1-\frac {n}{2}} (1+i a x)^{\frac {2+n}{2}}}{4 a^2}-\frac {(1-i a x)^{1-\frac {n}{2}} (1+i a x)^{\frac {2+n}{2}} \left (6+n^2+2 i a n x\right )}{24 a^4}-\frac {2^{-2+\frac {n}{2}} n \left (8+n^2\right ) (1-i a x)^{1-\frac {n}{2}} \operatorname {Hypergeometric2F1}\left (1-\frac {n}{2},-\frac {n}{2},2-\frac {n}{2},\frac {1}{2} (1-i a x)\right )}{3 a^4 (2-n)} \]
1/4*x^2*(1-I*a*x)^(1-1/2*n)*(1+I*a*x)^(1+1/2*n)/a^2-1/24*(1-I*a*x)^(1-1/2* n)*(1+I*a*x)^(1+1/2*n)*(6+n^2+2*I*a*n*x)/a^4-1/3*2^(-2+1/2*n)*n*(n^2+8)*(1 -I*a*x)^(1-1/2*n)*hypergeom([-1/2*n, 1-1/2*n],[2-1/2*n],1/2-1/2*I*a*x)/a^4 /(2-n)
Time = 0.15 (sec) , antiderivative size = 210, normalized size of antiderivative = 1.23 \[ \int e^{i n \arctan (a x)} x^3 \, dx=\frac {(1-i a x)^{-n/2} (i+a x) \left (-i 2^{3+\frac {n}{2}} n \operatorname {Hypergeometric2F1}\left (-2-\frac {n}{2},1-\frac {n}{2},2-\frac {n}{2},\frac {1}{2} (1-i a x)\right )+i 2^{3+\frac {n}{2}} (-1+n) \operatorname {Hypergeometric2F1}\left (-1-\frac {n}{2},1-\frac {n}{2},2-\frac {n}{2},\frac {1}{2} (1-i a x)\right )+(-2+n) \left (a^2 x^2 (1+i a x)^{n/2} (-i+a x)-i 2^{1+\frac {n}{2}} \operatorname {Hypergeometric2F1}\left (1-\frac {n}{2},-\frac {n}{2},2-\frac {n}{2},\frac {1}{2} (1-i a x)\right )\right )\right )}{4 a^4 (-2+n)} \]
((I + a*x)*((-I)*2^(3 + n/2)*n*Hypergeometric2F1[-2 - n/2, 1 - n/2, 2 - n/ 2, (1 - I*a*x)/2] + I*2^(3 + n/2)*(-1 + n)*Hypergeometric2F1[-1 - n/2, 1 - n/2, 2 - n/2, (1 - I*a*x)/2] + (-2 + n)*(a^2*x^2*(1 + I*a*x)^(n/2)*(-I + a*x) - I*2^(1 + n/2)*Hypergeometric2F1[1 - n/2, -1/2*n, 2 - n/2, (1 - I*a* x)/2])))/(4*a^4*(-2 + n)*(1 - I*a*x)^(n/2))
Time = 0.30 (sec) , antiderivative size = 177, normalized size of antiderivative = 1.04, number of steps used = 5, number of rules used = 5, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.333, Rules used = {5585, 111, 25, 164, 79}
Below are the steps used by Rubi to obtain the solution. The rule number used for the transformation is given above next to the arrow. The rules definitions used are listed below.
\(\displaystyle \int x^3 e^{i n \arctan (a x)} \, dx\) |
\(\Big \downarrow \) 5585 |
\(\displaystyle \int x^3 (1-i a x)^{-n/2} (1+i a x)^{n/2}dx\) |
\(\Big \downarrow \) 111 |
\(\displaystyle \frac {\int -x (1-i a x)^{-n/2} (i a x+1)^{n/2} (i a n x+2)dx}{4 a^2}+\frac {x^2 (1+i a x)^{\frac {n+2}{2}} (1-i a x)^{1-\frac {n}{2}}}{4 a^2}\) |
\(\Big \downarrow \) 25 |
\(\displaystyle \frac {x^2 (1-i a x)^{1-\frac {n}{2}} (1+i a x)^{\frac {n+2}{2}}}{4 a^2}-\frac {\int x (1-i a x)^{-n/2} (i a x+1)^{n/2} (i a n x+2)dx}{4 a^2}\) |
\(\Big \downarrow \) 164 |
\(\displaystyle \frac {x^2 (1-i a x)^{1-\frac {n}{2}} (1+i a x)^{\frac {n+2}{2}}}{4 a^2}-\frac {\frac {(1-i a x)^{1-\frac {n}{2}} (1+i a x)^{\frac {n+2}{2}} \left (2 i a n x+n^2+6\right )}{6 a^2}-\frac {i n \left (n^2+8\right ) \int (1-i a x)^{-n/2} (i a x+1)^{n/2}dx}{6 a}}{4 a^2}\) |
\(\Big \downarrow \) 79 |
\(\displaystyle \frac {x^2 (1-i a x)^{1-\frac {n}{2}} (1+i a x)^{\frac {n+2}{2}}}{4 a^2}-\frac {\frac {2^{n/2} n \left (n^2+8\right ) (1-i a x)^{1-\frac {n}{2}} \operatorname {Hypergeometric2F1}\left (1-\frac {n}{2},-\frac {n}{2},2-\frac {n}{2},\frac {1}{2} (1-i a x)\right )}{3 a^2 (2-n)}+\frac {(1+i a x)^{\frac {n+2}{2}} \left (2 i a n x+n^2+6\right ) (1-i a x)^{1-\frac {n}{2}}}{6 a^2}}{4 a^2}\) |
(x^2*(1 - I*a*x)^(1 - n/2)*(1 + I*a*x)^((2 + n)/2))/(4*a^2) - (((1 - I*a*x )^(1 - n/2)*(1 + I*a*x)^((2 + n)/2)*(6 + n^2 + (2*I)*a*n*x))/(6*a^2) + (2^ (n/2)*n*(8 + n^2)*(1 - I*a*x)^(1 - n/2)*Hypergeometric2F1[1 - n/2, -1/2*n, 2 - n/2, (1 - I*a*x)/2])/(3*a^2*(2 - n)))/(4*a^2)
3.2.54.3.1 Defintions of rubi rules used
Int[((a_) + (b_.)*(x_))^(m_)*((c_) + (d_.)*(x_))^(n_), x_Symbol] :> Simp[(( a + b*x)^(m + 1)/(b*(m + 1)*(b/(b*c - a*d))^n))*Hypergeometric2F1[-n, m + 1 , m + 2, (-d)*((a + b*x)/(b*c - a*d))], x] /; FreeQ[{a, b, c, d, m, n}, x] && !IntegerQ[m] && !IntegerQ[n] && GtQ[b/(b*c - a*d), 0] && (RationalQ[m] || !(RationalQ[n] && GtQ[-d/(b*c - a*d), 0]))
Int[((a_.) + (b_.)*(x_))^(m_)*((c_.) + (d_.)*(x_))^(n_)*((e_.) + (f_.)*(x_) )^(p_), x_] :> Simp[b*(a + b*x)^(m - 1)*(c + d*x)^(n + 1)*((e + f*x)^(p + 1 )/(d*f*(m + n + p + 1))), x] + Simp[1/(d*f*(m + n + p + 1)) Int[(a + b*x) ^(m - 2)*(c + d*x)^n*(e + f*x)^p*Simp[a^2*d*f*(m + n + p + 1) - b*(b*c*e*(m - 1) + a*(d*e*(n + 1) + c*f*(p + 1))) + b*(a*d*f*(2*m + n + p) - b*(d*e*(m + n) + c*f*(m + p)))*x, x], x], x] /; FreeQ[{a, b, c, d, e, f, n, p}, x] & & GtQ[m, 1] && NeQ[m + n + p + 1, 0] && IntegerQ[m]
Int[((a_.) + (b_.)*(x_))^(m_.)*((c_.) + (d_.)*(x_))^(n_.)*((e_) + (f_.)*(x_ ))*((g_.) + (h_.)*(x_)), x_] :> Simp[(-(a*d*f*h*(n + 2) + b*c*f*h*(m + 2) - b*d*(f*g + e*h)*(m + n + 3) - b*d*f*h*(m + n + 2)*x))*(a + b*x)^(m + 1)*(( c + d*x)^(n + 1)/(b^2*d^2*(m + n + 2)*(m + n + 3))), x] + Simp[(a^2*d^2*f*h *(n + 1)*(n + 2) + a*b*d*(n + 1)*(2*c*f*h*(m + 1) - d*(f*g + e*h)*(m + n + 3)) + b^2*(c^2*f*h*(m + 1)*(m + 2) - c*d*(f*g + e*h)*(m + 1)*(m + n + 3) + d^2*e*g*(m + n + 2)*(m + n + 3)))/(b^2*d^2*(m + n + 2)*(m + n + 3)) Int[( a + b*x)^m*(c + d*x)^n, x], x] /; FreeQ[{a, b, c, d, e, f, g, h, m, n}, x] && NeQ[m + n + 2, 0] && NeQ[m + n + 3, 0]
Int[E^(ArcTan[(a_.)*(x_)]*(n_.))*(x_)^(m_.), x_Symbol] :> Int[x^m*((1 - I*a *x)^(I*(n/2))/(1 + I*a*x)^(I*(n/2))), x] /; FreeQ[{a, m, n}, x] && !Intege rQ[(I*n - 1)/2]
\[\int {\mathrm e}^{i n \arctan \left (a x \right )} x^{3}d x\]
\[ \int e^{i n \arctan (a x)} x^3 \, dx=\int { x^{3} e^{\left (i \, n \arctan \left (a x\right )\right )} \,d x } \]
\[ \int e^{i n \arctan (a x)} x^3 \, dx=\int x^{3} e^{i n \operatorname {atan}{\left (a x \right )}}\, dx \]
\[ \int e^{i n \arctan (a x)} x^3 \, dx=\int { x^{3} e^{\left (i \, n \arctan \left (a x\right )\right )} \,d x } \]
\[ \int e^{i n \arctan (a x)} x^3 \, dx=\int { x^{3} e^{\left (i \, n \arctan \left (a x\right )\right )} \,d x } \]
Timed out. \[ \int e^{i n \arctan (a x)} x^3 \, dx=\int x^3\,{\mathrm {e}}^{n\,\mathrm {atan}\left (a\,x\right )\,1{}\mathrm {i}} \,d x \]