\(\int \frac {x^2}{(a+8 x-8 x^2+4 x^3-x^4)^{5/2}} \, dx\) [795]
Optimal result
Integrand size = 28, antiderivative size = 582 \[
\int \frac {x^2}{\left (a+8 x-8 x^2+4 x^3-x^4\right )^{5/2}} \, dx=\frac {1+(-1+x)^2}{3 (4+a) \left (3+a-2 (-1+x)^2-(-1+x)^4\right )^{3/2}}+\frac {2 \left (1+(-1+x)^2\right )}{3 (4+a)^2 \sqrt {3+a-2 (-1+x)^2-(-1+x)^4}}+\frac {(4+a) \left (2+(-1+x)^2\right ) (-1+x)}{6 \left (12+7 a+a^2\right ) \left (3+a-2 (-1+x)^2-(-1+x)^4\right )^{3/2}}+\frac {\left (29+7 a+(13+3 a) (-1+x)^2\right ) (-1+x)}{12 (3+a)^2 (4+a) \sqrt {3+a-2 (-1+x)^2-(-1+x)^4}}-\frac {(13+3 a) \left (1-\sqrt {4+a}\right ) \left (1+\frac {(-1+x)^2}{1-\sqrt {4+a}}\right ) (-1+x)}{12 (3+a)^2 (4+a) \sqrt {3+a-2 (-1+x)^2-(-1+x)^4}}+\frac {(13+3 a) \left (1-\sqrt {4+a}\right ) \sqrt {1+\sqrt {4+a}} \left (1+\frac {(-1+x)^2}{1-\sqrt {4+a}}\right ) E\left (\arctan \left (\frac {-1+x}{\sqrt {1+\sqrt {4+a}}}\right )|-\frac {2 \sqrt {4+a}}{1-\sqrt {4+a}}\right )}{12 (3+a)^2 (4+a) \sqrt {\frac {1+\frac {(-1+x)^2}{1-\sqrt {4+a}}}{1+\frac {(-1+x)^2}{1+\sqrt {4+a}}}} \sqrt {3+a-2 (-1+x)^2-(-1+x)^4}}+\frac {\sqrt {1+\sqrt {4+a}} \left (1+\frac {(-1+x)^2}{1-\sqrt {4+a}}\right ) \operatorname {EllipticF}\left (\arctan \left (\frac {-1+x}{\sqrt {1+\sqrt {4+a}}}\right ),-\frac {2 \sqrt {4+a}}{1-\sqrt {4+a}}\right )}{12 \left (12+7 a+a^2\right ) \sqrt {\frac {1+\fr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(1/2)))*(1-(4+a)^(1/2))*(1+(
4+a)^(1/2))^(1/2)/(3+a)^2/(4+a)/(3+a-2*(-1+x)^2-(-1+x)^4)^(1/2)/((1+(-1+x)^2/(1-(4+a)^(1/2)))/(1+(-1+x)^2/(1+(
4+a)^(1/2))))^(1/2)
Rubi [A] (verified)
Time = 0.51 (sec) , antiderivative size = 582, normalized size of antiderivative = 1.00, number of
steps used = 13, number of rules used = 12, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.429, Rules used = {1694, 1687, 1192, 1216, 545,
429, 506, 422, 12, 1121, 628, 627} \[
\int \frac {x^2}{\left (a+8 x-8 x^2+4 x^3-x^4\right )^{5/2}} \, dx=\frac {\sqrt {\sqrt {a+4}+1} \left (\frac {(x-1)^2}{1-\sqrt {a+4}}+1\right ) \operatorname {EllipticF}\left (\arctan \left (\frac {x-1}{\sqrt {\sqrt {a+4}+1}}\right ),-\frac {2 \sqrt {a+4}}{1-\sqrt {a+4}}\right )}{12 \left (a^2+7 a+12\right ) \sqrt {\frac {\frac {(x-1)^2}{1-\sqrt {a+4}}+1}{\frac {(x-1)^2}{\sqrt {a+4}+1}+1}} \sqrt {a-(x-1)^4-2 (x-1)^2+3}}+\frac {(a+4) \left ((x-1)^2+2\right ) (x-1)}{6 \left (a^2+7 a+12\right ) \left (a-(x-1)^4-2 (x-1)^2+3\right )^{3/2}}+\frac {(3 a+13) \left (1-\sqrt {a+4}\right ) \sqrt {\sqrt {a+4}+1} \left (\frac {(x-1)^2}{1-\sqrt {a+4}}+1\right ) E\left (\arctan \left (\frac {x-1}{\sqrt {\sqrt {a+4}+1}}\right )|-\frac {2 \sqrt {a+4}}{1-\sqrt {a+4}}\right )}{12 (a+3)^2 (a+4) \sqrt {\frac {\frac {(x-1)^2}{1-\sqrt {a+4}}+1}{\frac {(x-1)^2}{\sqrt {a+4}+1}+1}} \sqrt {a-(x-1)^4-2 (x-1)^2+3}}+\frac {2 \left ((x-1)^2+1\right )}{3 (a+4)^2 \sqrt {a-(x-1)^4-2 (x-1)^2+3}}+\frac {(x-1)^2+1}{3 (a+4) \left (a-(x-1)^4-2 (x-1)^2+3\right )^{3/2}}+\frac {(x-1) \left ((3 a+13) (x-1)^2+7 a+29\right )}{12 (a+3)^2 (a+4) \sqrt {a-(x-1)^4-2 (x-1)^2+3}}-\frac {(3 a+13) \left (1-\sqrt {a+4}\right ) (x-1) \left (\frac {(x-1)^2}{1-\sqrt {a+4}}+1\right )}{12 (a+3)^2 (a+4) \sqrt {a-(x-1)^4-2 (x-1)^2+3}}
\]
[In]
Int[x^2/(a + 8*x - 8*x^2 + 4*x^3 - x^4)^(5/2),x]
[Out]
(1 + (-1 + x)^2)/(3*(4 + a)*(3 + a - 2*(-1 + x)^2 - (-1 + x)^4)^(3/2)) + (2*(1 + (-1 + x)^2))/(3*(4 + a)^2*Sqr
t[3 + a - 2*(-1 + x)^2 - (-1 + x)^4]) + ((4 + a)*(2 + (-1 + x)^2)*(-1 + x))/(6*(12 + 7*a + a^2)*(3 + a - 2*(-1
+ x)^2 - (-1 + x)^4)^(3/2)) + ((29 + 7*a + (13 + 3*a)*(-1 + x)^2)*(-1 + x))/(12*(3 + a)^2*(4 + a)*Sqrt[3 + a
- 2*(-1 + x)^2 - (-1 + x)^4]) - ((13 + 3*a)*(1 - Sqrt[4 + a])*(1 + (-1 + x)^2/(1 - Sqrt[4 + a]))*(-1 + x))/(12
*(3 + a)^2*(4 + a)*Sqrt[3 + a - 2*(-1 + x)^2 - (-1 + x)^4]) + ((13 + 3*a)*(1 - Sqrt[4 + a])*Sqrt[1 + Sqrt[4 +
a]]*(1 + (-1 + x)^2/(1 - Sqrt[4 + a]))*EllipticE[ArcTan[(-1 + x)/Sqrt[1 + Sqrt[4 + a]]], (-2*Sqrt[4 + a])/(1 -
Sqrt[4 + a])])/(12*(3 + a)^2*(4 + a)*Sqrt[(1 + (-1 + x)^2/(1 - Sqrt[4 + a]))/(1 + (-1 + x)^2/(1 + Sqrt[4 + a]
))]*Sqrt[3 + a - 2*(-1 + x)^2 - (-1 + x)^4]) + (Sqrt[1 + Sqrt[4 + a]]*(1 + (-1 + x)^2/(1 - Sqrt[4 + a]))*Ellip
ticF[ArcTan[(-1 + x)/Sqrt[1 + Sqrt[4 + a]]], (-2*Sqrt[4 + a])/(1 - Sqrt[4 + a])])/(12*(12 + 7*a + a^2)*Sqrt[(1
+ (-1 + x)^2/(1 - Sqrt[4 + a]))/(1 + (-1 + x)^2/(1 + Sqrt[4 + a]))]*Sqrt[3 + a - 2*(-1 + x)^2 - (-1 + x)^4])
Rule 12
Int[(a_)*(u_), x_Symbol] :> Dist[a, Int[u, x], x] /; FreeQ[a, x] && !MatchQ[u, (b_)*(v_) /; FreeQ[b, x]]
Rule 422
Int[Sqrt[(a_) + (b_.)*(x_)^2]/((c_) + (d_.)*(x_)^2)^(3/2), x_Symbol] :> Simp[(Sqrt[a + b*x^2]/(c*Rt[d/c, 2]*Sq
rt[c + d*x^2]*Sqrt[c*((a + b*x^2)/(a*(c + d*x^2)))]))*EllipticE[ArcTan[Rt[d/c, 2]*x], 1 - b*(c/(a*d))], x] /;
FreeQ[{a, b, c, d}, x] && PosQ[b/a] && PosQ[d/c]
Rule 429
Int[1/(Sqrt[(a_) + (b_.)*(x_)^2]*Sqrt[(c_) + (d_.)*(x_)^2]), x_Symbol] :> Simp[(Sqrt[a + b*x^2]/(a*Rt[d/c, 2]*
Sqrt[c + d*x^2]*Sqrt[c*((a + b*x^2)/(a*(c + d*x^2)))]))*EllipticF[ArcTan[Rt[d/c, 2]*x], 1 - b*(c/(a*d))], x] /
; FreeQ[{a, b, c, d}, x] && PosQ[d/c] && PosQ[b/a] && !SimplerSqrtQ[b/a, d/c]
Rule 506
Int[(x_)^2/(Sqrt[(a_) + (b_.)*(x_)^2]*Sqrt[(c_) + (d_.)*(x_)^2]), x_Symbol] :> Simp[x*(Sqrt[a + b*x^2]/(b*Sqrt
[c + d*x^2])), x] - Dist[c/b, Int[Sqrt[a + b*x^2]/(c + d*x^2)^(3/2), x], x] /; FreeQ[{a, b, c, d}, x] && NeQ[b
*c - a*d, 0] && PosQ[b/a] && PosQ[d/c] && !SimplerSqrtQ[b/a, d/c]
Rule 545
Int[((a_) + (b_.)*(x_)^(n_))^(p_.)*((c_) + (d_.)*(x_)^(n_))^(q_.)*((e_) + (f_.)*(x_)^(n_)), x_Symbol] :> Dist[
e, Int[(a + b*x^n)^p*(c + d*x^n)^q, x], x] + Dist[f, Int[x^n*(a + b*x^n)^p*(c + d*x^n)^q, x], x] /; FreeQ[{a,
b, c, d, e, f, n, p, q}, x]
Rule 627
Int[((a_.) + (b_.)*(x_) + (c_.)*(x_)^2)^(-3/2), x_Symbol] :> Simp[-2*((b + 2*c*x)/((b^2 - 4*a*c)*Sqrt[a + b*x
+ c*x^2])), x] /; FreeQ[{a, b, c}, x] && NeQ[b^2 - 4*a*c, 0]
Rule 628
Int[((a_.) + (b_.)*(x_) + (c_.)*(x_)^2)^(p_), x_Symbol] :> Simp[(b + 2*c*x)*((a + b*x + c*x^2)^(p + 1)/((p + 1
)*(b^2 - 4*a*c))), x] - Dist[2*c*((2*p + 3)/((p + 1)*(b^2 - 4*a*c))), Int[(a + b*x + c*x^2)^(p + 1), x], x] /;
FreeQ[{a, b, c}, x] && NeQ[b^2 - 4*a*c, 0] && LtQ[p, -1] && NeQ[p, -3/2] && IntegerQ[4*p]
Rule 1121
Int[(x_)*((a_) + (b_.)*(x_)^2 + (c_.)*(x_)^4)^(p_.), x_Symbol] :> Dist[1/2, Subst[Int[(a + b*x + c*x^2)^p, x],
x, x^2], x] /; FreeQ[{a, b, c, p}, x]
Rule 1192
Int[((d_) + (e_.)*(x_)^2)*((a_) + (b_.)*(x_)^2 + (c_.)*(x_)^4)^(p_), x_Symbol] :> 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] + Dist[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 1216
Int[((d_) + (e_.)*(x_)^2)/Sqrt[(a_) + (b_.)*(x_)^2 + (c_.)*(x_)^4], x_Symbol] :> With[{q = Rt[b^2 - 4*a*c, 2]}
, Dist[Sqrt[1 + 2*c*(x^2/(b - q))]*(Sqrt[1 + 2*c*(x^2/(b + q))]/Sqrt[a + b*x^2 + c*x^4]), Int[(d + e*x^2)/(Sqr
t[1 + 2*c*(x^2/(b - q))]*Sqrt[1 + 2*c*(x^2/(b + q))]), x], x]] /; FreeQ[{a, b, c, d, e}, x] && NeQ[b^2 - 4*a*c
, 0] && NegQ[c/a]
Rule 1687
Int[(Pq_)*((a_) + (b_.)*(x_)^2 + (c_.)*(x_)^4)^(p_), x_Symbol] :> Module[{q = Expon[Pq, x], k}, Int[Sum[Coeff[
Pq, x, 2*k]*x^(2*k), {k, 0, q/2}]*(a + b*x^2 + c*x^4)^p, x] + Int[x*Sum[Coeff[Pq, x, 2*k + 1]*x^(2*k), {k, 0,
(q - 1)/2}]*(a + b*x^2 + c*x^4)^p, x]] /; FreeQ[{a, b, c, p}, x] && PolyQ[Pq, x] && !PolyQ[Pq, x^2]
Rule 1694
Int[(Pq_)*(Q4_)^(p_), x_Symbol] :> With[{a = Coeff[Q4, x, 0], b = Coeff[Q4, x, 1], c = Coeff[Q4, x, 2], d = Co
eff[Q4, x, 3], e = Coeff[Q4, x, 4]}, Subst[Int[SimplifyIntegrand[(Pq /. x -> -d/(4*e) + x)*(a + d^4/(256*e^3)
- b*(d/(8*e)) + (c - 3*(d^2/(8*e)))*x^2 + e*x^4)^p, x], x], x, d/(4*e) + x] /; EqQ[d^3 - 4*c*d*e + 8*b*e^2, 0]
&& NeQ[d, 0]] /; FreeQ[p, x] && PolyQ[Pq, x] && PolyQ[Q4, x, 4] && !IGtQ[p, 0]
Rubi steps \begin{align*}
\text {integral}& = \text {Subst}\left (\int \frac {(1+x)^2}{\left (3+a-2 x^2-x^4\right )^{5/2}} \, dx,x,-1+x\right ) \\ & = \text {Subst}\left (\int \frac {2 x}{\left (3+a-2 x^2-x^4\right )^{5/2}} \, dx,x,-1+x\right )+\text {Subst}\left (\int \frac {1+x^2}{\left (3+a-2 x^2-x^4\right )^{5/2}} \, dx,x,-1+x\right ) \\ & = \frac {(4+a) \left (2+(-1+x)^2\right ) (-1+x)}{6 \left (12+7 a+a^2\right ) \left (3+a-2 (-1+x)^2-(-1+x)^4\right )^{3/2}}+2 \text {Subst}\left (\int \frac {x}{\left (3+a-2 x^2-x^4\right )^{5/2}} \, dx,x,-1+x\right )-\frac {\text {Subst}\left (\int \frac {-8 (4+a)-6 (4+a) x^2}{\left (3+a-2 x^2-x^4\right )^{3/2}} \, dx,x,-1+x\right )}{12 \left (12+7 a+a^2\right )} \\ & = -\frac {\left (29+7 a+(13+3 a) (1-x)^2\right ) (1-x)}{12 (3+a)^2 (4+a) \sqrt {3+a-2 (1-x)^2-(1-x)^4}}+\frac {(4+a) \left (2+(-1+x)^2\right ) (-1+x)}{6 \left (12+7 a+a^2\right ) \left (3+a-2 (-1+x)^2-(-1+x)^4\right )^{3/2}}+\frac {\text {Subst}\left (\int \frac {4 (3+a) (4+a)-4 (4+a) (13+3 a) x^2}{\sqrt {3+a-2 x^2-x^4}} \, dx,x,-1+x\right )}{48 \left (12+7 a+a^2\right )^2}+\text {Subst}\left (\int \frac {1}{\left (3+a-2 x-x^2\right )^{5/2}} \, dx,x,(-1+x)^2\right ) \\ & = \frac {1+(-1+x)^2}{3 (4+a) \left (3+a-2 (-1+x)^2-(-1+x)^4\right )^{3/2}}-\frac {\left (29+7 a+(13+3 a) (1-x)^2\right ) (1-x)}{12 (3+a)^2 (4+a) \sqrt {3+a-2 (1-x)^2-(1-x)^4}}+\frac {(4+a) \left (2+(-1+x)^2\right ) (-1+x)}{6 \left (12+7 a+a^2\right ) \left (3+a-2 (-1+x)^2-(-1+x)^4\right )^{3/2}}+\frac {2 \text {Subst}\left (\int \frac {1}{\left (3+a-2 x-x^2\right )^{3/2}} \, dx,x,(-1+x)^2\right )}{3 (4+a)}+\frac {\left (\sqrt {1-\frac {2 (-1+x)^2}{-2-2 \sqrt {4+a}}} \sqrt {1-\frac {2 (-1+x)^2}{-2+2 \sqrt {4+a}}}\right ) \text {Subst}\left (\int \frac {4 (3+a) (4+a)-4 (4+a) (13+3 a) x^2}{\sqrt {1-\frac {2 x^2}{-2-2 \sqrt {4+a}}} \sqrt {1-\frac {2 x^2}{-2+2 \sqrt {4+a}}}} \, dx,x,-1+x\right )}{48 \left (12+7 a+a^2\right )^2 \sqrt {3+a-2 (-1+x)^2-(-1+x)^4}} \\ & = \frac {2 \left (1+(-1+x)^2\right )}{3 (4+a)^2 \sqrt {3+a-2 (1-x)^2-(1-x)^4}}+\frac {1+(-1+x)^2}{3 (4+a) \left (3+a-2 (-1+x)^2-(-1+x)^4\right )^{3/2}}-\frac {\left (29+7 a+(13+3 a) (1-x)^2\right ) (1-x)}{12 (3+a)^2 (4+a) \sqrt {3+a-2 (1-x)^2-(1-x)^4}}+\frac {(4+a) \left (2+(-1+x)^2\right ) (-1+x)}{6 \left (12+7 a+a^2\right ) \left (3+a-2 (-1+x)^2-(-1+x)^4\right )^{3/2}}+\frac {\left ((3+a) (4+a) \sqrt {1-\frac {2 (-1+x)^2}{-2-2 \sqrt {4+a}}} \sqrt {1-\frac {2 (-1+x)^2}{-2+2 \sqrt {4+a}}}\right ) \text {Subst}\left (\int \frac {1}{\sqrt {1-\frac {2 x^2}{-2-2 \sqrt {4+a}}} \sqrt {1-\frac {2 x^2}{-2+2 \sqrt {4+a}}}} \, dx,x,-1+x\right )}{12 \left (12+7 a+a^2\right )^2 \sqrt {3+a-2 (-1+x)^2-(-1+x)^4}}-\frac {\left ((4+a) (13+3 a) \sqrt {1-\frac {2 (-1+x)^2}{-2-2 \sqrt {4+a}}} \sqrt {1-\frac {2 (-1+x)^2}{-2+2 \sqrt {4+a}}}\right ) \text {Subst}\left (\int \frac {x^2}{\sqrt {1-\frac {2 x^2}{-2-2 \sqrt {4+a}}} \sqrt {1-\frac {2 x^2}{-2+2 \sqrt {4+a}}}} \, dx,x,-1+x\right )}{12 \left (12+7 a+a^2\right )^2 \sqrt {3+a-2 (-1+x)^2-(-1+x)^4}} \\ & = \frac {2 \left (1+(-1+x)^2\right )}{3 (4+a)^2 \sqrt {3+a-2 (1-x)^2-(1-x)^4}}+\frac {1+(-1+x)^2}{3 (4+a) \left (3+a-2 (-1+x)^2-(-1+x)^4\right )^{3/2}}-\frac {\left (29+7 a+(13+3 a) (1-x)^2\right ) (1-x)}{12 (3+a)^2 (4+a) \sqrt {3+a-2 (1-x)^2-(1-x)^4}}+\frac {(13+3 a) \left (1-\sqrt {4+a}\right ) \left (1+\frac {(1-x)^2}{1-\sqrt {4+a}}\right ) (1-x)}{12 (3+a)^2 (4+a) \sqrt {3+a-2 (1-x)^2-(1-x)^4}}+\frac {(4+a) \left (2+(-1+x)^2\right ) (-1+x)}{6 \left (12+7 a+a^2\right ) \left (3+a-2 (-1+x)^2-(-1+x)^4\right )^{3/2}}-\frac {\sqrt {1+\sqrt {4+a}} \left (1+\frac {(1-x)^2}{1-\sqrt {4+a}}\right ) F\left (\tan ^{-1}\left (\frac {1-x}{\sqrt {1+\sqrt {4+a}}}\right )|-\frac {2 \sqrt {4+a}}{1-\sqrt {4+a}}\right )}{12 \left (12+7 a+a^2\right ) \sqrt {\frac {1+\frac {(1-x)^2}{1-\sqrt {4+a}}}{1+\frac {(1-x)^2}{1+\sqrt {4+a}}}} \sqrt {3+a-2 (1-x)^2-(1-x)^4}}+\frac {\left ((4+a) (13+3 a) \left (1-\sqrt {4+a}\right ) \sqrt {1-\frac {2 (-1+x)^2}{-2-2 \sqrt {4+a}}} \sqrt {1-\frac {2 (-1+x)^2}{-2+2 \sqrt {4+a}}}\right ) \text {Subst}\left (\int \frac {\sqrt {1-\frac {2 x^2}{-2+2 \sqrt {4+a}}}}{\left (1-\frac {2 x^2}{-2-2 \sqrt {4+a}}\right )^{3/2}} \, dx,x,-1+x\right )}{12 \left (12+7 a+a^2\right )^2 \sqrt {3+a-2 (-1+x)^2-(-1+x)^4}} \\ & = \frac {2 \left (1+(-1+x)^2\right )}{3 (4+a)^2 \sqrt {3+a-2 (1-x)^2-(1-x)^4}}+\frac {1+(-1+x)^2}{3 (4+a) \left (3+a-2 (-1+x)^2-(-1+x)^4\right )^{3/2}}-\frac {\left (29+7 a+(13+3 a) (1-x)^2\right ) (1-x)}{12 (3+a)^2 (4+a) \sqrt {3+a-2 (1-x)^2-(1-x)^4}}+\frac {(13+3 a) \left (1-\sqrt {4+a}\right ) \left (1+\frac {(1-x)^2}{1-\sqrt {4+a}}\right ) (1-x)}{12 (3+a)^2 (4+a) \sqrt {3+a-2 (1-x)^2-(1-x)^4}}+\frac {(4+a) \left (2+(-1+x)^2\right ) (-1+x)}{6 \left (12+7 a+a^2\right ) \left (3+a-2 (-1+x)^2-(-1+x)^4\right )^{3/2}}-\frac {(13+3 a) \left (1-\sqrt {4+a}\right ) \sqrt {1+\sqrt {4+a}} \left (1+\frac {(1-x)^2}{1-\sqrt {4+a}}\right ) E\left (\tan ^{-1}\left (\frac {1-x}{\sqrt {1+\sqrt {4+a}}}\right )|-\frac {2 \sqrt {4+a}}{1-\sqrt {4+a}}\right )}{12 (3+a)^2 (4+a) \sqrt {\frac {1+\frac {(1-x)^2}{1-\sqrt {4+a}}}{1+\frac {(1-x)^2}{1+\sqrt {4+a}}}} \sqrt {3+a-2 (1-x)^2-(1-x)^4}}-\frac {\sqrt {1+\sqrt {4+a}} \left (1+\frac {(1-x)^2}{1-\sqrt {4+a}}\right ) F\left (\tan ^{-1}\left (\frac {1-x}{\sqrt {1+\sqrt {4+a}}}\right )|-\frac {2 \sqrt {4+a}}{1-\sqrt {4+a}}\right )}{12 \left (12+7 a+a^2\right ) \sqrt {\frac {1+\frac {(1-x)^2}{1-\sqrt {4+a}}}{1+\frac {(1-x)^2}{1+\sqrt {4+a}}}} \sqrt {3+a-2 (1-x)^2-(1-x)^4}} \\
\end{align*}
Mathematica [B] (verified)
Leaf count is larger than twice the leaf count of optimal. \(5812\) vs. \(2(582)=1164\).
Time = 17.14 (sec) , antiderivative size = 5812, normalized size of antiderivative = 9.99
\[
\int \frac {x^2}{\left (a+8 x-8 x^2+4 x^3-x^4\right )^{5/2}} \, dx=\text {Result too large to show}
\]
[In]
Integrate[x^2/(a + 8*x - 8*x^2 + 4*x^3 - x^4)^(5/2),x]
[Out]
Result too large to show
Maple [B] (warning: unable to verify)
Leaf count of result is larger than twice the leaf count of optimal. \(2779\) vs. \(2(628)=1256\).
Time = 1.51 (sec) , antiderivative size = 2780, normalized size of antiderivative =
4.78
| | |
method | result | size |
| | |
default |
\(\text {Expression too large to display}\) |
\(2780\) |
elliptic |
\(\text {Expression too large to display}\) |
\(2780\) |
| | |
|
|
|
[In]
int(x^2/(-x^4+4*x^3-8*x^2+a+8*x)^(5/2),x,method=_RETURNVERBOSE)
[Out]
(1/6/(3+a)*x^3-1/6*(6+a)/(a^2+7*a+12)*x^2+1/6*(a+8)/(a^2+7*a+12)*x+1/6/(a^2+7*a+12)*a)*(-x^4+4*x^3-8*x^2+a+8*x
)^(1/2)/(x^4-4*x^3+8*x^2-a-8*x)^2+2*(1/24*(13+3*a)/(3+a)/(a^2+7*a+12)*x^3-1/24*(a^2+27*a+84)/(a^2+7*a+12)^2*x^
2+1/6*(9*a+32)/(a^2+7*a+12)^2*x+1/12*(3*a^2+7*a-12)/(a^2+7*a+12)^2)/(-x^4+4*x^3-8*x^2+a+8*x)^(1/2)-(-1/6*(a^2-
9*a-44)/(a^2+7*a+12)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+4)^(
1/2))^(1/2))*((-1-(a+4)^(1/2))^(1/2)+(-1+(a+4)^(1/2))^(1/2))/(-(-1-(a+4)^(1/2))^(1/2)+(-1+(a+4)^(1/2))^(1/2))/
((-1-(a+4)^(1/2))^(1/2)-(-1+(a+4)^(1/2))^(1/2)))^(1/2))/(-1+(a+4)^(1/2))^(1/2)-4/(-(-1-(a+4)^(1/2))^(1/2)+(-1+
(a+4)^(1/2))^(1/2))*EllipticPi(((-(-1-(a+4)^(1/2))^(1/2)+(-1+(a+4)^(1/2))^(1/2))*(x-1-(-1+(a+4)^(1/2))^(1/2))/
(-(-1-(a+4)^(1/2))^(1/2)-(-1+(a+4)^(1/2))^(1/2))/(x-1+(-1+(a+4)^(1/2))^(1/2)))^(1/2),((-1-(a+4)^(1/2))^(1/2)+(
-1+(a+4)^(1/2))^(1/2))/((-1-(a+4)^(1/2))^(1/2)-(-1+(a+4)^(1/2))^(1/2)),((-(-1-(a+4)^(1/2))^(1/2)-(-1+(a+4)^(1/
2))^(1/2))*((-1-(a+4)^(1/2))^(1/2)+(-1+(a+4)^(1/2))^(1/2))/(-(-1-(a+4)^(1/2))^(1/2)+(-1+(a+4)^(1/2))^(1/2))/((
-1-(a+4)^(1/2))^(1/2)-(-1+(a+4)^(1/2))^(1/2)))^(1/2))))/(-(x-1-(-1+(a+4)^(1/2))^(1/2))*(x-1+(-1+(a+4)^(1/2))^(
1/2))*(x-1-(-1-(a+4)^(1/2))^(1/2))*(x-1+(-1-(a+4)^(1/2))^(1/2)))^(1/2)
Fricas [F]
\[
\int \frac {x^2}{\left (a+8 x-8 x^2+4 x^3-x^4\right )^{5/2}} \, dx=\int { \frac {x^{2}}{{\left (-x^{4} + 4 \, x^{3} - 8 \, x^{2} + a + 8 \, x\right )}^{\frac {5}{2}}} \,d x }
\]
[In]
integrate(x^2/(-x^4+4*x^3-8*x^2+a+8*x)^(5/2),x, algorithm="fricas")
[Out]
integral(-sqrt(-x^4 + 4*x^3 - 8*x^2 + a + 8*x)*x^2/(x^12 - 12*x^11 + 72*x^10 - 3*(a - 256)*x^8 - 280*x^9 + 24*
(a - 64)*x^7 - 32*(3*a - 70)*x^6 + 48*(5*a - 48)*x^5 + 3*(a^2 - 128*a + 512)*x^4 - 4*(3*a^2 - 96*a + 128)*x^3
- a^3 - 24*a^2*x + 24*(a^2 - 8*a)*x^2), x)
Sympy [F]
\[
\int \frac {x^2}{\left (a+8 x-8 x^2+4 x^3-x^4\right )^{5/2}} \, dx=\int \frac {x^{2}}{\left (a - x^{4} + 4 x^{3} - 8 x^{2} + 8 x\right )^{\frac {5}{2}}}\, dx
\]
[In]
integrate(x**2/(-x**4+4*x**3-8*x**2+a+8*x)**(5/2),x)
[Out]
Integral(x**2/(a - x**4 + 4*x**3 - 8*x**2 + 8*x)**(5/2), x)
Maxima [F]
\[
\int \frac {x^2}{\left (a+8 x-8 x^2+4 x^3-x^4\right )^{5/2}} \, dx=\int { \frac {x^{2}}{{\left (-x^{4} + 4 \, x^{3} - 8 \, x^{2} + a + 8 \, x\right )}^{\frac {5}{2}}} \,d x }
\]
[In]
integrate(x^2/(-x^4+4*x^3-8*x^2+a+8*x)^(5/2),x, algorithm="maxima")
[Out]
integrate(x^2/(-x^4 + 4*x^3 - 8*x^2 + a + 8*x)^(5/2), x)
Giac [F]
\[
\int \frac {x^2}{\left (a+8 x-8 x^2+4 x^3-x^4\right )^{5/2}} \, dx=\int { \frac {x^{2}}{{\left (-x^{4} + 4 \, x^{3} - 8 \, x^{2} + a + 8 \, x\right )}^{\frac {5}{2}}} \,d x }
\]
[In]
integrate(x^2/(-x^4+4*x^3-8*x^2+a+8*x)^(5/2),x, algorithm="giac")
[Out]
integrate(x^2/(-x^4 + 4*x^3 - 8*x^2 + a + 8*x)^(5/2), x)
Mupad [F(-1)]
Timed out. \[
\int \frac {x^2}{\left (a+8 x-8 x^2+4 x^3-x^4\right )^{5/2}} \, dx=\int \frac {x^2}{{\left (-x^4+4\,x^3-8\,x^2+8\,x+a\right )}^{5/2}} \,d x
\]
[In]
int(x^2/(a + 8*x - 8*x^2 + 4*x^3 - x^4)^(5/2),x)
[Out]
int(x^2/(a + 8*x - 8*x^2 + 4*x^3 - x^4)^(5/2), x)