3.12.38 \(\int \frac {(-1+x^4+2 x^6) \sqrt [3]{x+x^5+x^7}}{(1+x^4+x^6) (1-x^2+x^4+x^6)} \, dx\)

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

________________________________________________________________________________________

Rubi [F]  time = 2.39, antiderivative size = 0, normalized size of antiderivative = 0.00, number of steps used = 0, number of rules used = 0, integrand size = 0, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.000, Rules used = {} \begin {gather*} \int \frac {\left (-1+x^4+2 x^6\right ) \sqrt [3]{x+x^5+x^7}}{\left (1+x^4+x^6\right ) \left (1-x^2+x^4+x^6\right )} \, dx \end {gather*}

Verification is not applicable to the result.

[In]

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

[Out]

(3*(x + x^5 + x^7)^(1/3)*Defer[Subst][Defer[Int][x/(1 + x^6 + x^9)^(2/3), x], x, x^(2/3)])/(x^(1/3)*(1 + x^4 +
 x^6)^(1/3)) - (9*(x + x^5 + x^7)^(1/3)*Defer[Subst][Defer[Int][x/((1 + x^6 + x^9)^(2/3)*(1 - x^3 + x^6 + x^9)
), x], x, x^(2/3)])/(2*x^(1/3)*(1 + x^4 + x^6)^(1/3)) + (3*(x + x^5 + x^7)^(1/3)*Defer[Subst][Defer[Int][x^4/(
(1 + x^6 + x^9)^(2/3)*(1 - x^3 + x^6 + x^9)), x], x, x^(2/3)])/(x^(1/3)*(1 + x^4 + x^6)^(1/3)) - (3*(x + x^5 +
 x^7)^(1/3)*Defer[Subst][Defer[Int][x^7/((1 + x^6 + x^9)^(2/3)*(1 - x^3 + x^6 + x^9)), x], x, x^(2/3)])/(2*x^(
1/3)*(1 + x^4 + x^6)^(1/3))

Rubi steps

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

________________________________________________________________________________________

Mathematica [F]  time = 0.61, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\left (-1+x^4+2 x^6\right ) \sqrt [3]{x+x^5+x^7}}{\left (1+x^4+x^6\right ) \left (1-x^2+x^4+x^6\right )} \, dx \end {gather*}

Verification is not applicable to the result.

[In]

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

[Out]

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

________________________________________________________________________________________

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

Antiderivative was successfully verified.

[In]

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

[Out]

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

________________________________________________________________________________________

fricas [A]  time = 3.07, size = 127, normalized size = 1.38 \begin {gather*} \frac {1}{2} \, \sqrt {3} \arctan \left (\frac {2 \, \sqrt {3} {\left (x^{7} + x^{5} + x\right )}^{\frac {1}{3}} x + \sqrt {3} {\left (x^{6} + x^{4} + x^{2} + 1\right )} + 2 \, \sqrt {3} {\left (x^{7} + x^{5} + x\right )}^{\frac {2}{3}}}{x^{6} + x^{4} - x^{2} + 1}\right ) + \frac {1}{4} \, \log \left (\frac {x^{6} + x^{4} - x^{2} + 3 \, {\left (x^{7} + x^{5} + x\right )}^{\frac {1}{3}} x - 3 \, {\left (x^{7} + x^{5} + x\right )}^{\frac {2}{3}} + 1}{x^{6} + x^{4} - x^{2} + 1}\right ) \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

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

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

integrate((x^7 + x^5 + x)^(1/3)*(2*x^6 + x^4 - 1)/((x^6 + x^4 - x^2 + 1)*(x^6 + x^4 + 1)), x)

________________________________________________________________________________________

maple [C]  time = 8.38, size = 489, normalized size = 5.32 \begin {gather*} \frac {\ln \left (\frac {20906848965368 \RootOf \left (4 \textit {\_Z}^{2}+2 \textit {\_Z} +1\right )^{2} x^{6}+44817676777674 \RootOf \left (4 \textit {\_Z}^{2}+2 \textit {\_Z} +1\right ) x^{6}+20906848965368 \RootOf \left (4 \textit {\_Z}^{2}+2 \textit {\_Z} +1\right )^{2} x^{4}+6007957693876 x^{6}+44817676777674 \RootOf \left (4 \textit {\_Z}^{2}+2 \textit {\_Z} +1\right ) x^{4}-62720546896104 \RootOf \left (4 \textit {\_Z}^{2}+2 \textit {\_Z} +1\right )^{2} x^{2}+6007957693876 x^{4}-35926743200058 \RootOf \left (4 \textit {\_Z}^{2}+2 \textit {\_Z} +1\right ) \left (x^{7}+x^{5}+x \right )^{\frac {2}{3}}-31239270484854 \RootOf \left (4 \textit {\_Z}^{2}+2 \textit {\_Z} +1\right ) \left (x^{7}+x^{5}+x \right )^{\frac {1}{3}} x +1441487941870 \RootOf \left (4 \textit {\_Z}^{2}+2 \textit {\_Z} +1\right ) x^{2}+20906848965368 \RootOf \left (4 \textit {\_Z}^{2}+2 \textit {\_Z} +1\right )^{2}+15619635242427 \left (x^{7}+x^{5}+x \right )^{\frac {2}{3}}-33583006842456 x \left (x^{7}+x^{5}+x \right )^{\frac {1}{3}}+1501989423469 x^{2}+44817676777674 \RootOf \left (4 \textit {\_Z}^{2}+2 \textit {\_Z} +1\right )+6007957693876}{x^{6}+x^{4}-x^{2}+1}\right )}{2}+\RootOf \left (4 \textit {\_Z}^{2}+2 \textit {\_Z} +1\right ) \ln \left (-\frac {14898891271492 \RootOf \left (4 \textit {\_Z}^{2}+2 \textit {\_Z} +1\right )^{2} x^{6}-25352315754176 \RootOf \left (4 \textit {\_Z}^{2}+2 \textit {\_Z} +1\right ) x^{6}+14898891271492 \RootOf \left (4 \textit {\_Z}^{2}+2 \textit {\_Z} +1\right )^{2} x^{4}+4505968270407 x^{6}-25352315754176 \RootOf \left (4 \textit {\_Z}^{2}+2 \textit {\_Z} +1\right ) x^{4}-44696673814476 \RootOf \left (4 \textit {\_Z}^{2}+2 \textit {\_Z} +1\right )^{2} x^{2}+4505968270407 x^{4}-35926743200058 \RootOf \left (4 \textit {\_Z}^{2}+2 \textit {\_Z} +1\right ) \left (x^{7}+x^{5}+x \right )^{\frac {2}{3}}+67166013684912 \RootOf \left (4 \textit {\_Z}^{2}+2 \textit {\_Z} +1\right ) \left (x^{7}+x^{5}+x \right )^{\frac {1}{3}} x -20785846002170 \RootOf \left (4 \textit {\_Z}^{2}+2 \textit {\_Z} +1\right ) x^{2}+14898891271492 \RootOf \left (4 \textit {\_Z}^{2}+2 \textit {\_Z} +1\right )^{2}-33583006842456 \left (x^{7}+x^{5}+x \right )^{\frac {2}{3}}+15619635242427 x \left (x^{7}+x^{5}+x \right )^{\frac {1}{3}}+6007957693876 x^{2}-25352315754176 \RootOf \left (4 \textit {\_Z}^{2}+2 \textit {\_Z} +1\right )+4505968270407}{x^{6}+x^{4}-x^{2}+1}\right ) \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

1/2*ln((20906848965368*RootOf(4*_Z^2+2*_Z+1)^2*x^6+44817676777674*RootOf(4*_Z^2+2*_Z+1)*x^6+20906848965368*Roo
tOf(4*_Z^2+2*_Z+1)^2*x^4+6007957693876*x^6+44817676777674*RootOf(4*_Z^2+2*_Z+1)*x^4-62720546896104*RootOf(4*_Z
^2+2*_Z+1)^2*x^2+6007957693876*x^4-35926743200058*RootOf(4*_Z^2+2*_Z+1)*(x^7+x^5+x)^(2/3)-31239270484854*RootO
f(4*_Z^2+2*_Z+1)*(x^7+x^5+x)^(1/3)*x+1441487941870*RootOf(4*_Z^2+2*_Z+1)*x^2+20906848965368*RootOf(4*_Z^2+2*_Z
+1)^2+15619635242427*(x^7+x^5+x)^(2/3)-33583006842456*x*(x^7+x^5+x)^(1/3)+1501989423469*x^2+44817676777674*Roo
tOf(4*_Z^2+2*_Z+1)+6007957693876)/(x^6+x^4-x^2+1))+RootOf(4*_Z^2+2*_Z+1)*ln(-(14898891271492*RootOf(4*_Z^2+2*_
Z+1)^2*x^6-25352315754176*RootOf(4*_Z^2+2*_Z+1)*x^6+14898891271492*RootOf(4*_Z^2+2*_Z+1)^2*x^4+4505968270407*x
^6-25352315754176*RootOf(4*_Z^2+2*_Z+1)*x^4-44696673814476*RootOf(4*_Z^2+2*_Z+1)^2*x^2+4505968270407*x^4-35926
743200058*RootOf(4*_Z^2+2*_Z+1)*(x^7+x^5+x)^(2/3)+67166013684912*RootOf(4*_Z^2+2*_Z+1)*(x^7+x^5+x)^(1/3)*x-207
85846002170*RootOf(4*_Z^2+2*_Z+1)*x^2+14898891271492*RootOf(4*_Z^2+2*_Z+1)^2-33583006842456*(x^7+x^5+x)^(2/3)+
15619635242427*x*(x^7+x^5+x)^(1/3)+6007957693876*x^2-25352315754176*RootOf(4*_Z^2+2*_Z+1)+4505968270407)/(x^6+
x^4-x^2+1))

________________________________________________________________________________________

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

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

integrate((x^7 + x^5 + x)^(1/3)*(2*x^6 + x^4 - 1)/((x^6 + x^4 - x^2 + 1)*(x^6 + x^4 + 1)), x)

________________________________________________________________________________________

mupad [F]  time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {\left (2\,x^6+x^4-1\right )\,{\left (x^7+x^5+x\right )}^{1/3}}{\left (x^6+x^4+1\right )\,\left (x^6+x^4-x^2+1\right )} \,d x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

sympy [F(-1)]  time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

Timed out

________________________________________________________________________________________