\(\int e^{-\arctan (a x)} (c+a^2 c x^2)^2 \, dx\) [288]

Optimal result
Mathematica [A] (verified)
Rubi [A] (verified)
Maple [F]
Fricas [F]
Sympy [F]
Maxima [F]
Giac [F]
Mupad [F(-1)]
Reduce [F]

Optimal result

Integrand size = 21, antiderivative size = 63 \[ \int e^{-\arctan (a x)} \left (c+a^2 c x^2\right )^2 \, dx=-\frac {\left (\frac {1}{37}-\frac {6 i}{37}\right ) 2^{3+\frac {i}{2}} c^2 (1-i a x)^{3-\frac {i}{2}} \operatorname {Hypergeometric2F1}\left (-2-\frac {i}{2},3-\frac {i}{2},4-\frac {i}{2},\frac {1}{2} (1-i a x)\right )}{a} \] Output:

(-1/37+6/37*I)*2^(3+1/2*I)*c^2*(1-I*a*x)^(3-1/2*I)*hypergeom([-2-1/2*I, 3- 
1/2*I],[4-1/2*I],1/2-1/2*I*a*x)/a
 

Mathematica [A] (verified)

Time = 0.02 (sec) , antiderivative size = 63, normalized size of antiderivative = 1.00 \[ \int e^{-\arctan (a x)} \left (c+a^2 c x^2\right )^2 \, dx=-\frac {\left (\frac {1}{37}-\frac {6 i}{37}\right ) 2^{3+\frac {i}{2}} c^2 (1-i a x)^{3-\frac {i}{2}} \operatorname {Hypergeometric2F1}\left (-2-\frac {i}{2},3-\frac {i}{2},4-\frac {i}{2},\frac {1}{2} (1-i a x)\right )}{a} \] Input:

Integrate[(c + a^2*c*x^2)^2/E^ArcTan[a*x],x]
 

Output:

((-1/37 + (6*I)/37)*2^(3 + I/2)*c^2*(1 - I*a*x)^(3 - I/2)*Hypergeometric2F 
1[-2 - I/2, 3 - I/2, 4 - I/2, (1 - I*a*x)/2])/a
 

Rubi [A] (verified)

Time = 0.36 (sec) , antiderivative size = 63, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.095, Rules used = {5596, 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 e^{-\arctan (a x)} \left (a^2 c x^2+c\right )^2 \, dx\)

\(\Big \downarrow \) 5596

\(\displaystyle c^2 \int (1-i a x)^{2-\frac {i}{2}} (i a x+1)^{2+\frac {i}{2}}dx\)

\(\Big \downarrow \) 79

\(\displaystyle -\frac {\left (\frac {1}{37}-\frac {6 i}{37}\right ) 2^{3+\frac {i}{2}} c^2 (1-i a x)^{3-\frac {i}{2}} \operatorname {Hypergeometric2F1}\left (-2-\frac {i}{2},3-\frac {i}{2},4-\frac {i}{2},\frac {1}{2} (1-i a x)\right )}{a}\)

Input:

Int[(c + a^2*c*x^2)^2/E^ArcTan[a*x],x]
 

Output:

((-1/37 + (6*I)/37)*2^(3 + I/2)*c^2*(1 - I*a*x)^(3 - I/2)*Hypergeometric2F 
1[-2 - I/2, 3 - I/2, 4 - I/2, (1 - I*a*x)/2])/a
 

Defintions of rubi rules used

rule 79
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]))
 

rule 5596
Int[E^(ArcTan[(a_.)*(x_)]*(n_.))*((c_) + (d_.)*(x_)^2)^(p_.), x_Symbol] :> 
Simp[c^p   Int[(1 - I*a*x)^(p + I*(n/2))*(1 + I*a*x)^(p - I*(n/2)), x], x] 
/; FreeQ[{a, c, d, n, p}, x] && EqQ[d, a^2*c] && (IntegerQ[p] || GtQ[c, 0])
 
Maple [F]

\[\int \left (a^{2} c \,x^{2}+c \right )^{2} {\mathrm e}^{-\arctan \left (a x \right )}d x\]

Input:

int((a^2*c*x^2+c)^2/exp(arctan(a*x)),x)
 

Output:

int((a^2*c*x^2+c)^2/exp(arctan(a*x)),x)
 

Fricas [F]

\[ \int e^{-\arctan (a x)} \left (c+a^2 c x^2\right )^2 \, dx=\int { {\left (a^{2} c x^{2} + c\right )}^{2} e^{\left (-\arctan \left (a x\right )\right )} \,d x } \] Input:

integrate((a^2*c*x^2+c)^2/exp(arctan(a*x)),x, algorithm="fricas")
 

Output:

integral((a^4*c^2*x^4 + 2*a^2*c^2*x^2 + c^2)*e^(-arctan(a*x)), x)
 

Sympy [F]

\[ \int e^{-\arctan (a x)} \left (c+a^2 c x^2\right )^2 \, dx=c^{2} \left (\int 2 a^{2} x^{2} e^{- \operatorname {atan}{\left (a x \right )}}\, dx + \int a^{4} x^{4} e^{- \operatorname {atan}{\left (a x \right )}}\, dx + \int e^{- \operatorname {atan}{\left (a x \right )}}\, dx\right ) \] Input:

integrate((a**2*c*x**2+c)**2/exp(atan(a*x)),x)
 

Output:

c**2*(Integral(2*a**2*x**2*exp(-atan(a*x)), x) + Integral(a**4*x**4*exp(-a 
tan(a*x)), x) + Integral(exp(-atan(a*x)), x))
 

Maxima [F]

\[ \int e^{-\arctan (a x)} \left (c+a^2 c x^2\right )^2 \, dx=\int { {\left (a^{2} c x^{2} + c\right )}^{2} e^{\left (-\arctan \left (a x\right )\right )} \,d x } \] Input:

integrate((a^2*c*x^2+c)^2/exp(arctan(a*x)),x, algorithm="maxima")
 

Output:

integrate((a^2*c*x^2 + c)^2*e^(-arctan(a*x)), x)
 

Giac [F]

\[ \int e^{-\arctan (a x)} \left (c+a^2 c x^2\right )^2 \, dx=\int { {\left (a^{2} c x^{2} + c\right )}^{2} e^{\left (-\arctan \left (a x\right )\right )} \,d x } \] Input:

integrate((a^2*c*x^2+c)^2/exp(arctan(a*x)),x, algorithm="giac")
 

Output:

integrate((a^2*c*x^2 + c)^2*e^(-arctan(a*x)), x)
 

Mupad [F(-1)]

Timed out. \[ \int e^{-\arctan (a x)} \left (c+a^2 c x^2\right )^2 \, dx=\int {\mathrm {e}}^{-\mathrm {atan}\left (a\,x\right )}\,{\left (c\,a^2\,x^2+c\right )}^2 \,d x \] Input:

int(exp(-atan(a*x))*(c + a^2*c*x^2)^2,x)
 

Output:

int(exp(-atan(a*x))*(c + a^2*c*x^2)^2, x)
 

Reduce [F]

\[ \int e^{-\arctan (a x)} \left (c+a^2 c x^2\right )^2 \, dx=c^{2} \left (\left (\int \frac {x^{4}}{e^{\mathit {atan} \left (a x \right )}}d x \right ) a^{4}+2 \left (\int \frac {x^{2}}{e^{\mathit {atan} \left (a x \right )}}d x \right ) a^{2}+\int \frac {1}{e^{\mathit {atan} \left (a x \right )}}d x \right ) \] Input:

int((a^2*c*x^2+c)^2/exp(atan(a*x)),x)
 

Output:

c**2*(int(x**4/e**atan(a*x),x)*a**4 + 2*int(x**2/e**atan(a*x),x)*a**2 + in 
t(1/e**atan(a*x),x))