Optimal. Leaf size=245 \[ \frac {\sqrt {3} \text {ArcTan}\left (\frac {\sqrt {3} \left (a b x+(-a-b) x^2+x^3\right )^{2/3}}{-2 b \sqrt [3]{d} x+2 \sqrt [3]{d} x^2+\left (a b x+(-a-b) x^2+x^3\right )^{2/3}}\right )}{\sqrt [3]{d}}+\frac {\log \left (b \sqrt {d} x-\sqrt {d} x^2+\sqrt [6]{d} \left (a b x+(-a-b) x^2+x^3\right )^{2/3}\right )}{\sqrt [3]{d}}-\frac {\log \left (b^2 d x^2-2 b d x^3+d x^4+\left (-b d^{2/3} x+d^{2/3} x^2\right ) \left (a b x+(-a-b) x^2+x^3\right )^{2/3}+\sqrt [3]{d} \left (a b x+(-a-b) x^2+x^3\right )^{4/3}\right )}{2 \sqrt [3]{d}} \]
[Out]
________________________________________________________________________________________
Rubi [F]
time = 2.58, 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 {a^2 b-2 a^2 x+(2 a-b) x^2}{(x (-a+x) (-b+x))^{2/3} \left (a^2+(-2 a+b d) x+(1-d) x^2\right )} \, dx \end {gather*}
Verification is not applicable to the result.
[In]
[Out]
Rubi steps
\begin {align*} \int \frac {a^2 b-2 a^2 x+(2 a-b) x^2}{(x (-a+x) (-b+x))^{2/3} \left (a^2+(-2 a+b d) x+(1-d) x^2\right )} \, dx &=\frac {\left (x^{2/3} (-a+x)^{2/3} (-b+x)^{2/3}\right ) \int \frac {a^2 b-2 a^2 x+(2 a-b) x^2}{x^{2/3} (-a+x)^{2/3} (-b+x)^{2/3} \left (a^2+(-2 a+b d) x+(1-d) x^2\right )} \, dx}{(x (-a+x) (-b+x))^{2/3}}\\ &=\frac {\left (x^{2/3} (-a+x)^{2/3} (-b+x)^{2/3}\right ) \int \frac {\sqrt [3]{-a+x} (-a b+(2 a-b) x)}{x^{2/3} (-b+x)^{2/3} \left (a^2+(-2 a+b d) x+(1-d) x^2\right )} \, dx}{(x (-a+x) (-b+x))^{2/3}}\\ &=\frac {\left (x^{2/3} (-a+x)^{2/3} (-b+x)^{2/3}\right ) \int \left (\frac {\left (2 a-b+\frac {\sqrt {4 a^2-4 a b+b^2 d}}{\sqrt {d}}\right ) \sqrt [3]{-a+x}}{x^{2/3} (-b+x)^{2/3} \left (-2 a+b d-\sqrt {d} \sqrt {4 a^2-4 a b+b^2 d}+2 (1-d) x\right )}+\frac {\left (2 a-b-\frac {\sqrt {4 a^2-4 a b+b^2 d}}{\sqrt {d}}\right ) \sqrt [3]{-a+x}}{x^{2/3} (-b+x)^{2/3} \left (-2 a+b d+\sqrt {d} \sqrt {4 a^2-4 a b+b^2 d}+2 (1-d) x\right )}\right ) \, dx}{(x (-a+x) (-b+x))^{2/3}}\\ &=\frac {\left (\left (2 a-b-\frac {\sqrt {4 a^2-4 a b+b^2 d}}{\sqrt {d}}\right ) x^{2/3} (-a+x)^{2/3} (-b+x)^{2/3}\right ) \int \frac {\sqrt [3]{-a+x}}{x^{2/3} (-b+x)^{2/3} \left (-2 a+b d+\sqrt {d} \sqrt {4 a^2-4 a b+b^2 d}+2 (1-d) x\right )} \, dx}{(x (-a+x) (-b+x))^{2/3}}+\frac {\left (\left (2 a-b+\frac {\sqrt {4 a^2-4 a b+b^2 d}}{\sqrt {d}}\right ) x^{2/3} (-a+x)^{2/3} (-b+x)^{2/3}\right ) \int \frac {\sqrt [3]{-a+x}}{x^{2/3} (-b+x)^{2/3} \left (-2 a+b d-\sqrt {d} \sqrt {4 a^2-4 a b+b^2 d}+2 (1-d) x\right )} \, dx}{(x (-a+x) (-b+x))^{2/3}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [F]
time = 22.50, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {a^2 b-2 a^2 x+(2 a-b) x^2}{(x (-a+x) (-b+x))^{2/3} \left (a^2+(-2 a+b d) x+(1-d) x^2\right )} \, dx \end {gather*}
Verification is not applicable to the result.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.14, size = 0, normalized size = 0.00 \[\int \frac {a^{2} b -2 a^{2} x +\left (2 a -b \right ) x^{2}}{\left (x \left (-a +x \right ) \left (-b +x \right )\right )^{\frac {2}{3}} \left (a^{2}+\left (b d -2 a \right ) x +\left (1-d \right ) x^{2}\right )}\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F(-1)] Timed out
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]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] Timed out
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]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int -\frac {x^2\,\left (2\,a-b\right )+a^2\,b-2\,a^2\,x}{{\left (x\,\left (a-x\right )\,\left (b-x\right )\right )}^{2/3}\,\left (x\,\left (2\,a-b\,d\right )-a^2+x^2\,\left (d-1\right )\right )} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________