\(\int (3-2 x^2-x^4)^{5/2} \, dx\) [336]

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

Optimal result

Integrand size = 16, antiderivative size = 108 \[ \int \left (3-2 x^2-x^4\right )^{5/2} \, dx=\frac {16}{99} x \left (11-6 x^2\right ) \sqrt {3-2 x^2-x^4}+\frac {10}{99} x \left (3-x^2\right ) \left (3-2 x^2-x^4\right )^{3/2}+\frac {1}{11} x \left (3-2 x^2-x^4\right )^{5/2}-\frac {1312 E\left (\arcsin (x)\left |-\frac {1}{3}\right .\right )}{33 \sqrt {3}}+\frac {1856 \operatorname {EllipticF}\left (\arcsin (x),-\frac {1}{3}\right )}{33 \sqrt {3}} \] Output:

16/99*x*(-6*x^2+11)*(-x^4-2*x^2+3)^(1/2)+10/99*x*(-x^2+3)*(-x^4-2*x^2+3)^( 
3/2)+1/11*x*(-x^4-2*x^2+3)^(5/2)-1312/99*EllipticE(x,1/3*I*3^(1/2))*3^(1/2 
)+1856/99*EllipticF(x,1/3*I*3^(1/2))*3^(1/2)
 

Mathematica [C] (verified)

Result contains complex when optimal does not.

Time = 6.91 (sec) , antiderivative size = 122, normalized size of antiderivative = 1.13 \[ \int \left (3-2 x^2-x^4\right )^{5/2} \, dx=\frac {1041 x-1576 x^3+157 x^5+488 x^7-37 x^9-64 x^{11}-9 x^{13}-1312 i \sqrt {3-2 x^2-x^4} E\left (\left .i \text {arcsinh}\left (\frac {x}{\sqrt {3}}\right )\right |-3\right )-320 i \sqrt {3-2 x^2-x^4} \operatorname {EllipticF}\left (i \text {arcsinh}\left (\frac {x}{\sqrt {3}}\right ),-3\right )}{99 \sqrt {3-2 x^2-x^4}} \] Input:

Integrate[(3 - 2*x^2 - x^4)^(5/2),x]
 

Output:

(1041*x - 1576*x^3 + 157*x^5 + 488*x^7 - 37*x^9 - 64*x^11 - 9*x^13 - (1312 
*I)*Sqrt[3 - 2*x^2 - x^4]*EllipticE[I*ArcSinh[x/Sqrt[3]], -3] - (320*I)*Sq 
rt[3 - 2*x^2 - x^4]*EllipticF[I*ArcSinh[x/Sqrt[3]], -3])/(99*Sqrt[3 - 2*x^ 
2 - x^4])
 

Rubi [A] (verified)

Time = 0.48 (sec) , antiderivative size = 119, normalized size of antiderivative = 1.10, number of steps used = 11, number of rules used = 11, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.688, Rules used = {1404, 27, 1490, 27, 1490, 27, 1494, 27, 399, 321, 327}

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 \left (-x^4-2 x^2+3\right )^{5/2} \, dx\)

\(\Big \downarrow \) 1404

\(\displaystyle \frac {5}{11} \int 2 \left (3-x^2\right ) \left (-x^4-2 x^2+3\right )^{3/2}dx+\frac {1}{11} x \left (-x^4-2 x^2+3\right )^{5/2}\)

\(\Big \downarrow \) 27

\(\displaystyle \frac {10}{11} \int \left (3-x^2\right ) \left (-x^4-2 x^2+3\right )^{3/2}dx+\frac {1}{11} x \left (-x^4-2 x^2+3\right )^{5/2}\)

\(\Big \downarrow \) 1490

\(\displaystyle \frac {10}{11} \left (\frac {1}{9} x \left (3-x^2\right ) \left (-x^4-2 x^2+3\right )^{3/2}-\frac {1}{21} \int -56 \left (3-2 x^2\right ) \sqrt {-x^4-2 x^2+3}dx\right )+\frac {1}{11} x \left (-x^4-2 x^2+3\right )^{5/2}\)

\(\Big \downarrow \) 27

\(\displaystyle \frac {10}{11} \left (\frac {8}{3} \int \left (3-2 x^2\right ) \sqrt {-x^4-2 x^2+3}dx+\frac {1}{9} x \left (3-x^2\right ) \left (-x^4-2 x^2+3\right )^{3/2}\right )+\frac {1}{11} x \left (-x^4-2 x^2+3\right )^{5/2}\)

\(\Big \downarrow \) 1490

\(\displaystyle \frac {10}{11} \left (\frac {8}{3} \left (\frac {1}{15} x \left (11-6 x^2\right ) \sqrt {-x^4-2 x^2+3}-\frac {1}{15} \int -\frac {2 \left (51-41 x^2\right )}{\sqrt {-x^4-2 x^2+3}}dx\right )+\frac {1}{9} x \left (3-x^2\right ) \left (-x^4-2 x^2+3\right )^{3/2}\right )+\frac {1}{11} x \left (-x^4-2 x^2+3\right )^{5/2}\)

\(\Big \downarrow \) 27

\(\displaystyle \frac {10}{11} \left (\frac {8}{3} \left (\frac {2}{15} \int \frac {51-41 x^2}{\sqrt {-x^4-2 x^2+3}}dx+\frac {1}{15} x \sqrt {-x^4-2 x^2+3} \left (11-6 x^2\right )\right )+\frac {1}{9} x \left (3-x^2\right ) \left (-x^4-2 x^2+3\right )^{3/2}\right )+\frac {1}{11} x \left (-x^4-2 x^2+3\right )^{5/2}\)

\(\Big \downarrow \) 1494

\(\displaystyle \frac {10}{11} \left (\frac {8}{3} \left (\frac {4}{15} \int \frac {51-41 x^2}{2 \sqrt {1-x^2} \sqrt {x^2+3}}dx+\frac {1}{15} x \sqrt {-x^4-2 x^2+3} \left (11-6 x^2\right )\right )+\frac {1}{9} x \left (3-x^2\right ) \left (-x^4-2 x^2+3\right )^{3/2}\right )+\frac {1}{11} x \left (-x^4-2 x^2+3\right )^{5/2}\)

\(\Big \downarrow \) 27

\(\displaystyle \frac {10}{11} \left (\frac {8}{3} \left (\frac {2}{15} \int \frac {51-41 x^2}{\sqrt {1-x^2} \sqrt {x^2+3}}dx+\frac {1}{15} x \sqrt {-x^4-2 x^2+3} \left (11-6 x^2\right )\right )+\frac {1}{9} x \left (3-x^2\right ) \left (-x^4-2 x^2+3\right )^{3/2}\right )+\frac {1}{11} x \left (-x^4-2 x^2+3\right )^{5/2}\)

\(\Big \downarrow \) 399

\(\displaystyle \frac {10}{11} \left (\frac {8}{3} \left (\frac {2}{15} \left (174 \int \frac {1}{\sqrt {1-x^2} \sqrt {x^2+3}}dx-41 \int \frac {\sqrt {x^2+3}}{\sqrt {1-x^2}}dx\right )+\frac {1}{15} x \sqrt {-x^4-2 x^2+3} \left (11-6 x^2\right )\right )+\frac {1}{9} x \left (3-x^2\right ) \left (-x^4-2 x^2+3\right )^{3/2}\right )+\frac {1}{11} x \left (-x^4-2 x^2+3\right )^{5/2}\)

\(\Big \downarrow \) 321

\(\displaystyle \frac {10}{11} \left (\frac {8}{3} \left (\frac {2}{15} \left (58 \sqrt {3} \operatorname {EllipticF}\left (\arcsin (x),-\frac {1}{3}\right )-41 \int \frac {\sqrt {x^2+3}}{\sqrt {1-x^2}}dx\right )+\frac {1}{15} x \sqrt {-x^4-2 x^2+3} \left (11-6 x^2\right )\right )+\frac {1}{9} x \left (3-x^2\right ) \left (-x^4-2 x^2+3\right )^{3/2}\right )+\frac {1}{11} x \left (-x^4-2 x^2+3\right )^{5/2}\)

\(\Big \downarrow \) 327

\(\displaystyle \frac {10}{11} \left (\frac {8}{3} \left (\frac {2}{15} \left (58 \sqrt {3} \operatorname {EllipticF}\left (\arcsin (x),-\frac {1}{3}\right )-41 \sqrt {3} E\left (\arcsin (x)\left |-\frac {1}{3}\right .\right )\right )+\frac {1}{15} x \sqrt {-x^4-2 x^2+3} \left (11-6 x^2\right )\right )+\frac {1}{9} x \left (3-x^2\right ) \left (-x^4-2 x^2+3\right )^{3/2}\right )+\frac {1}{11} x \left (-x^4-2 x^2+3\right )^{5/2}\)

Input:

Int[(3 - 2*x^2 - x^4)^(5/2),x]
 

Output:

(x*(3 - 2*x^2 - x^4)^(5/2))/11 + (10*((x*(3 - x^2)*(3 - 2*x^2 - x^4)^(3/2) 
)/9 + (8*((x*(11 - 6*x^2)*Sqrt[3 - 2*x^2 - x^4])/15 + (2*(-41*Sqrt[3]*Elli 
pticE[ArcSin[x], -1/3] + 58*Sqrt[3]*EllipticF[ArcSin[x], -1/3]))/15))/3))/ 
11
 

Defintions of rubi rules used

rule 27
Int[(a_)*(Fx_), x_Symbol] :> Simp[a   Int[Fx, x], x] /; FreeQ[a, x] &&  !Ma 
tchQ[Fx, (b_)*(Gx_) /; FreeQ[b, x]]
 

rule 321
Int[1/(Sqrt[(a_) + (b_.)*(x_)^2]*Sqrt[(c_) + (d_.)*(x_)^2]), x_Symbol] :> S 
imp[(1/(Sqrt[a]*Sqrt[c]*Rt[-d/c, 2]))*EllipticF[ArcSin[Rt[-d/c, 2]*x], b*(c 
/(a*d))], x] /; FreeQ[{a, b, c, d}, x] && NegQ[d/c] && GtQ[c, 0] && GtQ[a, 
0] &&  !(NegQ[b/a] && SimplerSqrtQ[-b/a, -d/c])
 

rule 327
Int[Sqrt[(a_) + (b_.)*(x_)^2]/Sqrt[(c_) + (d_.)*(x_)^2], x_Symbol] :> Simp[ 
(Sqrt[a]/(Sqrt[c]*Rt[-d/c, 2]))*EllipticE[ArcSin[Rt[-d/c, 2]*x], b*(c/(a*d) 
)], x] /; FreeQ[{a, b, c, d}, x] && NegQ[d/c] && GtQ[c, 0] && GtQ[a, 0]
 

rule 399
Int[((e_) + (f_.)*(x_)^2)/(Sqrt[(a_) + (b_.)*(x_)^2]*Sqrt[(c_) + (d_.)*(x_) 
^2]), x_Symbol] :> Simp[f/b   Int[Sqrt[a + b*x^2]/Sqrt[c + d*x^2], x], x] + 
 Simp[(b*e - a*f)/b   Int[1/(Sqrt[a + b*x^2]*Sqrt[c + d*x^2]), x], x] /; Fr 
eeQ[{a, b, c, d, e, f}, x] &&  !((PosQ[b/a] && PosQ[d/c]) || (NegQ[b/a] && 
(PosQ[d/c] || (GtQ[a, 0] && ( !GtQ[c, 0] || SimplerSqrtQ[-b/a, -d/c])))))
 

rule 1404
Int[((a_.) + (b_.)*(x_)^2 + (c_.)*(x_)^4)^(p_), x_Symbol] :> Simp[x*((a + b 
*x^2 + c*x^4)^p/(4*p + 1)), x] + Simp[2*(p/(4*p + 1))   Int[(2*a + b*x^2)*( 
a + b*x^2 + c*x^4)^(p - 1), x], x] /; FreeQ[{a, b, c}, x] && NeQ[b^2 - 4*a* 
c, 0] && GtQ[p, 0] && IntegerQ[2*p]
 

rule 1490
Int[((d_) + (e_.)*(x_)^2)*((a_) + (b_.)*(x_)^2 + (c_.)*(x_)^4)^(p_), x_Symb 
ol] :> Simp[x*(2*b*e*p + c*d*(4*p + 3) + c*e*(4*p + 1)*x^2)*((a + b*x^2 + c 
*x^4)^p/(c*(4*p + 1)*(4*p + 3))), x] + Simp[2*(p/(c*(4*p + 1)*(4*p + 3))) 
 Int[Simp[2*a*c*d*(4*p + 3) - a*b*e + (2*a*c*e*(4*p + 1) + b*c*d*(4*p + 3) 
- b^2*e*(2*p + 1))*x^2, x]*(a + b*x^2 + c*x^4)^(p - 1), x], x] /; FreeQ[{a, 
 b, c, d, e}, x] && NeQ[b^2 - 4*a*c, 0] && NeQ[c*d^2 - b*d*e + a*e^2, 0] && 
 GtQ[p, 0] && FractionQ[p] && IntegerQ[2*p]
 

rule 1494
Int[((d_) + (e_.)*(x_)^2)/Sqrt[(a_) + (b_.)*(x_)^2 + (c_.)*(x_)^4], x_Symbo 
l] :> With[{q = Rt[b^2 - 4*a*c, 2]}, Simp[2*Sqrt[-c]   Int[(d + e*x^2)/(Sqr 
t[b + q + 2*c*x^2]*Sqrt[-b + q - 2*c*x^2]), x], x]] /; FreeQ[{a, b, c, d, e 
}, x] && GtQ[b^2 - 4*a*c, 0] && LtQ[c, 0]
 
Maple [A] (verified)

Time = 2.58 (sec) , antiderivative size = 146, normalized size of antiderivative = 1.35

method result size
risch \(-\frac {x \left (9 x^{8}+46 x^{6}-28 x^{4}-294 x^{2}+347\right ) \left (x^{4}+2 x^{2}-3\right )}{99 \sqrt {-x^{4}-2 x^{2}+3}}+\frac {544 \sqrt {-x^{2}+1}\, \sqrt {3 x^{2}+9}\, \operatorname {EllipticF}\left (x , \frac {i \sqrt {3}}{3}\right )}{99 \sqrt {-x^{4}-2 x^{2}+3}}+\frac {1312 \sqrt {-x^{2}+1}\, \sqrt {3 x^{2}+9}\, \left (\operatorname {EllipticF}\left (x , \frac {i \sqrt {3}}{3}\right )-\operatorname {EllipticE}\left (x , \frac {i \sqrt {3}}{3}\right )\right )}{99 \sqrt {-x^{4}-2 x^{2}+3}}\) \(146\)
default \(\frac {x^{9} \sqrt {-x^{4}-2 x^{2}+3}}{11}+\frac {46 x^{7} \sqrt {-x^{4}-2 x^{2}+3}}{99}-\frac {28 x^{5} \sqrt {-x^{4}-2 x^{2}+3}}{99}-\frac {98 x^{3} \sqrt {-x^{4}-2 x^{2}+3}}{33}+\frac {347 x \sqrt {-x^{4}-2 x^{2}+3}}{99}+\frac {544 \sqrt {-x^{2}+1}\, \sqrt {3 x^{2}+9}\, \operatorname {EllipticF}\left (x , \frac {i \sqrt {3}}{3}\right )}{99 \sqrt {-x^{4}-2 x^{2}+3}}+\frac {1312 \sqrt {-x^{2}+1}\, \sqrt {3 x^{2}+9}\, \left (\operatorname {EllipticF}\left (x , \frac {i \sqrt {3}}{3}\right )-\operatorname {EllipticE}\left (x , \frac {i \sqrt {3}}{3}\right )\right )}{99 \sqrt {-x^{4}-2 x^{2}+3}}\) \(190\)
elliptic \(\frac {x^{9} \sqrt {-x^{4}-2 x^{2}+3}}{11}+\frac {46 x^{7} \sqrt {-x^{4}-2 x^{2}+3}}{99}-\frac {28 x^{5} \sqrt {-x^{4}-2 x^{2}+3}}{99}-\frac {98 x^{3} \sqrt {-x^{4}-2 x^{2}+3}}{33}+\frac {347 x \sqrt {-x^{4}-2 x^{2}+3}}{99}+\frac {544 \sqrt {-x^{2}+1}\, \sqrt {3 x^{2}+9}\, \operatorname {EllipticF}\left (x , \frac {i \sqrt {3}}{3}\right )}{99 \sqrt {-x^{4}-2 x^{2}+3}}+\frac {1312 \sqrt {-x^{2}+1}\, \sqrt {3 x^{2}+9}\, \left (\operatorname {EllipticF}\left (x , \frac {i \sqrt {3}}{3}\right )-\operatorname {EllipticE}\left (x , \frac {i \sqrt {3}}{3}\right )\right )}{99 \sqrt {-x^{4}-2 x^{2}+3}}\) \(190\)

Input:

int((-x^4-2*x^2+3)^(5/2),x,method=_RETURNVERBOSE)
 

Output:

-1/99*x*(9*x^8+46*x^6-28*x^4-294*x^2+347)*(x^4+2*x^2-3)/(-x^4-2*x^2+3)^(1/ 
2)+544/99*(-x^2+1)^(1/2)*(3*x^2+9)^(1/2)/(-x^4-2*x^2+3)^(1/2)*EllipticF(x, 
1/3*I*3^(1/2))+1312/99*(-x^2+1)^(1/2)*(3*x^2+9)^(1/2)/(-x^4-2*x^2+3)^(1/2) 
*(EllipticF(x,1/3*I*3^(1/2))-EllipticE(x,1/3*I*3^(1/2)))
 

Fricas [A] (verification not implemented)

Time = 0.10 (sec) , antiderivative size = 66, normalized size of antiderivative = 0.61 \[ \int \left (3-2 x^2-x^4\right )^{5/2} \, dx=\frac {1312 i \, x E(\arcsin \left (\frac {1}{x}\right )\,|\,-3) + 320 i \, x F(\arcsin \left (\frac {1}{x}\right )\,|\,-3) + {\left (9 \, x^{10} + 46 \, x^{8} - 28 \, x^{6} - 294 \, x^{4} + 347 \, x^{2} + 1312\right )} \sqrt {-x^{4} - 2 \, x^{2} + 3}}{99 \, x} \] Input:

integrate((-x^4-2*x^2+3)^(5/2),x, algorithm="fricas")
 

Output:

1/99*(1312*I*x*elliptic_e(arcsin(1/x), -3) + 320*I*x*elliptic_f(arcsin(1/x 
), -3) + (9*x^10 + 46*x^8 - 28*x^6 - 294*x^4 + 347*x^2 + 1312)*sqrt(-x^4 - 
 2*x^2 + 3))/x
 

Sympy [F]

\[ \int \left (3-2 x^2-x^4\right )^{5/2} \, dx=\int \left (- x^{4} - 2 x^{2} + 3\right )^{\frac {5}{2}}\, dx \] Input:

integrate((-x**4-2*x**2+3)**(5/2),x)
 

Output:

Integral((-x**4 - 2*x**2 + 3)**(5/2), x)
 

Maxima [F]

\[ \int \left (3-2 x^2-x^4\right )^{5/2} \, dx=\int { {\left (-x^{4} - 2 \, x^{2} + 3\right )}^{\frac {5}{2}} \,d x } \] Input:

integrate((-x^4-2*x^2+3)^(5/2),x, algorithm="maxima")
 

Output:

integrate((-x^4 - 2*x^2 + 3)^(5/2), x)
 

Giac [F]

\[ \int \left (3-2 x^2-x^4\right )^{5/2} \, dx=\int { {\left (-x^{4} - 2 \, x^{2} + 3\right )}^{\frac {5}{2}} \,d x } \] Input:

integrate((-x^4-2*x^2+3)^(5/2),x, algorithm="giac")
 

Output:

integrate((-x^4 - 2*x^2 + 3)^(5/2), x)
 

Mupad [F(-1)]

Timed out. \[ \int \left (3-2 x^2-x^4\right )^{5/2} \, dx=\int {\left (-x^4-2\,x^2+3\right )}^{5/2} \,d x \] Input:

int((3 - x^4 - 2*x^2)^(5/2),x)
 

Output:

int((3 - x^4 - 2*x^2)^(5/2), x)
 

Reduce [F]

\[ \int \left (3-2 x^2-x^4\right )^{5/2} \, dx=\frac {\sqrt {-x^{4}-2 x^{2}+3}\, x^{9}}{11}+\frac {46 \sqrt {-x^{4}-2 x^{2}+3}\, x^{7}}{99}-\frac {28 \sqrt {-x^{4}-2 x^{2}+3}\, x^{5}}{99}-\frac {98 \sqrt {-x^{4}-2 x^{2}+3}\, x^{3}}{33}+\frac {347 \sqrt {-x^{4}-2 x^{2}+3}\, x}{99}-\frac {544 \left (\int \frac {\sqrt {-x^{4}-2 x^{2}+3}}{x^{4}+2 x^{2}-3}d x \right )}{33}+\frac {1312 \left (\int \frac {\sqrt {-x^{4}-2 x^{2}+3}\, x^{2}}{x^{4}+2 x^{2}-3}d x \right )}{99} \] Input:

int((-x^4-2*x^2+3)^(5/2),x)
 

Output:

(9*sqrt( - x**4 - 2*x**2 + 3)*x**9 + 46*sqrt( - x**4 - 2*x**2 + 3)*x**7 - 
28*sqrt( - x**4 - 2*x**2 + 3)*x**5 - 294*sqrt( - x**4 - 2*x**2 + 3)*x**3 + 
 347*sqrt( - x**4 - 2*x**2 + 3)*x - 1632*int(sqrt( - x**4 - 2*x**2 + 3)/(x 
**4 + 2*x**2 - 3),x) + 1312*int((sqrt( - x**4 - 2*x**2 + 3)*x**2)/(x**4 + 
2*x**2 - 3),x))/99