3.2.31 \(\int \frac {1}{x^2 \sqrt {-x+x^4}} \, dx\)

Optimal. Leaf size=18 \[ \frac {2 \sqrt {x^4-x}}{3 x^2} \]

________________________________________________________________________________________

Rubi [A]  time = 0.02, antiderivative size = 18, normalized size of antiderivative = 1.00, number of steps used = 1, number of rules used = 1, integrand size = 15, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.067, Rules used = {2014} \begin {gather*} \frac {2 \sqrt {x^4-x}}{3 x^2} \end {gather*}

Antiderivative was successfully verified.

[In]

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

[Out]

(2*Sqrt[-x + x^4])/(3*x^2)

Rule 2014

Int[((c_.)*(x_))^(m_.)*((a_.)*(x_)^(j_.) + (b_.)*(x_)^(n_.))^(p_), x_Symbol] :> -Simp[(c^(j - 1)*(c*x)^(m - j
+ 1)*(a*x^j + b*x^n)^(p + 1))/(a*(n - j)*(p + 1)), x] /; FreeQ[{a, b, c, j, m, n, p}, x] &&  !IntegerQ[p] && N
eQ[n, j] && EqQ[m + n*p + n - j + 1, 0] && (IntegerQ[j] || GtQ[c, 0])

Rubi steps

\begin {align*} \int \frac {1}{x^2 \sqrt {-x+x^4}} \, dx &=\frac {2 \sqrt {-x+x^4}}{3 x^2}\\ \end {align*}

________________________________________________________________________________________

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

Antiderivative was successfully verified.

[In]

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

[Out]

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

________________________________________________________________________________________

IntegrateAlgebraic [A]  time = 0.34, size = 18, normalized size = 1.00 \begin {gather*} \frac {2 \sqrt {-x+x^4}}{3 x^2} \end {gather*}

Antiderivative was successfully verified.

[In]

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

[Out]

(2*Sqrt[-x + x^4])/(3*x^2)

________________________________________________________________________________________

fricas [A]  time = 0.46, size = 14, normalized size = 0.78 \begin {gather*} \frac {2 \, \sqrt {x^{4} - x}}{3 \, x^{2}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

giac [A]  time = 0.58, size = 11, normalized size = 0.61 \begin {gather*} \frac {2}{3} \, \sqrt {-\frac {1}{x^{3}} + 1} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

maple [A]  time = 0.22, size = 15, normalized size = 0.83

method result size
default \(\frac {2 \sqrt {x^{4}-x}}{3 x^{2}}\) \(15\)
trager \(\frac {2 \sqrt {x^{4}-x}}{3 x^{2}}\) \(15\)
elliptic \(\frac {2 \sqrt {x^{4}-x}}{3 x^{2}}\) \(15\)
risch \(\frac {\frac {2 x^{3}}{3}-\frac {2}{3}}{x \sqrt {x \left (x^{3}-1\right )}}\) \(20\)
gosper \(\frac {2 \left (-1+x \right ) \left (x^{2}+x +1\right )}{3 x \sqrt {x^{4}-x}}\) \(24\)
meijerg \(-\frac {2 \sqrt {-\mathrm {signum}\left (x^{3}-1\right )}\, \sqrt {-x^{3}+1}}{3 \sqrt {\mathrm {signum}\left (x^{3}-1\right )}\, x^{\frac {3}{2}}}\) \(33\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

maxima [A]  time = 0.70, size = 25, normalized size = 1.39 \begin {gather*} \frac {2 \, {\left (x^{4} - x\right )}}{3 \, \sqrt {x^{2} + x + 1} \sqrt {x - 1} x^{\frac {5}{2}}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

2/3*(x^4 - x)/(sqrt(x^2 + x + 1)*sqrt(x - 1)*x^(5/2))

________________________________________________________________________________________

mupad [B]  time = 0.19, size = 14, normalized size = 0.78 \begin {gather*} \frac {2\,\sqrt {x^4-x}}{3\,x^2} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

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

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________