3.26.13 \(\int \frac {(2+x)^2 \sqrt [3]{-19+66 x-30 x^2+9 x^3}}{(-3+2 x)^2 (-5+6 x-6 x^2+x^3)} \, dx\) [2513]

Optimal. Leaf size=210 \[ \frac {\sqrt [3]{-19+66 x-30 x^2+9 x^3}}{-3+2 x}+\frac {\sqrt [3]{2} \text {ArcTan}\left (\frac {-3 \sqrt {3}+2 \sqrt {3} x}{-3+2 x+2^{2/3} \sqrt [3]{-19+66 x-30 x^2+9 x^3}}\right )}{\sqrt {3}}+\frac {1}{3} \sqrt [3]{2} \log \left (6-4 x+2^{2/3} \sqrt [3]{-19+66 x-30 x^2+9 x^3}\right )-\frac {\log \left (18-24 x+8 x^2+\left (-3 2^{2/3}+2\ 2^{2/3} x\right ) \sqrt [3]{-19+66 x-30 x^2+9 x^3}+\sqrt [3]{2} \left (-19+66 x-30 x^2+9 x^3\right )^{2/3}\right )}{3\ 2^{2/3}} \]

[Out]

(9*x^3-30*x^2+66*x-19)^(1/3)/(-3+2*x)+1/3*2^(1/3)*arctan((-3*3^(1/2)+2*x*3^(1/2))/(-3+2*x+2^(2/3)*(9*x^3-30*x^
2+66*x-19)^(1/3)))*3^(1/2)+1/3*2^(1/3)*ln(6-4*x+2^(2/3)*(9*x^3-30*x^2+66*x-19)^(1/3))-1/6*ln(18-24*x+8*x^2+(-3
*2^(2/3)+2*2^(2/3)*x)*(9*x^3-30*x^2+66*x-19)^(1/3)+2^(1/3)*(9*x^3-30*x^2+66*x-19)^(2/3))*2^(1/3)

________________________________________________________________________________________

Rubi [F]
time = 1.00, antiderivative size = 0, normalized size of antiderivative = 0.00, number of steps used = 0, number of rules used = 0, integrand size = 0, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.000, Rules used = {} \begin {gather*} \int \frac {(2+x)^2 \sqrt [3]{-19+66 x-30 x^2+9 x^3}}{(-3+2 x)^2 \left (-5+6 x-6 x^2+x^3\right )} \, dx \end {gather*}

Verification is not applicable to the result.

[In]

Int[((2 + x)^2*(-19 + 66*x - 30*x^2 + 9*x^3)^(1/3))/((-3 + 2*x)^2*(-5 + 6*x - 6*x^2 + x^3)),x]

[Out]

((-19 + 66*x - 30*x^2 + 9*x^3)^(1/3)*Defer[Subst][Defer[Int][((7 + 9*x)^(1/3)*(343 - 63*x + 81*x^2)^(1/3))/(-3
5/9 + x), x], x, -10/9 + x])/(63*3^(1/3)*(-1 + 3*x)^(1/3)*(19 - 9*x + 3*x^2)^(1/3)) - (2*(-19 + 66*x - 30*x^2
+ 9*x^3)^(1/3)*Defer[Subst][Defer[Int][((7 + 9*x)^(1/3)*(343 - 63*x + 81*x^2)^(1/3))/(-7/9 + 2*x)^2, x], x, -1
0/9 + x])/(3*3^(1/3)*(-1 + 3*x)^(1/3)*(19 - 9*x + 3*x^2)^(1/3)) + (2*(-19 + 66*x - 30*x^2 + 9*x^3)^(1/3)*Defer
[Subst][Defer[Int][((7 + 9*x)^(1/3)*(343 - 63*x + 81*x^2)^(1/3))/(-7/9 + 2*x), x], x, -10/9 + x])/(21*3^(1/3)*
(-1 + 3*x)^(1/3)*(19 - 9*x + 3*x^2)^(1/3)) - (2*(2 + I*Sqrt[3])*(-19 + 66*x - 30*x^2 + 9*x^3)^(1/3)*Defer[Subs
t][Defer[Int][((7 + 9*x)^(1/3)*(343 - 63*x + 81*x^2)^(1/3))/((60 + 27*(-1 - I*Sqrt[3]))/27 + 2*x), x], x, -10/
9 + x])/(63*3^(1/3)*(-1 + 3*x)^(1/3)*(19 - 9*x + 3*x^2)^(1/3)) - (2*(2 - I*Sqrt[3])*(-19 + 66*x - 30*x^2 + 9*x
^3)^(1/3)*Defer[Subst][Defer[Int][((7 + 9*x)^(1/3)*(343 - 63*x + 81*x^2)^(1/3))/((60 + 27*(-1 + I*Sqrt[3]))/27
 + 2*x), x], x, -10/9 + x])/(63*3^(1/3)*(-1 + 3*x)^(1/3)*(19 - 9*x + 3*x^2)^(1/3))

Rubi steps

\begin {align*} \int \frac {(2+x)^2 \sqrt [3]{-19+66 x-30 x^2+9 x^3}}{(-3+2 x)^2 \left (-5+6 x-6 x^2+x^3\right )} \, dx &=\int \left (\frac {\sqrt [3]{-19+66 x-30 x^2+9 x^3}}{21 (-5+x)}-\frac {2 \sqrt [3]{-19+66 x-30 x^2+9 x^3}}{(-3+2 x)^2}+\frac {2 \sqrt [3]{-19+66 x-30 x^2+9 x^3}}{7 (-3+2 x)}+\frac {(5-4 x) \sqrt [3]{-19+66 x-30 x^2+9 x^3}}{21 \left (1-x+x^2\right )}\right ) \, dx\\ &=\frac {1}{21} \int \frac {\sqrt [3]{-19+66 x-30 x^2+9 x^3}}{-5+x} \, dx+\frac {1}{21} \int \frac {(5-4 x) \sqrt [3]{-19+66 x-30 x^2+9 x^3}}{1-x+x^2} \, dx+\frac {2}{7} \int \frac {\sqrt [3]{-19+66 x-30 x^2+9 x^3}}{-3+2 x} \, dx-2 \int \frac {\sqrt [3]{-19+66 x-30 x^2+9 x^3}}{(-3+2 x)^2} \, dx\\ &=\frac {1}{21} \int \left (\frac {\left (-4-2 i \sqrt {3}\right ) \sqrt [3]{-19+66 x-30 x^2+9 x^3}}{-1-i \sqrt {3}+2 x}+\frac {\left (-4+2 i \sqrt {3}\right ) \sqrt [3]{-19+66 x-30 x^2+9 x^3}}{-1+i \sqrt {3}+2 x}\right ) \, dx+\frac {1}{21} \text {Subst}\left (\int \frac {\sqrt [3]{\frac {2401}{81}+\frac {98 x}{3}+9 x^3}}{-\frac {35}{9}+x} \, dx,x,-\frac {10}{9}+x\right )+\frac {2}{7} \text {Subst}\left (\int \frac {\sqrt [3]{\frac {2401}{81}+\frac {98 x}{3}+9 x^3}}{-\frac {7}{9}+2 x} \, dx,x,-\frac {10}{9}+x\right )-2 \text {Subst}\left (\int \frac {\sqrt [3]{\frac {2401}{81}+\frac {98 x}{3}+9 x^3}}{\left (-\frac {7}{9}+2 x\right )^2} \, dx,x,-\frac {10}{9}+x\right )\\ &=-\left (\frac {1}{21} \left (2 \left (2-i \sqrt {3}\right )\right ) \int \frac {\sqrt [3]{-19+66 x-30 x^2+9 x^3}}{-1+i \sqrt {3}+2 x} \, dx\right )-\frac {1}{21} \left (2 \left (2+i \sqrt {3}\right )\right ) \int \frac {\sqrt [3]{-19+66 x-30 x^2+9 x^3}}{-1-i \sqrt {3}+2 x} \, dx+\frac {\sqrt [3]{-19+66 x-30 x^2+9 x^3} \text {Subst}\left (\int \frac {\sqrt [3]{7+9 x} \sqrt [3]{343-63 x+81 x^2}}{-\frac {35}{9}+x} \, dx,x,-\frac {10}{9}+x\right )}{63 \sqrt [3]{-3+9 x} \sqrt [3]{19-9 x+3 x^2}}+\frac {\left (2 \sqrt [3]{-19+66 x-30 x^2+9 x^3}\right ) \text {Subst}\left (\int \frac {\sqrt [3]{7+9 x} \sqrt [3]{343-63 x+81 x^2}}{-\frac {7}{9}+2 x} \, dx,x,-\frac {10}{9}+x\right )}{21 \sqrt [3]{-3+9 x} \sqrt [3]{19-9 x+3 x^2}}-\frac {\left (2 \sqrt [3]{-19+66 x-30 x^2+9 x^3}\right ) \text {Subst}\left (\int \frac {\sqrt [3]{7+9 x} \sqrt [3]{343-63 x+81 x^2}}{\left (-\frac {7}{9}+2 x\right )^2} \, dx,x,-\frac {10}{9}+x\right )}{3 \sqrt [3]{-3+9 x} \sqrt [3]{19-9 x+3 x^2}}\\ &=-\left (\frac {1}{21} \left (2 \left (2-i \sqrt {3}\right )\right ) \text {Subst}\left (\int \frac {\sqrt [3]{\frac {2401}{81}+\frac {98 x}{3}+9 x^3}}{\frac {1}{27} \left (60+27 \left (-1+i \sqrt {3}\right )\right )+2 x} \, dx,x,-\frac {10}{9}+x\right )\right )-\frac {1}{21} \left (2 \left (2+i \sqrt {3}\right )\right ) \text {Subst}\left (\int \frac {\sqrt [3]{\frac {2401}{81}+\frac {98 x}{3}+9 x^3}}{\frac {1}{27} \left (60+27 \left (-1-i \sqrt {3}\right )\right )+2 x} \, dx,x,-\frac {10}{9}+x\right )+\frac {\sqrt [3]{-19+66 x-30 x^2+9 x^3} \text {Subst}\left (\int \frac {\sqrt [3]{7+9 x} \sqrt [3]{343-63 x+81 x^2}}{-\frac {35}{9}+x} \, dx,x,-\frac {10}{9}+x\right )}{63 \sqrt [3]{-3+9 x} \sqrt [3]{19-9 x+3 x^2}}+\frac {\left (2 \sqrt [3]{-19+66 x-30 x^2+9 x^3}\right ) \text {Subst}\left (\int \frac {\sqrt [3]{7+9 x} \sqrt [3]{343-63 x+81 x^2}}{-\frac {7}{9}+2 x} \, dx,x,-\frac {10}{9}+x\right )}{21 \sqrt [3]{-3+9 x} \sqrt [3]{19-9 x+3 x^2}}-\frac {\left (2 \sqrt [3]{-19+66 x-30 x^2+9 x^3}\right ) \text {Subst}\left (\int \frac {\sqrt [3]{7+9 x} \sqrt [3]{343-63 x+81 x^2}}{\left (-\frac {7}{9}+2 x\right )^2} \, dx,x,-\frac {10}{9}+x\right )}{3 \sqrt [3]{-3+9 x} \sqrt [3]{19-9 x+3 x^2}}\\ &=\frac {\sqrt [3]{-19+66 x-30 x^2+9 x^3} \text {Subst}\left (\int \frac {\sqrt [3]{7+9 x} \sqrt [3]{343-63 x+81 x^2}}{-\frac {35}{9}+x} \, dx,x,-\frac {10}{9}+x\right )}{63 \sqrt [3]{-3+9 x} \sqrt [3]{19-9 x+3 x^2}}+\frac {\left (2 \sqrt [3]{-19+66 x-30 x^2+9 x^3}\right ) \text {Subst}\left (\int \frac {\sqrt [3]{7+9 x} \sqrt [3]{343-63 x+81 x^2}}{-\frac {7}{9}+2 x} \, dx,x,-\frac {10}{9}+x\right )}{21 \sqrt [3]{-3+9 x} \sqrt [3]{19-9 x+3 x^2}}-\frac {\left (2 \sqrt [3]{-19+66 x-30 x^2+9 x^3}\right ) \text {Subst}\left (\int \frac {\sqrt [3]{7+9 x} \sqrt [3]{343-63 x+81 x^2}}{\left (-\frac {7}{9}+2 x\right )^2} \, dx,x,-\frac {10}{9}+x\right )}{3 \sqrt [3]{-3+9 x} \sqrt [3]{19-9 x+3 x^2}}-\frac {\left (2 \left (2-i \sqrt {3}\right ) \sqrt [3]{-19+66 x-30 x^2+9 x^3}\right ) \text {Subst}\left (\int \frac {\sqrt [3]{7+9 x} \sqrt [3]{343-63 x+81 x^2}}{\frac {1}{27} \left (60+27 \left (-1+i \sqrt {3}\right )\right )+2 x} \, dx,x,-\frac {10}{9}+x\right )}{63 \sqrt [3]{-3+9 x} \sqrt [3]{19-9 x+3 x^2}}-\frac {\left (2 \left (2+i \sqrt {3}\right ) \sqrt [3]{-19+66 x-30 x^2+9 x^3}\right ) \text {Subst}\left (\int \frac {\sqrt [3]{7+9 x} \sqrt [3]{343-63 x+81 x^2}}{\frac {1}{27} \left (60+27 \left (-1-i \sqrt {3}\right )\right )+2 x} \, dx,x,-\frac {10}{9}+x\right )}{63 \sqrt [3]{-3+9 x} \sqrt [3]{19-9 x+3 x^2}}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]
time = 0.93, size = 198, normalized size = 0.94 \begin {gather*} \frac {\sqrt [3]{-19+66 x-30 x^2+9 x^3}}{-3+2 x}+\frac {\sqrt [3]{2} \text {ArcTan}\left (\frac {\sqrt {3} (-3+2 x)}{-3+2 x+2^{2/3} \sqrt [3]{-19+66 x-30 x^2+9 x^3}}\right )}{\sqrt {3}}+\frac {1}{3} \sqrt [3]{2} \log \left (6-4 x+2^{2/3} \sqrt [3]{-19+66 x-30 x^2+9 x^3}\right )-\frac {\log \left (18-24 x+8 x^2+2^{2/3} (-3+2 x) \sqrt [3]{-19+66 x-30 x^2+9 x^3}+\sqrt [3]{2} \left (-19+66 x-30 x^2+9 x^3\right )^{2/3}\right )}{3\ 2^{2/3}} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[((2 + x)^2*(-19 + 66*x - 30*x^2 + 9*x^3)^(1/3))/((-3 + 2*x)^2*(-5 + 6*x - 6*x^2 + x^3)),x]

[Out]

(-19 + 66*x - 30*x^2 + 9*x^3)^(1/3)/(-3 + 2*x) + (2^(1/3)*ArcTan[(Sqrt[3]*(-3 + 2*x))/(-3 + 2*x + 2^(2/3)*(-19
 + 66*x - 30*x^2 + 9*x^3)^(1/3))])/Sqrt[3] + (2^(1/3)*Log[6 - 4*x + 2^(2/3)*(-19 + 66*x - 30*x^2 + 9*x^3)^(1/3
)])/3 - Log[18 - 24*x + 8*x^2 + 2^(2/3)*(-3 + 2*x)*(-19 + 66*x - 30*x^2 + 9*x^3)^(1/3) + 2^(1/3)*(-19 + 66*x -
 30*x^2 + 9*x^3)^(2/3)]/(3*2^(2/3))

________________________________________________________________________________________

Maple [C] Result contains higher order function than in optimal. Order 9 vs. order 3.
time = 32.20, size = 1618, normalized size = 7.70

method result size
trager \(\text {Expression too large to display}\) \(1618\)
risch \(\text {Expression too large to display}\) \(5124\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((2+x)^2*(9*x^3-30*x^2+66*x-19)^(1/3)/(-3+2*x)^2/(x^3-6*x^2+6*x-5),x,method=_RETURNVERBOSE)

[Out]

(9*x^3-30*x^2+66*x-19)^(1/3)/(-3+2*x)+6*RootOf(RootOf(_Z^3-2)^2+18*_Z*RootOf(_Z^3-2)+324*_Z^2)*ln((33252419966
3838*RootOf(RootOf(_Z^3-2)^2+18*_Z*RootOf(_Z^3-2)+324*_Z^2)*RootOf(_Z^3-2)^4*x^3+4042340134560*RootOf(RootOf(_
Z^3-2)^2+18*_Z*RootOf(_Z^3-2)+324*_Z^2)^2*RootOf(_Z^3-2)^3*x^3-460418122611468*RootOf(RootOf(_Z^3-2)^2+18*_Z*R
ootOf(_Z^3-2)+324*_Z^2)*RootOf(_Z^3-2)^4*x^2-5597086340160*RootOf(RootOf(_Z^3-2)^2+18*_Z*RootOf(_Z^3-2)+324*_Z
^2)^2*RootOf(_Z^3-2)^3*x^2+672529373074512*(9*x^3-30*x^2+66*x-19)^(2/3)*RootOf(_Z^3-2)^2*RootOf(RootOf(_Z^3-2)
^2+18*_Z*RootOf(_Z^3-2)+324*_Z^2)*x+2762508735668808*RootOf(RootOf(_Z^3-2)^2+18*_Z*RootOf(_Z^3-2)+324*_Z^2)*Ro
otOf(_Z^3-2)^4*x+33582518040960*RootOf(RootOf(_Z^3-2)^2+18*_Z*RootOf(_Z^3-2)+324*_Z^2)^2*RootOf(_Z^3-2)^3*x-10
08794059611768*(9*x^3-30*x^2+66*x-19)^(2/3)*RootOf(_Z^3-2)^2*RootOf(RootOf(_Z^3-2)^2+18*_Z*RootOf(_Z^3-2)+324*
_Z^2)-271825337820439*RootOf(_Z^3-2)^2*x^3-3304452649680*RootOf(RootOf(_Z^3-2)^2+18*_Z*RootOf(_Z^3-2)+324*_Z^2
)*RootOf(_Z^3-2)*x^3-56702447046840*(9*x^3-30*x^2+66*x-19)^(1/3)*RootOf(_Z^3-2)*x^2-3710761539141168*(9*x^3-30
*x^2+66*x-19)^(1/3)*RootOf(RootOf(_Z^3-2)^2+18*_Z*RootOf(_Z^3-2)+324*_Z^2)*x^2+1182714277925226*RootOf(_Z^3-2)
^2*x^2+14377700625120*RootOf(RootOf(_Z^3-2)^2+18*_Z*RootOf(_Z^3-2)+324*_Z^2)*RootOf(_Z^3-2)*x^2+10307670942058
8*(9*x^3-30*x^2+66*x-19)^(2/3)*x+170107341140520*(9*x^3-30*x^2+66*x-19)^(1/3)*RootOf(_Z^3-2)*x+111322846174235
04*(9*x^3-30*x^2+66*x-19)^(1/3)*RootOf(RootOf(_Z^3-2)^2+18*_Z*RootOf(_Z^3-2)+324*_Z^2)*x-1855070901421338*Root
Of(_Z^3-2)^2*x-22551223534560*RootOf(RootOf(_Z^3-2)^2+18*_Z*RootOf(_Z^3-2)+324*_Z^2)*RootOf(_Z^3-2)*x-15461506
4130882*(9*x^3-30*x^2+66*x-19)^(2/3)-127580505855390*(9*x^3-30*x^2+66*x-19)^(1/3)*RootOf(_Z^3-2)-8349213463067
628*(9*x^3-30*x^2+66*x-19)^(1/3)*RootOf(RootOf(_Z^3-2)^2+18*_Z*RootOf(_Z^3-2)+324*_Z^2)+873535794355003*RootOf
(_Z^3-2)^2+10619163369360*RootOf(RootOf(_Z^3-2)^2+18*_Z*RootOf(_Z^3-2)+324*_Z^2)*RootOf(_Z^3-2))/(x^2-x+1)/(-5
+x))+1/3*RootOf(_Z^3-2)*ln(-(-332524199663838*RootOf(RootOf(_Z^3-2)^2+18*_Z*RootOf(_Z^3-2)+324*_Z^2)*RootOf(_Z
^3-2)^4*x^3-5981393253814524*RootOf(RootOf(_Z^3-2)^2+18*_Z*RootOf(_Z^3-2)+324*_Z^2)^2*RootOf(_Z^3-2)^3*x^3+460
418122611468*RootOf(RootOf(_Z^3-2)^2+18*_Z*RootOf(_Z^3-2)+324*_Z^2)*RootOf(_Z^3-2)^4*x^2+8281929120666264*Root
Of(RootOf(_Z^3-2)^2+18*_Z*RootOf(_Z^3-2)+324*_Z^2)^2*RootOf(_Z^3-2)^3*x^2+672529373074512*(9*x^3-30*x^2+66*x-1
9)^(2/3)*RootOf(_Z^3-2)^2*RootOf(RootOf(_Z^3-2)^2+18*_Z*RootOf(_Z^3-2)+324*_Z^2)*x-2762508735668808*RootOf(Roo
tOf(_Z^3-2)^2+18*_Z*RootOf(_Z^3-2)+324*_Z^2)*RootOf(_Z^3-2)^4*x-49691574723997584*RootOf(RootOf(_Z^3-2)^2+18*_
Z*RootOf(_Z^3-2)+324*_Z^2)^2*RootOf(_Z^3-2)^3*x-1008794059611768*(9*x^3-30*x^2+66*x-19)^(2/3)*RootOf(_Z^3-2)^2
*RootOf(RootOf(_Z^3-2)^2+18*_Z*RootOf(_Z^3-2)+324*_Z^2)-308772471116421*RootOf(_Z^3-2)^2*x^3-5554150878542058*
RootOf(RootOf(_Z^3-2)^2+18*_Z*RootOf(_Z^3-2)+324*_Z^2)*RootOf(_Z^3-2)*x^3+206153418841176*(9*x^3-30*x^2+66*x-1
9)^(1/3)*RootOf(_Z^3-2)*x^2+1020644046843120*(9*x^3-30*x^2+66*x-19)^(1/3)*RootOf(RootOf(_Z^3-2)^2+18*_Z*RootOf
(_Z^3-2)+324*_Z^2)*x^2+1233871847104278*RootOf(_Z^3-2)^2*x^2+22194693648769644*RootOf(RootOf(_Z^3-2)^2+18*_Z*R
ootOf(_Z^3-2)+324*_Z^2)*RootOf(_Z^3-2)*x^2-28351223523420*(9*x^3-30*x^2+66*x-19)^(2/3)*x-618460256523528*(9*x^
3-30*x^2+66*x-19)^(1/3)*RootOf(_Z^3-2)*x-3061932140529360*(9*x^3-30*x^2+66*x-19)^(1/3)*RootOf(RootOf(_Z^3-2)^2
+18*_Z*RootOf(_Z^3-2)+324*_Z^2)*x-2162016316495650*RootOf(_Z^3-2)^2*x-38890011082493700*RootOf(RootOf(_Z^3-2)^
2+18*_Z*RootOf(_Z^3-2)+324*_Z^2)*RootOf(_Z^3-2)*x+42526835285130*(9*x^3-30*x^2+66*x-19)^(2/3)+463845192392646*
(9*x^3-30*x^2+66*x-19)^(1/3)*RootOf(_Z^3-2)+2296449105397020*(9*x^3-30*x^2+66*x-19)^(1/3)*RootOf(RootOf(_Z^3-2
)^2+18*_Z*RootOf(_Z^3-2)+324*_Z^2)+873535794355003*RootOf(_Z^3-2)^2+15713025135020694*RootOf(RootOf(_Z^3-2)^2+
18*_Z*RootOf(_Z^3-2)+324*_Z^2)*RootOf(_Z^3-2))/(x^2-x+1)/(-5+x))

________________________________________________________________________________________

Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((2+x)^2*(9*x^3-30*x^2+66*x-19)^(1/3)/(-3+2*x)^2/(x^3-6*x^2+6*x-5),x, algorithm="maxima")

[Out]

integrate((9*x^3 - 30*x^2 + 66*x - 19)^(1/3)*(x + 2)^2/((x^3 - 6*x^2 + 6*x - 5)*(2*x - 3)^2), x)

________________________________________________________________________________________

Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 532 vs. \(2 (175) = 350\).
time = 10.27, size = 532, normalized size = 2.53 \begin {gather*} \frac {2 \, \sqrt {3} 2^{\frac {1}{3}} {\left (2 \, x - 3\right )} \arctan \left (-\frac {6 \, \sqrt {3} 2^{\frac {2}{3}} {\left (5380 \, x^{8} - 59100 \, x^{7} + 301161 \, x^{6} - 909412 \, x^{5} + 1740060 \, x^{4} - 2110416 \, x^{3} + 1545376 \, x^{2} - 606864 \, x + 94131\right )} {\left (9 \, x^{3} - 30 \, x^{2} + 66 \, x - 19\right )}^{\frac {1}{3}} - 42 \, \sqrt {3} 2^{\frac {1}{3}} {\left (82 \, x^{7} - 963 \, x^{6} + 4404 \, x^{5} - 10852 \, x^{4} + 15852 \, x^{3} - 14316 \, x^{2} + 7786 \, x - 1905\right )} {\left (9 \, x^{3} - 30 \, x^{2} + 66 \, x - 19\right )}^{\frac {2}{3}} + \sqrt {3} {\left (43721 \, x^{9} - 510066 \, x^{8} + 2889414 \, x^{7} - 10065027 \, x^{6} + 23187528 \, x^{5} - 35703864 \, x^{4} + 35637567 \, x^{3} - 21385926 \, x^{2} + 6711858 \, x - 806653\right )}}{3 \, {\left (62551 \, x^{9} - 773406 \, x^{8} + 4465170 \, x^{7} - 15587817 \, x^{6} + 35620200 \, x^{5} - 54275256 \, x^{4} + 54133401 \, x^{3} - 33459498 \, x^{2} + 11334294 \, x - 1538783\right )}}\right ) - 2^{\frac {1}{3}} {\left (2 \, x - 3\right )} \log \left (\frac {3 \cdot 2^{\frac {2}{3}} {\left (82 \, x^{4} - 471 \, x^{3} + 1086 \, x^{2} - 1100 \, x + 381\right )} {\left (9 \, x^{3} - 30 \, x^{2} + 66 \, x - 19\right )}^{\frac {2}{3}} + 2^{\frac {1}{3}} {\left (1345 \, x^{6} - 10740 \, x^{5} + 40044 \, x^{4} - 83056 \, x^{3} + 95748 \, x^{2} - 53484 \, x + 10459\right )} + 12 \, {\left (68 \, x^{5} - 468 \, x^{4} + 1425 \, x^{3} - 2218 \, x^{2} + 1632 \, x - 414\right )} {\left (9 \, x^{3} - 30 \, x^{2} + 66 \, x - 19\right )}^{\frac {1}{3}}}{x^{6} - 12 \, x^{5} + 48 \, x^{4} - 82 \, x^{3} + 96 \, x^{2} - 60 \, x + 25}\right ) + 2 \cdot 2^{\frac {1}{3}} {\left (2 \, x - 3\right )} \log \left (\frac {7 \cdot 2^{\frac {2}{3}} {\left (x^{3} - 6 \, x^{2} + 6 \, x - 5\right )} - 6 \cdot 2^{\frac {1}{3}} {\left (9 \, x^{3} - 30 \, x^{2} + 66 \, x - 19\right )}^{\frac {1}{3}} {\left (4 \, x^{2} - 12 \, x + 9\right )} + 6 \, {\left (9 \, x^{3} - 30 \, x^{2} + 66 \, x - 19\right )}^{\frac {2}{3}} {\left (2 \, x - 3\right )}}{x^{3} - 6 \, x^{2} + 6 \, x - 5}\right ) + 18 \, {\left (9 \, x^{3} - 30 \, x^{2} + 66 \, x - 19\right )}^{\frac {1}{3}}}{18 \, {\left (2 \, x - 3\right )}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((2+x)^2*(9*x^3-30*x^2+66*x-19)^(1/3)/(-3+2*x)^2/(x^3-6*x^2+6*x-5),x, algorithm="fricas")

[Out]

1/18*(2*sqrt(3)*2^(1/3)*(2*x - 3)*arctan(-1/3*(6*sqrt(3)*2^(2/3)*(5380*x^8 - 59100*x^7 + 301161*x^6 - 909412*x
^5 + 1740060*x^4 - 2110416*x^3 + 1545376*x^2 - 606864*x + 94131)*(9*x^3 - 30*x^2 + 66*x - 19)^(1/3) - 42*sqrt(
3)*2^(1/3)*(82*x^7 - 963*x^6 + 4404*x^5 - 10852*x^4 + 15852*x^3 - 14316*x^2 + 7786*x - 1905)*(9*x^3 - 30*x^2 +
 66*x - 19)^(2/3) + sqrt(3)*(43721*x^9 - 510066*x^8 + 2889414*x^7 - 10065027*x^6 + 23187528*x^5 - 35703864*x^4
 + 35637567*x^3 - 21385926*x^2 + 6711858*x - 806653))/(62551*x^9 - 773406*x^8 + 4465170*x^7 - 15587817*x^6 + 3
5620200*x^5 - 54275256*x^4 + 54133401*x^3 - 33459498*x^2 + 11334294*x - 1538783)) - 2^(1/3)*(2*x - 3)*log((3*2
^(2/3)*(82*x^4 - 471*x^3 + 1086*x^2 - 1100*x + 381)*(9*x^3 - 30*x^2 + 66*x - 19)^(2/3) + 2^(1/3)*(1345*x^6 - 1
0740*x^5 + 40044*x^4 - 83056*x^3 + 95748*x^2 - 53484*x + 10459) + 12*(68*x^5 - 468*x^4 + 1425*x^3 - 2218*x^2 +
 1632*x - 414)*(9*x^3 - 30*x^2 + 66*x - 19)^(1/3))/(x^6 - 12*x^5 + 48*x^4 - 82*x^3 + 96*x^2 - 60*x + 25)) + 2*
2^(1/3)*(2*x - 3)*log((7*2^(2/3)*(x^3 - 6*x^2 + 6*x - 5) - 6*2^(1/3)*(9*x^3 - 30*x^2 + 66*x - 19)^(1/3)*(4*x^2
 - 12*x + 9) + 6*(9*x^3 - 30*x^2 + 66*x - 19)^(2/3)*(2*x - 3))/(x^3 - 6*x^2 + 6*x - 5)) + 18*(9*x^3 - 30*x^2 +
 66*x - 19)^(1/3))/(2*x - 3)

________________________________________________________________________________________

Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\sqrt [3]{\left (3 x - 1\right ) \left (3 x^{2} - 9 x + 19\right )} \left (x + 2\right )^{2}}{\left (x - 5\right ) \left (2 x - 3\right )^{2} \left (x^{2} - x + 1\right )}\, dx \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((2+x)**2*(9*x**3-30*x**2+66*x-19)**(1/3)/(-3+2*x)**2/(x**3-6*x**2+6*x-5),x)

[Out]

Integral(((3*x - 1)*(3*x**2 - 9*x + 19))**(1/3)*(x + 2)**2/((x - 5)*(2*x - 3)**2*(x**2 - x + 1)), x)

________________________________________________________________________________________

Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((2+x)^2*(9*x^3-30*x^2+66*x-19)^(1/3)/(-3+2*x)^2/(x^3-6*x^2+6*x-5),x, algorithm="giac")

[Out]

integrate((9*x^3 - 30*x^2 + 66*x - 19)^(1/3)*(x + 2)^2/((x^3 - 6*x^2 + 6*x - 5)*(2*x - 3)^2), x)

________________________________________________________________________________________

Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int \frac {{\left (x+2\right )}^2\,{\left (9\,x^3-30\,x^2+66\,x-19\right )}^{1/3}}{{\left (2\,x-3\right )}^2\,\left (x^3-6\,x^2+6\,x-5\right )} \,d x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(((x + 2)^2*(66*x - 30*x^2 + 9*x^3 - 19)^(1/3))/((2*x - 3)^2*(6*x - 6*x^2 + x^3 - 5)),x)

[Out]

int(((x + 2)^2*(66*x - 30*x^2 + 9*x^3 - 19)^(1/3))/((2*x - 3)^2*(6*x - 6*x^2 + x^3 - 5)), x)

________________________________________________________________________________________