3.27.71 \(\int \frac {2 a b x-3 a x^2+x^3}{\sqrt [3]{x^2 (-a+x) (-b+x)} (-a^2 d+2 a d x-(b+d) x^2+x^3)} \, dx\)

Optimal. Leaf size=241 \[ -\frac {\log \left (a^2 d^{2/3}+\sqrt [3]{x^3 (-a-b)+a b x^2+x^4} \left (\sqrt [3]{d} x-a \sqrt [3]{d}\right )+\left (x^3 (-a-b)+a b x^2+x^4\right )^{2/3}-2 a d^{2/3} x+d^{2/3} x^2\right )}{2 \sqrt [3]{d}}+\frac {\log \left (\sqrt [3]{x^3 (-a-b)+a b x^2+x^4}+a \sqrt [3]{d}-\sqrt [3]{d} x\right )}{\sqrt [3]{d}}+\frac {\sqrt {3} \tan ^{-1}\left (\frac {\sqrt {3} \sqrt [3]{x^3 (-a-b)+a b x^2+x^4}}{\sqrt [3]{x^3 (-a-b)+a b x^2+x^4}-2 a \sqrt [3]{d}+2 \sqrt [3]{d} x}\right )}{\sqrt [3]{d}} \]

________________________________________________________________________________________

Rubi [F]  time = 15.69, 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 a b x-3 a x^2+x^3}{\sqrt [3]{x^2 (-a+x) (-b+x)} \left (-a^2 d+2 a d x-(b+d) x^2+x^3\right )} \, dx \end {gather*}

Verification is not applicable to the result.

[In]

Int[(2*a*b*x - 3*a*x^2 + x^3)/((x^2*(-a + x)*(-b + x))^(1/3)*(-(a^2*d) + 2*a*d*x - (b + d)*x^2 + x^3)),x]

[Out]

(3*x*(1 - x/a)^(1/3)*(1 - x/b)^(1/3)*AppellF1[1/3, 1/3, 1/3, 4/3, x/a, x/b])/((a - x)*(b - x)*x^2)^(1/3) - (6*
a*(b - d)*x^(2/3)*(-a + x)^(1/3)*(-b + x)^(1/3)*Defer[Subst][Defer[Int][x^3/((-a + x^3)^(1/3)*(-b + x^3)^(1/3)
*(a^2*d - 2*a*d*x^3 + b*(1 + d/b)*x^6 - x^9)), x], x, x^(1/3)])/((a - x)*(b - x)*x^2)^(1/3) + (3*(3*a - b - d)
*x^(2/3)*(-a + x)^(1/3)*(-b + x)^(1/3)*Defer[Subst][Defer[Int][x^6/((-a + x^3)^(1/3)*(-b + x^3)^(1/3)*(a^2*d -
 2*a*d*x^3 + b*(1 + d/b)*x^6 - x^9)), x], x, x^(1/3)])/((a - x)*(b - x)*x^2)^(1/3) + (3*a^2*d*x^(2/3)*(-a + x)
^(1/3)*(-b + x)^(1/3)*Defer[Subst][Defer[Int][1/((-a + x^3)^(1/3)*(-b + x^3)^(1/3)*(-(a^2*d) + 2*a*d*x^3 - b*(
1 + d/b)*x^6 + x^9)), x], x, x^(1/3)])/((a - x)*(b - x)*x^2)^(1/3)

Rubi steps

\begin {align*} \int \frac {2 a b x-3 a x^2+x^3}{\sqrt [3]{x^2 (-a+x) (-b+x)} \left (-a^2 d+2 a d x-(b+d) x^2+x^3\right )} \, dx &=\int \frac {x \left (2 a b-3 a x+x^2\right )}{\sqrt [3]{x^2 (-a+x) (-b+x)} \left (-a^2 d+2 a d x-(b+d) x^2+x^3\right )} \, dx\\ &=\frac {\left (x^{2/3} \sqrt [3]{-a+x} \sqrt [3]{-b+x}\right ) \int \frac {\sqrt [3]{x} \left (2 a b-3 a x+x^2\right )}{\sqrt [3]{-a+x} \sqrt [3]{-b+x} \left (-a^2 d+2 a d x-(b+d) x^2+x^3\right )} \, dx}{\sqrt [3]{x^2 (-a+x) (-b+x)}}\\ &=\frac {\left (3 x^{2/3} \sqrt [3]{-a+x} \sqrt [3]{-b+x}\right ) \operatorname {Subst}\left (\int \frac {x^3 \left (2 a b-3 a x^3+x^6\right )}{\sqrt [3]{-a+x^3} \sqrt [3]{-b+x^3} \left (-a^2 d+2 a d x^3-(b+d) x^6+x^9\right )} \, dx,x,\sqrt [3]{x}\right )}{\sqrt [3]{x^2 (-a+x) (-b+x)}}\\ &=\frac {\left (3 x^{2/3} \sqrt [3]{-a+x} \sqrt [3]{-b+x}\right ) \operatorname {Subst}\left (\int \left (\frac {1}{\sqrt [3]{-a+x^3} \sqrt [3]{-b+x^3}}+\frac {a^2 d+2 a (b-d) x^3-(3 a-b-d) x^6}{\sqrt [3]{-a+x^3} \sqrt [3]{-b+x^3} \left (-a^2 d+2 a d x^3-(b+d) x^6+x^9\right )}\right ) \, dx,x,\sqrt [3]{x}\right )}{\sqrt [3]{x^2 (-a+x) (-b+x)}}\\ &=\frac {\left (3 x^{2/3} \sqrt [3]{-a+x} \sqrt [3]{-b+x}\right ) \operatorname {Subst}\left (\int \frac {1}{\sqrt [3]{-a+x^3} \sqrt [3]{-b+x^3}} \, dx,x,\sqrt [3]{x}\right )}{\sqrt [3]{x^2 (-a+x) (-b+x)}}+\frac {\left (3 x^{2/3} \sqrt [3]{-a+x} \sqrt [3]{-b+x}\right ) \operatorname {Subst}\left (\int \frac {a^2 d+2 a (b-d) x^3-(3 a-b-d) x^6}{\sqrt [3]{-a+x^3} \sqrt [3]{-b+x^3} \left (-a^2 d+2 a d x^3-(b+d) x^6+x^9\right )} \, dx,x,\sqrt [3]{x}\right )}{\sqrt [3]{x^2 (-a+x) (-b+x)}}\\ &=\frac {\left (3 x^{2/3} \sqrt [3]{-a+x} \sqrt [3]{-b+x}\right ) \operatorname {Subst}\left (\int \left (\frac {2 a (-b+d) x^3}{\sqrt [3]{-a+x^3} \sqrt [3]{-b+x^3} \left (a^2 d-2 a d x^3+b \left (1+\frac {d}{b}\right ) x^6-x^9\right )}+\frac {(3 a-b-d) x^6}{\sqrt [3]{-a+x^3} \sqrt [3]{-b+x^3} \left (a^2 d-2 a d x^3+b \left (1+\frac {d}{b}\right ) x^6-x^9\right )}+\frac {a^2 d}{\sqrt [3]{-a+x^3} \sqrt [3]{-b+x^3} \left (-a^2 d+2 a d x^3-b \left (1+\frac {d}{b}\right ) x^6+x^9\right )}\right ) \, dx,x,\sqrt [3]{x}\right )}{\sqrt [3]{x^2 (-a+x) (-b+x)}}+\frac {\left (3 x^{2/3} \sqrt [3]{-b+x} \sqrt [3]{1-\frac {x}{a}}\right ) \operatorname {Subst}\left (\int \frac {1}{\sqrt [3]{-b+x^3} \sqrt [3]{1-\frac {x^3}{a}}} \, dx,x,\sqrt [3]{x}\right )}{\sqrt [3]{x^2 (-a+x) (-b+x)}}\\ &=\frac {\left (3 (3 a-b-d) x^{2/3} \sqrt [3]{-a+x} \sqrt [3]{-b+x}\right ) \operatorname {Subst}\left (\int \frac {x^6}{\sqrt [3]{-a+x^3} \sqrt [3]{-b+x^3} \left (a^2 d-2 a d x^3+b \left (1+\frac {d}{b}\right ) x^6-x^9\right )} \, dx,x,\sqrt [3]{x}\right )}{\sqrt [3]{x^2 (-a+x) (-b+x)}}-\frac {\left (6 a (b-d) x^{2/3} \sqrt [3]{-a+x} \sqrt [3]{-b+x}\right ) \operatorname {Subst}\left (\int \frac {x^3}{\sqrt [3]{-a+x^3} \sqrt [3]{-b+x^3} \left (a^2 d-2 a d x^3+b \left (1+\frac {d}{b}\right ) x^6-x^9\right )} \, dx,x,\sqrt [3]{x}\right )}{\sqrt [3]{x^2 (-a+x) (-b+x)}}+\frac {\left (3 a^2 d x^{2/3} \sqrt [3]{-a+x} \sqrt [3]{-b+x}\right ) \operatorname {Subst}\left (\int \frac {1}{\sqrt [3]{-a+x^3} \sqrt [3]{-b+x^3} \left (-a^2 d+2 a d x^3-b \left (1+\frac {d}{b}\right ) x^6+x^9\right )} \, dx,x,\sqrt [3]{x}\right )}{\sqrt [3]{x^2 (-a+x) (-b+x)}}+\frac {\left (3 x^{2/3} \sqrt [3]{1-\frac {x}{a}} \sqrt [3]{1-\frac {x}{b}}\right ) \operatorname {Subst}\left (\int \frac {1}{\sqrt [3]{1-\frac {x^3}{a}} \sqrt [3]{1-\frac {x^3}{b}}} \, dx,x,\sqrt [3]{x}\right )}{\sqrt [3]{x^2 (-a+x) (-b+x)}}\\ &=\frac {3 x \sqrt [3]{1-\frac {x}{a}} \sqrt [3]{1-\frac {x}{b}} F_1\left (\frac {1}{3};\frac {1}{3},\frac {1}{3};\frac {4}{3};\frac {x}{a},\frac {x}{b}\right )}{\sqrt [3]{(a-x) (b-x) x^2}}+\frac {\left (3 (3 a-b-d) x^{2/3} \sqrt [3]{-a+x} \sqrt [3]{-b+x}\right ) \operatorname {Subst}\left (\int \frac {x^6}{\sqrt [3]{-a+x^3} \sqrt [3]{-b+x^3} \left (a^2 d-2 a d x^3+b \left (1+\frac {d}{b}\right ) x^6-x^9\right )} \, dx,x,\sqrt [3]{x}\right )}{\sqrt [3]{x^2 (-a+x) (-b+x)}}-\frac {\left (6 a (b-d) x^{2/3} \sqrt [3]{-a+x} \sqrt [3]{-b+x}\right ) \operatorname {Subst}\left (\int \frac {x^3}{\sqrt [3]{-a+x^3} \sqrt [3]{-b+x^3} \left (a^2 d-2 a d x^3+b \left (1+\frac {d}{b}\right ) x^6-x^9\right )} \, dx,x,\sqrt [3]{x}\right )}{\sqrt [3]{x^2 (-a+x) (-b+x)}}+\frac {\left (3 a^2 d x^{2/3} \sqrt [3]{-a+x} \sqrt [3]{-b+x}\right ) \operatorname {Subst}\left (\int \frac {1}{\sqrt [3]{-a+x^3} \sqrt [3]{-b+x^3} \left (-a^2 d+2 a d x^3-b \left (1+\frac {d}{b}\right ) x^6+x^9\right )} \, dx,x,\sqrt [3]{x}\right )}{\sqrt [3]{x^2 (-a+x) (-b+x)}}\\ \end {align*}

________________________________________________________________________________________

Mathematica [F]  time = 3.29, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {2 a b x-3 a x^2+x^3}{\sqrt [3]{x^2 (-a+x) (-b+x)} \left (-a^2 d+2 a d x-(b+d) x^2+x^3\right )} \, dx \end {gather*}

Verification is not applicable to the result.

[In]

Integrate[(2*a*b*x - 3*a*x^2 + x^3)/((x^2*(-a + x)*(-b + x))^(1/3)*(-(a^2*d) + 2*a*d*x - (b + d)*x^2 + x^3)),x
]

[Out]

Integrate[(2*a*b*x - 3*a*x^2 + x^3)/((x^2*(-a + x)*(-b + x))^(1/3)*(-(a^2*d) + 2*a*d*x - (b + d)*x^2 + x^3)),
x]

________________________________________________________________________________________

IntegrateAlgebraic [A]  time = 1.16, size = 241, normalized size = 1.00 \begin {gather*} \frac {\sqrt {3} \tan ^{-1}\left (\frac {\sqrt {3} \sqrt [3]{a b x^2+(-a-b) x^3+x^4}}{-2 a \sqrt [3]{d}+2 \sqrt [3]{d} x+\sqrt [3]{a b x^2+(-a-b) x^3+x^4}}\right )}{\sqrt [3]{d}}+\frac {\log \left (a \sqrt [3]{d}-\sqrt [3]{d} x+\sqrt [3]{a b x^2+(-a-b) x^3+x^4}\right )}{\sqrt [3]{d}}-\frac {\log \left (a^2 d^{2/3}-2 a d^{2/3} x+d^{2/3} x^2+\left (-a \sqrt [3]{d}+\sqrt [3]{d} x\right ) \sqrt [3]{a b x^2+(-a-b) x^3+x^4}+\left (a b x^2+(-a-b) x^3+x^4\right )^{2/3}\right )}{2 \sqrt [3]{d}} \end {gather*}

Antiderivative was successfully verified.

[In]

IntegrateAlgebraic[(2*a*b*x - 3*a*x^2 + x^3)/((x^2*(-a + x)*(-b + x))^(1/3)*(-(a^2*d) + 2*a*d*x - (b + d)*x^2
+ x^3)),x]

[Out]

(Sqrt[3]*ArcTan[(Sqrt[3]*(a*b*x^2 + (-a - b)*x^3 + x^4)^(1/3))/(-2*a*d^(1/3) + 2*d^(1/3)*x + (a*b*x^2 + (-a -
b)*x^3 + x^4)^(1/3))])/d^(1/3) + Log[a*d^(1/3) - d^(1/3)*x + (a*b*x^2 + (-a - b)*x^3 + x^4)^(1/3)]/d^(1/3) - L
og[a^2*d^(2/3) - 2*a*d^(2/3)*x + d^(2/3)*x^2 + (-(a*d^(1/3)) + d^(1/3)*x)*(a*b*x^2 + (-a - b)*x^3 + x^4)^(1/3)
 + (a*b*x^2 + (-a - b)*x^3 + x^4)^(2/3)]/(2*d^(1/3))

________________________________________________________________________________________

fricas [F(-1)]  time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((2*a*b*x-3*a*x^2+x^3)/(x^2*(-a+x)*(-b+x))^(1/3)/(-a^2*d+2*a*d*x-(b+d)*x^2+x^3),x, algorithm="fricas"
)

[Out]

Timed out

________________________________________________________________________________________

giac [F]  time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int -\frac {2 \, a b x - 3 \, a x^{2} + x^{3}}{\left ({\left (a - x\right )} {\left (b - x\right )} x^{2}\right )^{\frac {1}{3}} {\left (a^{2} d - 2 \, a d x + {\left (b + d\right )} x^{2} - x^{3}\right )}}\,{d x} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((2*a*b*x-3*a*x^2+x^3)/(x^2*(-a+x)*(-b+x))^(1/3)/(-a^2*d+2*a*d*x-(b+d)*x^2+x^3),x, algorithm="giac")

[Out]

integrate(-(2*a*b*x - 3*a*x^2 + x^3)/(((a - x)*(b - x)*x^2)^(1/3)*(a^2*d - 2*a*d*x + (b + d)*x^2 - x^3)), x)

________________________________________________________________________________________

maple [F]  time = 0.02, size = 0, normalized size = 0.00 \[\int \frac {2 a b x -3 a \,x^{2}+x^{3}}{\left (x^{2} \left (-a +x \right ) \left (-b +x \right )\right )^{\frac {1}{3}} \left (-a^{2} d +2 a d x -\left (b +d \right ) x^{2}+x^{3}\right )}\, dx\]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((2*a*b*x-3*a*x^2+x^3)/(x^2*(-a+x)*(-b+x))^(1/3)/(-a^2*d+2*a*d*x-(b+d)*x^2+x^3),x)

[Out]

int((2*a*b*x-3*a*x^2+x^3)/(x^2*(-a+x)*(-b+x))^(1/3)/(-a^2*d+2*a*d*x-(b+d)*x^2+x^3),x)

________________________________________________________________________________________

maxima [F]  time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} -\int \frac {2 \, a b x - 3 \, a x^{2} + x^{3}}{\left ({\left (a - x\right )} {\left (b - x\right )} x^{2}\right )^{\frac {1}{3}} {\left (a^{2} d - 2 \, a d x + {\left (b + d\right )} x^{2} - x^{3}\right )}}\,{d x} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((2*a*b*x-3*a*x^2+x^3)/(x^2*(-a+x)*(-b+x))^(1/3)/(-a^2*d+2*a*d*x-(b+d)*x^2+x^3),x, algorithm="maxima"
)

[Out]

-integrate((2*a*b*x - 3*a*x^2 + x^3)/(((a - x)*(b - x)*x^2)^(1/3)*(a^2*d - 2*a*d*x + (b + d)*x^2 - x^3)), x)

________________________________________________________________________________________

mupad [F]  time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int -\frac {x^3-3\,a\,x^2+2\,a\,b\,x}{{\left (x^2\,\left (a-x\right )\,\left (b-x\right )\right )}^{1/3}\,\left (d\,a^2-2\,d\,a\,x-x^3+\left (b+d\right )\,x^2\right )} \,d x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(-(x^3 - 3*a*x^2 + 2*a*b*x)/((x^2*(a - x)*(b - x))^(1/3)*(x^2*(b + d) + a^2*d - x^3 - 2*a*d*x)),x)

[Out]

int(-(x^3 - 3*a*x^2 + 2*a*b*x)/((x^2*(a - x)*(b - x))^(1/3)*(x^2*(b + d) + a^2*d - x^3 - 2*a*d*x)), x)

________________________________________________________________________________________

sympy [F(-1)]  time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((2*a*b*x-3*a*x**2+x**3)/(x**2*(-a+x)*(-b+x))**(1/3)/(-a**2*d+2*a*d*x-(b+d)*x**2+x**3),x)

[Out]

Timed out

________________________________________________________________________________________