Integrand size = 28, antiderivative size = 128 \[ \int \frac {\left (-1+x^6\right ) \left (1+x^3+x^6\right )^{2/3}}{1+x^6+x^{12}} \, dx=-\frac {\arctan \left (\frac {\sqrt {3} x}{x+2^{2/3} \sqrt [3]{1+x^3+x^6}}\right )}{\sqrt [3]{2} \sqrt {3}}+\frac {\log \left (-2 x+2^{2/3} \sqrt [3]{1+x^3+x^6}\right )}{3 \sqrt [3]{2}}-\frac {\log \left (2 x^2+2^{2/3} x \sqrt [3]{1+x^3+x^6}+\sqrt [3]{2} \left (1+x^3+x^6\right )^{2/3}\right )}{6 \sqrt [3]{2}} \]
-1/6*arctan(3^(1/2)*x/(x+2^(2/3)*(x^6+x^3+1)^(1/3)))*2^(2/3)*3^(1/2)+1/6*l n(-2*x+2^(2/3)*(x^6+x^3+1)^(1/3))*2^(2/3)-1/12*ln(2*x^2+2^(2/3)*x*(x^6+x^3 +1)^(1/3)+2^(1/3)*(x^6+x^3+1)^(2/3))*2^(2/3)
Time = 0.42 (sec) , antiderivative size = 116, normalized size of antiderivative = 0.91 \[ \int \frac {\left (-1+x^6\right ) \left (1+x^3+x^6\right )^{2/3}}{1+x^6+x^{12}} \, dx=-\frac {2 \sqrt {3} \arctan \left (\frac {\sqrt {3} x}{x+2^{2/3} \sqrt [3]{1+x^3+x^6}}\right )-2 \log \left (-2 x+2^{2/3} \sqrt [3]{1+x^3+x^6}\right )+\log \left (2 x^2+2^{2/3} x \sqrt [3]{1+x^3+x^6}+\sqrt [3]{2} \left (1+x^3+x^6\right )^{2/3}\right )}{6 \sqrt [3]{2}} \]
-1/6*(2*Sqrt[3]*ArcTan[(Sqrt[3]*x)/(x + 2^(2/3)*(1 + x^3 + x^6)^(1/3))] - 2*Log[-2*x + 2^(2/3)*(1 + x^3 + x^6)^(1/3)] + Log[2*x^2 + 2^(2/3)*x*(1 + x ^3 + x^6)^(1/3) + 2^(1/3)*(1 + x^3 + x^6)^(2/3)])/2^(1/3)
Below are the steps used by Rubi to obtain the solution. The rule number used for the transformation is given above next to the arrow. The rules definitions used are listed below.
\(\displaystyle \int \frac {\left (x^6-1\right ) \left (x^6+x^3+1\right )^{2/3}}{x^{12}+x^6+1} \, dx\) |
\(\Big \downarrow \) 2019 |
\(\displaystyle \int \frac {x^6-1}{\left (x^6-x^3+1\right ) \sqrt [3]{x^6+x^3+1}}dx\) |
\(\Big \downarrow \) 7279 |
\(\displaystyle \int \left (\frac {1}{\sqrt [3]{x^6+x^3+1}}-\frac {2-x^3}{\left (x^6-x^3+1\right ) \sqrt [3]{x^6+x^3+1}}\right )dx\) |
\(\Big \downarrow \) 2009 |
\(\displaystyle \left (1+i \sqrt {3}\right ) \int \frac {1}{\left (2 x^3-i \sqrt {3}-1\right ) \sqrt [3]{x^6+x^3+1}}dx+\left (1-i \sqrt {3}\right ) \int \frac {1}{\left (2 x^3+i \sqrt {3}-1\right ) \sqrt [3]{x^6+x^3+1}}dx+\frac {x \sqrt [3]{1+\frac {2 x^3}{1-i \sqrt {3}}} \sqrt [3]{1+\frac {2 x^3}{1+i \sqrt {3}}} \operatorname {AppellF1}\left (\frac {1}{3},\frac {1}{3},\frac {1}{3},\frac {4}{3},-\frac {2 x^3}{1-i \sqrt {3}},-\frac {2 x^3}{1+i \sqrt {3}}\right )}{\sqrt [3]{x^6+x^3+1}}\) |
3.19.66.3.1 Defintions of rubi rules used
Int[(u_.)*(Px_)^(p_.)*(Qx_)^(q_.), x_Symbol] :> Int[u*PolynomialQuotient[Px , Qx, x]^p*Qx^(p + q), x] /; FreeQ[q, x] && PolyQ[Px, x] && PolyQ[Qx, x] && EqQ[PolynomialRemainder[Px, Qx, x], 0] && IntegerQ[p] && LtQ[p*q, 0]
Int[(u_)/((a_.) + (b_.)*(x_)^(n_.) + (c_.)*(x_)^(n2_.)), x_Symbol] :> With[ {v = RationalFunctionExpand[u/(a + b*x^n + c*x^(2*n)), x]}, Int[v, x] /; Su mQ[v]] /; FreeQ[{a, b, c}, x] && EqQ[n2, 2*n] && IGtQ[n, 0]
Time = 6.50 (sec) , antiderivative size = 101, normalized size of antiderivative = 0.79
method | result | size |
pseudoelliptic | \(\frac {2^{\frac {2}{3}} \left (2 \sqrt {3}\, \arctan \left (\frac {\sqrt {3}\, \left (x +2^{\frac {2}{3}} \left (x^{6}+x^{3}+1\right )^{\frac {1}{3}}\right )}{3 x}\right )+2 \ln \left (\frac {-2^{\frac {1}{3}} x +\left (x^{6}+x^{3}+1\right )^{\frac {1}{3}}}{x}\right )-\ln \left (\frac {2^{\frac {2}{3}} x^{2}+2^{\frac {1}{3}} \left (x^{6}+x^{3}+1\right )^{\frac {1}{3}} x +\left (x^{6}+x^{3}+1\right )^{\frac {2}{3}}}{x^{2}}\right )\right )}{12}\) | \(101\) |
trager | \(\text {Expression too large to display}\) | \(699\) |
1/12*2^(2/3)*(2*3^(1/2)*arctan(1/3*3^(1/2)/x*(x+2^(2/3)*(x^6+x^3+1)^(1/3)) )+2*ln((-2^(1/3)*x+(x^6+x^3+1)^(1/3))/x)-ln((2^(2/3)*x^2+2^(1/3)*(x^6+x^3+ 1)^(1/3)*x+(x^6+x^3+1)^(2/3))/x^2))
Leaf count of result is larger than twice the leaf count of optimal. 322 vs. \(2 (98) = 196\).
Time = 6.30 (sec) , antiderivative size = 322, normalized size of antiderivative = 2.52 \[ \int \frac {\left (-1+x^6\right ) \left (1+x^3+x^6\right )^{2/3}}{1+x^6+x^{12}} \, dx=-\frac {1}{18} \, \sqrt {6} 2^{\frac {1}{6}} \arctan \left (\frac {2^{\frac {1}{6}} {\left (6 \, \sqrt {6} 2^{\frac {2}{3}} {\left (x^{13} + 16 \, x^{10} + 21 \, x^{7} + 16 \, x^{4} + x\right )} {\left (x^{6} + x^{3} + 1\right )}^{\frac {2}{3}} - \sqrt {6} 2^{\frac {1}{3}} {\left (x^{18} - 21 \, x^{15} - 102 \, x^{12} - 133 \, x^{9} - 102 \, x^{6} - 21 \, x^{3} + 1\right )} - 24 \, \sqrt {6} {\left (x^{14} + x^{11} + x^{5} + x^{2}\right )} {\left (x^{6} + x^{3} + 1\right )}^{\frac {1}{3}}\right )}}{6 \, {\left (x^{18} + 51 \, x^{15} + 114 \, x^{12} + 155 \, x^{9} + 114 \, x^{6} + 51 \, x^{3} + 1\right )}}\right ) + \frac {1}{18} \cdot 2^{\frac {2}{3}} \log \left (-\frac {3 \cdot 2^{\frac {2}{3}} {\left (x^{6} + x^{3} + 1\right )}^{\frac {2}{3}} x - 6 \, {\left (x^{6} + x^{3} + 1\right )}^{\frac {1}{3}} x^{2} - 2^{\frac {1}{3}} {\left (x^{6} - x^{3} + 1\right )}}{x^{6} - x^{3} + 1}\right ) - \frac {1}{36} \cdot 2^{\frac {2}{3}} \log \left (\frac {2^{\frac {2}{3}} {\left (x^{12} + 16 \, x^{9} + 21 \, x^{6} + 16 \, x^{3} + 1\right )} + 12 \cdot 2^{\frac {1}{3}} {\left (x^{8} + 2 \, x^{5} + x^{2}\right )} {\left (x^{6} + x^{3} + 1\right )}^{\frac {1}{3}} + 6 \, {\left (x^{7} + 5 \, x^{4} + x\right )} {\left (x^{6} + x^{3} + 1\right )}^{\frac {2}{3}}}{x^{12} - 2 \, x^{9} + 3 \, x^{6} - 2 \, x^{3} + 1}\right ) \]
-1/18*sqrt(6)*2^(1/6)*arctan(1/6*2^(1/6)*(6*sqrt(6)*2^(2/3)*(x^13 + 16*x^1 0 + 21*x^7 + 16*x^4 + x)*(x^6 + x^3 + 1)^(2/3) - sqrt(6)*2^(1/3)*(x^18 - 2 1*x^15 - 102*x^12 - 133*x^9 - 102*x^6 - 21*x^3 + 1) - 24*sqrt(6)*(x^14 + x ^11 + x^5 + x^2)*(x^6 + x^3 + 1)^(1/3))/(x^18 + 51*x^15 + 114*x^12 + 155*x ^9 + 114*x^6 + 51*x^3 + 1)) + 1/18*2^(2/3)*log(-(3*2^(2/3)*(x^6 + x^3 + 1) ^(2/3)*x - 6*(x^6 + x^3 + 1)^(1/3)*x^2 - 2^(1/3)*(x^6 - x^3 + 1))/(x^6 - x ^3 + 1)) - 1/36*2^(2/3)*log((2^(2/3)*(x^12 + 16*x^9 + 21*x^6 + 16*x^3 + 1) + 12*2^(1/3)*(x^8 + 2*x^5 + x^2)*(x^6 + x^3 + 1)^(1/3) + 6*(x^7 + 5*x^4 + x)*(x^6 + x^3 + 1)^(2/3))/(x^12 - 2*x^9 + 3*x^6 - 2*x^3 + 1))
Timed out. \[ \int \frac {\left (-1+x^6\right ) \left (1+x^3+x^6\right )^{2/3}}{1+x^6+x^{12}} \, dx=\text {Timed out} \]
\[ \int \frac {\left (-1+x^6\right ) \left (1+x^3+x^6\right )^{2/3}}{1+x^6+x^{12}} \, dx=\int { \frac {{\left (x^{6} + x^{3} + 1\right )}^{\frac {2}{3}} {\left (x^{6} - 1\right )}}{x^{12} + x^{6} + 1} \,d x } \]
\[ \int \frac {\left (-1+x^6\right ) \left (1+x^3+x^6\right )^{2/3}}{1+x^6+x^{12}} \, dx=\int { \frac {{\left (x^{6} + x^{3} + 1\right )}^{\frac {2}{3}} {\left (x^{6} - 1\right )}}{x^{12} + x^{6} + 1} \,d x } \]
Timed out. \[ \int \frac {\left (-1+x^6\right ) \left (1+x^3+x^6\right )^{2/3}}{1+x^6+x^{12}} \, dx=\int \frac {\left (x^6-1\right )\,{\left (x^6+x^3+1\right )}^{2/3}}{x^{12}+x^6+1} \,d x \]