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

Optimal. Leaf size=70 \[ 2 \tan ^{-1}\left (\frac {x}{\sqrt [4]{x^6-x^4+1}}\right )-2 \tanh ^{-1}\left (\frac {x}{\sqrt [4]{x^6-x^4+1}}\right )+\frac {2 \sqrt [4]{x^6-x^4+1} \left (x^6+9 x^4+1\right )}{5 x^5} \]

________________________________________________________________________________________

Rubi [F]  time = 2.44, 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 (-2+x^6\right ) \left (1+x^6\right ) \sqrt [4]{1-x^4+x^6}}{x^6 \left (1-2 x^4+x^6\right )} \, dx \end {gather*}

Verification is not applicable to the result.

[In]

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

[Out]

Defer[Int][(1 - x^4 + x^6)^(1/4), x] + Defer[Int][(1 - x^4 + x^6)^(1/4)/(-1 - x), x] + Defer[Int][(1 - x^4 + x
^6)^(1/4)/(-1 + x), x] - 2*Defer[Int][(1 - x^4 + x^6)^(1/4)/x^6, x] - 4*Defer[Int][(1 - x^4 + x^6)^(1/4)/x^2,
x] + ((2*I)*Defer[Int][(1 - x^4 + x^6)^(1/4)/(I*Sqrt[-1 + Sqrt[5]] - Sqrt[2]*x), x])/Sqrt[-1 + Sqrt[5]] - (2*D
efer[Int][(1 - x^4 + x^6)^(1/4)/(Sqrt[1 + Sqrt[5]] - Sqrt[2]*x), x])/Sqrt[1 + Sqrt[5]] + ((2*I)*Defer[Int][(1
- x^4 + x^6)^(1/4)/(I*Sqrt[-1 + Sqrt[5]] + Sqrt[2]*x), x])/Sqrt[-1 + Sqrt[5]] - (2*Defer[Int][(1 - x^4 + x^6)^
(1/4)/(Sqrt[1 + Sqrt[5]] + Sqrt[2]*x), x])/Sqrt[1 + Sqrt[5]]

Rubi steps

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

________________________________________________________________________________________

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

Verification is not applicable to the result.

[In]

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

[Out]

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

________________________________________________________________________________________

IntegrateAlgebraic [A]  time = 2.60, size = 70, normalized size = 1.00 \begin {gather*} 2 \tan ^{-1}\left (\frac {x}{\sqrt [4]{x^6-x^4+1}}\right )-2 \tanh ^{-1}\left (\frac {x}{\sqrt [4]{x^6-x^4+1}}\right )+\frac {2 \sqrt [4]{x^6-x^4+1} \left (x^6+9 x^4+1\right )}{5 x^5} \end {gather*}

Antiderivative was successfully verified.

[In]

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

[Out]

(2*(1 - x^4 + x^6)^(1/4)*(1 + 9*x^4 + x^6))/(5*x^5) + 2*ArcTan[x/(1 - x^4 + x^6)^(1/4)] - 2*ArcTanh[x/(1 - x^4
 + x^6)^(1/4)]

________________________________________________________________________________________

fricas [B]  time = 160.79, size = 154, normalized size = 2.20 \begin {gather*} \frac {5 \, x^{5} \arctan \left (\frac {2 \, {\left ({\left (x^{6} - x^{4} + 1\right )}^{\frac {1}{4}} x^{3} + {\left (x^{6} - x^{4} + 1\right )}^{\frac {3}{4}} x\right )}}{x^{6} - 2 \, x^{4} + 1}\right ) + 5 \, x^{5} \log \left (\frac {x^{6} - 2 \, {\left (x^{6} - x^{4} + 1\right )}^{\frac {1}{4}} x^{3} + 2 \, \sqrt {x^{6} - x^{4} + 1} x^{2} - 2 \, {\left (x^{6} - x^{4} + 1\right )}^{\frac {3}{4}} x + 1}{x^{6} - 2 \, x^{4} + 1}\right ) + 2 \, {\left (x^{6} + 9 \, x^{4} + 1\right )} {\left (x^{6} - x^{4} + 1\right )}^{\frac {1}{4}}}{5 \, x^{5}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

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

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

maple [C]  time = 2.07, size = 1242, normalized size = 17.74

result too large to display

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

2/5*(x^12+8*x^10-9*x^8+2*x^6+8*x^4+1)/x^5/(x^6-x^4+1)^(3/4)+(-ln(-(x^18-2*x^16+2*(x^18-3*x^16+3*x^14+2*x^12-6*
x^10+3*x^8+3*x^6-3*x^4+1)^(1/4)*x^13+x^14-4*(x^18-3*x^16+3*x^14+2*x^12-6*x^10+3*x^8+3*x^6-3*x^4+1)^(1/4)*x^11+
3*x^12+2*(x^18-3*x^16+3*x^14+2*x^12-6*x^10+3*x^8+3*x^6-3*x^4+1)^(1/2)*x^8+2*(x^18-3*x^16+3*x^14+2*x^12-6*x^10+
3*x^8+3*x^6-3*x^4+1)^(1/4)*x^9-4*x^10-2*(x^18-3*x^16+3*x^14+2*x^12-6*x^10+3*x^8+3*x^6-3*x^4+1)^(1/2)*x^6+4*(x^
18-3*x^16+3*x^14+2*x^12-6*x^10+3*x^8+3*x^6-3*x^4+1)^(1/4)*x^7+x^8+2*(x^18-3*x^16+3*x^14+2*x^12-6*x^10+3*x^8+3*
x^6-3*x^4+1)^(3/4)*x^3-4*(x^18-3*x^16+3*x^14+2*x^12-6*x^10+3*x^8+3*x^6-3*x^4+1)^(1/4)*x^5+3*x^6+2*(x^18-3*x^16
+3*x^14+2*x^12-6*x^10+3*x^8+3*x^6-3*x^4+1)^(1/2)*x^2-2*x^4+2*(x^18-3*x^16+3*x^14+2*x^12-6*x^10+3*x^8+3*x^6-3*x
^4+1)^(1/4)*x+1)/(x^6-x^4+1)^2/(-1+x)/(1+x)/(x^4-x^2-1))+RootOf(_Z^2+1)*ln(-(-RootOf(_Z^2+1)*x^18+2*RootOf(_Z^
2+1)*x^16-RootOf(_Z^2+1)*x^14-2*(x^18-3*x^16+3*x^14+2*x^12-6*x^10+3*x^8+3*x^6-3*x^4+1)^(1/4)*x^13-3*RootOf(_Z^
2+1)*x^12+4*(x^18-3*x^16+3*x^14+2*x^12-6*x^10+3*x^8+3*x^6-3*x^4+1)^(1/4)*x^11+2*(x^18-3*x^16+3*x^14+2*x^12-6*x
^10+3*x^8+3*x^6-3*x^4+1)^(1/2)*RootOf(_Z^2+1)*x^8+4*RootOf(_Z^2+1)*x^10-2*(x^18-3*x^16+3*x^14+2*x^12-6*x^10+3*
x^8+3*x^6-3*x^4+1)^(1/4)*x^9-2*(x^18-3*x^16+3*x^14+2*x^12-6*x^10+3*x^8+3*x^6-3*x^4+1)^(1/2)*RootOf(_Z^2+1)*x^6
-RootOf(_Z^2+1)*x^8-4*(x^18-3*x^16+3*x^14+2*x^12-6*x^10+3*x^8+3*x^6-3*x^4+1)^(1/4)*x^7-3*RootOf(_Z^2+1)*x^6+2*
(x^18-3*x^16+3*x^14+2*x^12-6*x^10+3*x^8+3*x^6-3*x^4+1)^(3/4)*x^3+4*(x^18-3*x^16+3*x^14+2*x^12-6*x^10+3*x^8+3*x
^6-3*x^4+1)^(1/4)*x^5+2*(x^18-3*x^16+3*x^14+2*x^12-6*x^10+3*x^8+3*x^6-3*x^4+1)^(1/2)*RootOf(_Z^2+1)*x^2+2*Root
Of(_Z^2+1)*x^4-2*(x^18-3*x^16+3*x^14+2*x^12-6*x^10+3*x^8+3*x^6-3*x^4+1)^(1/4)*x-RootOf(_Z^2+1))/(x^6-x^4+1)^2/
(-1+x)/(1+x)/(x^4-x^2-1)))/(x^6-x^4+1)^(3/4)*((x^6-x^4+1)^3)^(1/4)

________________________________________________________________________________________

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

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

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

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

int(((x^6 + 1)*(x^6 - 2)*(x^6 - x^4 + 1)^(1/4))/(x^6*(x^6 - 2*x^4 + 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((x**6-2)*(x**6+1)*(x**6-x**4+1)**(1/4)/x**6/(x**6-2*x**4+1),x)

[Out]

Timed out

________________________________________________________________________________________