3.26.31 \(\int \frac {1-x^2+x^3}{(-1-x^2+x^3) \sqrt [3]{x^2+x^3}} \, dx\)

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

________________________________________________________________________________________

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

Verification is not applicable to the result.

[In]

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

[Out]

(Sqrt[3]*x^(2/3)*(1 + x)^(1/3)*ArcTan[(1 + (2*x^(1/3))/(1 + x)^(1/3))/Sqrt[3]])/(x^2 + x^3)^(1/3) - (3*x^(2/3)
*(1 + x)^(1/3)*Log[x^(1/3) - (1 + x)^(1/3)])/(2*(x^2 + x^3)^(1/3)) + (6*x^(2/3)*(1 + x)^(1/3)*Defer[Subst][Def
er[Int][1/((1 + x^3)^(1/3)*(-1 - x^6 + x^9)), x], x, x^(1/3)])/(x^2 + x^3)^(1/3)

Rubi steps

\begin {align*} \int \frac {1-x^2+x^3}{\left (-1-x^2+x^3\right ) \sqrt [3]{x^2+x^3}} \, dx &=\frac {\left (x^{2/3} \sqrt [3]{1+x}\right ) \int \frac {1-x^2+x^3}{x^{2/3} \sqrt [3]{1+x} \left (-1-x^2+x^3\right )} \, dx}{\sqrt [3]{x^2+x^3}}\\ &=\frac {\left (3 x^{2/3} \sqrt [3]{1+x}\right ) \operatorname {Subst}\left (\int \frac {1-x^6+x^9}{\sqrt [3]{1+x^3} \left (-1-x^6+x^9\right )} \, dx,x,\sqrt [3]{x}\right )}{\sqrt [3]{x^2+x^3}}\\ &=\frac {\left (3 x^{2/3} \sqrt [3]{1+x}\right ) \operatorname {Subst}\left (\int \left (\frac {1}{\sqrt [3]{1+x^3}}+\frac {2}{\sqrt [3]{1+x^3} \left (-1-x^6+x^9\right )}\right ) \, dx,x,\sqrt [3]{x}\right )}{\sqrt [3]{x^2+x^3}}\\ &=\frac {\left (3 x^{2/3} \sqrt [3]{1+x}\right ) \operatorname {Subst}\left (\int \frac {1}{\sqrt [3]{1+x^3}} \, dx,x,\sqrt [3]{x}\right )}{\sqrt [3]{x^2+x^3}}+\frac {\left (6 x^{2/3} \sqrt [3]{1+x}\right ) \operatorname {Subst}\left (\int \frac {1}{\sqrt [3]{1+x^3} \left (-1-x^6+x^9\right )} \, dx,x,\sqrt [3]{x}\right )}{\sqrt [3]{x^2+x^3}}\\ &=\frac {\sqrt {3} x^{2/3} \sqrt [3]{1+x} \tan ^{-1}\left (\frac {1+\frac {2 \sqrt [3]{x}}{\sqrt [3]{1+x}}}{\sqrt {3}}\right )}{\sqrt [3]{x^2+x^3}}-\frac {3 x^{2/3} \sqrt [3]{1+x} \log \left (\sqrt [3]{x}-\sqrt [3]{1+x}\right )}{2 \sqrt [3]{x^2+x^3}}+\frac {\left (6 x^{2/3} \sqrt [3]{1+x}\right ) \operatorname {Subst}\left (\int \frac {1}{\sqrt [3]{1+x^3} \left (-1-x^6+x^9\right )} \, dx,x,\sqrt [3]{x}\right )}{\sqrt [3]{x^2+x^3}}\\ \end {align*}

________________________________________________________________________________________

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

Verification is not applicable to the result.

[In]

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

[Out]

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

________________________________________________________________________________________

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

Antiderivative was successfully verified.

[In]

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

[Out]

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

________________________________________________________________________________________

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]

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

[Out]

Timed out

________________________________________________________________________________________

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

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

maple [B]  time = 396.22, size = 253926, normalized size = 1197.76

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

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((x^3-x^2+1)/(x^3-x^2-1)/(x^3+x^2)^(1/3),x,method=_RETURNVERBOSE)

[Out]

result too large to display

________________________________________________________________________________________

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

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

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

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

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

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________