3.8.88 \(\int \frac {x}{\sqrt {a+8 x-8 x^2+4 x^3-x^4}} \, dx\) [788]

3.8.88.1 Optimal result
3.8.88.2 Mathematica [B] (verified)
3.8.88.3 Rubi [A] (warning: unable to verify)
3.8.88.4 Maple [B] (verified)
3.8.88.5 Fricas [F]
3.8.88.6 Sympy [F]
3.8.88.7 Maxima [F]
3.8.88.8 Giac [F]
3.8.88.9 Mupad [F(-1)]

3.8.88.1 Optimal result

Integrand size = 26, antiderivative size = 179 \[ \int \frac {x}{\sqrt {a+8 x-8 x^2+4 x^3-x^4}} \, dx=\frac {1}{2} \arctan \left (\frac {1+(-1+x)^2}{\sqrt {3+a-2 (-1+x)^2-(-1+x)^4}}\right )+\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 )}{\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}} \]

output
1/2*arctan((1+(-1+x)^2)/(3+a-2*(-1+x)^2-(-1+x)^4)^(1/2))+(1/(1+(-1+x)^2/(1 
+(4+a)^(1/2))))^(1/2)*(1+(-1+x)^2/(1+(4+a)^(1/2)))^(1/2)*EllipticF((-1+x)/ 
(1+(4+a)^(1/2))^(1/2)/(1+(-1+x)^2/(1+(4+a)^(1/2)))^(1/2),(-2*(4+a)^(1/2)/( 
1-(4+a)^(1/2)))^(1/2))*(1+(-1+x)^2/(1-(4+a)^(1/2)))*(1+(4+a)^(1/2))^(1/2)/ 
(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)
 
3.8.88.2 Mathematica [B] (verified)

Leaf count is larger than twice the leaf count of optimal. \(813\) vs. \(2(179)=358\).

Time = 12.96 (sec) , antiderivative size = 813, normalized size of antiderivative = 4.54 \[ \int \frac {x}{\sqrt {a+8 x-8 x^2+4 x^3-x^4}} \, dx=\frac {2 \left (1+\sqrt {-1-\sqrt {4+a}}-x\right ) \sqrt {\frac {\sqrt {-1-\sqrt {4+a}} \left (1+\sqrt {-1+\sqrt {4+a}}-x\right )}{\left (\sqrt {-1-\sqrt {4+a}}+\sqrt {-1+\sqrt {4+a}}\right ) \left (1+\sqrt {-1-\sqrt {4+a}}-x\right )}} \left (-1+\sqrt {-1-\sqrt {4+a}}+x\right ) \sqrt {\frac {\sqrt {-1-\sqrt {4+a}} \left (-1+\sqrt {-1+\sqrt {4+a}}+x\right )}{\left (-\sqrt {-1-\sqrt {4+a}}+\sqrt {-1+\sqrt {4+a}}\right ) \left (1+\sqrt {-1-\sqrt {4+a}}-x\right )}} \left (\left (1+\sqrt {-1-\sqrt {4+a}}\right ) \operatorname {EllipticF}\left (\arcsin \left (\sqrt {\frac {\left (\sqrt {-1-\sqrt {4+a}}-\sqrt {-1+\sqrt {4+a}}\right ) \left (-1+\sqrt {-1-\sqrt {4+a}}+x\right )}{\left (\sqrt {-1-\sqrt {4+a}}+\sqrt {-1+\sqrt {4+a}}\right ) \left (1+\sqrt {-1-\sqrt {4+a}}-x\right )}}\right ),\frac {\left (\sqrt {-1-\sqrt {4+a}}+\sqrt {-1+\sqrt {4+a}}\right )^2}{\left (\sqrt {-1-\sqrt {4+a}}-\sqrt {-1+\sqrt {4+a}}\right )^2}\right )-2 \sqrt {-1-\sqrt {4+a}} \operatorname {EllipticPi}\left (\frac {\sqrt {-1-\sqrt {4+a}}+\sqrt {-1+\sqrt {4+a}}}{-\sqrt {-1-\sqrt {4+a}}+\sqrt {-1+\sqrt {4+a}}},\arcsin \left (\sqrt {\frac {\left (\sqrt {-1-\sqrt {4+a}}-\sqrt {-1+\sqrt {4+a}}\right ) \left (-1+\sqrt {-1-\sqrt {4+a}}+x\right )}{\left (\sqrt {-1-\sqrt {4+a}}+\sqrt {-1+\sqrt {4+a}}\right ) \left (1+\sqrt {-1-\sqrt {4+a}}-x\right )}}\right ),\frac {\left (\sqrt {-1-\sqrt {4+a}}+\sqrt {-1+\sqrt {4+a}}\right )^2}{\left (\sqrt {-1-\sqrt {4+a}}-\sqrt {-1+\sqrt {4+a}}\right )^2}\right )\right )}{\sqrt {-1-\sqrt {4+a}} \sqrt {\frac {\left (\sqrt {-1-\sqrt {4+a}}-\sqrt {-1+\sqrt {4+a}}\right ) \left (-1+\sqrt {-1-\sqrt {4+a}}+x\right )}{\left (\sqrt {-1-\sqrt {4+a}}+\sqrt {-1+\sqrt {4+a}}\right ) \left (1+\sqrt {-1-\sqrt {4+a}}-x\right )}} \sqrt {a-x \left (-8+8 x-4 x^2+x^3\right )}} \]

input
Integrate[x/Sqrt[a + 8*x - 8*x^2 + 4*x^3 - x^4],x]
 
output
(2*(1 + Sqrt[-1 - Sqrt[4 + a]] - x)*Sqrt[(Sqrt[-1 - Sqrt[4 + a]]*(1 + Sqrt 
[-1 + Sqrt[4 + a]] - x))/((Sqrt[-1 - Sqrt[4 + a]] + Sqrt[-1 + Sqrt[4 + a]] 
)*(1 + Sqrt[-1 - Sqrt[4 + a]] - x))]*(-1 + Sqrt[-1 - Sqrt[4 + a]] + x)*Sqr 
t[(Sqrt[-1 - Sqrt[4 + a]]*(-1 + Sqrt[-1 + Sqrt[4 + a]] + x))/((-Sqrt[-1 - 
Sqrt[4 + a]] + Sqrt[-1 + Sqrt[4 + a]])*(1 + Sqrt[-1 - Sqrt[4 + a]] - x))]* 
((1 + Sqrt[-1 - Sqrt[4 + a]])*EllipticF[ArcSin[Sqrt[((Sqrt[-1 - Sqrt[4 + a 
]] - Sqrt[-1 + Sqrt[4 + a]])*(-1 + Sqrt[-1 - Sqrt[4 + a]] + x))/((Sqrt[-1 
- Sqrt[4 + a]] + Sqrt[-1 + Sqrt[4 + a]])*(1 + Sqrt[-1 - Sqrt[4 + a]] - x)) 
]], (Sqrt[-1 - Sqrt[4 + a]] + Sqrt[-1 + Sqrt[4 + a]])^2/(Sqrt[-1 - Sqrt[4 
+ a]] - Sqrt[-1 + Sqrt[4 + a]])^2] - 2*Sqrt[-1 - Sqrt[4 + a]]*EllipticPi[( 
Sqrt[-1 - Sqrt[4 + a]] + Sqrt[-1 + Sqrt[4 + a]])/(-Sqrt[-1 - Sqrt[4 + a]] 
+ Sqrt[-1 + Sqrt[4 + a]]), ArcSin[Sqrt[((Sqrt[-1 - Sqrt[4 + a]] - Sqrt[-1 
+ Sqrt[4 + a]])*(-1 + Sqrt[-1 - Sqrt[4 + a]] + x))/((Sqrt[-1 - Sqrt[4 + a] 
] + Sqrt[-1 + Sqrt[4 + a]])*(1 + Sqrt[-1 - Sqrt[4 + a]] - x))]], (Sqrt[-1 
- Sqrt[4 + a]] + Sqrt[-1 + Sqrt[4 + a]])^2/(Sqrt[-1 - Sqrt[4 + a]] - Sqrt[ 
-1 + Sqrt[4 + a]])^2]))/(Sqrt[-1 - Sqrt[4 + a]]*Sqrt[((Sqrt[-1 - Sqrt[4 + 
a]] - Sqrt[-1 + Sqrt[4 + a]])*(-1 + Sqrt[-1 - Sqrt[4 + a]] + x))/((Sqrt[-1 
 - Sqrt[4 + a]] + Sqrt[-1 + Sqrt[4 + a]])*(1 + Sqrt[-1 - Sqrt[4 + a]] - x) 
)]*Sqrt[a - x*(-8 + 8*x - 4*x^2 + x^3)])
 
3.8.88.3 Rubi [A] (warning: unable to verify)

Time = 0.39 (sec) , antiderivative size = 173, normalized size of antiderivative = 0.97, number of steps used = 8, number of rules used = 7, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.269, Rules used = {2459, 2202, 1417, 320, 1432, 1092, 217}

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}{\sqrt {a-x^4+4 x^3-8 x^2+8 x}} \, dx\)

\(\Big \downarrow \) 2459

\(\displaystyle \int \frac {x}{\sqrt {a-(x-1)^4-2 (x-1)^2+3}}d(x-1)\)

\(\Big \downarrow \) 2202

\(\displaystyle \int \frac {1}{\sqrt {-(x-1)^4-2 (x-1)^2+a+3}}d(x-1)+\int \frac {x-1}{\sqrt {-(x-1)^4-2 (x-1)^2+a+3}}d(x-1)\)

\(\Big \downarrow \) 1417

\(\displaystyle \frac {\sqrt {\frac {(x-1)^2}{1-\sqrt {a+4}}+1} \sqrt {\frac {(x-1)^2}{\sqrt {a+4}+1}+1} \int \frac {1}{\sqrt {\frac {(x-1)^2}{1-\sqrt {a+4}}+1} \sqrt {\frac {(x-1)^2}{\sqrt {a+4}+1}+1}}d(x-1)}{\sqrt {a-(x-1)^4-2 (x-1)^2+3}}+\int \frac {x-1}{\sqrt {-(x-1)^4-2 (x-1)^2+a+3}}d(x-1)\)

\(\Big \downarrow \) 320

\(\displaystyle \int \frac {x-1}{\sqrt {-(x-1)^4-2 (x-1)^2+a+3}}d(x-1)+\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 )}{\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}}\)

\(\Big \downarrow \) 1432

\(\displaystyle \frac {1}{2} \int \frac {1}{\sqrt {-(x-1)^4-2 (x-1)^2+a+3}}d(x-1)^2+\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 )}{\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}}\)

\(\Big \downarrow \) 1092

\(\displaystyle \int \frac {1}{-(x-1)^4-4}d\left (-\frac {2 x}{\sqrt {-(x-1)^4-2 (x-1)^2+a+3}}\right )+\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 )}{\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}}\)

\(\Big \downarrow \) 217

\(\displaystyle \frac {1}{2} \arctan \left (\frac {x}{\sqrt {a-(x-1)^4-2 (x-1)^2+3}}\right )+\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 )}{\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}}\)

input
Int[x/Sqrt[a + 8*x - 8*x^2 + 4*x^3 - x^4],x]
 
output
ArcTan[x/Sqrt[3 + a - 2*(-1 + x)^2 - (-1 + x)^4]]/2 + (Sqrt[1 + Sqrt[4 + a 
]]*(1 + (-1 + x)^2/(1 - Sqrt[4 + a]))*EllipticF[ArcTan[(-1 + x)/Sqrt[1 + S 
qrt[4 + a]]], (-2*Sqrt[4 + a])/(1 - Sqrt[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])
 

3.8.88.3.1 Defintions of rubi rules used

rule 217
Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(-(Rt[-a, 2]*Rt[-b, 2])^( 
-1))*ArcTan[Rt[-b, 2]*(x/Rt[-a, 2])], x] /; FreeQ[{a, b}, x] && PosQ[a/b] & 
& (LtQ[a, 0] || LtQ[b, 0])
 

rule 320
Int[1/(Sqrt[(a_) + (b_.)*(x_)^2]*Sqrt[(c_) + (d_.)*(x_)^2]), x_Symbol] :> S 
imp[(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] /; Fre 
eQ[{a, b, c, d}, x] && PosQ[d/c] && PosQ[b/a] &&  !SimplerSqrtQ[b/a, d/c]
 

rule 1092
Int[1/Sqrt[(a_) + (b_.)*(x_) + (c_.)*(x_)^2], x_Symbol] :> Simp[2   Subst[I 
nt[1/(4*c - x^2), x], x, (b + 2*c*x)/Sqrt[a + b*x + c*x^2]], x] /; FreeQ[{a 
, b, c}, x]
 

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

rule 1432
Int[(x_)*((a_) + (b_.)*(x_)^2 + (c_.)*(x_)^4)^(p_), x_Symbol] :> Simp[1/2 
 Subst[Int[(a + b*x + c*x^2)^p, x], x, x^2], x] /; FreeQ[{a, b, c, p}, x]
 

rule 2202
Int[(Pn_)*((a_) + (b_.)*(x_)^2 + (c_.)*(x_)^4)^(p_), x_Symbol] :> Module[{n 
 = Expon[Pn, x], k}, Int[Sum[Coeff[Pn, x, 2*k]*x^(2*k), {k, 0, n/2}]*(a + b 
*x^2 + c*x^4)^p, x] + Int[x*Sum[Coeff[Pn, x, 2*k + 1]*x^(2*k), {k, 0, (n - 
1)/2}]*(a + b*x^2 + c*x^4)^p, x]] /; FreeQ[{a, b, c, p}, x] && PolyQ[Pn, x] 
 &&  !PolyQ[Pn, x^2]
 

rule 2459
Int[(Pn_)^(p_.)*(Qx_), x_Symbol] :> With[{S = Coeff[Pn, x, Expon[Pn, x] - 1 
]/(Expon[Pn, x]*Coeff[Pn, x, Expon[Pn, x]])}, Subst[Int[ExpandToSum[Pn /. x 
 -> x - S, x]^p*ExpandToSum[Qx /. x -> x - S, x], x], x, x + S] /; Binomial 
Q[Pn /. x -> x - S, x] || (IntegerQ[Expon[Pn, x]/2] && TrinomialQ[Pn /. x - 
> x - S, x])] /; FreeQ[p, x] && PolyQ[Pn, x] && GtQ[Expon[Pn, x], 2] && NeQ 
[Coeff[Pn, x, Expon[Pn, x] - 1], 0] && PolyQ[Qx, x] &&  !(MonomialQ[Qx, x] 
&& IGtQ[p, 0])
 
3.8.88.4 Maple [B] (verified)

Leaf count of result is larger than twice the leaf count of optimal. \(787\) vs. \(2(213)=426\).

Time = 1.04 (sec) , antiderivative size = 788, normalized size of antiderivative = 4.40

method result size
default \(-\frac {\left (\sqrt {-1-\sqrt {a +4}}+\sqrt {-1+\sqrt {a +4}}\right ) \sqrt {\frac {\left (-\sqrt {-1-\sqrt {a +4}}+\sqrt {-1+\sqrt {a +4}}\right ) \left (x -1-\sqrt {-1+\sqrt {a +4}}\right )}{\left (-\sqrt {-1-\sqrt {a +4}}-\sqrt {-1+\sqrt {a +4}}\right ) \left (x -1+\sqrt {-1+\sqrt {a +4}}\right )}}\, \left (x -1+\sqrt {-1+\sqrt {a +4}}\right )^{2} \sqrt {-\frac {2 \sqrt {-1+\sqrt {a +4}}\, \left (x -1-\sqrt {-1-\sqrt {a +4}}\right )}{\left (\sqrt {-1-\sqrt {a +4}}-\sqrt {-1+\sqrt {a +4}}\right ) \left (x -1+\sqrt {-1+\sqrt {a +4}}\right )}}\, \sqrt {-\frac {2 \sqrt {-1+\sqrt {a +4}}\, \left (x -1+\sqrt {-1-\sqrt {a +4}}\right )}{\left (-\sqrt {-1-\sqrt {a +4}}-\sqrt {-1+\sqrt {a +4}}\right ) \left (x -1+\sqrt {-1+\sqrt {a +4}}\right )}}\, \left (\left (1-\sqrt {-1+\sqrt {a +4}}\right ) F\left (\sqrt {\frac {\left (-\sqrt {-1-\sqrt {a +4}}+\sqrt {-1+\sqrt {a +4}}\right ) \left (x -1-\sqrt {-1+\sqrt {a +4}}\right )}{\left (-\sqrt {-1-\sqrt {a +4}}-\sqrt {-1+\sqrt {a +4}}\right ) \left (x -1+\sqrt {-1+\sqrt {a +4}}\right )}}, \sqrt {\frac {\left (-\sqrt {-1-\sqrt {a +4}}-\sqrt {-1+\sqrt {a +4}}\right ) \left (\sqrt {-1-\sqrt {a +4}}+\sqrt {-1+\sqrt {a +4}}\right )}{\left (-\sqrt {-1-\sqrt {a +4}}+\sqrt {-1+\sqrt {a +4}}\right ) \left (\sqrt {-1-\sqrt {a +4}}-\sqrt {-1+\sqrt {a +4}}\right )}}\right )+2 \sqrt {-1+\sqrt {a +4}}\, \Pi \left (\sqrt {\frac {\left (-\sqrt {-1-\sqrt {a +4}}+\sqrt {-1+\sqrt {a +4}}\right ) \left (x -1-\sqrt {-1+\sqrt {a +4}}\right )}{\left (-\sqrt {-1-\sqrt {a +4}}-\sqrt {-1+\sqrt {a +4}}\right ) \left (x -1+\sqrt {-1+\sqrt {a +4}}\right )}}, \frac {-\sqrt {-1-\sqrt {a +4}}-\sqrt {-1+\sqrt {a +4}}}{-\sqrt {-1-\sqrt {a +4}}+\sqrt {-1+\sqrt {a +4}}}, \sqrt {\frac {\left (-\sqrt {-1-\sqrt {a +4}}-\sqrt {-1+\sqrt {a +4}}\right ) \left (\sqrt {-1-\sqrt {a +4}}+\sqrt {-1+\sqrt {a +4}}\right )}{\left (-\sqrt {-1-\sqrt {a +4}}+\sqrt {-1+\sqrt {a +4}}\right ) \left (\sqrt {-1-\sqrt {a +4}}-\sqrt {-1+\sqrt {a +4}}\right )}}\right )\right )}{\left (-\sqrt {-1-\sqrt {a +4}}+\sqrt {-1+\sqrt {a +4}}\right ) \sqrt {-1+\sqrt {a +4}}\, \sqrt {-\left (x -1-\sqrt {-1+\sqrt {a +4}}\right ) \left (x -1+\sqrt {-1+\sqrt {a +4}}\right ) \left (x -1-\sqrt {-1-\sqrt {a +4}}\right ) \left (x -1+\sqrt {-1-\sqrt {a +4}}\right )}}\) \(788\)
elliptic \(-\frac {\left (\sqrt {-1-\sqrt {a +4}}+\sqrt {-1+\sqrt {a +4}}\right ) \sqrt {\frac {\left (-\sqrt {-1-\sqrt {a +4}}+\sqrt {-1+\sqrt {a +4}}\right ) \left (x -1-\sqrt {-1+\sqrt {a +4}}\right )}{\left (-\sqrt {-1-\sqrt {a +4}}-\sqrt {-1+\sqrt {a +4}}\right ) \left (x -1+\sqrt {-1+\sqrt {a +4}}\right )}}\, \left (x -1+\sqrt {-1+\sqrt {a +4}}\right )^{2} \sqrt {-\frac {2 \sqrt {-1+\sqrt {a +4}}\, \left (x -1-\sqrt {-1-\sqrt {a +4}}\right )}{\left (\sqrt {-1-\sqrt {a +4}}-\sqrt {-1+\sqrt {a +4}}\right ) \left (x -1+\sqrt {-1+\sqrt {a +4}}\right )}}\, \sqrt {-\frac {2 \sqrt {-1+\sqrt {a +4}}\, \left (x -1+\sqrt {-1-\sqrt {a +4}}\right )}{\left (-\sqrt {-1-\sqrt {a +4}}-\sqrt {-1+\sqrt {a +4}}\right ) \left (x -1+\sqrt {-1+\sqrt {a +4}}\right )}}\, \left (\left (1-\sqrt {-1+\sqrt {a +4}}\right ) F\left (\sqrt {\frac {\left (-\sqrt {-1-\sqrt {a +4}}+\sqrt {-1+\sqrt {a +4}}\right ) \left (x -1-\sqrt {-1+\sqrt {a +4}}\right )}{\left (-\sqrt {-1-\sqrt {a +4}}-\sqrt {-1+\sqrt {a +4}}\right ) \left (x -1+\sqrt {-1+\sqrt {a +4}}\right )}}, \sqrt {\frac {\left (-\sqrt {-1-\sqrt {a +4}}-\sqrt {-1+\sqrt {a +4}}\right ) \left (\sqrt {-1-\sqrt {a +4}}+\sqrt {-1+\sqrt {a +4}}\right )}{\left (-\sqrt {-1-\sqrt {a +4}}+\sqrt {-1+\sqrt {a +4}}\right ) \left (\sqrt {-1-\sqrt {a +4}}-\sqrt {-1+\sqrt {a +4}}\right )}}\right )+2 \sqrt {-1+\sqrt {a +4}}\, \Pi \left (\sqrt {\frac {\left (-\sqrt {-1-\sqrt {a +4}}+\sqrt {-1+\sqrt {a +4}}\right ) \left (x -1-\sqrt {-1+\sqrt {a +4}}\right )}{\left (-\sqrt {-1-\sqrt {a +4}}-\sqrt {-1+\sqrt {a +4}}\right ) \left (x -1+\sqrt {-1+\sqrt {a +4}}\right )}}, \frac {-\sqrt {-1-\sqrt {a +4}}-\sqrt {-1+\sqrt {a +4}}}{-\sqrt {-1-\sqrt {a +4}}+\sqrt {-1+\sqrt {a +4}}}, \sqrt {\frac {\left (-\sqrt {-1-\sqrt {a +4}}-\sqrt {-1+\sqrt {a +4}}\right ) \left (\sqrt {-1-\sqrt {a +4}}+\sqrt {-1+\sqrt {a +4}}\right )}{\left (-\sqrt {-1-\sqrt {a +4}}+\sqrt {-1+\sqrt {a +4}}\right ) \left (\sqrt {-1-\sqrt {a +4}}-\sqrt {-1+\sqrt {a +4}}\right )}}\right )\right )}{\left (-\sqrt {-1-\sqrt {a +4}}+\sqrt {-1+\sqrt {a +4}}\right ) \sqrt {-1+\sqrt {a +4}}\, \sqrt {-\left (x -1-\sqrt {-1+\sqrt {a +4}}\right ) \left (x -1+\sqrt {-1+\sqrt {a +4}}\right ) \left (x -1-\sqrt {-1-\sqrt {a +4}}\right ) \left (x -1+\sqrt {-1-\sqrt {a +4}}\right )}}\) \(788\)

input
int(x/(-x^4+4*x^3-8*x^2+a+8*x)^(1/2),x,method=_RETURNVERBOSE)
 
output
-((-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))*(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)*(x-1+(-1+ 
(a+4)^(1/2))^(1/2))^2*(-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)*(-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)/(-(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)*((1-(-1+(a+4)^(1/2 
))^(1/2))*EllipticF(((-(-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/2))+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))*((...
 
3.8.88.5 Fricas [F]

\[ \int \frac {x}{\sqrt {a+8 x-8 x^2+4 x^3-x^4}} \, dx=\int { \frac {x}{\sqrt {-x^{4} + 4 \, x^{3} - 8 \, x^{2} + a + 8 \, x}} \,d x } \]

input
integrate(x/(-x^4+4*x^3-8*x^2+a+8*x)^(1/2),x, algorithm="fricas")
 
output
integral(-sqrt(-x^4 + 4*x^3 - 8*x^2 + a + 8*x)*x/(x^4 - 4*x^3 + 8*x^2 - a 
- 8*x), x)
 
3.8.88.6 Sympy [F]

\[ \int \frac {x}{\sqrt {a+8 x-8 x^2+4 x^3-x^4}} \, dx=\int \frac {x}{\sqrt {a - x^{4} + 4 x^{3} - 8 x^{2} + 8 x}}\, dx \]

input
integrate(x/(-x**4+4*x**3-8*x**2+a+8*x)**(1/2),x)
 
output
Integral(x/sqrt(a - x**4 + 4*x**3 - 8*x**2 + 8*x), x)
 
3.8.88.7 Maxima [F]

\[ \int \frac {x}{\sqrt {a+8 x-8 x^2+4 x^3-x^4}} \, dx=\int { \frac {x}{\sqrt {-x^{4} + 4 \, x^{3} - 8 \, x^{2} + a + 8 \, x}} \,d x } \]

input
integrate(x/(-x^4+4*x^3-8*x^2+a+8*x)^(1/2),x, algorithm="maxima")
 
output
integrate(x/sqrt(-x^4 + 4*x^3 - 8*x^2 + a + 8*x), x)
 
3.8.88.8 Giac [F]

\[ \int \frac {x}{\sqrt {a+8 x-8 x^2+4 x^3-x^4}} \, dx=\int { \frac {x}{\sqrt {-x^{4} + 4 \, x^{3} - 8 \, x^{2} + a + 8 \, x}} \,d x } \]

input
integrate(x/(-x^4+4*x^3-8*x^2+a+8*x)^(1/2),x, algorithm="giac")
 
output
integrate(x/sqrt(-x^4 + 4*x^3 - 8*x^2 + a + 8*x), x)
 
3.8.88.9 Mupad [F(-1)]

Timed out. \[ \int \frac {x}{\sqrt {a+8 x-8 x^2+4 x^3-x^4}} \, dx=\int \frac {x}{\sqrt {-x^4+4\,x^3-8\,x^2+8\,x+a}} \,d x \]

input
int(x/(a + 8*x - 8*x^2 + 4*x^3 - x^4)^(1/2),x)
 
output
int(x/(a + 8*x - 8*x^2 + 4*x^3 - x^4)^(1/2), x)