Optimal. Leaf size=63 \[ \frac {2 \tanh ^{-1}\left (\frac {\sqrt {x^3 (-a-b-c)+x^2 (a b+a c+b c)-a b c x+x^4}}{\sqrt {d} (a-x)}\right )}{\sqrt {d}} \]
________________________________________________________________________________________
Rubi [F] time = 3.32, 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 b c+2 a (b+c) x-(3 a+b+c) x^2+2 x^3}{\sqrt {x (-a+x) (-b+x) (-c+x)} \left (a d+(b c-d) x-(b+c) x^2+x^3\right )} \, dx \end {gather*}
Verification is not applicable to the result.
[In]
[Out]
Rubi steps
\begin {align*} \int \frac {-a b c+2 a (b+c) x-(3 a+b+c) x^2+2 x^3}{\sqrt {x (-a+x) (-b+x) (-c+x)} \left (a d+(b c-d) x-(b+c) x^2+x^3\right )} \, dx &=\int \left (\frac {2}{\sqrt {x (-a+x) (-b+x) (-c+x)}}-\frac {a (b c+2 d)+2 (b c-a (b+c)-d) x+(3 a-b-c) x^2}{\sqrt {x (-a+x) (-b+x) (-c+x)} \left (a d+(b c-d) x-(b+c) x^2+x^3\right )}\right ) \, dx\\ &=2 \int \frac {1}{\sqrt {x (-a+x) (-b+x) (-c+x)}} \, dx-\int \frac {a (b c+2 d)+2 (b c-a (b+c)-d) x+(3 a-b-c) x^2}{\sqrt {x (-a+x) (-b+x) (-c+x)} \left (a d+(b c-d) x-(b+c) x^2+x^3\right )} \, dx\\ &=2 \int \frac {1}{\sqrt {x (-a+x) (-b+x) (-c+x)}} \, dx-\int \left (\frac {a (b c+2 d)}{\sqrt {x (-a+x) (-b+x) (-c+x)} \left (a d+(b c-d) x-(b+c) x^2+x^3\right )}+\frac {2 (b c-a (b+c)-d) x}{\sqrt {x (-a+x) (-b+x) (-c+x)} \left (a d+(b c-d) x-(b+c) x^2+x^3\right )}+\frac {(3 a-b-c) x^2}{\sqrt {x (-a+x) (-b+x) (-c+x)} \left (a d+(b c-d) x-(b+c) x^2+x^3\right )}\right ) \, dx\\ &=2 \int \frac {1}{\sqrt {x (-a+x) (-b+x) (-c+x)}} \, dx-(3 a-b-c) \int \frac {x^2}{\sqrt {x (-a+x) (-b+x) (-c+x)} \left (a d+(b c-d) x-(b+c) x^2+x^3\right )} \, dx-(2 (b c-a (b+c)-d)) \int \frac {x}{\sqrt {x (-a+x) (-b+x) (-c+x)} \left (a d+(b c-d) x-(b+c) x^2+x^3\right )} \, dx-(a (b c+2 d)) \int \frac {1}{\sqrt {x (-a+x) (-b+x) (-c+x)} \left (a d+(b c-d) x-(b+c) x^2+x^3\right )} \, dx\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] time = 13.33, size = 8886, normalized size = 141.05 \begin {gather*} \text {Result too large to show} \end {gather*}
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [A] time = 0.70, size = 63, normalized size = 1.00 \begin {gather*} \frac {2 \tanh ^{-1}\left (\frac {\sqrt {-a b c x+(a b+a c+b c) x^2+(-a-b-c) x^3+x^4}}{\sqrt {d} (a-x)}\right )}{\sqrt {d}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
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]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {a b c - 2 \, a {\left (b + c\right )} x + {\left (3 \, a + b + c\right )} x^{2} - 2 \, x^{3}}{\sqrt {-{\left (a - x\right )} {\left (b - x\right )} {\left (c - x\right )} x} {\left ({\left (b + c\right )} x^{2} - x^{3} - a d - {\left (b c - d\right )} x\right )}}\,{d x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [C] time = 0.16, size = 509, normalized size = 8.08
method | result | size |
default | \(-\frac {4 a \sqrt {\frac {\left (a -c \right ) x}{a \left (-c +x \right )}}\, \left (-c +x \right )^{2} \sqrt {\frac {c \left (-b +x \right )}{b \left (-c +x \right )}}\, \sqrt {\frac {c \left (-a +x \right )}{a \left (-c +x \right )}}\, \EllipticF \left (\sqrt {\frac {\left (a -c \right ) x}{a \left (-c +x \right )}}, \sqrt {\frac {\left (-b +c \right ) a}{b \left (c -a \right )}}\right )}{\left (a -c \right ) c \sqrt {x \left (-a +x \right ) \left (-b +x \right ) \left (-c +x \right )}}+\frac {2 c \left (\munderset {\underline {\hspace {1.25 ex}}\alpha =\RootOf \left (\textit {\_Z}^{3}+\left (-b -c \right ) \textit {\_Z}^{2}+\left (b c -d \right ) \textit {\_Z} +a d \right )}{\sum }\frac {\left (-3 \underline {\hspace {1.25 ex}}\alpha ^{2} a +\underline {\hspace {1.25 ex}}\alpha ^{2} b +\underline {\hspace {1.25 ex}}\alpha ^{2} c +2 \underline {\hspace {1.25 ex}}\alpha a b +2 \underline {\hspace {1.25 ex}}\alpha a c -2 \underline {\hspace {1.25 ex}}\alpha b c -a b c +2 \underline {\hspace {1.25 ex}}\alpha d -2 a d \right ) \left (-a +x \right )^{2} \left (\underline {\hspace {1.25 ex}}\alpha ^{2}+\underline {\hspace {1.25 ex}}\alpha a -\underline {\hspace {1.25 ex}}\alpha b -\underline {\hspace {1.25 ex}}\alpha c +a^{2}-a b -a c +b c -d \right ) \sqrt {\frac {\left (c -a \right ) x}{c \left (-a +x \right )}}\, \sqrt {\frac {a \left (-b +x \right )}{b \left (-a +x \right )}}\, \sqrt {\frac {a \left (-c +x \right )}{c \left (-a +x \right )}}\, \left (\EllipticF \left (\sqrt {\frac {\left (c -a \right ) x}{c \left (-a +x \right )}}, \sqrt {\frac {\left (a -b \right ) c}{b \left (a -c \right )}}\right )+\frac {\left (\underline {\hspace {1.25 ex}}\alpha ^{2}-\underline {\hspace {1.25 ex}}\alpha b -\underline {\hspace {1.25 ex}}\alpha c +b c -d \right ) \EllipticPi \left (\sqrt {\frac {\left (c -a \right ) x}{c \left (-a +x \right )}}, -\frac {\left (\underline {\hspace {1.25 ex}}\alpha ^{2}-\underline {\hspace {1.25 ex}}\alpha b -\underline {\hspace {1.25 ex}}\alpha c +b c \right ) c}{d \left (a -c \right )}, \sqrt {\frac {\left (a -b \right ) c}{b \left (a -c \right )}}\right )}{d}\right )}{\left (-3 \underline {\hspace {1.25 ex}}\alpha ^{2}+2 \underline {\hspace {1.25 ex}}\alpha b +2 \underline {\hspace {1.25 ex}}\alpha c -b c +d \right ) \left (c -a \right ) \left (a^{2}-a b -a c +b c \right ) \sqrt {x \left (-a +x \right ) \left (-b +x \right ) \left (-c +x \right )}}\right )}{a^{2}}\) | \(509\) |
elliptic | \(-\frac {4 c \sqrt {\frac {\left (c -a \right ) x}{c \left (-a +x \right )}}\, \left (-a +x \right )^{2} \sqrt {\frac {a \left (-b +x \right )}{b \left (-a +x \right )}}\, \sqrt {\frac {a \left (-c +x \right )}{c \left (-a +x \right )}}\, \EllipticF \left (\sqrt {\frac {\left (c -a \right ) x}{c \left (-a +x \right )}}, \sqrt {\frac {\left (a -b \right ) c}{b \left (a -c \right )}}\right )}{\left (c -a \right ) a \sqrt {x \left (-a +x \right ) \left (-b +x \right ) \left (-c +x \right )}}-\frac {2 c \left (\munderset {\underline {\hspace {1.25 ex}}\alpha =\RootOf \left (\textit {\_Z}^{3}+\left (-b -c \right ) \textit {\_Z}^{2}+\left (b c -d \right ) \textit {\_Z} +a d \right )}{\sum }\frac {\left (3 \underline {\hspace {1.25 ex}}\alpha ^{2} a -\underline {\hspace {1.25 ex}}\alpha ^{2} b -\underline {\hspace {1.25 ex}}\alpha ^{2} c -2 \underline {\hspace {1.25 ex}}\alpha a b -2 \underline {\hspace {1.25 ex}}\alpha a c +2 \underline {\hspace {1.25 ex}}\alpha b c +a b c -2 \underline {\hspace {1.25 ex}}\alpha d +2 a d \right ) \left (-a +x \right )^{2} \left (\underline {\hspace {1.25 ex}}\alpha ^{2}+\underline {\hspace {1.25 ex}}\alpha a -\underline {\hspace {1.25 ex}}\alpha b -\underline {\hspace {1.25 ex}}\alpha c +a^{2}-a b -a c +b c -d \right ) \sqrt {\frac {\left (c -a \right ) x}{c \left (-a +x \right )}}\, \sqrt {\frac {a \left (-b +x \right )}{b \left (-a +x \right )}}\, \sqrt {\frac {a \left (-c +x \right )}{c \left (-a +x \right )}}\, \left (\EllipticF \left (\sqrt {\frac {\left (c -a \right ) x}{c \left (-a +x \right )}}, \sqrt {\frac {\left (a -b \right ) c}{b \left (a -c \right )}}\right )+\frac {\left (\underline {\hspace {1.25 ex}}\alpha ^{2}-\underline {\hspace {1.25 ex}}\alpha b -\underline {\hspace {1.25 ex}}\alpha c +b c -d \right ) \EllipticPi \left (\sqrt {\frac {\left (c -a \right ) x}{c \left (-a +x \right )}}, -\frac {\left (\underline {\hspace {1.25 ex}}\alpha ^{2}-\underline {\hspace {1.25 ex}}\alpha b -\underline {\hspace {1.25 ex}}\alpha c +b c \right ) c}{d \left (a -c \right )}, \sqrt {\frac {\left (a -b \right ) c}{b \left (a -c \right )}}\right )}{d}\right )}{\left (-3 \underline {\hspace {1.25 ex}}\alpha ^{2}+2 \underline {\hspace {1.25 ex}}\alpha b +2 \underline {\hspace {1.25 ex}}\alpha c -b c +d \right ) \left (c -a \right ) \left (a^{2}-a b -a c +b c \right ) \sqrt {x \left (-a +x \right ) \left (-b +x \right ) \left (-c +x \right )}}\right )}{a^{2}}\) | \(510\) |
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*} \int \frac {a b c - 2 \, a {\left (b + c\right )} x + {\left (3 \, a + b + c\right )} x^{2} - 2 \, x^{3}}{\sqrt {-{\left (a - x\right )} {\left (b - x\right )} {\left (c - x\right )} x} {\left ({\left (b + c\right )} x^{2} - x^{3} - a d - {\left (b c - d\right )} x\right )}}\,{d x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.02 \begin {gather*} -\int \frac {-2\,x^3+\left (3\,a+b+c\right )\,x^2-2\,a\,\left (b+c\right )\,x+a\,b\,c}{\left (x^3+\left (-b-c\right )\,x^2+\left (b\,c-d\right )\,x+a\,d\right )\,\sqrt {-x\,\left (a-x\right )\,\left (b-x\right )\,\left (c-x\right )}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
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]
[Out]
________________________________________________________________________________________