Integrand size = 31, antiderivative size = 278 \[ \int \frac {(-7+x) \sqrt [3]{1+x-5 x^2+3 x^3}}{(-5+x) (-1+x)^3} \, dx=\frac {(-1+x)^{4/3} (1+3 x)^{2/3} \left (-\frac {21 \sqrt [3]{3} \left (-16 \sqrt [3]{1+3 x}+7 (1+3 x)^{4/3}\right )}{64 (-3+3 x)^{4/3}}+\frac {3 \sqrt [3]{3} \left (-80 \sqrt [3]{1+3 x}+23 (1+3 x)^{4/3}\right )}{64 (-3+3 x)^{4/3}}+\frac {\sqrt {3} \arctan \left (\frac {3^{5/6} \sqrt [3]{1+3 x}}{2\ 2^{2/3} \sqrt [3]{-3+3 x}+\sqrt [3]{3} \sqrt [3]{1+3 x}}\right )}{4 \sqrt [3]{2}}-\frac {\log \left (6^{2/3} \sqrt [3]{-3+3 x}-3 \sqrt [3]{1+3 x}\right )}{4 \sqrt [3]{2}}+\frac {\log \left (2 \sqrt [3]{6} (-3+3 x)^{2/3}+6^{2/3} \sqrt [3]{-3+3 x} \sqrt [3]{1+3 x}+3 (1+3 x)^{2/3}\right )}{8 \sqrt [3]{2}}\right )}{\left ((-1+x)^2 (1+3 x)\right )^{2/3}} \] Output:
(-1+x)^(4/3)*(1+3*x)^(2/3)*(-21/64*3^(1/3)*(-16*(1+3*x)^(1/3)+7*(1+3*x)^(4 /3))/(-3+3*x)^(4/3)+3/64*3^(1/3)*(-80*(1+3*x)^(1/3)+23*(1+3*x)^(4/3))/(-3+ 3*x)^(4/3)+1/8*3^(1/2)*arctan(3^(5/6)*(1+3*x)^(1/3)/(2*2^(2/3)*(-3+3*x)^(1 /3)+3^(1/3)*(1+3*x)^(1/3)))*2^(2/3)-1/8*ln(6^(2/3)*(-3+3*x)^(1/3)-3*(1+3*x )^(1/3))*2^(2/3)+1/16*ln(2*6^(1/3)*(-3+3*x)^(2/3)+6^(2/3)*(-3+3*x)^(1/3)*( 1+3*x)^(1/3)+3*(1+3*x)^(2/3))*2^(2/3))/((-1+x)^2*(1+3*x))^(2/3)
Time = 0.31 (sec) , antiderivative size = 194, normalized size of antiderivative = 0.70 \[ \int \frac {(-7+x) \sqrt [3]{1+x-5 x^2+3 x^3}}{(-5+x) (-1+x)^3} \, dx=\frac {1}{32} \sqrt [3]{(-1+x)^2 (1+3 x)} \left (\frac {3-39 x}{(-1+x)^2}+\frac {4\ 2^{2/3} \sqrt {3} \arctan \left (\frac {\sqrt [3]{-1+x}+\sqrt [3]{2+6 x}}{\sqrt {3} \sqrt [3]{-1+x}}\right )}{(-1+x)^{2/3} \sqrt [3]{1+3 x}}-\frac {4\ 2^{2/3} \log \left (-2+\frac {\sqrt [3]{2+6 x}}{\sqrt [3]{-1+x}}\right )}{(-1+x)^{2/3} \sqrt [3]{1+3 x}}+\frac {2\ 2^{2/3} \log \left (4+\frac {2 \sqrt [3]{2+6 x}}{\sqrt [3]{-1+x}}+\frac {(2+6 x)^{2/3}}{(-1+x)^{2/3}}\right )}{(-1+x)^{2/3} \sqrt [3]{1+3 x}}\right ) \] Input:
Integrate[((-7 + x)*(1 + x - 5*x^2 + 3*x^3)^(1/3))/((-5 + x)*(-1 + x)^3),x ]
Output:
(((-1 + x)^2*(1 + 3*x))^(1/3)*((3 - 39*x)/(-1 + x)^2 + (4*2^(2/3)*Sqrt[3]* ArcTan[((-1 + x)^(1/3) + (2 + 6*x)^(1/3))/(Sqrt[3]*(-1 + x)^(1/3))])/((-1 + x)^(2/3)*(1 + 3*x)^(1/3)) - (4*2^(2/3)*Log[-2 + (2 + 6*x)^(1/3)/(-1 + x) ^(1/3)])/((-1 + x)^(2/3)*(1 + 3*x)^(1/3)) + (2*2^(2/3)*Log[4 + (2*(2 + 6*x )^(1/3))/(-1 + x)^(1/3) + (2 + 6*x)^(2/3)/(-1 + x)^(2/3)])/((-1 + x)^(2/3) *(1 + 3*x)^(1/3))))/32
Time = 0.87 (sec) , antiderivative size = 259, normalized size of antiderivative = 0.93, number of steps used = 2, number of rules used = 2, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.065, Rules used = {7293, 2009}
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-7) \sqrt [3]{3 x^3-5 x^2+x+1}}{(x-5) (x-1)^3} \, dx\) |
\(\Big \downarrow \) 7293 |
\(\displaystyle \int \left (-\frac {\sqrt [3]{3 x^3-5 x^2+x+1}}{32 (x-5)}+\frac {\sqrt [3]{3 x^3-5 x^2+x+1}}{32 (x-1)}+\frac {\sqrt [3]{3 x^3-5 x^2+x+1}}{8 (x-1)^2}+\frac {3 \sqrt [3]{3 x^3-5 x^2+x+1}}{2 (x-1)^3}\right )dx\) |
\(\Big \downarrow \) 2009 |
\(\displaystyle -\frac {\sqrt {3} \sqrt [3]{3 x^3-5 x^2+x+1} \arctan \left (\frac {2\ 2^{2/3} \sqrt [3]{x-1}}{\sqrt {3} \sqrt [3]{3 x+1}}+\frac {1}{\sqrt {3}}\right )}{4 \sqrt [3]{2} (x-1)^{2/3} \sqrt [3]{3 x+1}}-\frac {9 \sqrt [3]{3 x^3-5 x^2+x+1} (3 x+1)}{32 (1-x)^2}+\frac {3 \sqrt [3]{3 x^3-5 x^2+x+1}}{8 (1-x)}+\frac {\sqrt [3]{3 x^3-5 x^2+x+1} \log (x-5)}{8 \sqrt [3]{2} (x-1)^{2/3} \sqrt [3]{3 x+1}}-\frac {3 \sqrt [3]{3 x^3-5 x^2+x+1} \log \left (4 \sqrt [3]{x-1}-2 \sqrt [3]{2} \sqrt [3]{3 x+1}\right )}{8 \sqrt [3]{2} (x-1)^{2/3} \sqrt [3]{3 x+1}}\) |
Input:
Int[((-7 + x)*(1 + x - 5*x^2 + 3*x^3)^(1/3))/((-5 + x)*(-1 + x)^3),x]
Output:
(3*(1 + x - 5*x^2 + 3*x^3)^(1/3))/(8*(1 - x)) - (9*(1 + 3*x)*(1 + x - 5*x^ 2 + 3*x^3)^(1/3))/(32*(1 - x)^2) - (Sqrt[3]*(1 + x - 5*x^2 + 3*x^3)^(1/3)* ArcTan[1/Sqrt[3] + (2*2^(2/3)*(-1 + x)^(1/3))/(Sqrt[3]*(1 + 3*x)^(1/3))])/ (4*2^(1/3)*(-1 + x)^(2/3)*(1 + 3*x)^(1/3)) + ((1 + x - 5*x^2 + 3*x^3)^(1/3 )*Log[-5 + x])/(8*2^(1/3)*(-1 + x)^(2/3)*(1 + 3*x)^(1/3)) - (3*(1 + x - 5* x^2 + 3*x^3)^(1/3)*Log[4*(-1 + x)^(1/3) - 2*2^(1/3)*(1 + 3*x)^(1/3)])/(8*2 ^(1/3)*(-1 + x)^(2/3)*(1 + 3*x)^(1/3))
Result contains higher order function than in optimal. Order 9 vs. order 3.
Time = 1.87 (sec) , antiderivative size = 1563, normalized size of antiderivative = 5.62
Input:
int((-7+x)*(3*x^3-5*x^2+x+1)^(1/3)/(-5+x)/(-1+x)^3,x,method=_RETURNVERBOSE )
Output:
-3/32*(13*x-1)/(-1+x)^2*(3*x^3-5*x^2+x+1)^(1/3)+6*RootOf(RootOf(_Z^3+4)^2+ 48*_Z*RootOf(_Z^3+4)+2304*_Z^2)*ln(-(32256*RootOf(RootOf(_Z^3+4)^2+48*_Z*R ootOf(_Z^3+4)+2304*_Z^2)^2*RootOf(_Z^3+4)^3*x^2+192*RootOf(RootOf(_Z^3+4)^ 2+48*_Z*RootOf(_Z^3+4)+2304*_Z^2)*RootOf(_Z^3+4)^4*x^2-32256*RootOf(RootOf (_Z^3+4)^2+48*_Z*RootOf(_Z^3+4)+2304*_Z^2)^2*RootOf(_Z^3+4)^3*x-192*RootOf (RootOf(_Z^3+4)^2+48*_Z*RootOf(_Z^3+4)+2304*_Z^2)*RootOf(_Z^3+4)^4*x+576*( 3*x^3-5*x^2+x+1)^(2/3)*RootOf(RootOf(_Z^3+4)^2+48*_Z*RootOf(_Z^3+4)+2304*_ Z^2)*RootOf(_Z^3+4)^2-4200*RootOf(RootOf(_Z^3+4)^2+48*_Z*RootOf(_Z^3+4)+23 04*_Z^2)*RootOf(_Z^3+4)*x^2-25*RootOf(_Z^3+4)^2*x^2+2304*(3*x^3-5*x^2+x+1) ^(1/3)*RootOf(RootOf(_Z^3+4)^2+48*_Z*RootOf(_Z^3+4)+2304*_Z^2)*x-42*(3*x^3 -5*x^2+x+1)^(1/3)*RootOf(_Z^3+4)*x+6384*RootOf(RootOf(_Z^3+4)^2+48*_Z*Root Of(_Z^3+4)+2304*_Z^2)*RootOf(_Z^3+4)*x+38*RootOf(_Z^3+4)^2*x+42*(3*x^3-5*x ^2+x+1)^(2/3)-2304*(3*x^3-5*x^2+x+1)^(1/3)*RootOf(RootOf(_Z^3+4)^2+48*_Z*R ootOf(_Z^3+4)+2304*_Z^2)+42*(3*x^3-5*x^2+x+1)^(1/3)*RootOf(_Z^3+4)-2184*Ro otOf(RootOf(_Z^3+4)^2+48*_Z*RootOf(_Z^3+4)+2304*_Z^2)*RootOf(_Z^3+4)-13*Ro otOf(_Z^3+4)^2)/(-5+x)/(-1+x))-1/8*ln((-64512*RootOf(RootOf(_Z^3+4)^2+48*_ Z*RootOf(_Z^3+4)+2304*_Z^2)^2*RootOf(_Z^3+4)^3*x^2-960*RootOf(RootOf(_Z^3+ 4)^2+48*_Z*RootOf(_Z^3+4)+2304*_Z^2)*RootOf(_Z^3+4)^4*x^2+64512*RootOf(Roo tOf(_Z^3+4)^2+48*_Z*RootOf(_Z^3+4)+2304*_Z^2)^2*RootOf(_Z^3+4)^3*x+960*Roo tOf(RootOf(_Z^3+4)^2+48*_Z*RootOf(_Z^3+4)+2304*_Z^2)*RootOf(_Z^3+4)^4*x...
Time = 0.08 (sec) , antiderivative size = 214, normalized size of antiderivative = 0.77 \[ \int \frac {(-7+x) \sqrt [3]{1+x-5 x^2+3 x^3}}{(-5+x) (-1+x)^3} \, dx=\frac {8 \cdot 2^{\frac {1}{6}} \sqrt {\frac {3}{2}} {\left (x^{2} - 2 \, x + 1\right )} \arctan \left (\frac {2^{\frac {1}{6}} \sqrt {\frac {3}{2}} {\left (2^{\frac {1}{3}} {\left (x - 1\right )} + 2^{\frac {2}{3}} {\left (3 \, x^{3} - 5 \, x^{2} + x + 1\right )}^{\frac {1}{3}}\right )}}{3 \, {\left (x - 1\right )}}\right ) + 2 \cdot 2^{\frac {2}{3}} {\left (x^{2} - 2 \, x + 1\right )} \log \left (\frac {2^{\frac {2}{3}} {\left (3 \, x^{3} - 5 \, x^{2} + x + 1\right )}^{\frac {1}{3}} {\left (x - 1\right )} + 2 \cdot 2^{\frac {1}{3}} {\left (x^{2} - 2 \, x + 1\right )} + {\left (3 \, x^{3} - 5 \, x^{2} + x + 1\right )}^{\frac {2}{3}}}{x^{2} - 2 \, x + 1}\right ) - 4 \cdot 2^{\frac {2}{3}} {\left (x^{2} - 2 \, x + 1\right )} \log \left (-\frac {2^{\frac {2}{3}} {\left (x - 1\right )} - {\left (3 \, x^{3} - 5 \, x^{2} + x + 1\right )}^{\frac {1}{3}}}{x - 1}\right ) - 3 \, {\left (3 \, x^{3} - 5 \, x^{2} + x + 1\right )}^{\frac {1}{3}} {\left (13 \, x - 1\right )}}{32 \, {\left (x^{2} - 2 \, x + 1\right )}} \] Input:
integrate((-7+x)*(3*x^3-5*x^2+x+1)^(1/3)/(-5+x)/(-1+x)^3,x, algorithm="fri cas")
Output:
1/32*(8*2^(1/6)*sqrt(3/2)*(x^2 - 2*x + 1)*arctan(1/3*2^(1/6)*sqrt(3/2)*(2^ (1/3)*(x - 1) + 2^(2/3)*(3*x^3 - 5*x^2 + x + 1)^(1/3))/(x - 1)) + 2*2^(2/3 )*(x^2 - 2*x + 1)*log((2^(2/3)*(3*x^3 - 5*x^2 + x + 1)^(1/3)*(x - 1) + 2*2 ^(1/3)*(x^2 - 2*x + 1) + (3*x^3 - 5*x^2 + x + 1)^(2/3))/(x^2 - 2*x + 1)) - 4*2^(2/3)*(x^2 - 2*x + 1)*log(-(2^(2/3)*(x - 1) - (3*x^3 - 5*x^2 + x + 1) ^(1/3))/(x - 1)) - 3*(3*x^3 - 5*x^2 + x + 1)^(1/3)*(13*x - 1))/(x^2 - 2*x + 1)
\[ \int \frac {(-7+x) \sqrt [3]{1+x-5 x^2+3 x^3}}{(-5+x) (-1+x)^3} \, dx=\int \frac {\sqrt [3]{\left (x - 1\right )^{2} \cdot \left (3 x + 1\right )} \left (x - 7\right )}{\left (x - 5\right ) \left (x - 1\right )^{3}}\, dx \] Input:
integrate((-7+x)*(3*x**3-5*x**2+x+1)**(1/3)/(-5+x)/(-1+x)**3,x)
Output:
Integral(((x - 1)**2*(3*x + 1))**(1/3)*(x - 7)/((x - 5)*(x - 1)**3), x)
\[ \int \frac {(-7+x) \sqrt [3]{1+x-5 x^2+3 x^3}}{(-5+x) (-1+x)^3} \, dx=\int { \frac {{\left (3 \, x^{3} - 5 \, x^{2} + x + 1\right )}^{\frac {1}{3}} {\left (x - 7\right )}}{{\left (x - 1\right )}^{3} {\left (x - 5\right )}} \,d x } \] Input:
integrate((-7+x)*(3*x^3-5*x^2+x+1)^(1/3)/(-5+x)/(-1+x)^3,x, algorithm="max ima")
Output:
integrate((3*x^3 - 5*x^2 + x + 1)^(1/3)*(x - 7)/((x - 1)^3*(x - 5)), x)
\[ \int \frac {(-7+x) \sqrt [3]{1+x-5 x^2+3 x^3}}{(-5+x) (-1+x)^3} \, dx=\int { \frac {{\left (3 \, x^{3} - 5 \, x^{2} + x + 1\right )}^{\frac {1}{3}} {\left (x - 7\right )}}{{\left (x - 1\right )}^{3} {\left (x - 5\right )}} \,d x } \] Input:
integrate((-7+x)*(3*x^3-5*x^2+x+1)^(1/3)/(-5+x)/(-1+x)^3,x, algorithm="gia c")
Output:
integrate((3*x^3 - 5*x^2 + x + 1)^(1/3)*(x - 7)/((x - 1)^3*(x - 5)), x)
Timed out. \[ \int \frac {(-7+x) \sqrt [3]{1+x-5 x^2+3 x^3}}{(-5+x) (-1+x)^3} \, dx=\int \frac {\left (x-7\right )\,{\left (3\,x^3-5\,x^2+x+1\right )}^{1/3}}{{\left (x-1\right )}^3\,\left (x-5\right )} \,d x \] Input:
int(((x - 7)*(x - 5*x^2 + 3*x^3 + 1)^(1/3))/((x - 1)^3*(x - 5)),x)
Output:
int(((x - 7)*(x - 5*x^2 + 3*x^3 + 1)^(1/3))/((x - 1)^3*(x - 5)), x)
\[ \int \frac {(-7+x) \sqrt [3]{1+x-5 x^2+3 x^3}}{(-5+x) (-1+x)^3} \, dx=\frac {-63 \left (3 x^{3}-5 x^{2}+x +1\right )^{\frac {1}{3}} x -69 \left (3 x^{3}-5 x^{2}+x +1\right )^{\frac {1}{3}}-1024 \left (\int \frac {\left (3 x^{3}-5 x^{2}+x +1\right )^{\frac {1}{3}} x}{3 x^{5}-23 x^{4}+46 x^{3}-30 x^{2}-x +5}d x \right ) x^{2}+2048 \left (\int \frac {\left (3 x^{3}-5 x^{2}+x +1\right )^{\frac {1}{3}} x}{3 x^{5}-23 x^{4}+46 x^{3}-30 x^{2}-x +5}d x \right ) x -1024 \left (\int \frac {\left (3 x^{3}-5 x^{2}+x +1\right )^{\frac {1}{3}} x}{3 x^{5}-23 x^{4}+46 x^{3}-30 x^{2}-x +5}d x \right )}{160 x^{2}-320 x +160} \] Input:
int((-7+x)*(3*x^3-5*x^2+x+1)^(1/3)/(-5+x)/(-1+x)^3,x)
Output:
( - 63*(3*x**3 - 5*x**2 + x + 1)**(1/3)*x - 69*(3*x**3 - 5*x**2 + x + 1)** (1/3) - 1024*int(((3*x**3 - 5*x**2 + x + 1)**(1/3)*x)/(3*x**5 - 23*x**4 + 46*x**3 - 30*x**2 - x + 5),x)*x**2 + 2048*int(((3*x**3 - 5*x**2 + x + 1)** (1/3)*x)/(3*x**5 - 23*x**4 + 46*x**3 - 30*x**2 - x + 5),x)*x - 1024*int((( 3*x**3 - 5*x**2 + x + 1)**(1/3)*x)/(3*x**5 - 23*x**4 + 46*x**3 - 30*x**2 - x + 5),x))/(160*(x**2 - 2*x + 1))