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

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 = 27, antiderivative size = 158 \[ \int \frac {4-7 x^2+x^4}{\left (2+5 x^2+3 x^4\right )^{5/2}} \, dx=\frac {x \left (65+77 x^2\right )}{3 \left (2+5 x^2+3 x^4\right )^{3/2}}-\frac {213 x}{2 \sqrt {2+5 x^2+3 x^4}}-\frac {1219 \left (1+x^2\right ) \sqrt {\frac {2+3 x^2}{1+x^2}} E\left (\arctan (x)\left |-\frac {1}{2}\right .\right )}{3 \sqrt {2} \sqrt {2+5 x^2+3 x^4}}+\frac {503 \left (1+x^2\right ) \sqrt {\frac {2+3 x^2}{1+x^2}} \operatorname {EllipticF}\left (\arctan (x),-\frac {1}{2}\right )}{\sqrt {2} \sqrt {2+5 x^2+3 x^4}} \] Output:

1/3*x*(77*x^2+65)/(3*x^4+5*x^2+2)^(3/2)-213/2*x/(3*x^4+5*x^2+2)^(1/2)-1219 
/6*2^(1/2)*(x^2+1)*((3*x^2+2)/(x^2+1))^(1/2)*EllipticE(x/(x^2+1)^(1/2),1/2 
*I*2^(1/2))/(3*x^4+5*x^2+2)^(1/2)+503/2*2^(1/2)*(x^2+1)*((3*x^2+2)/(x^2+1) 
)^(1/2)*InverseJacobiAM(arctan(x),1/2*I*2^(1/2))/(3*x^4+5*x^2+2)^(1/2)
 

Mathematica [C] (verified)

Result contains complex when optimal does not.

Time = 10.18 (sec) , antiderivative size = 159, normalized size of antiderivative = 1.01 \[ \int \frac {4-7 x^2+x^4}{\left (2+5 x^2+3 x^4\right )^{5/2}} \, dx=\frac {-3 x \left (2008+7515 x^2+9172 x^4+3657 x^6\right )-1219 i \sqrt {3} \sqrt {1+x^2} \sqrt {2+3 x^2} \left (2+5 x^2+3 x^4\right ) E\left (i \text {arcsinh}\left (\sqrt {\frac {3}{2}} x\right )|\frac {2}{3}\right )+213 i \sqrt {3} \sqrt {1+x^2} \sqrt {2+3 x^2} \left (2+5 x^2+3 x^4\right ) \operatorname {EllipticF}\left (i \text {arcsinh}\left (\sqrt {\frac {3}{2}} x\right ),\frac {2}{3}\right )}{6 \left (2+5 x^2+3 x^4\right )^{3/2}} \] Input:

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

Output:

(-3*x*(2008 + 7515*x^2 + 9172*x^4 + 3657*x^6) - (1219*I)*Sqrt[3]*Sqrt[1 + 
x^2]*Sqrt[2 + 3*x^2]*(2 + 5*x^2 + 3*x^4)*EllipticE[I*ArcSinh[Sqrt[3/2]*x], 
 2/3] + (213*I)*Sqrt[3]*Sqrt[1 + x^2]*Sqrt[2 + 3*x^2]*(2 + 5*x^2 + 3*x^4)* 
EllipticF[I*ArcSinh[Sqrt[3/2]*x], 2/3])/(6*(2 + 5*x^2 + 3*x^4)^(3/2))
 

Rubi [A] (verified)

Time = 0.35 (sec) , antiderivative size = 206, normalized size of antiderivative = 1.30, number of steps used = 7, number of rules used = 7, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.259, Rules used = {2206, 27, 1492, 27, 1503, 1413, 1456}

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

\(\Big \downarrow \) 2206

\(\displaystyle \frac {x \left (77 x^2+65\right )}{3 \left (3 x^4+5 x^2+2\right )^{3/2}}-\frac {1}{6} \int \frac {2 \left (59-231 x^2\right )}{\left (3 x^4+5 x^2+2\right )^{3/2}}dx\)

\(\Big \downarrow \) 27

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

\(\Big \downarrow \) 1492

\(\displaystyle \frac {1}{3} \left (\frac {1}{2} \int \frac {3 \left (1219 x^2+1006\right )}{\sqrt {3 x^4+5 x^2+2}}dx-\frac {x \left (3657 x^2+3077\right )}{2 \sqrt {3 x^4+5 x^2+2}}\right )+\frac {x \left (77 x^2+65\right )}{3 \left (3 x^4+5 x^2+2\right )^{3/2}}\)

\(\Big \downarrow \) 27

\(\displaystyle \frac {1}{3} \left (\frac {3}{2} \int \frac {1219 x^2+1006}{\sqrt {3 x^4+5 x^2+2}}dx-\frac {x \left (3657 x^2+3077\right )}{2 \sqrt {3 x^4+5 x^2+2}}\right )+\frac {x \left (77 x^2+65\right )}{3 \left (3 x^4+5 x^2+2\right )^{3/2}}\)

\(\Big \downarrow \) 1503

\(\displaystyle \frac {1}{3} \left (\frac {3}{2} \left (1006 \int \frac {1}{\sqrt {3 x^4+5 x^2+2}}dx+1219 \int \frac {x^2}{\sqrt {3 x^4+5 x^2+2}}dx\right )-\frac {x \left (3657 x^2+3077\right )}{2 \sqrt {3 x^4+5 x^2+2}}\right )+\frac {x \left (77 x^2+65\right )}{3 \left (3 x^4+5 x^2+2\right )^{3/2}}\)

\(\Big \downarrow \) 1413

\(\displaystyle \frac {1}{3} \left (\frac {3}{2} \left (1219 \int \frac {x^2}{\sqrt {3 x^4+5 x^2+2}}dx+\frac {503 \sqrt {2} \left (x^2+1\right ) \sqrt {\frac {3 x^2+2}{x^2+1}} \operatorname {EllipticF}\left (\arctan (x),-\frac {1}{2}\right )}{\sqrt {3 x^4+5 x^2+2}}\right )-\frac {x \left (3657 x^2+3077\right )}{2 \sqrt {3 x^4+5 x^2+2}}\right )+\frac {x \left (77 x^2+65\right )}{3 \left (3 x^4+5 x^2+2\right )^{3/2}}\)

\(\Big \downarrow \) 1456

\(\displaystyle \frac {1}{3} \left (\frac {3}{2} \left (\frac {503 \sqrt {2} \left (x^2+1\right ) \sqrt {\frac {3 x^2+2}{x^2+1}} \operatorname {EllipticF}\left (\arctan (x),-\frac {1}{2}\right )}{\sqrt {3 x^4+5 x^2+2}}+1219 \left (\frac {x \left (3 x^2+2\right )}{3 \sqrt {3 x^4+5 x^2+2}}-\frac {\sqrt {2} \left (x^2+1\right ) \sqrt {\frac {3 x^2+2}{x^2+1}} E\left (\arctan (x)\left |-\frac {1}{2}\right .\right )}{3 \sqrt {3 x^4+5 x^2+2}}\right )\right )-\frac {x \left (3657 x^2+3077\right )}{2 \sqrt {3 x^4+5 x^2+2}}\right )+\frac {x \left (77 x^2+65\right )}{3 \left (3 x^4+5 x^2+2\right )^{3/2}}\)

Input:

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

Output:

(x*(65 + 77*x^2))/(3*(2 + 5*x^2 + 3*x^4)^(3/2)) + (-1/2*(x*(3077 + 3657*x^ 
2))/Sqrt[2 + 5*x^2 + 3*x^4] + (3*(1219*((x*(2 + 3*x^2))/(3*Sqrt[2 + 5*x^2 
+ 3*x^4]) - (Sqrt[2]*(1 + x^2)*Sqrt[(2 + 3*x^2)/(1 + x^2)]*EllipticE[ArcTa 
n[x], -1/2])/(3*Sqrt[2 + 5*x^2 + 3*x^4])) + (503*Sqrt[2]*(1 + x^2)*Sqrt[(2 
 + 3*x^2)/(1 + x^2)]*EllipticF[ArcTan[x], -1/2])/Sqrt[2 + 5*x^2 + 3*x^4])) 
/2)/3
 

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 1413
Int[1/Sqrt[(a_) + (b_.)*(x_)^2 + (c_.)*(x_)^4], x_Symbol] :> With[{q = Rt[b 
^2 - 4*a*c, 2]}, Simp[(2*a + (b - q)*x^2)*(Sqrt[(2*a + (b + q)*x^2)/(2*a + 
(b - q)*x^2)]/(2*a*Rt[(b - q)/(2*a), 2]*Sqrt[a + b*x^2 + c*x^4]))*EllipticF 
[ArcTan[Rt[(b - q)/(2*a), 2]*x], -2*(q/(b - q))], x] /; PosQ[(b - q)/a]] /; 
 FreeQ[{a, b, c}, x] && GtQ[b^2 - 4*a*c, 0]
 

rule 1456
Int[(x_)^2/Sqrt[(a_) + (b_.)*(x_)^2 + (c_.)*(x_)^4], x_Symbol] :> With[{q = 
 Rt[b^2 - 4*a*c, 2]}, Simp[x*((b - q + 2*c*x^2)/(2*c*Sqrt[a + b*x^2 + c*x^4 
])), x] - Simp[Rt[(b - q)/(2*a), 2]*(2*a + (b - q)*x^2)*(Sqrt[(2*a + (b + q 
)*x^2)/(2*a + (b - q)*x^2)]/(2*c*Sqrt[a + b*x^2 + c*x^4]))*EllipticE[ArcTan 
[Rt[(b - q)/(2*a), 2]*x], -2*(q/(b - q))], x] /; PosQ[(b - q)/a]] /; FreeQ[ 
{a, b, c}, x] && GtQ[b^2 - 4*a*c, 0]
 

rule 1492
Int[((d_) + (e_.)*(x_)^2)*((a_) + (b_.)*(x_)^2 + (c_.)*(x_)^4)^(p_), x_Symb 
ol] :> Simp[x*(a*b*e - d*(b^2 - 2*a*c) - c*(b*d - 2*a*e)*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[Simp[(2*p + 3)*d*b^2 - a*b*e - 2*a*c*d*(4*p + 5) + (4*p + 
7)*(d*b - 2*a*e)*c*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] && 
 LtQ[p, -1] && IntegerQ[2*p]
 

rule 1503
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[d   Int[1/Sqrt[a + b*x^2 + c*x^4] 
, x], x] + Simp[e   Int[x^2/Sqrt[a + b*x^2 + c*x^4], x], x] /; PosQ[(b + q) 
/a] || PosQ[(b - q)/a]] /; FreeQ[{a, b, c, d, e}, x] && GtQ[b^2 - 4*a*c, 0]
 

rule 2206
Int[(Px_)*((a_) + (b_.)*(x_)^2 + (c_.)*(x_)^4)^(p_), x_Symbol] :> With[{d = 
 Coeff[PolynomialRemainder[Px, a + b*x^2 + c*x^4, x], x, 0], e = Coeff[Poly 
nomialRemainder[Px, a + b*x^2 + c*x^4, x], x, 2]}, Simp[x*(a + b*x^2 + c*x^ 
4)^(p + 1)*((a*b*e - d*(b^2 - 2*a*c) - c*(b*d - 2*a*e)*x^2)/(2*a*(p + 1)*(b 
^2 - 4*a*c))), x] + Simp[1/(2*a*(p + 1)*(b^2 - 4*a*c))   Int[(a + b*x^2 + c 
*x^4)^(p + 1)*ExpandToSum[2*a*(p + 1)*(b^2 - 4*a*c)*PolynomialQuotient[Px, 
a + b*x^2 + c*x^4, x] + b^2*d*(2*p + 3) - 2*a*c*d*(4*p + 5) - a*b*e + c*(4* 
p + 7)*(b*d - 2*a*e)*x^2, x], x], x]] /; FreeQ[{a, b, c}, x] && PolyQ[Px, x 
^2] && Expon[Px, x^2] > 1 && NeQ[b^2 - 4*a*c, 0] && LtQ[p, -1]
 
Maple [A] (verified)

Time = 3.81 (sec) , antiderivative size = 135, normalized size of antiderivative = 0.85

method result size
risch \(-\frac {x \left (3657 x^{6}+9172 x^{4}+7515 x^{2}+2008\right )}{2 \left (3 x^{4}+5 x^{2}+2\right )^{\frac {3}{2}}}-\frac {503 i \sqrt {x^{2}+1}\, \sqrt {6 x^{2}+4}\, \operatorname {EllipticF}\left (i x , \frac {\sqrt {6}}{2}\right )}{2 \sqrt {3 x^{4}+5 x^{2}+2}}+\frac {1219 i \sqrt {x^{2}+1}\, \sqrt {6 x^{2}+4}\, \left (\operatorname {EllipticF}\left (i x , \frac {\sqrt {6}}{2}\right )-\operatorname {EllipticE}\left (i x , \frac {\sqrt {6}}{2}\right )\right )}{6 \sqrt {3 x^{4}+5 x^{2}+2}}\) \(135\)
elliptic \(\frac {\left (\frac {77}{27} x^{3}+\frac {65}{27} x \right ) \sqrt {3 x^{4}+5 x^{2}+2}}{\left (x^{4}+\frac {5}{3} x^{2}+\frac {2}{3}\right )^{2}}-\frac {6 \left (\frac {1219}{12} x^{3}+\frac {3077}{36} x \right )}{\sqrt {3 x^{4}+5 x^{2}+2}}-\frac {503 i \sqrt {x^{2}+1}\, \sqrt {6 x^{2}+4}\, \operatorname {EllipticF}\left (i x , \frac {\sqrt {6}}{2}\right )}{2 \sqrt {3 x^{4}+5 x^{2}+2}}+\frac {1219 i \sqrt {x^{2}+1}\, \sqrt {6 x^{2}+4}\, \left (\operatorname {EllipticF}\left (i x , \frac {\sqrt {6}}{2}\right )-\operatorname {EllipticE}\left (i x , \frac {\sqrt {6}}{2}\right )\right )}{6 \sqrt {3 x^{4}+5 x^{2}+2}}\) \(162\)
default \(\frac {\left (\frac {5}{27} x^{3}+\frac {4}{27} x \right ) \sqrt {3 x^{4}+5 x^{2}+2}}{\left (x^{4}+\frac {5}{3} x^{2}+\frac {2}{3}\right )^{2}}-\frac {6 \left (\frac {20}{3} x^{3}+\frac {101}{18} x \right )}{\sqrt {3 x^{4}+5 x^{2}+2}}-\frac {503 i \sqrt {x^{2}+1}\, \sqrt {6 x^{2}+4}\, \operatorname {EllipticF}\left (i x , \frac {\sqrt {6}}{2}\right )}{2 \sqrt {3 x^{4}+5 x^{2}+2}}+\frac {1219 i \sqrt {x^{2}+1}\, \sqrt {6 x^{2}+4}\, \left (\operatorname {EllipticF}\left (i x , \frac {\sqrt {6}}{2}\right )-\operatorname {EllipticE}\left (i x , \frac {\sqrt {6}}{2}\right )\right )}{6 \sqrt {3 x^{4}+5 x^{2}+2}}+\frac {4 \left (\frac {5}{18} x^{3}+\frac {13}{54} x \right ) \sqrt {3 x^{4}+5 x^{2}+2}}{\left (x^{4}+\frac {5}{3} x^{2}+\frac {2}{3}\right )^{2}}-\frac {24 \left (\frac {115}{12} x^{3}+\frac {145}{18} x \right )}{\sqrt {3 x^{4}+5 x^{2}+2}}-\frac {7 \left (-\frac {2}{9} x^{3}-\frac {5}{27} x \right ) \sqrt {3 x^{4}+5 x^{2}+2}}{\left (x^{4}+\frac {5}{3} x^{2}+\frac {2}{3}\right )^{2}}+\frac {-\frac {679}{2} x^{3}-\frac {1715}{6} x}{\sqrt {3 x^{4}+5 x^{2}+2}}\) \(286\)

Input:

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

Output:

-1/2*x*(3657*x^6+9172*x^4+7515*x^2+2008)/(3*x^4+5*x^2+2)^(3/2)-503/2*I*(x^ 
2+1)^(1/2)*(6*x^2+4)^(1/2)/(3*x^4+5*x^2+2)^(1/2)*EllipticF(I*x,1/2*6^(1/2) 
)+1219/6*I*(x^2+1)^(1/2)*(6*x^2+4)^(1/2)/(3*x^4+5*x^2+2)^(1/2)*(EllipticF( 
I*x,1/2*6^(1/2))-EllipticE(I*x,1/2*6^(1/2)))
 

Fricas [A] (verification not implemented)

Time = 0.07 (sec) , antiderivative size = 128, normalized size of antiderivative = 0.81 \[ \int \frac {4-7 x^2+x^4}{\left (2+5 x^2+3 x^4\right )^{5/2}} \, dx=-\frac {1219 \, \sqrt {2} {\left (-9 i \, x^{8} - 30 i \, x^{6} - 37 i \, x^{4} - 20 i \, x^{2} - 4 i\right )} E(\arcsin \left (i \, x\right )\,|\,\frac {3}{2}) + 2728 \, \sqrt {2} {\left (9 i \, x^{8} + 30 i \, x^{6} + 37 i \, x^{4} + 20 i \, x^{2} + 4 i\right )} F(\arcsin \left (i \, x\right )\,|\,\frac {3}{2}) + 3 \, {\left (3657 \, x^{7} + 9172 \, x^{5} + 7515 \, x^{3} + 2008 \, x\right )} \sqrt {3 \, x^{4} + 5 \, x^{2} + 2}}{6 \, {\left (9 \, x^{8} + 30 \, x^{6} + 37 \, x^{4} + 20 \, x^{2} + 4\right )}} \] Input:

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

Output:

-1/6*(1219*sqrt(2)*(-9*I*x^8 - 30*I*x^6 - 37*I*x^4 - 20*I*x^2 - 4*I)*ellip 
tic_e(arcsin(I*x), 3/2) + 2728*sqrt(2)*(9*I*x^8 + 30*I*x^6 + 37*I*x^4 + 20 
*I*x^2 + 4*I)*elliptic_f(arcsin(I*x), 3/2) + 3*(3657*x^7 + 9172*x^5 + 7515 
*x^3 + 2008*x)*sqrt(3*x^4 + 5*x^2 + 2))/(9*x^8 + 30*x^6 + 37*x^4 + 20*x^2 
+ 4)
 

Sympy [F]

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

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

Output:

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

Maxima [F]

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

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

Output:

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

Giac [F]

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

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

Output:

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

Mupad [F(-1)]

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

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

Output:

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

Reduce [F]

\[ \int \frac {4-7 x^2+x^4}{\left (2+5 x^2+3 x^4\right )^{5/2}} \, dx=\frac {7 \sqrt {3 x^{4}+5 x^{2}+2}\, x +234 \left (\int \frac {\sqrt {3 x^{4}+5 x^{2}+2}}{27 x^{12}+135 x^{10}+279 x^{8}+305 x^{6}+186 x^{4}+60 x^{2}+8}d x \right ) x^{8}+780 \left (\int \frac {\sqrt {3 x^{4}+5 x^{2}+2}}{27 x^{12}+135 x^{10}+279 x^{8}+305 x^{6}+186 x^{4}+60 x^{2}+8}d x \right ) x^{6}+962 \left (\int \frac {\sqrt {3 x^{4}+5 x^{2}+2}}{27 x^{12}+135 x^{10}+279 x^{8}+305 x^{6}+186 x^{4}+60 x^{2}+8}d x \right ) x^{4}+520 \left (\int \frac {\sqrt {3 x^{4}+5 x^{2}+2}}{27 x^{12}+135 x^{10}+279 x^{8}+305 x^{6}+186 x^{4}+60 x^{2}+8}d x \right ) x^{2}+104 \left (\int \frac {\sqrt {3 x^{4}+5 x^{2}+2}}{27 x^{12}+135 x^{10}+279 x^{8}+305 x^{6}+186 x^{4}+60 x^{2}+8}d x \right )+1035 \left (\int \frac {\sqrt {3 x^{4}+5 x^{2}+2}\, x^{4}}{27 x^{12}+135 x^{10}+279 x^{8}+305 x^{6}+186 x^{4}+60 x^{2}+8}d x \right ) x^{8}+3450 \left (\int \frac {\sqrt {3 x^{4}+5 x^{2}+2}\, x^{4}}{27 x^{12}+135 x^{10}+279 x^{8}+305 x^{6}+186 x^{4}+60 x^{2}+8}d x \right ) x^{6}+4255 \left (\int \frac {\sqrt {3 x^{4}+5 x^{2}+2}\, x^{4}}{27 x^{12}+135 x^{10}+279 x^{8}+305 x^{6}+186 x^{4}+60 x^{2}+8}d x \right ) x^{4}+2300 \left (\int \frac {\sqrt {3 x^{4}+5 x^{2}+2}\, x^{4}}{27 x^{12}+135 x^{10}+279 x^{8}+305 x^{6}+186 x^{4}+60 x^{2}+8}d x \right ) x^{2}+460 \left (\int \frac {\sqrt {3 x^{4}+5 x^{2}+2}\, x^{4}}{27 x^{12}+135 x^{10}+279 x^{8}+305 x^{6}+186 x^{4}+60 x^{2}+8}d x \right )}{90 x^{8}+300 x^{6}+370 x^{4}+200 x^{2}+40} \] Input:

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

Output:

(7*sqrt(3*x**4 + 5*x**2 + 2)*x + 234*int(sqrt(3*x**4 + 5*x**2 + 2)/(27*x** 
12 + 135*x**10 + 279*x**8 + 305*x**6 + 186*x**4 + 60*x**2 + 8),x)*x**8 + 7 
80*int(sqrt(3*x**4 + 5*x**2 + 2)/(27*x**12 + 135*x**10 + 279*x**8 + 305*x* 
*6 + 186*x**4 + 60*x**2 + 8),x)*x**6 + 962*int(sqrt(3*x**4 + 5*x**2 + 2)/( 
27*x**12 + 135*x**10 + 279*x**8 + 305*x**6 + 186*x**4 + 60*x**2 + 8),x)*x* 
*4 + 520*int(sqrt(3*x**4 + 5*x**2 + 2)/(27*x**12 + 135*x**10 + 279*x**8 + 
305*x**6 + 186*x**4 + 60*x**2 + 8),x)*x**2 + 104*int(sqrt(3*x**4 + 5*x**2 
+ 2)/(27*x**12 + 135*x**10 + 279*x**8 + 305*x**6 + 186*x**4 + 60*x**2 + 8) 
,x) + 1035*int((sqrt(3*x**4 + 5*x**2 + 2)*x**4)/(27*x**12 + 135*x**10 + 27 
9*x**8 + 305*x**6 + 186*x**4 + 60*x**2 + 8),x)*x**8 + 3450*int((sqrt(3*x** 
4 + 5*x**2 + 2)*x**4)/(27*x**12 + 135*x**10 + 279*x**8 + 305*x**6 + 186*x* 
*4 + 60*x**2 + 8),x)*x**6 + 4255*int((sqrt(3*x**4 + 5*x**2 + 2)*x**4)/(27* 
x**12 + 135*x**10 + 279*x**8 + 305*x**6 + 186*x**4 + 60*x**2 + 8),x)*x**4 
+ 2300*int((sqrt(3*x**4 + 5*x**2 + 2)*x**4)/(27*x**12 + 135*x**10 + 279*x* 
*8 + 305*x**6 + 186*x**4 + 60*x**2 + 8),x)*x**2 + 460*int((sqrt(3*x**4 + 5 
*x**2 + 2)*x**4)/(27*x**12 + 135*x**10 + 279*x**8 + 305*x**6 + 186*x**4 + 
60*x**2 + 8),x))/(10*(9*x**8 + 30*x**6 + 37*x**4 + 20*x**2 + 4))