Integrand size = 12, antiderivative size = 147 \[ \int e^{n \arctan (a+b x)} x \, dx=\frac {(1-i a-i b x)^{1+\frac {i n}{2}} (1+i a+i b x)^{1-\frac {i n}{2}}}{2 b^2}+\frac {2^{-\frac {i n}{2}} (2 a+n) (1-i a-i b x)^{1+\frac {i n}{2}} \operatorname {Hypergeometric2F1}\left (1+\frac {i n}{2},\frac {i n}{2},2+\frac {i n}{2},\frac {1}{2} (1-i a-i b x)\right )}{b^2 (2 i-n)} \] Output:
1/2*(1-I*a-I*b*x)^(1+1/2*I*n)*(1+I*a+I*b*x)^(1-1/2*I*n)/b^2+(2*a+n)*(1-I*a -I*b*x)^(1+1/2*I*n)*hypergeom([1/2*I*n, 1+1/2*I*n],[2+1/2*I*n],1/2-1/2*I*a -1/2*I*b*x)/(2^(1/2*I*n))/b^2/(2*I-n)
Time = 0.16 (sec) , antiderivative size = 128, normalized size of antiderivative = 0.87 \[ \int e^{n \arctan (a+b x)} x \, dx=\frac {i (-i (i+a+b x))^{1+\frac {i n}{2}} \left ((1+i a+i b x)^{-\frac {i n}{2}} (-i+a+b x)+\frac {2^{1-\frac {i n}{2}} (2 a+n) \operatorname {Hypergeometric2F1}\left (1+\frac {i n}{2},\frac {i n}{2},2+\frac {i n}{2},-\frac {1}{2} i (i+a+b x)\right )}{-2-i n}\right )}{2 b^2} \] Input:
Integrate[E^(n*ArcTan[a + b*x])*x,x]
Output:
((I/2)*((-I)*(I + a + b*x))^(1 + (I/2)*n)*((-I + a + b*x)/(1 + I*a + I*b*x )^((I/2)*n) + (2^(1 - (I/2)*n)*(2*a + n)*Hypergeometric2F1[1 + (I/2)*n, (I /2)*n, 2 + (I/2)*n, (-1/2*I)*(I + a + b*x)])/(-2 - I*n)))/b^2
Time = 0.45 (sec) , antiderivative size = 147, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.250, Rules used = {5618, 90, 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 e^{n \arctan (a+b x)} \, dx\) |
\(\Big \downarrow \) 5618 |
\(\displaystyle \int x (-i a-i b x+1)^{\frac {i n}{2}} (i a+i b x+1)^{-\frac {i n}{2}}dx\) |
\(\Big \downarrow \) 90 |
\(\displaystyle \frac {(-i a-i b x+1)^{1+\frac {i n}{2}} (i a+i b x+1)^{1-\frac {i n}{2}}}{2 b^2}-\frac {(2 a+n) \int (-i a-i b x+1)^{\frac {i n}{2}} (i a+i b x+1)^{-\frac {i n}{2}}dx}{2 b}\) |
\(\Big \downarrow \) 79 |
\(\displaystyle \frac {2^{-\frac {i n}{2}} (2 a+n) (-i a-i b x+1)^{1+\frac {i n}{2}} \operatorname {Hypergeometric2F1}\left (\frac {i n}{2}+1,\frac {i n}{2},\frac {i n}{2}+2,\frac {1}{2} (-i a-i b x+1)\right )}{b^2 (-n+2 i)}+\frac {(-i a-i b x+1)^{1+\frac {i n}{2}} (i a+i b x+1)^{1-\frac {i n}{2}}}{2 b^2}\) |
Input:
Int[E^(n*ArcTan[a + b*x])*x,x]
Output:
((1 - I*a - I*b*x)^(1 + (I/2)*n)*(1 + I*a + I*b*x)^(1 - (I/2)*n))/(2*b^2) + ((2*a + n)*(1 - I*a - I*b*x)^(1 + (I/2)*n)*Hypergeometric2F1[1 + (I/2)*n , (I/2)*n, 2 + (I/2)*n, (1 - I*a - I*b*x)/2])/(2^((I/2)*n)*b^2*(2*I - n))
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_))*((c_.) + (d_.)*(x_))^(n_.)*((e_.) + (f_.)*(x_))^(p _.), x_] :> Simp[b*(c + d*x)^(n + 1)*((e + f*x)^(p + 1)/(d*f*(n + p + 2))), x] + Simp[(a*d*f*(n + p + 2) - b*(d*e*(n + 1) + c*f*(p + 1)))/(d*f*(n + p + 2)) Int[(c + d*x)^n*(e + f*x)^p, x], x] /; FreeQ[{a, b, c, d, e, f, n, p}, x] && NeQ[n + p + 2, 0]
Int[E^(ArcTan[(c_.)*((a_) + (b_.)*(x_))]*(n_.))*((d_.) + (e_.)*(x_))^(m_.), x_Symbol] :> Int[(d + e*x)^m*((1 - I*a*c - I*b*c*x)^(I*(n/2))/(1 + I*a*c + I*b*c*x)^(I*(n/2))), x] /; FreeQ[{a, b, c, d, e, m, n}, x]
\[\int {\mathrm e}^{n \arctan \left (b x +a \right )} x d x\]
Input:
int(exp(n*arctan(b*x+a))*x,x)
Output:
int(exp(n*arctan(b*x+a))*x,x)
\[ \int e^{n \arctan (a+b x)} x \, dx=\int { x e^{\left (n \arctan \left (b x + a\right )\right )} \,d x } \] Input:
integrate(exp(n*arctan(b*x+a))*x,x, algorithm="fricas")
Output:
integral(x*e^(n*arctan(b*x + a)), x)
\[ \int e^{n \arctan (a+b x)} x \, dx=\int x e^{n \operatorname {atan}{\left (a + b x \right )}}\, dx \] Input:
integrate(exp(n*atan(b*x+a))*x,x)
Output:
Integral(x*exp(n*atan(a + b*x)), x)
\[ \int e^{n \arctan (a+b x)} x \, dx=\int { x e^{\left (n \arctan \left (b x + a\right )\right )} \,d x } \] Input:
integrate(exp(n*arctan(b*x+a))*x,x, algorithm="maxima")
Output:
integrate(x*e^(n*arctan(b*x + a)), x)
Timed out. \[ \int e^{n \arctan (a+b x)} x \, dx=\text {Timed out} \] Input:
integrate(exp(n*arctan(b*x+a))*x,x, algorithm="giac")
Output:
Timed out
Timed out. \[ \int e^{n \arctan (a+b x)} x \, dx=\int x\,{\mathrm {e}}^{n\,\mathrm {atan}\left (a+b\,x\right )} \,d x \] Input:
int(x*exp(n*atan(a + b*x)),x)
Output:
int(x*exp(n*atan(a + b*x)), x)
\[ \int e^{n \arctan (a+b x)} x \, dx=\int e^{\mathit {atan} \left (b x +a \right ) n} x d x \] Input:
int(exp(n*atan(b*x+a))*x,x)
Output:
int(e**(atan(a + b*x)*n)*x,x)