3.136 \(\int \frac{x^4}{27 a^3+27 a^2 b x^2+27 a^2 c x^3+9 a b^2 x^4+b^3 x^6} \, dx\)

Optimal. Leaf size=545 \[ -\frac{\sqrt [3]{-1} \left (3 \sqrt [3]{a} c^{2/3}+2 \sqrt [3]{-1} b\right ) \tan ^{-1}\left (\frac{3 \sqrt [3]{-1} a^{2/3} \sqrt [3]{c}-2 b x}{\sqrt{3} \sqrt{a} \sqrt{4 b-3 (-1)^{2/3} \sqrt [3]{a} c^{2/3}}}\right )}{3 \sqrt{3} \left (1+\sqrt [3]{-1}\right )^2 a^{5/6} b^2 c^{2/3} \sqrt{4 b-3 (-1)^{2/3} \sqrt [3]{a} c^{2/3}}}-\frac{\left (2 b-3 \sqrt [3]{a} c^{2/3}\right ) \tan ^{-1}\left (\frac{3 a^{2/3} \sqrt [3]{c}+2 b x}{\sqrt{3} \sqrt{a} \sqrt{4 b-3 \sqrt [3]{a} c^{2/3}}}\right )}{9 \sqrt{3} a^{5/6} b^2 c^{2/3} \sqrt{4 b-3 \sqrt [3]{a} c^{2/3}}}-\frac{(-1)^{2/3} \left (3 \sqrt [3]{-1} \sqrt [3]{a} c^{2/3}+2 b\right ) \tan ^{-1}\left (\frac{3 (-1)^{2/3} a^{2/3} \sqrt [3]{c}+2 b x}{\sqrt{3} \sqrt{a} \sqrt{3 \sqrt [3]{-1} \sqrt [3]{a} c^{2/3}+4 b}}\right )}{3 \sqrt{3} \left (1-\sqrt [3]{-1}\right ) \left (1+\sqrt [3]{-1}\right )^2 a^{5/6} b^2 c^{2/3} \sqrt{3 \sqrt [3]{-1} \sqrt [3]{a} c^{2/3}+4 b}}-\frac{\log \left (3 a^{2/3} \sqrt [3]{c} x+3 a+b x^2\right )}{18 a^{2/3} b^2 \sqrt [3]{c}}+\frac{\log \left (-3 \sqrt [3]{-1} a^{2/3} \sqrt [3]{c} x+3 a+b x^2\right )}{6 \left (1+\sqrt [3]{-1}\right )^2 a^{2/3} b^2 \sqrt [3]{c}}+\frac{\sqrt [3]{-1} \log \left (3 (-1)^{2/3} a^{2/3} \sqrt [3]{c} x+3 a+b x^2\right )}{18 a^{2/3} b^2 \sqrt [3]{c}} \]

[Out]

-((-1)^(1/3)*(2*(-1)^(1/3)*b + 3*a^(1/3)*c^(2/3))*ArcTan[(3*(-1)^(1/3)*a^(2/3)*c
^(1/3) - 2*b*x)/(Sqrt[3]*Sqrt[a]*Sqrt[4*b - 3*(-1)^(2/3)*a^(1/3)*c^(2/3)])])/(3*
Sqrt[3]*(1 + (-1)^(1/3))^2*a^(5/6)*b^2*Sqrt[4*b - 3*(-1)^(2/3)*a^(1/3)*c^(2/3)]*
c^(2/3)) - ((2*b - 3*a^(1/3)*c^(2/3))*ArcTan[(3*a^(2/3)*c^(1/3) + 2*b*x)/(Sqrt[3
]*Sqrt[a]*Sqrt[4*b - 3*a^(1/3)*c^(2/3)])])/(9*Sqrt[3]*a^(5/6)*b^2*Sqrt[4*b - 3*a
^(1/3)*c^(2/3)]*c^(2/3)) - ((-1)^(2/3)*(2*b + 3*(-1)^(1/3)*a^(1/3)*c^(2/3))*ArcT
an[(3*(-1)^(2/3)*a^(2/3)*c^(1/3) + 2*b*x)/(Sqrt[3]*Sqrt[a]*Sqrt[4*b + 3*(-1)^(1/
3)*a^(1/3)*c^(2/3)])])/(3*Sqrt[3]*(1 - (-1)^(1/3))*(1 + (-1)^(1/3))^2*a^(5/6)*b^
2*Sqrt[4*b + 3*(-1)^(1/3)*a^(1/3)*c^(2/3)]*c^(2/3)) - Log[3*a + 3*a^(2/3)*c^(1/3
)*x + b*x^2]/(18*a^(2/3)*b^2*c^(1/3)) + Log[3*a - 3*(-1)^(1/3)*a^(2/3)*c^(1/3)*x
 + b*x^2]/(6*(1 + (-1)^(1/3))^2*a^(2/3)*b^2*c^(1/3)) + ((-1)^(1/3)*Log[3*a + 3*(
-1)^(2/3)*a^(2/3)*c^(1/3)*x + b*x^2])/(18*a^(2/3)*b^2*c^(1/3))

_______________________________________________________________________________________

Rubi [A]  time = 4.49273, antiderivative size = 545, normalized size of antiderivative = 1., number of steps used = 14, number of rules used = 5, integrand size = 46, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.109 \[ -\frac{\sqrt [3]{-1} \left (3 \sqrt [3]{a} c^{2/3}+2 \sqrt [3]{-1} b\right ) \tan ^{-1}\left (\frac{3 \sqrt [3]{-1} a^{2/3} \sqrt [3]{c}-2 b x}{\sqrt{3} \sqrt{a} \sqrt{4 b-3 (-1)^{2/3} \sqrt [3]{a} c^{2/3}}}\right )}{3 \sqrt{3} \left (1+\sqrt [3]{-1}\right )^2 a^{5/6} b^2 c^{2/3} \sqrt{4 b-3 (-1)^{2/3} \sqrt [3]{a} c^{2/3}}}-\frac{\left (2 b-3 \sqrt [3]{a} c^{2/3}\right ) \tan ^{-1}\left (\frac{3 a^{2/3} \sqrt [3]{c}+2 b x}{\sqrt{3} \sqrt{a} \sqrt{4 b-3 \sqrt [3]{a} c^{2/3}}}\right )}{9 \sqrt{3} a^{5/6} b^2 c^{2/3} \sqrt{4 b-3 \sqrt [3]{a} c^{2/3}}}-\frac{(-1)^{2/3} \left (3 \sqrt [3]{-1} \sqrt [3]{a} c^{2/3}+2 b\right ) \tan ^{-1}\left (\frac{3 (-1)^{2/3} a^{2/3} \sqrt [3]{c}+2 b x}{\sqrt{3} \sqrt{a} \sqrt{3 \sqrt [3]{-1} \sqrt [3]{a} c^{2/3}+4 b}}\right )}{3 \sqrt{3} \left (1-\sqrt [3]{-1}\right ) \left (1+\sqrt [3]{-1}\right )^2 a^{5/6} b^2 c^{2/3} \sqrt{3 \sqrt [3]{-1} \sqrt [3]{a} c^{2/3}+4 b}}-\frac{\log \left (3 a^{2/3} \sqrt [3]{c} x+3 a+b x^2\right )}{18 a^{2/3} b^2 \sqrt [3]{c}}+\frac{\log \left (-3 \sqrt [3]{-1} a^{2/3} \sqrt [3]{c} x+3 a+b x^2\right )}{6 \left (1+\sqrt [3]{-1}\right )^2 a^{2/3} b^2 \sqrt [3]{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(1/3)*Log[3*a + 3*(
-1)^(2/3)*a^(2/3)*c^(1/3)*x + b*x^2])/(18*a^(2/3)*b^2*c^(1/3))

_______________________________________________________________________________________

Rubi in Sympy [F(-1)]  time = 0., size = 0, normalized size = 0. \[ \text{Timed out} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  rubi_integrate(x**4/(b**3*x**6+9*a*b**2*x**4+27*a**2*c*x**3+27*a**2*b*x**2+27*a**3),x)

[Out]

Timed out

_______________________________________________________________________________________

Mathematica [C]  time = 0.0948964, size = 99, normalized size = 0.18 \[ \frac{1}{3} \text{RootSum}\left [\text{$\#$1}^6 b^3+9 \text{$\#$1}^4 a b^2+27 \text{$\#$1}^3 a^2 c+27 \text{$\#$1}^2 a^2 b+27 a^3\&,\frac{\text{$\#$1}^3 \log (x-\text{$\#$1})}{2 \text{$\#$1}^4 b^3+12 \text{$\#$1}^2 a b^2+27 \text{$\#$1} a^2 c+18 a^2 b}\&\right ] \]

Antiderivative was successfully verified.

[In]  Integrate[x^4/(27*a^3 + 27*a^2*b*x^2 + 27*a^2*c*x^3 + 9*a*b^2*x^4 + b^3*x^6),x]

[Out]

RootSum[27*a^3 + 27*a^2*b*#1^2 + 27*a^2*c*#1^3 + 9*a*b^2*#1^4 + b^3*#1^6 & , (Lo
g[x - #1]*#1^3)/(18*a^2*b + 27*a^2*c*#1 + 12*a*b^2*#1^2 + 2*b^3*#1^4) & ]/3

_______________________________________________________________________________________

Maple [C]  time = 0.014, size = 93, normalized size = 0.2 \[{\frac{1}{3}\sum _{{\it \_R}={\it RootOf} \left ({b}^{3}{{\it \_Z}}^{6}+9\,a{b}^{2}{{\it \_Z}}^{4}+27\,{a}^{2}c{{\it \_Z}}^{3}+27\,{a}^{2}b{{\it \_Z}}^{2}+27\,{a}^{3} \right ) }{\frac{{{\it \_R}}^{4}\ln \left ( x-{\it \_R} \right ) }{2\,{{\it \_R}}^{5}{b}^{3}+12\,{{\it \_R}}^{3}a{b}^{2}+27\,{{\it \_R}}^{2}{a}^{2}c+18\,{\it \_R}\,{a}^{2}b}}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  int(x^4/(b^3*x^6+9*a*b^2*x^4+27*a^2*c*x^3+27*a^2*b*x^2+27*a^3),x)

[Out]

1/3*sum(_R^4/(2*_R^5*b^3+12*_R^3*a*b^2+27*_R^2*a^2*c+18*_R*a^2*b)*ln(x-_R),_R=Ro
otOf(_Z^6*b^3+9*_Z^4*a*b^2+27*_Z^3*a^2*c+27*_Z^2*a^2*b+27*a^3))

_______________________________________________________________________________________

Maxima [F]  time = 0., size = 0, normalized size = 0. \[ \int \frac{x^{4}}{b^{3} x^{6} + 9 \, a b^{2} x^{4} + 27 \, a^{2} c x^{3} + 27 \, a^{2} b x^{2} + 27 \, a^{3}}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(x^4/(b^3*x^6 + 9*a*b^2*x^4 + 27*a^2*c*x^3 + 27*a^2*b*x^2 + 27*a^3),x, algorithm="maxima")

[Out]

integrate(x^4/(b^3*x^6 + 9*a*b^2*x^4 + 27*a^2*c*x^3 + 27*a^2*b*x^2 + 27*a^3), x)

_______________________________________________________________________________________

Fricas [F(-2)]  time = 0., size = 0, normalized size = 0. \[ \text{Exception raised: NotImplementedError} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(x^4/(b^3*x^6 + 9*a*b^2*x^4 + 27*a^2*c*x^3 + 27*a^2*b*x^2 + 27*a^3),x, algorithm="fricas")

[Out]

Exception raised: NotImplementedError

_______________________________________________________________________________________

Sympy [F(-1)]  time = 0., size = 0, normalized size = 0. \[ \text{Timed out} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(x**4/(b**3*x**6+9*a*b**2*x**4+27*a**2*c*x**3+27*a**2*b*x**2+27*a**3),x)

[Out]

Timed out

_______________________________________________________________________________________

GIAC/XCAS [F]  time = 0., size = 0, normalized size = 0. \[ \int \frac{x^{4}}{b^{3} x^{6} + 9 \, a b^{2} x^{4} + 27 \, a^{2} c x^{3} + 27 \, a^{2} b x^{2} + 27 \, a^{3}}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(x^4/(b^3*x^6 + 9*a*b^2*x^4 + 27*a^2*c*x^3 + 27*a^2*b*x^2 + 27*a^3),x, algorithm="giac")

[Out]

integrate(x^4/(b^3*x^6 + 9*a*b^2*x^4 + 27*a^2*c*x^3 + 27*a^2*b*x^2 + 27*a^3), x)