3.8.15 \(\int \frac {(-2+x^3) \sqrt [3]{x+x^3+x^4}}{1+x^2+2 x^3+x^4+x^5+x^6} \, dx\)

Optimal. Leaf size=55 \[ \text {RootSum}\left [\text {$\#$1}^6-\text {$\#$1}^3+1\& ,\frac {\text {$\#$1} \log \left (\sqrt [3]{x^4+x^3+x}-\text {$\#$1} x\right )-\text {$\#$1} \log (x)}{2 \text {$\#$1}^3-1}\& \right ] \]

________________________________________________________________________________________

Rubi [F]  time = 1.39, 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 {\left (-2+x^3\right ) \sqrt [3]{x+x^3+x^4}}{1+x^2+2 x^3+x^4+x^5+x^6} \, dx \end {gather*}

Verification is not applicable to the result.

[In]

Int[((-2 + x^3)*(x + x^3 + x^4)^(1/3))/(1 + x^2 + 2*x^3 + x^4 + x^5 + x^6),x]

[Out]

(-6*(x + x^3 + x^4)^(1/3)*Defer[Subst][Defer[Int][(x^3*(1 + x^6 + x^9)^(1/3))/(1 + x^6 + 2*x^9 + x^12 + x^15 +
 x^18), x], x, x^(1/3)])/(x^(1/3)*(1 + x^2 + x^3)^(1/3)) + (3*(x + x^3 + x^4)^(1/3)*Defer[Subst][Defer[Int][(x
^12*(1 + x^6 + x^9)^(1/3))/(1 + x^6 + 2*x^9 + x^12 + x^15 + x^18), x], x, x^(1/3)])/(x^(1/3)*(1 + x^2 + x^3)^(
1/3))

Rubi steps

\begin {align*} \int \frac {\left (-2+x^3\right ) \sqrt [3]{x+x^3+x^4}}{1+x^2+2 x^3+x^4+x^5+x^6} \, dx &=\frac {\sqrt [3]{x+x^3+x^4} \int \frac {\sqrt [3]{x} \left (-2+x^3\right ) \sqrt [3]{1+x^2+x^3}}{1+x^2+2 x^3+x^4+x^5+x^6} \, dx}{\sqrt [3]{x} \sqrt [3]{1+x^2+x^3}}\\ &=\frac {\left (3 \sqrt [3]{x+x^3+x^4}\right ) \operatorname {Subst}\left (\int \frac {x^3 \left (-2+x^9\right ) \sqrt [3]{1+x^6+x^9}}{1+x^6+2 x^9+x^{12}+x^{15}+x^{18}} \, dx,x,\sqrt [3]{x}\right )}{\sqrt [3]{x} \sqrt [3]{1+x^2+x^3}}\\ &=\frac {\left (3 \sqrt [3]{x+x^3+x^4}\right ) \operatorname {Subst}\left (\int \left (-\frac {2 x^3 \sqrt [3]{1+x^6+x^9}}{1+x^6+2 x^9+x^{12}+x^{15}+x^{18}}+\frac {x^{12} \sqrt [3]{1+x^6+x^9}}{1+x^6+2 x^9+x^{12}+x^{15}+x^{18}}\right ) \, dx,x,\sqrt [3]{x}\right )}{\sqrt [3]{x} \sqrt [3]{1+x^2+x^3}}\\ &=\frac {\left (3 \sqrt [3]{x+x^3+x^4}\right ) \operatorname {Subst}\left (\int \frac {x^{12} \sqrt [3]{1+x^6+x^9}}{1+x^6+2 x^9+x^{12}+x^{15}+x^{18}} \, dx,x,\sqrt [3]{x}\right )}{\sqrt [3]{x} \sqrt [3]{1+x^2+x^3}}-\frac {\left (6 \sqrt [3]{x+x^3+x^4}\right ) \operatorname {Subst}\left (\int \frac {x^3 \sqrt [3]{1+x^6+x^9}}{1+x^6+2 x^9+x^{12}+x^{15}+x^{18}} \, dx,x,\sqrt [3]{x}\right )}{\sqrt [3]{x} \sqrt [3]{1+x^2+x^3}}\\ \end {align*}

________________________________________________________________________________________

Mathematica [F]  time = 0.42, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\left (-2+x^3\right ) \sqrt [3]{x+x^3+x^4}}{1+x^2+2 x^3+x^4+x^5+x^6} \, dx \end {gather*}

Verification is not applicable to the result.

[In]

Integrate[((-2 + x^3)*(x + x^3 + x^4)^(1/3))/(1 + x^2 + 2*x^3 + x^4 + x^5 + x^6),x]

[Out]

Integrate[((-2 + x^3)*(x + x^3 + x^4)^(1/3))/(1 + x^2 + 2*x^3 + x^4 + x^5 + x^6), x]

________________________________________________________________________________________

IntegrateAlgebraic [A]  time = 0.13, size = 55, normalized size = 1.00 \begin {gather*} \text {RootSum}\left [1-\text {$\#$1}^3+\text {$\#$1}^6\&,\frac {-\log (x) \text {$\#$1}+\log \left (\sqrt [3]{x+x^3+x^4}-x \text {$\#$1}\right ) \text {$\#$1}}{-1+2 \text {$\#$1}^3}\&\right ] \end {gather*}

Antiderivative was successfully verified.

[In]

IntegrateAlgebraic[((-2 + x^3)*(x + x^3 + x^4)^(1/3))/(1 + x^2 + 2*x^3 + x^4 + x^5 + x^6),x]

[Out]

RootSum[1 - #1^3 + #1^6 & , (-(Log[x]*#1) + Log[(x + x^3 + x^4)^(1/3) - x*#1]*#1)/(-1 + 2*#1^3) & ]

________________________________________________________________________________________

fricas [F(-2)]  time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: TypeError} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((x^3-2)*(x^4+x^3+x)^(1/3)/(x^6+x^5+x^4+2*x^3+x^2+1),x, algorithm="fricas")

[Out]

Exception raised: TypeError >>  Error detected within library code:   integrate: implementation incomplete (tr
ace 0)

________________________________________________________________________________________

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

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((x^3-2)*(x^4+x^3+x)^(1/3)/(x^6+x^5+x^4+2*x^3+x^2+1),x, algorithm="giac")

[Out]

integrate((x^4 + x^3 + x)^(1/3)*(x^3 - 2)/(x^6 + x^5 + x^4 + 2*x^3 + x^2 + 1), x)

________________________________________________________________________________________

maple [B]  time = 15.02, size = 2240, normalized size = 40.73

method result size
trager \(\text {Expression too large to display}\) \(2240\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((x^3-2)*(x^4+x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z^6+9*_Z^3+1)^2*x^2-1383*(x^4+x^3+x)^(1/3)*RootOf(27*_Z^6+
9*_Z^3+1)*x-2781*RootOf(27*_Z^6+9*_Z^3+1)^2-3014*(x^4+x^3+x)^(2/3))/(9*RootOf(27*_Z^6+9*_Z^3+1)^3*x^3-18*RootO
f(27*_Z^6+9*_Z^3+1)^3*x^2+9*RootOf(27*_Z^6+9*_Z^3+1)^3+4*x^3-x^2+4))-2*RootOf(27*_Z^6+9*_Z^3+1)*ln((207*RootOf
(27*_Z^6+9*_Z^3+1)^5*x^3+414*RootOf(27*_Z^6+9*_Z^3+1)^5*x^2-207*(x^4+x^3+x)^(1/3)*RootOf(27*_Z^6+9*_Z^3+1)^4*x
+207*RootOf(27*_Z^6+9*_Z^3+1)^5-2673*(x^4+x^3+x)^(2/3)*RootOf(27*_Z^6+9*_Z^3+1)^3+960*RootOf(27*_Z^6+9*_Z^3+1)
^2*x^3+1920*RootOf(27*_Z^6+9*_Z^3+1)^2*x^2-960*(x^4+x^3+x)^(1/3)*RootOf(27*_Z^6+9*_Z^3+1)*x+960*RootOf(27*_Z^6
+9*_Z^3+1)^2+23*(x^4+x^3+x)^(2/3))/(9*RootOf(27*_Z^6+9*_Z^3+1)^3*x^3-18*RootOf(27*_Z^6+9*_Z^3+1)^3*x^2+9*RootO
f(27*_Z^6+9*_Z^3+1)^3+4*x^3-x^2+4))

________________________________________________________________________________________

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

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((x^3-2)*(x^4+x^3+x)^(1/3)/(x^6+x^5+x^4+2*x^3+x^2+1),x, algorithm="maxima")

[Out]

integrate((x^4 + x^3 + x)^(1/3)*(x^3 - 2)/(x^6 + x^5 + x^4 + 2*x^3 + x^2 + 1), x)

________________________________________________________________________________________

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

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(((x^3 - 2)*(x + x^3 + x^4)^(1/3))/(x^2 + 2*x^3 + x^4 + x^5 + x^6 + 1),x)

[Out]

int(((x^3 - 2)*(x + x^3 + x^4)^(1/3))/(x^2 + 2*x^3 + x^4 + x^5 + x^6 + 1), x)

________________________________________________________________________________________

sympy [F]  time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\sqrt [3]{x \left (x^{3} + x^{2} + 1\right )} \left (x^{3} - 2\right )}{x^{6} + x^{5} + x^{4} + 2 x^{3} + x^{2} + 1}\, dx \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((x**3-2)*(x**4+x**3+x)**(1/3)/(x**6+x**5+x**4+2*x**3+x**2+1),x)

[Out]

Integral((x*(x**3 + x**2 + 1))**(1/3)*(x**3 - 2)/(x**6 + x**5 + x**4 + 2*x**3 + x**2 + 1), x)

________________________________________________________________________________________