Integrand size = 76, antiderivative size = 59 \[ \int \frac {a b c-(a+b+c) x^2+2 x^3}{\sqrt {x (-a+x) (-b+x) (-c+x)} \left (-a b c+(a b+a c+b c-d) x-(a+b+c) x^2+x^3\right )} \, dx=-\frac {2 \text {arctanh}\left (\frac {\sqrt {-a b c x+(a b+a c+b c) x^2+(-a-b-c) x^3+x^4}}{\sqrt {d} x}\right )}{\sqrt {d}} \] Output:
-2*arctanh((-a*b*c*x+(a*b+a*c+b*c)*x^2+(-a-b-c)*x^3+x^4)^(1/2)/d^(1/2)/x)/ d^(1/2)
Time = 10.48 (sec) , antiderivative size = 38, normalized size of antiderivative = 0.64 \[ \int \frac {a b c-(a+b+c) x^2+2 x^3}{\sqrt {x (-a+x) (-b+x) (-c+x)} \left (-a b c+(a b+a c+b c-d) x-(a+b+c) x^2+x^3\right )} \, dx=-\frac {2 \text {arctanh}\left (\frac {\sqrt {x (-a+x) (-b+x) (-c+x)}}{\sqrt {d} x}\right )}{\sqrt {d}} \] Input:
Integrate[(a*b*c - (a + b + c)*x^2 + 2*x^3)/(Sqrt[x*(-a + x)*(-b + x)*(-c + x)]*(-(a*b*c) + (a*b + a*c + b*c - d)*x - (a + b + c)*x^2 + x^3)),x]
Output:
(-2*ArcTanh[Sqrt[x*(-a + x)*(-b + x)*(-c + x)]/(Sqrt[d]*x)])/Sqrt[d]
Below are the steps used by Rubi to obtain the solution. The rule number used for the transformation is given above next to the arrow. The rules definitions used are listed below.
\(\displaystyle \int \frac {-x^2 (a+b+c)+a b c+2 x^3}{\sqrt {x (x-a) (x-b) (x-c)} \left (x (a b+a c+b c-d)-x^2 (a+b+c)-a b c+x^3\right )} \, dx\) |
\(\Big \downarrow \) 2467 |
\(\displaystyle \frac {\sqrt {x} \sqrt {-x^2 (a+b+c)+x (a (b+c)+b c)-a b c+x^3} \int -\frac {2 x^3-(a+b+c) x^2+a b c}{\sqrt {x} \left (-x^3+(a+b+c) x^2-(b c+a (b+c)-d) x+a b c\right ) \sqrt {x^3-(a+b+c) x^2+(b c+a (b+c)) x-a b c}}dx}{\sqrt {-(x (a-x) (b-x) (c-x))}}\) |
\(\Big \downarrow \) 25 |
\(\displaystyle -\frac {\sqrt {x} \sqrt {-x^2 (a+b+c)+x (a (b+c)+b c)-a b c+x^3} \int \frac {2 x^3-(a+b+c) x^2+a b c}{\sqrt {x} \left (-x^3+(a+b+c) x^2-(b c+a (b+c)-d) x+a b c\right ) \sqrt {x^3-(a+b+c) x^2+(b c+a (b+c)) x-a b c}}dx}{\sqrt {-(x (a-x) (b-x) (c-x))}}\) |
\(\Big \downarrow \) 2035 |
\(\displaystyle -\frac {2 \sqrt {x} \sqrt {-x^2 (a+b+c)+x (a (b+c)+b c)-a b c+x^3} \int \frac {2 x^3-(a+b+c) x^2+a b c}{\left (-x^3+(a+b+c) x^2-(b c+a (b+c)-d) x+a b c\right ) \sqrt {x^3-(a+b+c) x^2+(b c+a (b+c)) x-a b c}}d\sqrt {x}}{\sqrt {-(x (a-x) (b-x) (c-x))}}\) |
\(\Big \downarrow \) 7292 |
\(\displaystyle -\frac {2 \sqrt {x} \sqrt {-x^2 (a+b+c)+x (a (b+c)+b c)-a b c+x^3} \int \frac {2 x^3-(a+b+c) x^2+a b c}{\sqrt {-((a-x) (x-b) (x-c))} \left (-x^3+(a+b+c) x^2-(b c+a (b+c)-d) x+a b c\right )}d\sqrt {x}}{\sqrt {-(x (a-x) (b-x) (c-x))}}\) |
\(\Big \downarrow \) 7269 |
\(\displaystyle -\frac {2 \sqrt {x} \sqrt {a-x} \sqrt {x-b} \sqrt {x-c} \sqrt {-x^2 (a+b+c)+x (a (b+c)+b c)-a b c+x^3} \int \frac {2 x^3-(a+b+c) x^2+a b c}{\sqrt {a-x} \sqrt {x-b} \sqrt {x-c} \left (-x^3+(a+b+c) x^2-(b c+a (b+c)-d) x+a b c\right )}d\sqrt {x}}{\sqrt {-((a-x) (b-x) (c-x))} \sqrt {-(x (a-x) (b-x) (c-x))}}\) |
\(\Big \downarrow \) 7293 |
\(\displaystyle -\frac {2 \sqrt {x} \sqrt {a-x} \sqrt {x-b} \sqrt {x-c} \sqrt {-x^2 (a+b+c)+x (a (b+c)+b c)-a b c+x^3} \int \left (\frac {(a+b+c) x^2-2 (b c+a (b+c)-d) x+3 a b c}{\sqrt {a-x} \sqrt {x-b} \sqrt {x-c} \left (-x^3+(a+b+c) x^2-(b c+a (b+c)-d) x+a b c\right )}-\frac {2}{\sqrt {a-x} \sqrt {x-b} \sqrt {x-c}}\right )d\sqrt {x}}{\sqrt {-((a-x) (b-x) (c-x))} \sqrt {-(x (a-x) (b-x) (c-x))}}\) |
\(\Big \downarrow \) 7293 |
\(\displaystyle -\frac {2 \sqrt {x} \sqrt {a-x} \sqrt {x-b} \sqrt {x-c} \sqrt {-x^2 (a+b+c)+x (a (b+c)+b c)-a b c+x^3} \int \left (\frac {(a+b+c) x^2-2 (b c+a (b+c)-d) x+3 a b c}{\sqrt {a-x} \sqrt {x-b} \sqrt {x-c} \left (-x^3+a \left (\frac {b+c}{a}+1\right ) x^2-a b \left (\frac {a c+b c-d}{a b}+1\right ) x+a b c\right )}-\frac {2}{\sqrt {a-x} \sqrt {x-b} \sqrt {x-c}}\right )d\sqrt {x}}{\sqrt {-((a-x) (b-x) (c-x))} \sqrt {-(x (a-x) (b-x) (c-x))}}\) |
\(\Big \downarrow \) 7299 |
\(\displaystyle -\frac {2 \sqrt {x} \sqrt {a-x} \sqrt {x-b} \sqrt {x-c} \sqrt {-x^2 (a+b+c)+x (a (b+c)+b c)-a b c+x^3} \int \left (\frac {(a+b+c) x^2-2 (b c+a (b+c)-d) x+3 a b c}{\sqrt {a-x} \sqrt {x-b} \sqrt {x-c} \left (-x^3+a \left (\frac {b+c}{a}+1\right ) x^2-a b \left (\frac {a c+b c-d}{a b}+1\right ) x+a b c\right )}-\frac {2}{\sqrt {a-x} \sqrt {x-b} \sqrt {x-c}}\right )d\sqrt {x}}{\sqrt {-((a-x) (b-x) (c-x))} \sqrt {-(x (a-x) (b-x) (c-x))}}\) |
Input:
Int[(a*b*c - (a + b + c)*x^2 + 2*x^3)/(Sqrt[x*(-a + x)*(-b + x)*(-c + x)]* (-(a*b*c) + (a*b + a*c + b*c - d)*x - (a + b + c)*x^2 + x^3)),x]
Output:
$Aborted
Time = 4.08 (sec) , antiderivative size = 34, normalized size of antiderivative = 0.58
method | result | size |
default | \(-\frac {2 \,\operatorname {arctanh}\left (\frac {\sqrt {-x \left (a -x \right ) \left (b -x \right ) \left (c -x \right )}}{x \sqrt {d}}\right )}{\sqrt {d}}\) | \(34\) |
pseudoelliptic | \(-\frac {2 \,\operatorname {arctanh}\left (\frac {\sqrt {-x \left (a -x \right ) \left (b -x \right ) \left (c -x \right )}}{x \sqrt {d}}\right )}{\sqrt {d}}\) | \(34\) |
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 )}}\, \operatorname {EllipticF}\left (\sqrt {\frac {\left (c -a \right ) x}{c \left (-a +x \right )}}, \sqrt {\frac {\left (a -b \right ) c}{b \left (-c +a \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 =\operatorname {RootOf}\left (\textit {\_Z}^{3}+\left (-a -b -c \right ) \textit {\_Z}^{2}+\left (a b +a c +b c -d \right ) \textit {\_Z} -a b c \right )}{\sum }\frac {\left (-\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 a b \underline {\hspace {1.25 ex}}\alpha +2 \underline {\hspace {1.25 ex}}\alpha a c +2 \underline {\hspace {1.25 ex}}\alpha b c -3 a b c -2 \underline {\hspace {1.25 ex}}\alpha d \right ) \left (-a +x \right )^{2} \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 ) \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 (\operatorname {EllipticF}\left (\sqrt {\frac {\left (c -a \right ) x}{c \left (-a +x \right )}}, \sqrt {\frac {\left (a -b \right ) c}{b \left (-c +a \right )}}\right )-\frac {\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 b +a c +b c -d \right ) \operatorname {EllipticPi}\left (\sqrt {\frac {\left (c -a \right ) x}{c \left (-a +x \right )}}, \frac {\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 b +a c -d}{b \left (-c +a \right )}, \sqrt {\frac {\left (a -b \right ) c}{b \left (-c +a \right )}}\right )}{b c}\right )}{\left (-3 \underline {\hspace {1.25 ex}}\alpha ^{2}+2 \underline {\hspace {1.25 ex}}\alpha a +2 \underline {\hspace {1.25 ex}}\alpha b +2 \underline {\hspace {1.25 ex}}\alpha c -a b -a c -b c +d \right ) \left (c -a \right ) \sqrt {x \left (-a +x \right ) \left (-b +x \right ) \left (-c +x \right )}}\right )}{a^{2} d}\) | \(524\) |
Input:
int((a*b*c-(a+b+c)*x^2+2*x^3)/(x*(-a+x)*(-b+x)*(-c+x))^(1/2)/(-a*b*c+(a*b+ a*c+b*c-d)*x-(a+b+c)*x^2+x^3),x,method=_RETURNVERBOSE)
Output:
-2/d^(1/2)*arctanh((-x*(a-x)*(b-x)*(c-x))^(1/2)/x/d^(1/2))
Timed out. \[ \int \frac {a b c-(a+b+c) x^2+2 x^3}{\sqrt {x (-a+x) (-b+x) (-c+x)} \left (-a b c+(a b+a c+b c-d) x-(a+b+c) x^2+x^3\right )} \, dx=\text {Timed out} \] Input:
integrate((a*b*c-(a+b+c)*x^2+2*x^3)/(x*(-a+x)*(-b+x)*(-c+x))^(1/2)/(-a*b*c +(a*b+a*c+b*c-d)*x-(a+b+c)*x^2+x^3),x, algorithm="fricas")
Output:
Timed out
Timed out. \[ \int \frac {a b c-(a+b+c) x^2+2 x^3}{\sqrt {x (-a+x) (-b+x) (-c+x)} \left (-a b c+(a b+a c+b c-d) x-(a+b+c) x^2+x^3\right )} \, dx=\text {Timed out} \] Input:
integrate((a*b*c-(a+b+c)*x**2+2*x**3)/(x*(-a+x)*(-b+x)*(-c+x))**(1/2)/(-a* b*c+(a*b+a*c+b*c-d)*x-(a+b+c)*x**2+x**3),x)
Output:
Timed out
\[ \int \frac {a b c-(a+b+c) x^2+2 x^3}{\sqrt {x (-a+x) (-b+x) (-c+x)} \left (-a b c+(a b+a c+b c-d) x-(a+b+c) x^2+x^3\right )} \, dx=\int { -\frac {a b c - {\left (a + b + c\right )} x^{2} + 2 \, x^{3}}{\sqrt {-{\left (a - x\right )} {\left (b - x\right )} {\left (c - x\right )} x} {\left (a b c + {\left (a + b + c\right )} x^{2} - x^{3} - {\left (a b + a c + b c - d\right )} x\right )}} \,d x } \] Input:
integrate((a*b*c-(a+b+c)*x^2+2*x^3)/(x*(-a+x)*(-b+x)*(-c+x))^(1/2)/(-a*b*c +(a*b+a*c+b*c-d)*x-(a+b+c)*x^2+x^3),x, algorithm="maxima")
Output:
-integrate((a*b*c - (a + b + c)*x^2 + 2*x^3)/(sqrt(-(a - x)*(b - x)*(c - x )*x)*(a*b*c + (a + b + c)*x^2 - x^3 - (a*b + a*c + b*c - d)*x)), x)
\[ \int \frac {a b c-(a+b+c) x^2+2 x^3}{\sqrt {x (-a+x) (-b+x) (-c+x)} \left (-a b c+(a b+a c+b c-d) x-(a+b+c) x^2+x^3\right )} \, dx=\int { -\frac {a b c - {\left (a + b + c\right )} x^{2} + 2 \, x^{3}}{\sqrt {-{\left (a - x\right )} {\left (b - x\right )} {\left (c - x\right )} x} {\left (a b c + {\left (a + b + c\right )} x^{2} - x^{3} - {\left (a b + a c + b c - d\right )} x\right )}} \,d x } \] Input:
integrate((a*b*c-(a+b+c)*x^2+2*x^3)/(x*(-a+x)*(-b+x)*(-c+x))^(1/2)/(-a*b*c +(a*b+a*c+b*c-d)*x-(a+b+c)*x^2+x^3),x, algorithm="giac")
Output:
integrate(-(a*b*c - (a + b + c)*x^2 + 2*x^3)/(sqrt(-(a - x)*(b - x)*(c - x )*x)*(a*b*c + (a + b + c)*x^2 - x^3 - (a*b + a*c + b*c - d)*x)), x)
Timed out. \[ \int \frac {a b c-(a+b+c) x^2+2 x^3}{\sqrt {x (-a+x) (-b+x) (-c+x)} \left (-a b c+(a b+a c+b c-d) x-(a+b+c) x^2+x^3\right )} \, dx=\int \frac {2\,x^3+\left (-a-b-c\right )\,x^2+a\,b\,c}{\sqrt {-x\,\left (a-x\right )\,\left (b-x\right )\,\left (c-x\right )}\,\left (x^3+\left (-a-b-c\right )\,x^2+\left (a\,b-d+a\,c+b\,c\right )\,x-a\,b\,c\right )} \,d x \] Input:
int((2*x^3 - x^2*(a + b + c) + a*b*c)/((-x*(a - x)*(b - x)*(c - x))^(1/2)* (x*(a*b - d + a*c + b*c) - x^2*(a + b + c) + x^3 - a*b*c)),x)
Output:
int((2*x^3 - x^2*(a + b + c) + a*b*c)/((-x*(a - x)*(b - x)*(c - x))^(1/2)* (x*(a*b - d + a*c + b*c) - x^2*(a + b + c) + x^3 - a*b*c)), x)
\[ \int \frac {a b c-(a+b+c) x^2+2 x^3}{\sqrt {x (-a+x) (-b+x) (-c+x)} \left (-a b c+(a b+a c+b c-d) x-(a+b+c) x^2+x^3\right )} \, dx=\int \frac {a b c -\left (a +b +c \right ) x^{2}+2 x^{3}}{\sqrt {x \left (-a +x \right ) \left (-b +x \right ) \left (-c +x \right )}\, \left (-a b c +\left (a b +a c +b c -d \right ) x -\left (a +b +c \right ) x^{2}+x^{3}\right )}d x \] Input:
int((a*b*c-(a+b+c)*x^2+2*x^3)/(x*(-a+x)*(-b+x)*(-c+x))^(1/2)/(-a*b*c+(a*b+ a*c+b*c-d)*x-(a+b+c)*x^2+x^3),x)
Output:
int((a*b*c-(a+b+c)*x^2+2*x^3)/(x*(-a+x)*(-b+x)*(-c+x))^(1/2)/(-a*b*c+(a*b+ a*c+b*c-d)*x-(a+b+c)*x^2+x^3),x)