3.2.71 \(\int x^2 \sqrt {-b+a x^3} \, dx\)

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

________________________________________________________________________________________

Rubi [A]  time = 0.00, antiderivative size = 20, normalized size of antiderivative = 1.00, number of steps used = 1, number of rules used = 1, integrand size = 17, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.059, Rules used = {261} \begin {gather*} \frac {2 \left (a x^3-b\right )^{3/2}}{9 a} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[x^2*Sqrt[-b + a*x^3],x]

[Out]

(2*(-b + a*x^3)^(3/2))/(9*a)

Rule 261

Int[(x_)^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Simp[(a + b*x^n)^(p + 1)/(b*n*(p + 1)), x] /; FreeQ
[{a, b, m, n, p}, x] && EqQ[m, n - 1] && NeQ[p, -1]

Rubi steps

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

________________________________________________________________________________________

Mathematica [A]  time = 0.01, size = 20, normalized size = 1.00 \begin {gather*} \frac {2 \left (a x^3-b\right )^{3/2}}{9 a} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[x^2*Sqrt[-b + a*x^3],x]

[Out]

(2*(-b + a*x^3)^(3/2))/(9*a)

________________________________________________________________________________________

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

Antiderivative was successfully verified.

[In]

IntegrateAlgebraic[x^2*Sqrt[-b + a*x^3],x]

[Out]

(2*(-b + a*x^3)^(3/2))/(9*a)

________________________________________________________________________________________

fricas [A]  time = 0.47, size = 16, normalized size = 0.80 \begin {gather*} \frac {2 \, {\left (a x^{3} - b\right )}^{\frac {3}{2}}}{9 \, a} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

2/9*(a*x^3 - b)^(3/2)/a

________________________________________________________________________________________

giac [A]  time = 0.19, size = 16, normalized size = 0.80 \begin {gather*} \frac {2 \, {\left (a x^{3} - b\right )}^{\frac {3}{2}}}{9 \, a} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

2/9*(a*x^3 - b)^(3/2)/a

________________________________________________________________________________________

maple [A]  time = 0.05, size = 17, normalized size = 0.85

method result size
gosper \(\frac {2 \left (a \,x^{3}-b \right )^{\frac {3}{2}}}{9 a}\) \(17\)
derivativedivides \(\frac {2 \left (a \,x^{3}-b \right )^{\frac {3}{2}}}{9 a}\) \(17\)
default \(\frac {2 \left (a \,x^{3}-b \right )^{\frac {3}{2}}}{9 a}\) \(17\)
trager \(\frac {2 \left (a \,x^{3}-b \right )^{\frac {3}{2}}}{9 a}\) \(17\)
risch \(\frac {2 \left (a \,x^{3}-b \right )^{\frac {3}{2}}}{9 a}\) \(17\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x^2*(a*x^3-b)^(1/2),x,method=_RETURNVERBOSE)

[Out]

2/9*(a*x^3-b)^(3/2)/a

________________________________________________________________________________________

maxima [A]  time = 0.55, size = 16, normalized size = 0.80 \begin {gather*} \frac {2 \, {\left (a x^{3} - b\right )}^{\frac {3}{2}}}{9 \, a} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

2/9*(a*x^3 - b)^(3/2)/a

________________________________________________________________________________________

mupad [B]  time = 0.24, size = 16, normalized size = 0.80 \begin {gather*} \frac {2\,{\left (a\,x^3-b\right )}^{3/2}}{9\,a} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

(2*(a*x^3 - b)^(3/2))/(9*a)

________________________________________________________________________________________

sympy [A]  time = 0.18, size = 44, normalized size = 2.20 \begin {gather*} \begin {cases} \frac {2 x^{3} \sqrt {a x^{3} - b}}{9} - \frac {2 b \sqrt {a x^{3} - b}}{9 a} & \text {for}\: a \neq 0 \\\frac {x^{3} \sqrt {- b}}{3} & \text {otherwise} \end {cases} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

Piecewise((2*x**3*sqrt(a*x**3 - b)/9 - 2*b*sqrt(a*x**3 - b)/(9*a), Ne(a, 0)), (x**3*sqrt(-b)/3, True))

________________________________________________________________________________________