3.11.76 \(\int \frac {-2 a b x^2+(a+b) x^3}{(x^2 (-a+x) (-b+x))^{3/4} (-a b+(a+b) x+(-1+d) x^2)} \, dx\)

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

________________________________________________________________________________________

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

Verification is not applicable to the result.

[In]

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

[Out]

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

Rubi steps

\begin {align*} \int \frac {-2 a b x^2+(a+b) x^3}{\left (x^2 (-a+x) (-b+x)\right )^{3/4} \left (-a b+(a+b) x+(-1+d) x^2\right )} \, dx &=\int \frac {x^2 (-2 a b+(a+b) x)}{\left (x^2 (-a+x) (-b+x)\right )^{3/4} \left (-a b+(a+b) x+(-1+d) x^2\right )} \, dx\\ &=\frac {\left (x^{3/2} (-a+x)^{3/4} (-b+x)^{3/4}\right ) \int \frac {\sqrt {x} (-2 a b+(a+b) x)}{(-a+x)^{3/4} (-b+x)^{3/4} \left (-a b+(a+b) x+(-1+d) x^2\right )} \, dx}{\left (x^2 (-a+x) (-b+x)\right )^{3/4}}\\ &=\frac {\left (x^{3/2} (-a+x)^{3/4} (-b+x)^{3/4}\right ) \int \left (\frac {\left (a+b-\sqrt {a^2-2 a b+b^2+4 a b d}\right ) \sqrt {x}}{(-a+x)^{3/4} (-b+x)^{3/4} \left (a+b-\sqrt {a^2-2 a b+b^2+4 a b d}+2 (-1+d) x\right )}+\frac {\left (a+b+\sqrt {a^2-2 a b+b^2+4 a b d}\right ) \sqrt {x}}{(-a+x)^{3/4} (-b+x)^{3/4} \left (a+b+\sqrt {a^2-2 a b+b^2+4 a b d}+2 (-1+d) x\right )}\right ) \, dx}{\left (x^2 (-a+x) (-b+x)\right )^{3/4}}\\ &=\frac {\left (\left (a+b-\sqrt {a^2-2 a b+b^2+4 a b d}\right ) x^{3/2} (-a+x)^{3/4} (-b+x)^{3/4}\right ) \int \frac {\sqrt {x}}{(-a+x)^{3/4} (-b+x)^{3/4} \left (a+b-\sqrt {a^2-2 a b+b^2+4 a b d}+2 (-1+d) x\right )} \, dx}{\left (x^2 (-a+x) (-b+x)\right )^{3/4}}+\frac {\left (\left (a+b+\sqrt {a^2-2 a b+b^2+4 a b d}\right ) x^{3/2} (-a+x)^{3/4} (-b+x)^{3/4}\right ) \int \frac {\sqrt {x}}{(-a+x)^{3/4} (-b+x)^{3/4} \left (a+b+\sqrt {a^2-2 a b+b^2+4 a b d}+2 (-1+d) x\right )} \, dx}{\left (x^2 (-a+x) (-b+x)\right )^{3/4}}\\ \end {align*}

________________________________________________________________________________________

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

Verification is not applicable to the result.

[In]

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

[Out]

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

________________________________________________________________________________________

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

Antiderivative was successfully verified.

[In]

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

[Out]

(-2*ArcTan[(d^(1/4)*x)/(a*b*x^2 + (-a - b)*x^3 + x^4)^(1/4)])/d^(3/4) + (2*ArcTanh[(d^(1/4)*x)/(a*b*x^2 + (-a
- b)*x^3 + x^4)^(1/4)])/d^(3/4)

________________________________________________________________________________________

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^2+(a+b)*x^3)/(x^2*(-a+x)*(-b+x))^(3/4)/(-a*b+(a+b)*x+(-1+d)*x^2),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^{2} - {\left (a + b\right )} x^{3}}{\left ({\left (a - x\right )} {\left (b - x\right )} x^{2}\right )^{\frac {3}{4}} {\left ({\left (d - 1\right )} x^{2} - a b + {\left (a + b\right )} x\right )}}\,{d x} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

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

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

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

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

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

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

int((x^3*(a + b) - 2*a*b*x^2)/((x^2*(a - x)*(b - x))^(3/4)*(x*(a + b) - a*b + x^2*(d - 1))), 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**2+(a+b)*x**3)/(x**2*(-a+x)*(-b+x))**(3/4)/(-a*b+(a+b)*x+(-1+d)*x**2),x)

[Out]

Timed out

________________________________________________________________________________________