Integrand size = 47, antiderivative size = 210 \[ \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=\frac {\sqrt [3]{-19+66 x-30 x^2+9 x^3}}{-3+2 x}+\frac {\sqrt [3]{2} \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}} \] Output:
(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)
Time = 0.90 (sec) , antiderivative size = 198, normalized size of antiderivative = 0.94 \[ \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=\frac {\sqrt [3]{-19+66 x-30 x^2+9 x^3}}{-3+2 x}+\frac {\sqrt [3]{2} \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}} \] Input:
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]
Output:
(-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))])/Sqr t[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))
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+2)^2 \sqrt [3]{9 x^3-30 x^2+66 x-19}}{(2 x-3)^2 \left (x^3-6 x^2+6 x-5\right )} \, dx\) |
\(\Big \downarrow \) 2463 |
\(\displaystyle \int \left (\frac {(-x-4) \sqrt [3]{9 x^3-30 x^2+66 x-19} (x+2)^2}{21 (2 x-3)^2 \left (x^2-x+1\right )}+\frac {\sqrt [3]{9 x^3-30 x^2+66 x-19} (x+2)^2}{21 (x-5) (2 x-3)^2}\right )dx\) |
\(\Big \downarrow \) 2009 |
\(\displaystyle \frac {\sqrt [3]{(9 x-10)^3-294 (10-9 x)+2401} \text {Subst}\left (\int \frac {\sqrt [3]{9 x+7} \sqrt [3]{81 x^2-63 x+343}}{x-\frac {35}{9}}dx,x,x-\frac {10}{9}\right )}{189\ 3^{2/3} \sqrt [3]{3 x-1} \sqrt [3]{3 x^2-9 x+19}}-\frac {2 \sqrt [3]{(9 x-10)^3-294 (10-9 x)+2401} \text {Subst}\left (\int \frac {\sqrt [3]{9 x+7} \sqrt [3]{81 x^2-63 x+343}}{\left (2 x-\frac {7}{9}\right )^2}dx,x,x-\frac {10}{9}\right )}{9\ 3^{2/3} \sqrt [3]{3 x-1} \sqrt [3]{3 x^2-9 x+19}}+\frac {2 \sqrt [3]{(9 x-10)^3-294 (10-9 x)+2401} \text {Subst}\left (\int \frac {\sqrt [3]{9 x+7} \sqrt [3]{81 x^2-63 x+343}}{2 x-\frac {7}{9}}dx,x,x-\frac {10}{9}\right )}{63\ 3^{2/3} \sqrt [3]{3 x-1} \sqrt [3]{3 x^2-9 x+19}}-\frac {2 \left (2+i \sqrt {3}\right ) \sqrt [3]{(9 x-10)^3-294 (10-9 x)+2401} \text {Subst}\left (\int \frac {\sqrt [3]{9 x+7} \sqrt [3]{81 x^2-63 x+343}}{2 x+\frac {1}{27} \left (60+27 \left (-1-i \sqrt {3}\right )\right )}dx,x,x-\frac {10}{9}\right )}{189\ 3^{2/3} \sqrt [3]{3 x-1} \sqrt [3]{3 x^2-9 x+19}}-\frac {2 \left (2-i \sqrt {3}\right ) \sqrt [3]{(9 x-10)^3-294 (10-9 x)+2401} \text {Subst}\left (\int \frac {\sqrt [3]{9 x+7} \sqrt [3]{81 x^2-63 x+343}}{2 x+\frac {1}{27} \left (60+27 \left (-1+i \sqrt {3}\right )\right )}dx,x,x-\frac {10}{9}\right )}{189\ 3^{2/3} \sqrt [3]{3 x-1} \sqrt [3]{3 x^2-9 x+19}}\) |
Input:
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]
Output:
$Aborted
Result contains higher order function than in optimal. Order 9 vs. order 3.
Time = 40.08 (sec) , antiderivative size = 2424, normalized size of antiderivative = 11.54
method | result | size |
trager | \(\text {Expression too large to display}\) | \(2424\) |
risch | \(\text {Expression too large to display}\) | \(3443\) |
Input:
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,me thod=_RETURNVERBOSE)
Output:
(9*x^3-30*x^2+66*x-19)^(1/3)/(-3+2*x)-1/3*ln(-(332299625211918*RootOf(_Z^3 -2)^4*RootOf(RootOf(_Z^3-2)^2+18*_Z*RootOf(_Z^3-2)+324*_Z^2)*x^3+598543559 3949084*RootOf(_Z^3-2)^3*RootOf(RootOf(_Z^3-2)^2+18*_Z*RootOf(_Z^3-2)+324* _Z^2)^2*x^3-460107173370348*RootOf(RootOf(_Z^3-2)^2+18*_Z*RootOf(_Z^3-2)+3 24*_Z^2)*RootOf(_Z^3-2)^4*x^2-8287526207006424*RootOf(RootOf(_Z^3-2)^2+18* _Z*RootOf(_Z^3-2)+324*_Z^2)^2*RootOf(_Z^3-2)^3*x^2+2760643040222088*RootOf (RootOf(_Z^3-2)^2+18*_Z*RootOf(_Z^3-2)+324*_Z^2)*RootOf(_Z^3-2)^4*x+497251 57242038544*RootOf(RootOf(_Z^3-2)^2+18*_Z*RootOf(_Z^3-2)+324*_Z^2)^2*RootO f(_Z^3-2)^3*x-672529373074512*RootOf(RootOf(_Z^3-2)^2+18*_Z*RootOf(_Z^3-2) +324*_Z^2)*RootOf(_Z^3-2)^2*(9*x^3-30*x^2+66*x-19)^(2/3)*x+100879405961176 8*RootOf(RootOf(_Z^3-2)^2+18*_Z*RootOf(_Z^3-2)+324*_Z^2)*RootOf(_Z^3-2)^2* (9*x^3-30*x^2+66*x-19)^(2/3)-271641757117679*RootOf(_Z^3-2)^2*x^3-48928560 80767902*RootOf(RootOf(_Z^3-2)^2+18*_Z*RootOf(_Z^3-2)+324*_Z^2)*RootOf(_Z^ 3-2)*x^3+1181915516779386*RootOf(_Z^3-2)^2*x^2-206153418841176*RootOf(_Z^3 -2)*(9*x^3-30*x^2+66*x-19)^(1/3)*x^2+21288857002654068*RootOf(RootOf(_Z^3- 2)^2+18*_Z*RootOf(_Z^3-2)+324*_Z^2)*RootOf(_Z^3-2)*x^2-2690117492298048*Ro otOf(RootOf(_Z^3-2)^2+18*_Z*RootOf(_Z^3-2)+324*_Z^2)*(9*x^3-30*x^2+66*x-19 )^(1/3)*x^2-1853818055669418*RootOf(_Z^3-2)^2*x+618460256523528*RootOf(_Z^ 3-2)*(9*x^3-30*x^2+66*x-19)^(1/3)*x-33391276225584084*RootOf(RootOf(_Z^3-2 )^2+18*_Z*RootOf(_Z^3-2)+324*_Z^2)*RootOf(_Z^3-2)*x-103076709420588*(9*...
Leaf count of result is larger than twice the leaf count of optimal. 532 vs. \(2 (175) = 350\).
Time = 14.45 (sec) , antiderivative size = 532, normalized size of antiderivative = 2.53 \[ \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 =\text {Too large to display} \] Input:
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")
Output:
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 + 15453 76*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 + 3 5637567*x^3 - 21385926*x^2 + 6711858*x - 806653))/(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)) - 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 - 10740*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)
\[ \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 \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 \] Input:
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)
Output:
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)
\[ \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 { \frac {{\left (9 \, x^{3} - 30 \, x^{2} + 66 \, x - 19\right )}^{\frac {1}{3}} {\left (x + 2\right )}^{2}}{{\left (x^{3} - 6 \, x^{2} + 6 \, x - 5\right )} {\left (2 \, x - 3\right )}^{2}} \,d x } \] Input:
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")
Output:
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)
\[ \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 { \frac {{\left (9 \, x^{3} - 30 \, x^{2} + 66 \, x - 19\right )}^{\frac {1}{3}} {\left (x + 2\right )}^{2}}{{\left (x^{3} - 6 \, x^{2} + 6 \, x - 5\right )} {\left (2 \, x - 3\right )}^{2}} \,d x } \] Input:
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")
Output:
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)
Timed out. \[ \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 \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 \] Input:
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)
Output:
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)
\[ \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=\frac {3 \left (9 x^{3}-30 x^{2}+66 x -19\right )^{\frac {1}{3}}-1904 \left (\int \frac {\left (9 x^{3}-30 x^{2}+66 x -19\right )^{\frac {1}{3}}}{36 x^{8}-444 x^{7}+2289 x^{6}-6916 x^{5}+13020 x^{4}-15456 x^{3}+11648 x^{2}-5136 x +855}d x \right ) x +2856 \left (\int \frac {\left (9 x^{3}-30 x^{2}+66 x -19\right )^{\frac {1}{3}}}{36 x^{8}-444 x^{7}+2289 x^{6}-6916 x^{5}+13020 x^{4}-15456 x^{3}+11648 x^{2}-5136 x +855}d x \right )+168 \left (\int \frac {\left (9 x^{3}-30 x^{2}+66 x -19\right )^{\frac {1}{3}} x^{5}}{36 x^{8}-444 x^{7}+2289 x^{6}-6916 x^{5}+13020 x^{4}-15456 x^{3}+11648 x^{2}-5136 x +855}d x \right ) x -252 \left (\int \frac {\left (9 x^{3}-30 x^{2}+66 x -19\right )^{\frac {1}{3}} x^{5}}{36 x^{8}-444 x^{7}+2289 x^{6}-6916 x^{5}+13020 x^{4}-15456 x^{3}+11648 x^{2}-5136 x +855}d x \right )-840 \left (\int \frac {\left (9 x^{3}-30 x^{2}+66 x -19\right )^{\frac {1}{3}} x^{3}}{36 x^{8}-444 x^{7}+2289 x^{6}-6916 x^{5}+13020 x^{4}-15456 x^{3}+11648 x^{2}-5136 x +855}d x \right ) x +1260 \left (\int \frac {\left (9 x^{3}-30 x^{2}+66 x -19\right )^{\frac {1}{3}} x^{3}}{36 x^{8}-444 x^{7}+2289 x^{6}-6916 x^{5}+13020 x^{4}-15456 x^{3}+11648 x^{2}-5136 x +855}d x \right )+1540 \left (\int \frac {\left (9 x^{3}-30 x^{2}+66 x -19\right )^{\frac {1}{3}} x^{2}}{36 x^{8}-444 x^{7}+2289 x^{6}-6916 x^{5}+13020 x^{4}-15456 x^{3}+11648 x^{2}-5136 x +855}d x \right ) x -2310 \left (\int \frac {\left (9 x^{3}-30 x^{2}+66 x -19\right )^{\frac {1}{3}} x^{2}}{36 x^{8}-444 x^{7}+2289 x^{6}-6916 x^{5}+13020 x^{4}-15456 x^{3}+11648 x^{2}-5136 x +855}d x \right )+2800 \left (\int \frac {\left (9 x^{3}-30 x^{2}+66 x -19\right )^{\frac {1}{3}} x}{36 x^{8}-444 x^{7}+2289 x^{6}-6916 x^{5}+13020 x^{4}-15456 x^{3}+11648 x^{2}-5136 x +855}d x \right ) x -4200 \left (\int \frac {\left (9 x^{3}-30 x^{2}+66 x -19\right )^{\frac {1}{3}} x}{36 x^{8}-444 x^{7}+2289 x^{6}-6916 x^{5}+13020 x^{4}-15456 x^{3}+11648 x^{2}-5136 x +855}d x \right )}{14 x -21} \] Input:
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)
Output:
(3*(9*x**3 - 30*x**2 + 66*x - 19)**(1/3) - 1904*int((9*x**3 - 30*x**2 + 66 *x - 19)**(1/3)/(36*x**8 - 444*x**7 + 2289*x**6 - 6916*x**5 + 13020*x**4 - 15456*x**3 + 11648*x**2 - 5136*x + 855),x)*x + 2856*int((9*x**3 - 30*x**2 + 66*x - 19)**(1/3)/(36*x**8 - 444*x**7 + 2289*x**6 - 6916*x**5 + 13020*x **4 - 15456*x**3 + 11648*x**2 - 5136*x + 855),x) + 168*int(((9*x**3 - 30*x **2 + 66*x - 19)**(1/3)*x**5)/(36*x**8 - 444*x**7 + 2289*x**6 - 6916*x**5 + 13020*x**4 - 15456*x**3 + 11648*x**2 - 5136*x + 855),x)*x - 252*int(((9* x**3 - 30*x**2 + 66*x - 19)**(1/3)*x**5)/(36*x**8 - 444*x**7 + 2289*x**6 - 6916*x**5 + 13020*x**4 - 15456*x**3 + 11648*x**2 - 5136*x + 855),x) - 840 *int(((9*x**3 - 30*x**2 + 66*x - 19)**(1/3)*x**3)/(36*x**8 - 444*x**7 + 22 89*x**6 - 6916*x**5 + 13020*x**4 - 15456*x**3 + 11648*x**2 - 5136*x + 855) ,x)*x + 1260*int(((9*x**3 - 30*x**2 + 66*x - 19)**(1/3)*x**3)/(36*x**8 - 4 44*x**7 + 2289*x**6 - 6916*x**5 + 13020*x**4 - 15456*x**3 + 11648*x**2 - 5 136*x + 855),x) + 1540*int(((9*x**3 - 30*x**2 + 66*x - 19)**(1/3)*x**2)/(3 6*x**8 - 444*x**7 + 2289*x**6 - 6916*x**5 + 13020*x**4 - 15456*x**3 + 1164 8*x**2 - 5136*x + 855),x)*x - 2310*int(((9*x**3 - 30*x**2 + 66*x - 19)**(1 /3)*x**2)/(36*x**8 - 444*x**7 + 2289*x**6 - 6916*x**5 + 13020*x**4 - 15456 *x**3 + 11648*x**2 - 5136*x + 855),x) + 2800*int(((9*x**3 - 30*x**2 + 66*x - 19)**(1/3)*x)/(36*x**8 - 444*x**7 + 2289*x**6 - 6916*x**5 + 13020*x**4 - 15456*x**3 + 11648*x**2 - 5136*x + 855),x)*x - 4200*int(((9*x**3 - 30...