Integrand size = 34, antiderivative size = 212 \[ \int \frac {1-x^2+x^3}{\left (-1-x^2+x^3\right ) \sqrt [3]{x^2+x^3}} \, dx=\sqrt {3} \arctan \left (\frac {\sqrt {3} x}{x+2 \sqrt [3]{x^2+x^3}}\right )-\log \left (-x+\sqrt [3]{x^2+x^3}\right )+\frac {1}{2} \log \left (x^2+x \sqrt [3]{x^2+x^3}+\left (x^2+x^3\right )^{2/3}\right )+2 \text {RootSum}\left [-3+4 \text {$\#$1}^3-3 \text {$\#$1}^6+\text {$\#$1}^9\&,\frac {-\log (x)+\log \left (\sqrt [3]{x^2+x^3}-x \text {$\#$1}\right )+2 \log (x) \text {$\#$1}^3-2 \log \left (\sqrt [3]{x^2+x^3}-x \text {$\#$1}\right ) \text {$\#$1}^3-\log (x) \text {$\#$1}^6+\log \left (\sqrt [3]{x^2+x^3}-x \text {$\#$1}\right ) \text {$\#$1}^6}{4 \text {$\#$1}-6 \text {$\#$1}^4+3 \text {$\#$1}^7}\&\right ] \]
Time = 0.00 (sec) , antiderivative size = 240, normalized size of antiderivative = 1.13 \[ \int \frac {1-x^2+x^3}{\left (-1-x^2+x^3\right ) \sqrt [3]{x^2+x^3}} \, dx=\frac {x^{2/3} \sqrt [3]{1+x} \left (6 \sqrt {3} \arctan \left (\frac {\sqrt {3} \sqrt [3]{x}}{\sqrt [3]{x}+2 \sqrt [3]{1+x}}\right )-6 \log \left (-\sqrt [3]{x}+\sqrt [3]{1+x}\right )+3 \log \left (x^{2/3}+\sqrt [3]{x} \sqrt [3]{1+x}+(1+x)^{2/3}\right )-4 \text {RootSum}\left [-3+4 \text {$\#$1}^3-3 \text {$\#$1}^6+\text {$\#$1}^9\&,\frac {\log (x)-3 \log \left (\sqrt [3]{1+x}-\sqrt [3]{x} \text {$\#$1}\right )-2 \log (x) \text {$\#$1}^3+6 \log \left (\sqrt [3]{1+x}-\sqrt [3]{x} \text {$\#$1}\right ) \text {$\#$1}^3+\log (x) \text {$\#$1}^6-3 \log \left (\sqrt [3]{1+x}-\sqrt [3]{x} \text {$\#$1}\right ) \text {$\#$1}^6}{4 \text {$\#$1}-6 \text {$\#$1}^4+3 \text {$\#$1}^7}\&\right ]\right )}{6 \sqrt [3]{x^2 (1+x)}} \]
(x^(2/3)*(1 + x)^(1/3)*(6*Sqrt[3]*ArcTan[(Sqrt[3]*x^(1/3))/(x^(1/3) + 2*(1 + x)^(1/3))] - 6*Log[-x^(1/3) + (1 + x)^(1/3)] + 3*Log[x^(2/3) + x^(1/3)* (1 + x)^(1/3) + (1 + x)^(2/3)] - 4*RootSum[-3 + 4*#1^3 - 3*#1^6 + #1^9 & , (Log[x] - 3*Log[(1 + x)^(1/3) - x^(1/3)*#1] - 2*Log[x]*#1^3 + 6*Log[(1 + x)^(1/3) - x^(1/3)*#1]*#1^3 + Log[x]*#1^6 - 3*Log[(1 + x)^(1/3) - x^(1/3)* #1]*#1^6)/(4*#1 - 6*#1^4 + 3*#1^7) & ]))/(6*(x^2*(1 + x))^(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 {x^3-x^2+1}{\left (x^3-x^2-1\right ) \sqrt [3]{x^3+x^2}} \, dx\) |
\(\Big \downarrow \) 2467 |
\(\displaystyle \frac {x^{2/3} \sqrt [3]{x+1} \int -\frac {x^3-x^2+1}{x^{2/3} \sqrt [3]{x+1} \left (-x^3+x^2+1\right )}dx}{\sqrt [3]{x^3+x^2}}\) |
\(\Big \downarrow \) 25 |
\(\displaystyle -\frac {x^{2/3} \sqrt [3]{x+1} \int \frac {x^3-x^2+1}{x^{2/3} \sqrt [3]{x+1} \left (-x^3+x^2+1\right )}dx}{\sqrt [3]{x^3+x^2}}\) |
\(\Big \downarrow \) 2035 |
\(\displaystyle -\frac {3 x^{2/3} \sqrt [3]{x+1} \int \frac {x^3-x^2+1}{\sqrt [3]{x+1} \left (-x^3+x^2+1\right )}d\sqrt [3]{x}}{\sqrt [3]{x^3+x^2}}\) |
\(\Big \downarrow \) 7293 |
\(\displaystyle -\frac {3 x^{2/3} \sqrt [3]{x+1} \int \left (\frac {2}{\sqrt [3]{x+1} \left (-x^3+x^2+1\right )}-\frac {1}{\sqrt [3]{x+1}}\right )d\sqrt [3]{x}}{\sqrt [3]{x^3+x^2}}\) |
\(\Big \downarrow \) 2009 |
\(\displaystyle -\frac {3 x^{2/3} \sqrt [3]{x+1} \left (2 \int \frac {1}{\sqrt [3]{x+1} \left (-x^3+x^2+1\right )}d\sqrt [3]{x}-\frac {\arctan \left (\frac {\frac {2 \sqrt [3]{x}}{\sqrt [3]{x+1}}+1}{\sqrt {3}}\right )}{\sqrt {3}}+\frac {1}{2} \log \left (\sqrt [3]{x+1}-\sqrt [3]{x}\right )\right )}{\sqrt [3]{x^3+x^2}}\) |
3.26.31.3.1 Defintions of rubi rules used
Int[(Fx_)*(x_)^(m_), x_Symbol] :> With[{k = Denominator[m]}, Simp[k Subst [Int[x^(k*(m + 1) - 1)*SubstPower[Fx, x, k], x], x, x^(1/k)], x]] /; Fracti onQ[m] && AlgebraicFunctionQ[Fx, x]
Int[(Fx_.)*(Px_)^(p_), x_Symbol] :> With[{r = Expon[Px, x, Min]}, Simp[Px^F racPart[p]/(x^(r*FracPart[p])*ExpandToSum[Px/x^r, x]^FracPart[p]) Int[x^( p*r)*ExpandToSum[Px/x^r, x]^p*Fx, x], x] /; IGtQ[r, 0]] /; FreeQ[p, x] && P olyQ[Px, x] && !IntegerQ[p] && !MonomialQ[Px, x] && !PolyQ[Fx, x]
Time = 184.56 (sec) , antiderivative size = 147, normalized size of antiderivative = 0.69
method | result | size |
pseudoelliptic | \(2 \left (\munderset {\textit {\_R} =\operatorname {RootOf}\left (\textit {\_Z}^{9}-3 \textit {\_Z}^{6}+4 \textit {\_Z}^{3}-3\right )}{\sum }\frac {\left (\textit {\_R}^{6}-2 \textit {\_R}^{3}+1\right ) \ln \left (\frac {-\textit {\_R} x +\left (x^{2} \left (1+x \right )\right )^{\frac {1}{3}}}{x}\right )}{3 \textit {\_R}^{7}-6 \textit {\_R}^{4}+4 \textit {\_R}}\right )-\ln \left (\frac {-x +\left (x^{2} \left (1+x \right )\right )^{\frac {1}{3}}}{x}\right )+\frac {\ln \left (\frac {\left (x^{2} \left (1+x \right )\right )^{\frac {2}{3}}+\left (x^{2} \left (1+x \right )\right )^{\frac {1}{3}} x +x^{2}}{x^{2}}\right )}{2}-\sqrt {3}\, \arctan \left (\frac {\left (2 \left (x^{2} \left (1+x \right )\right )^{\frac {1}{3}}+x \right ) \sqrt {3}}{3 x}\right )\) | \(147\) |
trager | \(\text {Expression too large to display}\) | \(206332\) |
2*sum((_R^6-2*_R^3+1)*ln((-_R*x+(x^2*(1+x))^(1/3))/x)/(3*_R^7-6*_R^4+4*_R) ,_R=RootOf(_Z^9-3*_Z^6+4*_Z^3-3))-ln((-x+(x^2*(1+x))^(1/3))/x)+1/2*ln(((x^ 2*(1+x))^(2/3)+(x^2*(1+x))^(1/3)*x+x^2)/x^2)-3^(1/2)*arctan(1/3*(2*(x^2*(1 +x))^(1/3)+x)*3^(1/2)/x)
Result contains higher order function than in optimal. Order 3 vs. order 1.
Time = 0.99 (sec) , antiderivative size = 3326, normalized size of antiderivative = 15.69 \[ \int \frac {1-x^2+x^3}{\left (-1-x^2+x^3\right ) \sqrt [3]{x^2+x^3}} \, dx=\text {Too large to display} \]
1/11532*5766^(2/3)*(sqrt(31)*sqrt(-496/3*(11*(4/961)^(1/3)*(81*sqrt(93) + 31)^(1/3) - 5797*(4/961)^(2/3)/(81*sqrt(93) + 31)^(1/3) + 2)^2 + 21824/3*( 4/961)^(1/3)*(81*sqrt(93) + 31)^(1/3) - 11501248/3*(4/961)^(2/3)/(81*sqrt( 93) + 31)^(1/3) - 524608/3) - 1364/3*(4/961)^(1/3)*(81*sqrt(93) + 31)^(1/3 ) + 718828/3*(4/961)^(2/3)/(81*sqrt(93) + 31)^(1/3) + 496/3)^(1/3)*(sqrt(- 3) - 1)*log(-4/837*((25420*5766^(1/3)*(sqrt(-3)*x + x)*(11*(4/961)^(1/3)*( 81*sqrt(93) + 31)^(1/3) - 5797*(4/961)^(2/3)/(81*sqrt(93) + 31)^(1/3) + 2) ^2 - 221712*5766^(1/3)*(sqrt(-3)*x + x)*(11*(4/961)^(1/3)*(81*sqrt(93) + 3 1)^(1/3) - 5797*(4/961)^(2/3)/(81*sqrt(93) + 31)^(1/3) + 2) + 3*(205*5766^ (1/3)*sqrt(31)*(sqrt(-3)*x + x)*(11*(4/961)^(1/3)*(81*sqrt(93) + 31)^(1/3) - 5797*(4/961)^(2/3)/(81*sqrt(93) + 31)^(1/3) + 2) + 558*5766^(1/3)*sqrt( 31)*(sqrt(-3)*x + x))*sqrt(-496/3*(11*(4/961)^(1/3)*(81*sqrt(93) + 31)^(1/ 3) - 5797*(4/961)^(2/3)/(81*sqrt(93) + 31)^(1/3) + 2)^2 + 21824/3*(4/961)^ (1/3)*(81*sqrt(93) + 31)^(1/3) - 11501248/3*(4/961)^(2/3)/(81*sqrt(93) + 3 1)^(1/3) - 524608/3) - 1218672*5766^(1/3)*(sqrt(-3)*x + x))*(sqrt(31)*sqrt (-496/3*(11*(4/961)^(1/3)*(81*sqrt(93) + 31)^(1/3) - 5797*(4/961)^(2/3)/(8 1*sqrt(93) + 31)^(1/3) + 2)^2 + 21824/3*(4/961)^(1/3)*(81*sqrt(93) + 31)^( 1/3) - 11501248/3*(4/961)^(2/3)/(81*sqrt(93) + 31)^(1/3) - 524608/3) - 136 4/3*(4/961)^(1/3)*(81*sqrt(93) + 31)^(1/3) + 718828/3*(4/961)^(2/3)/(81*sq rt(93) + 31)^(1/3) + 496/3)^(2/3) - 43401650688*(x^3 + x^2)^(1/3))/x) -...
Not integrable
Time = 15.32 (sec) , antiderivative size = 27, normalized size of antiderivative = 0.13 \[ \int \frac {1-x^2+x^3}{\left (-1-x^2+x^3\right ) \sqrt [3]{x^2+x^3}} \, dx=\int \frac {x^{3} - x^{2} + 1}{\sqrt [3]{x^{2} \left (x + 1\right )} \left (x^{3} - x^{2} - 1\right )}\, dx \]
Not integrable
Time = 0.25 (sec) , antiderivative size = 34, normalized size of antiderivative = 0.16 \[ \int \frac {1-x^2+x^3}{\left (-1-x^2+x^3\right ) \sqrt [3]{x^2+x^3}} \, dx=\int { \frac {x^{3} - x^{2} + 1}{{\left (x^{3} + x^{2}\right )}^{\frac {1}{3}} {\left (x^{3} - x^{2} - 1\right )}} \,d x } \]
Not integrable
Time = 0.31 (sec) , antiderivative size = 34, normalized size of antiderivative = 0.16 \[ \int \frac {1-x^2+x^3}{\left (-1-x^2+x^3\right ) \sqrt [3]{x^2+x^3}} \, dx=\int { \frac {x^{3} - x^{2} + 1}{{\left (x^{3} + x^{2}\right )}^{\frac {1}{3}} {\left (x^{3} - x^{2} - 1\right )}} \,d x } \]
Not integrable
Time = 0.00 (sec) , antiderivative size = 35, normalized size of antiderivative = 0.17 \[ \int \frac {1-x^2+x^3}{\left (-1-x^2+x^3\right ) \sqrt [3]{x^2+x^3}} \, dx=\int -\frac {x^3-x^2+1}{{\left (x^3+x^2\right )}^{1/3}\,\left (-x^3+x^2+1\right )} \,d x \]