\(\int \frac {1}{(3+5 x^2-2 x^4)^{3/2}} \, dx\) [186]

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

Optimal result

Integrand size = 16, antiderivative size = 57 \[ \int \frac {1}{\left (3+5 x^2-2 x^4\right )^{3/2}} \, dx=\frac {x \left (37-10 x^2\right )}{147 \sqrt {3+5 x^2-2 x^4}}+\frac {5}{147} E\left (\left .\arcsin \left (\frac {x}{\sqrt {3}}\right )\right |-6\right )+\frac {1}{21} \operatorname {EllipticF}\left (\arcsin \left (\frac {x}{\sqrt {3}}\right ),-6\right ) \] Output:

1/147*x*(-10*x^2+37)/(-2*x^4+5*x^2+3)^(1/2)+5/147*EllipticE(1/3*x*3^(1/2), 
I*6^(1/2))+1/21*EllipticF(1/3*x*3^(1/2),I*6^(1/2))
 

Mathematica [C] (verified)

Result contains complex when optimal does not.

Time = 9.28 (sec) , antiderivative size = 123, normalized size of antiderivative = 2.16 \[ \int \frac {1}{\left (3+5 x^2-2 x^4\right )^{3/2}} \, dx=\frac {37 x-10 x^3+5 i \sqrt {6} \sqrt {3-x^2} \sqrt {1+2 x^2} E\left (i \text {arcsinh}\left (\sqrt {2} x\right )|-\frac {1}{6}\right )-7 i \sqrt {6} \sqrt {3-x^2} \sqrt {1+2 x^2} \operatorname {EllipticF}\left (i \text {arcsinh}\left (\sqrt {2} x\right ),-\frac {1}{6}\right )}{147 \sqrt {3+5 x^2-2 x^4}} \] Input:

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

Output:

(37*x - 10*x^3 + (5*I)*Sqrt[6]*Sqrt[3 - x^2]*Sqrt[1 + 2*x^2]*EllipticE[I*A 
rcSinh[Sqrt[2]*x], -1/6] - (7*I)*Sqrt[6]*Sqrt[3 - x^2]*Sqrt[1 + 2*x^2]*Ell 
ipticF[I*ArcSinh[Sqrt[2]*x], -1/6])/(147*Sqrt[3 + 5*x^2 - 2*x^4])
 

Rubi [A] (verified)

Time = 0.38 (sec) , antiderivative size = 62, normalized size of antiderivative = 1.09, number of steps used = 7, number of rules used = 7, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.438, Rules used = {1405, 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 \frac {1}{\left (-2 x^4+5 x^2+3\right )^{3/2}} \, dx\)

\(\Big \downarrow \) 1405

\(\displaystyle \frac {x \left (37-10 x^2\right )}{147 \sqrt {-2 x^4+5 x^2+3}}-\frac {1}{147} \int -\frac {2 \left (5 x^2+6\right )}{\sqrt {-2 x^4+5 x^2+3}}dx\)

\(\Big \downarrow \) 27

\(\displaystyle \frac {2}{147} \int \frac {5 x^2+6}{\sqrt {-2 x^4+5 x^2+3}}dx+\frac {x \left (37-10 x^2\right )}{147 \sqrt {-2 x^4+5 x^2+3}}\)

\(\Big \downarrow \) 1494

\(\displaystyle \frac {4}{147} \sqrt {2} \int \frac {5 x^2+6}{2 \sqrt {2} \sqrt {3-x^2} \sqrt {2 x^2+1}}dx+\frac {x \left (37-10 x^2\right )}{147 \sqrt {-2 x^4+5 x^2+3}}\)

\(\Big \downarrow \) 27

\(\displaystyle \frac {2}{147} \int \frac {5 x^2+6}{\sqrt {3-x^2} \sqrt {2 x^2+1}}dx+\frac {x \left (37-10 x^2\right )}{147 \sqrt {-2 x^4+5 x^2+3}}\)

\(\Big \downarrow \) 399

\(\displaystyle \frac {2}{147} \left (\frac {7}{2} \int \frac {1}{\sqrt {3-x^2} \sqrt {2 x^2+1}}dx+\frac {5}{2} \int \frac {\sqrt {2 x^2+1}}{\sqrt {3-x^2}}dx\right )+\frac {x \left (37-10 x^2\right )}{147 \sqrt {-2 x^4+5 x^2+3}}\)

\(\Big \downarrow \) 321

\(\displaystyle \frac {2}{147} \left (\frac {5}{2} \int \frac {\sqrt {2 x^2+1}}{\sqrt {3-x^2}}dx+\frac {7}{2} \operatorname {EllipticF}\left (\arcsin \left (\frac {x}{\sqrt {3}}\right ),-6\right )\right )+\frac {x \left (37-10 x^2\right )}{147 \sqrt {-2 x^4+5 x^2+3}}\)

\(\Big \downarrow \) 327

\(\displaystyle \frac {2}{147} \left (\frac {7}{2} \operatorname {EllipticF}\left (\arcsin \left (\frac {x}{\sqrt {3}}\right ),-6\right )+\frac {5}{2} E\left (\left .\arcsin \left (\frac {x}{\sqrt {3}}\right )\right |-6\right )\right )+\frac {x \left (37-10 x^2\right )}{147 \sqrt {-2 x^4+5 x^2+3}}\)

Input:

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

Output:

(x*(37 - 10*x^2))/(147*Sqrt[3 + 5*x^2 - 2*x^4]) + (2*((5*EllipticE[ArcSin[ 
x/Sqrt[3]], -6])/2 + (7*EllipticF[ArcSin[x/Sqrt[3]], -6])/2))/147
 

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 1405
Int[((a_) + (b_.)*(x_)^2 + (c_.)*(x_)^4)^(p_), x_Symbol] :> Simp[(-x)*(b^2 
- 2*a*c + b*c*x^2)*((a + b*x^2 + c*x^4)^(p + 1)/(2*a*(p + 1)*(b^2 - 4*a*c)) 
), x] + Simp[1/(2*a*(p + 1)*(b^2 - 4*a*c))   Int[(b^2 - 2*a*c + 2*(p + 1)*( 
b^2 - 4*a*c) + b*c*(4*p + 7)*x^2)*(a + b*x^2 + c*x^4)^(p + 1), x], x] /; Fr 
eeQ[{a, b, c}, x] && NeQ[b^2 - 4*a*c, 0] && LtQ[p, -1] && 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 [B] (verified)

Both result and optimal contain complex but leaf count of result is larger than twice the leaf count of optimal. 141 vs. \(2 (55 ) = 110\).

Time = 2.28 (sec) , antiderivative size = 142, normalized size of antiderivative = 2.49

method result size
risch \(-\frac {x \left (10 x^{2}-37\right )}{147 \sqrt {-2 x^{4}+5 x^{2}+3}}+\frac {4 \sqrt {3}\, \sqrt {-3 x^{2}+9}\, \sqrt {2 x^{2}+1}\, \operatorname {EllipticF}\left (\frac {\sqrt {3}\, x}{3}, i \sqrt {6}\right )}{147 \sqrt {-2 x^{4}+5 x^{2}+3}}-\frac {5 \sqrt {3}\, \sqrt {-3 x^{2}+9}\, \sqrt {2 x^{2}+1}\, \left (\operatorname {EllipticF}\left (\frac {\sqrt {3}\, x}{3}, i \sqrt {6}\right )-\operatorname {EllipticE}\left (\frac {\sqrt {3}\, x}{3}, i \sqrt {6}\right )\right )}{441 \sqrt {-2 x^{4}+5 x^{2}+3}}\) \(142\)
default \(\frac {\frac {37}{147} x -\frac {10}{147} x^{3}}{\sqrt {-2 x^{4}+5 x^{2}+3}}+\frac {4 \sqrt {3}\, \sqrt {-3 x^{2}+9}\, \sqrt {2 x^{2}+1}\, \operatorname {EllipticF}\left (\frac {\sqrt {3}\, x}{3}, i \sqrt {6}\right )}{147 \sqrt {-2 x^{4}+5 x^{2}+3}}-\frac {5 \sqrt {3}\, \sqrt {-3 x^{2}+9}\, \sqrt {2 x^{2}+1}\, \left (\operatorname {EllipticF}\left (\frac {\sqrt {3}\, x}{3}, i \sqrt {6}\right )-\operatorname {EllipticE}\left (\frac {\sqrt {3}\, x}{3}, i \sqrt {6}\right )\right )}{441 \sqrt {-2 x^{4}+5 x^{2}+3}}\) \(143\)
elliptic \(\frac {\frac {37}{147} x -\frac {10}{147} x^{3}}{\sqrt {-2 x^{4}+5 x^{2}+3}}+\frac {4 \sqrt {3}\, \sqrt {-3 x^{2}+9}\, \sqrt {2 x^{2}+1}\, \operatorname {EllipticF}\left (\frac {\sqrt {3}\, x}{3}, i \sqrt {6}\right )}{147 \sqrt {-2 x^{4}+5 x^{2}+3}}-\frac {5 \sqrt {3}\, \sqrt {-3 x^{2}+9}\, \sqrt {2 x^{2}+1}\, \left (\operatorname {EllipticF}\left (\frac {\sqrt {3}\, x}{3}, i \sqrt {6}\right )-\operatorname {EllipticE}\left (\frac {\sqrt {3}\, x}{3}, i \sqrt {6}\right )\right )}{441 \sqrt {-2 x^{4}+5 x^{2}+3}}\) \(143\)

Input:

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

Output:

-1/147*x*(10*x^2-37)/(-2*x^4+5*x^2+3)^(1/2)+4/147*3^(1/2)*(-3*x^2+9)^(1/2) 
*(2*x^2+1)^(1/2)/(-2*x^4+5*x^2+3)^(1/2)*EllipticF(1/3*3^(1/2)*x,I*6^(1/2)) 
-5/441*3^(1/2)*(-3*x^2+9)^(1/2)*(2*x^2+1)^(1/2)/(-2*x^4+5*x^2+3)^(1/2)*(El 
lipticF(1/3*3^(1/2)*x,I*6^(1/2))-EllipticE(1/3*3^(1/2)*x,I*6^(1/2)))
 

Fricas [A] (verification not implemented)

Time = 0.08 (sec) , antiderivative size = 88, normalized size of antiderivative = 1.54 \[ \int \frac {1}{\left (3+5 x^2-2 x^4\right )^{3/2}} \, dx=\frac {5 \, {\left (2 \, x^{4} - 5 \, x^{2} - 3\right )} E(\arcsin \left (\frac {1}{3} \, \sqrt {3} x\right )\,|\,-6) + 31 \, {\left (2 \, x^{4} - 5 \, x^{2} - 3\right )} F(\arcsin \left (\frac {1}{3} \, \sqrt {3} x\right )\,|\,-6) + 3 \, \sqrt {-2 \, x^{4} + 5 \, x^{2} + 3} {\left (10 \, x^{3} - 37 \, x\right )}}{441 \, {\left (2 \, x^{4} - 5 \, x^{2} - 3\right )}} \] Input:

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

Output:

1/441*(5*(2*x^4 - 5*x^2 - 3)*elliptic_e(arcsin(1/3*sqrt(3)*x), -6) + 31*(2 
*x^4 - 5*x^2 - 3)*elliptic_f(arcsin(1/3*sqrt(3)*x), -6) + 3*sqrt(-2*x^4 + 
5*x^2 + 3)*(10*x^3 - 37*x))/(2*x^4 - 5*x^2 - 3)
 

Sympy [F]

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

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

Output:

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

Maxima [F]

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

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

Output:

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

Giac [F]

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

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

Output:

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

Mupad [F(-1)]

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

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

Output:

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

Reduce [F]

\[ \int \frac {1}{\left (3+5 x^2-2 x^4\right )^{3/2}} \, dx=\int \frac {\sqrt {-2 x^{4}+5 x^{2}+3}}{4 x^{8}-20 x^{6}+13 x^{4}+30 x^{2}+9}d x \] Input:

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

Output:

int(sqrt( - 2*x**4 + 5*x**2 + 3)/(4*x**8 - 20*x**6 + 13*x**4 + 30*x**2 + 9 
),x)