Optimal. Leaf size=110 \[ \frac{3 \log \left (-2^{2/3} \sqrt [3]{x^2-3 x+2}-x+2\right )}{4 \sqrt [3]{2}}-\frac{\sqrt{3} \tan ^{-1}\left (\frac{\sqrt [3]{2} (2-x)}{\sqrt{3} \sqrt [3]{x^2-3 x+2}}+\frac{1}{\sqrt{3}}\right )}{2 \sqrt [3]{2}}-\frac{\log (2-x)}{4 \sqrt [3]{2}}-\frac{\log (x)}{2 \sqrt [3]{2}} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.0992248, antiderivative size = 176, normalized size of antiderivative = 1.6, number of steps used = 2, number of rules used = 2, integrand size = 16, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.125 \[ \frac{3 \sqrt [3]{x-2} \sqrt [3]{x-1} \log \left (-\frac{(x-2)^{2/3}}{\sqrt [3]{2}}-\sqrt [3]{2} \sqrt [3]{x-1}\right )}{4 \sqrt [3]{2} \sqrt [3]{x^2-3 x+2}}-\frac{\sqrt [3]{x-2} \sqrt [3]{x-1} \log (x)}{2 \sqrt [3]{2} \sqrt [3]{x^2-3 x+2}}-\frac{\sqrt{3} \sqrt [3]{x-2} \sqrt [3]{x-1} \tan ^{-1}\left (\frac{1}{\sqrt{3}}-\frac{\sqrt [3]{2} (x-2)^{2/3}}{\sqrt{3} \sqrt [3]{x-1}}\right )}{2 \sqrt [3]{2} \sqrt [3]{x^2-3 x+2}} \]
Antiderivative was successfully verified.
[In] Int[1/(x*(2 - 3*x + x^2)^(1/3)),x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 4.67779, size = 155, normalized size = 1.41 \[ - \frac{\sqrt [3]{2 x - 4} \sqrt [3]{2 x - 2} \log{\left (x \right )}}{4 \sqrt [3]{x^{2} - 3 x + 2}} + \frac{3 \sqrt [3]{2 x - 4} \sqrt [3]{2 x - 2} \log{\left (- \frac{\left (2 x - 4\right )^{\frac{2}{3}}}{2} - \sqrt [3]{2 x - 2} \right )}}{8 \sqrt [3]{x^{2} - 3 x + 2}} + \frac{\sqrt{3} \sqrt [3]{2 x - 4} \sqrt [3]{2 x - 2} \operatorname{atan}{\left (\frac{\sqrt{3} \left (2 x - 4\right )^{\frac{2}{3}}}{3 \sqrt [3]{2 x - 2}} - \frac{\sqrt{3}}{3} \right )}}{4 \sqrt [3]{x^{2} - 3 x + 2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate(1/x/(x**2-3*x+2)**(1/3),x)
[Out]
_______________________________________________________________________________________
Mathematica [C] time = 0.19044, size = 109, normalized size = 0.99 \[ -\frac{15 x F_1\left (\frac{2}{3};\frac{1}{3},\frac{1}{3};\frac{5}{3};\frac{1}{x},\frac{2}{x}\right )}{2 \sqrt [3]{x^2-3 x+2} \left (5 x F_1\left (\frac{2}{3};\frac{1}{3},\frac{1}{3};\frac{5}{3};\frac{1}{x},\frac{2}{x}\right )+2 F_1\left (\frac{5}{3};\frac{1}{3},\frac{4}{3};\frac{8}{3};\frac{1}{x},\frac{2}{x}\right )+F_1\left (\frac{5}{3};\frac{4}{3},\frac{1}{3};\frac{8}{3};\frac{1}{x},\frac{2}{x}\right )\right )} \]
Warning: Unable to verify antiderivative.
[In] Integrate[1/(x*(2 - 3*x + x^2)^(1/3)),x]
[Out]
_______________________________________________________________________________________
Maple [F] time = 0.098, size = 0, normalized size = 0. \[ \int{\frac{1}{x}{\frac{1}{\sqrt [3]{{x}^{2}-3\,x+2}}}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int(1/x/(x^2-3*x+2)^(1/3),x)
[Out]
_______________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \[ \int \frac{1}{{\left (x^{2} - 3 \, x + 2\right )}^{\frac{1}{3}} x}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(1/((x^2 - 3*x + 2)^(1/3)*x),x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [F(-1)] time = 0., size = 0, normalized size = 0. \[ \text{Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(1/((x^2 - 3*x + 2)^(1/3)*x),x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \[ \int \frac{1}{x \sqrt [3]{\left (x - 2\right ) \left (x - 1\right )}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(1/x/(x**2-3*x+2)**(1/3),x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [F] time = 0., size = 0, normalized size = 0. \[ \int \frac{1}{{\left (x^{2} - 3 \, x + 2\right )}^{\frac{1}{3}} x}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(1/((x^2 - 3*x + 2)^(1/3)*x),x, algorithm="giac")
[Out]