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

Optimal. Leaf size=101 \[ -\frac {1}{3} \log \left (\sqrt [3]{x^3+1}-x\right )-\frac {\tan ^{-1}\left (\frac {\sqrt {3} x}{2 \sqrt [3]{x^3+1}+x}\right )}{\sqrt {3}}+\frac {\sqrt [3]{x^3+1} \left (1-3 x^3\right )}{4 x^4}+\frac {1}{6} \log \left (\sqrt [3]{x^3+1} x+\left (x^3+1\right )^{2/3}+x^2\right ) \]

________________________________________________________________________________________

Rubi [A]  time = 0.05, antiderivative size = 109, normalized size of antiderivative = 1.08, number of steps used = 9, number of rules used = 9, integrand size = 18, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.500, Rules used = {451, 277, 331, 292, 31, 634, 618, 204, 628} \begin {gather*} -\frac {\sqrt [3]{x^3+1}}{x}-\frac {1}{3} \log \left (1-\frac {x}{\sqrt [3]{x^3+1}}\right )-\frac {\tan ^{-1}\left (\frac {\frac {2 x}{\sqrt [3]{x^3+1}}+1}{\sqrt {3}}\right )}{\sqrt {3}}+\frac {\left (x^3+1\right )^{4/3}}{4 x^4}+\frac {1}{6} \log \left (\frac {x}{\sqrt [3]{x^3+1}}+\frac {x^2}{\left (x^3+1\right )^{2/3}}+1\right ) \end {gather*}

Antiderivative was successfully verified.

[In]

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

[Out]

-((1 + x^3)^(1/3)/x) + (1 + x^3)^(4/3)/(4*x^4) - ArcTan[(1 + (2*x)/(1 + x^3)^(1/3))/Sqrt[3]]/Sqrt[3] - Log[1 -
 x/(1 + x^3)^(1/3)]/3 + Log[1 + x^2/(1 + x^3)^(2/3) + x/(1 + x^3)^(1/3)]/6

Rule 31

Int[((a_) + (b_.)*(x_))^(-1), x_Symbol] :> Simp[Log[RemoveContent[a + b*x, x]]/b, x] /; FreeQ[{a, b}, x]

Rule 204

Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> -Simp[ArcTan[(Rt[-b, 2]*x)/Rt[-a, 2]]/(Rt[-a, 2]*Rt[-b, 2]), x] /
; FreeQ[{a, b}, x] && PosQ[a/b] && (LtQ[a, 0] || LtQ[b, 0])

Rule 277

Int[((c_.)*(x_))^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Simp[((c*x)^(m + 1)*(a + b*x^n)^p)/(c*(m +
1)), x] - Dist[(b*n*p)/(c^n*(m + 1)), Int[(c*x)^(m + n)*(a + b*x^n)^(p - 1), x], x] /; FreeQ[{a, b, c}, x] &&
IGtQ[n, 0] && GtQ[p, 0] && LtQ[m, -1] &&  !ILtQ[(m + n*p + n + 1)/n, 0] && IntBinomialQ[a, b, c, n, m, p, x]

Rule 292

Int[(x_)/((a_) + (b_.)*(x_)^3), x_Symbol] :> -Dist[(3*Rt[a, 3]*Rt[b, 3])^(-1), Int[1/(Rt[a, 3] + Rt[b, 3]*x),
x], x] + Dist[1/(3*Rt[a, 3]*Rt[b, 3]), Int[(Rt[a, 3] + Rt[b, 3]*x)/(Rt[a, 3]^2 - Rt[a, 3]*Rt[b, 3]*x + Rt[b, 3
]^2*x^2), x], x] /; FreeQ[{a, b}, x]

Rule 331

Int[(x_)^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Dist[a^(p + (m + 1)/n), Subst[Int[x^m/(1 - b*x^n)^(
p + (m + 1)/n + 1), x], x, x/(a + b*x^n)^(1/n)], x] /; FreeQ[{a, b}, x] && IGtQ[n, 0] && LtQ[-1, p, 0] && NeQ[
p, -2^(-1)] && IntegersQ[m, p + (m + 1)/n]

Rule 451

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] + Dist[d/e^n, Int[(e*x)^(m + n)*(a + b*x^n)^p, x], x] /; FreeQ[{a,
 b, c, d, e, m, n, p}, x] && NeQ[b*c - a*d, 0] && EqQ[m + n*(p + 1) + 1, 0] && (IntegerQ[n] || GtQ[e, 0]) && (
(GtQ[n, 0] && LtQ[m, -1]) || (LtQ[n, 0] && GtQ[m + n, -1]))

Rule 618

Int[((a_.) + (b_.)*(x_) + (c_.)*(x_)^2)^(-1), x_Symbol] :> Dist[-2, Subst[Int[1/Simp[b^2 - 4*a*c - x^2, x], x]
, x, b + 2*c*x], x] /; FreeQ[{a, b, c}, x] && NeQ[b^2 - 4*a*c, 0]

Rule 628

Int[((d_) + (e_.)*(x_))/((a_.) + (b_.)*(x_) + (c_.)*(x_)^2), x_Symbol] :> Simp[(d*Log[RemoveContent[a + b*x +
c*x^2, x]])/b, x] /; FreeQ[{a, b, c, d, e}, x] && EqQ[2*c*d - b*e, 0]

Rule 634

Int[((d_.) + (e_.)*(x_))/((a_) + (b_.)*(x_) + (c_.)*(x_)^2), x_Symbol] :> Dist[(2*c*d - b*e)/(2*c), Int[1/(a +
 b*x + c*x^2), x], x] + Dist[e/(2*c), Int[(b + 2*c*x)/(a + b*x + c*x^2), x], x] /; FreeQ[{a, b, c, d, e}, x] &
& NeQ[2*c*d - b*e, 0] && NeQ[b^2 - 4*a*c, 0] &&  !NiceSqrtQ[b^2 - 4*a*c]

Rubi steps

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

________________________________________________________________________________________

Mathematica [C]  time = 0.01, size = 37, normalized size = 0.37 \begin {gather*} \frac {\left (x^3+1\right )^{4/3}}{4 x^4}-\frac {\, _2F_1\left (-\frac {1}{3},-\frac {1}{3};\frac {2}{3};-x^3\right )}{x} \end {gather*}

Antiderivative was successfully verified.

[In]

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

[Out]

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

________________________________________________________________________________________

IntegrateAlgebraic [A]  time = 0.15, size = 101, normalized size = 1.00 \begin {gather*} \frac {\left (1-3 x^3\right ) \sqrt [3]{1+x^3}}{4 x^4}-\frac {\tan ^{-1}\left (\frac {\sqrt {3} x}{x+2 \sqrt [3]{1+x^3}}\right )}{\sqrt {3}}-\frac {1}{3} \log \left (-x+\sqrt [3]{1+x^3}\right )+\frac {1}{6} \log \left (x^2+x \sqrt [3]{1+x^3}+\left (1+x^3\right )^{2/3}\right ) \end {gather*}

Antiderivative was successfully verified.

[In]

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

[Out]

((1 - 3*x^3)*(1 + x^3)^(1/3))/(4*x^4) - ArcTan[(Sqrt[3]*x)/(x + 2*(1 + x^3)^(1/3))]/Sqrt[3] - Log[-x + (1 + x^
3)^(1/3)]/3 + Log[x^2 + x*(1 + x^3)^(1/3) + (1 + x^3)^(2/3)]/6

________________________________________________________________________________________

fricas [A]  time = 0.69, size = 112, normalized size = 1.11 \begin {gather*} -\frac {4 \, \sqrt {3} x^{4} \arctan \left (-\frac {25382 \, \sqrt {3} {\left (x^{3} + 1\right )}^{\frac {1}{3}} x^{2} - 13720 \, \sqrt {3} {\left (x^{3} + 1\right )}^{\frac {2}{3}} x + \sqrt {3} {\left (5831 \, x^{3} + 7200\right )}}{58653 \, x^{3} + 8000}\right ) + 2 \, x^{4} \log \left (3 \, {\left (x^{3} + 1\right )}^{\frac {1}{3}} x^{2} - 3 \, {\left (x^{3} + 1\right )}^{\frac {2}{3}} x + 1\right ) + 3 \, {\left (3 \, x^{3} - 1\right )} {\left (x^{3} + 1\right )}^{\frac {1}{3}}}{12 \, x^{4}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

-1/12*(4*sqrt(3)*x^4*arctan(-(25382*sqrt(3)*(x^3 + 1)^(1/3)*x^2 - 13720*sqrt(3)*(x^3 + 1)^(2/3)*x + sqrt(3)*(5
831*x^3 + 7200))/(58653*x^3 + 8000)) + 2*x^4*log(3*(x^3 + 1)^(1/3)*x^2 - 3*(x^3 + 1)^(2/3)*x + 1) + 3*(3*x^3 -
 1)*(x^3 + 1)^(1/3))/x^4

________________________________________________________________________________________

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

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

maple [C]  time = 2.12, size = 30, normalized size = 0.30

method result size
meijerg \(\frac {\left (x^{3}+1\right )^{\frac {4}{3}}}{4 x^{4}}-\frac {\hypergeom \left (\left [-\frac {1}{3}, -\frac {1}{3}\right ], \left [\frac {2}{3}\right ], -x^{3}\right )}{x}\) \(30\)
risch \(-\frac {3 x^{6}+2 x^{3}-1}{4 x^{4} \left (x^{3}+1\right )^{\frac {2}{3}}}+\frac {x^{2} \hypergeom \left (\left [\frac {2}{3}, \frac {2}{3}\right ], \left [\frac {5}{3}\right ], -x^{3}\right )}{2}\) \(42\)
trager \(-\frac {\left (3 x^{3}-1\right ) \left (x^{3}+1\right )^{\frac {1}{3}}}{4 x^{4}}-\frac {\ln \left (317 \RootOf \left (\textit {\_Z}^{2}-\textit {\_Z} +1\right )^{2} x^{3}+555 \RootOf \left (\textit {\_Z}^{2}-\textit {\_Z} +1\right ) \left (x^{3}+1\right )^{\frac {2}{3}} x -2358 \left (x^{3}+1\right )^{\frac {1}{3}} \RootOf \left (\textit {\_Z}^{2}-\textit {\_Z} +1\right ) x^{2}+1486 \RootOf \left (\textit {\_Z}^{2}-\textit {\_Z} +1\right ) x^{3}-2358 x \left (x^{3}+1\right )^{\frac {2}{3}}+1803 x^{2} \left (x^{3}+1\right )^{\frac {1}{3}}+872 x^{3}-317 \RootOf \left (\textit {\_Z}^{2}-\textit {\_Z} +1\right )^{2}+733 \RootOf \left (\textit {\_Z}^{2}-\textit {\_Z} +1\right )+654\right )}{3}+\frac {\RootOf \left (\textit {\_Z}^{2}-\textit {\_Z} +1\right ) \ln \left (-535 \RootOf \left (\textit {\_Z}^{2}-\textit {\_Z} +1\right )^{2} x^{3}-555 \RootOf \left (\textit {\_Z}^{2}-\textit {\_Z} +1\right ) \left (x^{3}+1\right )^{\frac {2}{3}} x -1803 \left (x^{3}+1\right )^{\frac {1}{3}} \RootOf \left (\textit {\_Z}^{2}-\textit {\_Z} +1\right ) x^{2}+2893 \RootOf \left (\textit {\_Z}^{2}-\textit {\_Z} +1\right ) x^{3}-1803 x \left (x^{3}+1\right )^{\frac {2}{3}}+2358 x^{2} \left (x^{3}+1\right )^{\frac {1}{3}}-1090 x^{3}+535 \RootOf \left (\textit {\_Z}^{2}-\textit {\_Z} +1\right )^{2}+852 \RootOf \left (\textit {\_Z}^{2}-\textit {\_Z} +1\right )-436\right )}{3}\) \(282\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

maxima [A]  time = 0.42, size = 93, normalized size = 0.92 \begin {gather*} \frac {1}{3} \, \sqrt {3} \arctan \left (\frac {1}{3} \, \sqrt {3} {\left (\frac {2 \, {\left (x^{3} + 1\right )}^{\frac {1}{3}}}{x} + 1\right )}\right ) - \frac {{\left (x^{3} + 1\right )}^{\frac {1}{3}}}{x} + \frac {{\left (x^{3} + 1\right )}^{\frac {4}{3}}}{4 \, x^{4}} + \frac {1}{6} \, \log \left (\frac {{\left (x^{3} + 1\right )}^{\frac {1}{3}}}{x} + \frac {{\left (x^{3} + 1\right )}^{\frac {2}{3}}}{x^{2}} + 1\right ) - \frac {1}{3} \, \log \left (\frac {{\left (x^{3} + 1\right )}^{\frac {1}{3}}}{x} - 1\right ) \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

1/3*sqrt(3)*arctan(1/3*sqrt(3)*(2*(x^3 + 1)^(1/3)/x + 1)) - (x^3 + 1)^(1/3)/x + 1/4*(x^3 + 1)^(4/3)/x^4 + 1/6*
log((x^3 + 1)^(1/3)/x + (x^3 + 1)^(2/3)/x^2 + 1) - 1/3*log((x^3 + 1)^(1/3)/x - 1)

________________________________________________________________________________________

mupad [B]  time = 1.14, size = 40, normalized size = 0.40 \begin {gather*} \frac {{\left (x^3+1\right )}^{1/3}+x^3\,{\left (x^3+1\right )}^{1/3}}{4\,x^4}-\frac {{{}}_2{\mathrm {F}}_1\left (-\frac {1}{3},-\frac {1}{3};\ \frac {2}{3};\ -x^3\right )}{x} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

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

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

-(1 + x**(-3))**(1/3)*gamma(-4/3)/(3*gamma(-1/3)) + gamma(-1/3)*hyper((-1/3, -1/3), (2/3,), x**3*exp_polar(I*p
i))/(3*x*gamma(2/3)) - (1 + x**(-3))**(1/3)*gamma(-4/3)/(3*x**3*gamma(-1/3))

________________________________________________________________________________________