3.1.74 \(\int \frac {(-2+x^3) (1+x^3)^{3/2}}{x^6} \, dx\)

Optimal. Leaf size=16 \[ \frac {2 \left (x^3+1\right )^{5/2}}{5 x^5} \]

________________________________________________________________________________________

Rubi [A]  time = 0.01, antiderivative size = 16, normalized size of antiderivative = 1.00, number of steps used = 1, number of rules used = 1, integrand size = 18, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.056, Rules used = {449} \begin {gather*} \frac {2 \left (x^3+1\right )^{5/2}}{5 x^5} \end {gather*}

Antiderivative was successfully verified.

[In]

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

[Out]

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

Rule 449

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

Rubi steps

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

________________________________________________________________________________________

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

Antiderivative was successfully verified.

[In]

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

[Out]

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

________________________________________________________________________________________

IntegrateAlgebraic [A]  time = 0.06, size = 16, normalized size = 1.00 \begin {gather*} \frac {2 \left (1+x^3\right )^{5/2}}{5 x^5} \end {gather*}

Antiderivative was successfully verified.

[In]

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

[Out]

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

________________________________________________________________________________________

fricas [A]  time = 0.45, size = 22, normalized size = 1.38 \begin {gather*} \frac {2 \, {\left (x^{6} + 2 \, x^{3} + 1\right )} \sqrt {x^{3} + 1}}{5 \, x^{5}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

giac [B]  time = 0.50, size = 27, normalized size = 1.69 \begin {gather*} \frac {2}{5} \, \sqrt {x^{3} + 1} x + \frac {2}{5} \, \sqrt {\frac {1}{x} + \frac {1}{x^{4}}} {\left (\frac {1}{x^{3}} + 2\right )} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

maple [A]  time = 0.13, size = 23, normalized size = 1.44

method result size
trager \(\frac {2 \left (x^{6}+2 x^{3}+1\right ) \sqrt {x^{3}+1}}{5 x^{5}}\) \(23\)
gosper \(\frac {2 \left (1+x \right ) \left (x^{2}-x +1\right ) \left (x^{3}+1\right )^{\frac {3}{2}}}{5 x^{5}}\) \(24\)
risch \(\frac {\frac {2}{5} x^{9}+\frac {6}{5} x^{6}+\frac {6}{5} x^{3}+\frac {2}{5}}{x^{5} \sqrt {x^{3}+1}}\) \(28\)
meijerg \(\frac {2 \hypergeom \left (\left [-\frac {5}{3}, -\frac {3}{2}\right ], \left [-\frac {2}{3}\right ], -x^{3}\right )}{5 x^{5}}-\frac {\hypergeom \left (\left [-\frac {3}{2}, -\frac {2}{3}\right ], \left [\frac {1}{3}\right ], -x^{3}\right )}{2 x^{2}}\) \(34\)
default \(\frac {2 \sqrt {x^{3}+1}}{5 x^{5}}+\frac {4 \sqrt {x^{3}+1}}{5 x^{2}}+\frac {2 x \sqrt {x^{3}+1}}{5}\) \(36\)
elliptic \(\frac {2 \sqrt {x^{3}+1}}{5 x^{5}}+\frac {4 \sqrt {x^{3}+1}}{5 x^{2}}+\frac {2 x \sqrt {x^{3}+1}}{5}\) \(36\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

2/5*(x^6+2*x^3+1)/x^5*(x^3+1)^(1/2)

________________________________________________________________________________________

maxima [B]  time = 0.51, size = 30, normalized size = 1.88 \begin {gather*} \frac {2 \, {\left (x^{6} + 2 \, x^{3} + 1\right )} \sqrt {x^{2} - x + 1} \sqrt {x + 1}}{5 \, x^{5}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

mupad [B]  time = 0.04, size = 12, normalized size = 0.75 \begin {gather*} \frac {2\,{\left (x^3+1\right )}^{5/2}}{5\,x^5} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

sympy [C]  time = 2.89, size = 105, normalized size = 6.56 \begin {gather*} \frac {x \Gamma \left (\frac {1}{3}\right ) {{}_{2}F_{1}\left (\begin {matrix} - \frac {1}{2}, \frac {1}{3} \\ \frac {4}{3} \end {matrix}\middle | {x^{3} e^{i \pi }} \right )}}{3 \Gamma \left (\frac {4}{3}\right )} - \frac {\Gamma \left (- \frac {2}{3}\right ) {{}_{2}F_{1}\left (\begin {matrix} - \frac {2}{3}, - \frac {1}{2} \\ \frac {1}{3} \end {matrix}\middle | {x^{3} e^{i \pi }} \right )}}{3 x^{2} \Gamma \left (\frac {1}{3}\right )} - \frac {2 \Gamma \left (- \frac {5}{3}\right ) {{}_{2}F_{1}\left (\begin {matrix} - \frac {5}{3}, - \frac {1}{2} \\ - \frac {2}{3} \end {matrix}\middle | {x^{3} e^{i \pi }} \right )}}{3 x^{5} \Gamma \left (- \frac {2}{3}\right )} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

x*gamma(1/3)*hyper((-1/2, 1/3), (4/3,), x**3*exp_polar(I*pi))/(3*gamma(4/3)) - gamma(-2/3)*hyper((-2/3, -1/2),
 (1/3,), x**3*exp_polar(I*pi))/(3*x**2*gamma(1/3)) - 2*gamma(-5/3)*hyper((-5/3, -1/2), (-2/3,), x**3*exp_polar
(I*pi))/(3*x**5*gamma(-2/3))

________________________________________________________________________________________