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

Optimal. Leaf size=15 \[ \frac {3}{2} \left (x^3-x\right )^{2/3} \]

________________________________________________________________________________________

Rubi [A]  time = 0.01, antiderivative size = 15, normalized size of antiderivative = 1.00, number of steps used = 1, number of rules used = 1, integrand size = 19, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.053, Rules used = {1588} \begin {gather*} \frac {3}{2} \left (x^3-x\right )^{2/3} \end {gather*}

Antiderivative was successfully verified.

[In]

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

[Out]

(3*(-x + x^3)^(2/3))/2

Rule 1588

Int[(Pp_)*(Qq_)^(m_.), x_Symbol] :> With[{p = Expon[Pp, x], q = Expon[Qq, x]}, Simp[(Coeff[Pp, x, p]*x^(p - q
+ 1)*Qq^(m + 1))/((p + m*q + 1)*Coeff[Qq, x, q]), x] /; NeQ[p + m*q + 1, 0] && EqQ[(p + m*q + 1)*Coeff[Qq, x,
q]*Pp, Coeff[Pp, x, p]*x^(p - q)*((p - q + 1)*Qq + (m + 1)*x*D[Qq, x])]] /; FreeQ[m, x] && PolyQ[Pp, x] && Pol
yQ[Qq, x] && NeQ[m, -1]

Rubi steps

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

________________________________________________________________________________________

Mathematica [A]  time = 0.02, size = 15, normalized size = 1.00 \begin {gather*} \frac {3}{2} \left (x \left (x^2-1\right )\right )^{2/3} \end {gather*}

Antiderivative was successfully verified.

[In]

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

[Out]

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

________________________________________________________________________________________

IntegrateAlgebraic [A]  time = 0.02, size = 15, normalized size = 1.00 \begin {gather*} \frac {3}{2} \left (x^3-x\right )^{2/3} \end {gather*}

Antiderivative was successfully verified.

[In]

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

[Out]

(3*(-x + x^3)^(2/3))/2

________________________________________________________________________________________

fricas [A]  time = 0.39, size = 11, normalized size = 0.73 \begin {gather*} \frac {3}{2} \, {\left (x^{3} - x\right )}^{\frac {2}{3}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

3/2*(x^3 - x)^(2/3)

________________________________________________________________________________________

giac [A]  time = 0.29, size = 11, normalized size = 0.73 \begin {gather*} \frac {3}{2} \, {\left (x^{3} - x\right )}^{\frac {2}{3}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

3/2*(x^3 - x)^(2/3)

________________________________________________________________________________________

maple [A]  time = 0.00, size = 19, normalized size = 1.27 \begin {gather*} \frac {3 x \left (-1+x \right ) \left (1+x \right )}{2 \left (x^{3}-x \right )^{\frac {1}{3}}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

maxima [A]  time = 0.48, size = 11, normalized size = 0.73 \begin {gather*} \frac {3}{2} \, {\left (x^{3} - x\right )}^{\frac {2}{3}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

3/2*(x^3 - x)^(2/3)

________________________________________________________________________________________

mupad [B]  time = 0.29, size = 11, normalized size = 0.73 \begin {gather*} \frac {3\,{\left (x^3-x\right )}^{2/3}}{2} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

(3*(x^3 - x)^(2/3))/2

________________________________________________________________________________________

sympy [A]  time = 0.14, size = 10, normalized size = 0.67 \begin {gather*} \frac {3 \left (x^{3} - x\right )^{\frac {2}{3}}}{2} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

3*(x**3 - x)**(2/3)/2

________________________________________________________________________________________