Optimal. Leaf size=110 \[ \frac {1}{4} \sqrt {3} \text {ArcTan}\left (\frac {\sqrt {3} \sqrt [3]{-x+x^3}}{1-x+\sqrt [3]{-x+x^3}}\right )+\frac {1}{4} \log \left (-1+x+2 \sqrt [3]{-x+x^3}\right )-\frac {1}{8} \log \left (1-2 x+x^2+(2-2 x) \sqrt [3]{-x+x^3}+4 \left (-x+x^3\right )^{2/3}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [C] Result contains higher order function than in optimal. Order 6 vs. order 3 in
optimal.
time = 0.11, antiderivative size = 192, normalized size of antiderivative = 1.75, number of steps
used = 8, number of rules used = 7, integrand size = 19, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.368, Rules used = {2081, 973, 477,
476, 384, 525, 524} \begin {gather*} -\frac {9 \sqrt [3]{1-x^2} x^2 F_1\left (\frac {5}{6};1,\frac {1}{3};\frac {11}{6};9 x^2,x^2\right )}{5 \sqrt [3]{x^3-x}}-\frac {\sqrt {3} \sqrt [3]{x^2-1} \sqrt [3]{x} \text {ArcTan}\left (\frac {1-\frac {4 x^{2/3}}{\sqrt [3]{x^2-1}}}{\sqrt {3}}\right )}{4 \sqrt [3]{x^3-x}}-\frac {\sqrt [3]{x^2-1} \sqrt [3]{x} \log \left (1-9 x^2\right )}{8 \sqrt [3]{x^3-x}}+\frac {3 \sqrt [3]{x^2-1} \sqrt [3]{x} \log \left (2 x^{2/3}+\sqrt [3]{x^2-1}\right )}{8 \sqrt [3]{x^3-x}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 384
Rule 476
Rule 477
Rule 524
Rule 525
Rule 973
Rule 2081
Rubi steps
\begin {align*} \int \frac {1}{(1+3 x) \sqrt [3]{-x+x^3}} \, dx &=\frac {\left (\sqrt [3]{x} \sqrt [3]{-1+x^2}\right ) \int \frac {1}{\sqrt [3]{x} (1+3 x) \sqrt [3]{-1+x^2}} \, dx}{\sqrt [3]{-x+x^3}}\\ &=\frac {\left (\sqrt [3]{x} \sqrt [3]{-1+x^2}\right ) \int \frac {1}{\sqrt [3]{x} \left (1-9 x^2\right ) \sqrt [3]{-1+x^2}} \, dx}{\sqrt [3]{-x+x^3}}-\frac {\left (3 \sqrt [3]{x} \sqrt [3]{-1+x^2}\right ) \int \frac {x^{2/3}}{\left (1-9 x^2\right ) \sqrt [3]{-1+x^2}} \, dx}{\sqrt [3]{-x+x^3}}\\ &=\frac {\left (3 \sqrt [3]{x} \sqrt [3]{-1+x^2}\right ) \text {Subst}\left (\int \frac {x}{\left (1-9 x^6\right ) \sqrt [3]{-1+x^6}} \, dx,x,\sqrt [3]{x}\right )}{\sqrt [3]{-x+x^3}}-\frac {\left (9 \sqrt [3]{x} \sqrt [3]{-1+x^2}\right ) \text {Subst}\left (\int \frac {x^4}{\left (1-9 x^6\right ) \sqrt [3]{-1+x^6}} \, dx,x,\sqrt [3]{x}\right )}{\sqrt [3]{-x+x^3}}\\ &=-\frac {\left (9 \sqrt [3]{x} \sqrt [3]{1-x^2}\right ) \text {Subst}\left (\int \frac {x^4}{\left (1-9 x^6\right ) \sqrt [3]{1-x^6}} \, dx,x,\sqrt [3]{x}\right )}{\sqrt [3]{-x+x^3}}+\frac {\left (3 \sqrt [3]{x} \sqrt [3]{-1+x^2}\right ) \text {Subst}\left (\int \frac {1}{\left (1-9 x^3\right ) \sqrt [3]{-1+x^3}} \, dx,x,x^{2/3}\right )}{2 \sqrt [3]{-x+x^3}}\\ &=-\frac {9 x^2 \sqrt [3]{1-x^2} F_1\left (\frac {5}{6};1,\frac {1}{3};\frac {11}{6};9 x^2,x^2\right )}{5 \sqrt [3]{-x+x^3}}+\frac {\left (3 \sqrt [3]{x} \sqrt [3]{-1+x^2}\right ) \text {Subst}\left (\int \frac {1}{1+8 x^3} \, dx,x,\frac {x^{2/3}}{\sqrt [3]{-1+x^2}}\right )}{2 \sqrt [3]{-x+x^3}}\\ &=-\frac {9 x^2 \sqrt [3]{1-x^2} F_1\left (\frac {5}{6};1,\frac {1}{3};\frac {11}{6};9 x^2,x^2\right )}{5 \sqrt [3]{-x+x^3}}+\frac {\left (\sqrt [3]{x} \sqrt [3]{-1+x^2}\right ) \text {Subst}\left (\int \frac {1}{1+2 x} \, dx,x,\frac {x^{2/3}}{\sqrt [3]{-1+x^2}}\right )}{2 \sqrt [3]{-x+x^3}}+\frac {\left (\sqrt [3]{x} \sqrt [3]{-1+x^2}\right ) \text {Subst}\left (\int \frac {2-2 x}{1-2 x+4 x^2} \, dx,x,\frac {x^{2/3}}{\sqrt [3]{-1+x^2}}\right )}{2 \sqrt [3]{-x+x^3}}\\ &=-\frac {9 x^2 \sqrt [3]{1-x^2} F_1\left (\frac {5}{6};1,\frac {1}{3};\frac {11}{6};9 x^2,x^2\right )}{5 \sqrt [3]{-x+x^3}}+\frac {\sqrt [3]{x} \sqrt [3]{-1+x^2} \log \left (1+\frac {2 x^{2/3}}{\sqrt [3]{-1+x^2}}\right )}{4 \sqrt [3]{-x+x^3}}-\frac {\left (\sqrt [3]{x} \sqrt [3]{-1+x^2}\right ) \text {Subst}\left (\int \frac {-2+8 x}{1-2 x+4 x^2} \, dx,x,\frac {x^{2/3}}{\sqrt [3]{-1+x^2}}\right )}{8 \sqrt [3]{-x+x^3}}+\frac {\left (3 \sqrt [3]{x} \sqrt [3]{-1+x^2}\right ) \text {Subst}\left (\int \frac {1}{1-2 x+4 x^2} \, dx,x,\frac {x^{2/3}}{\sqrt [3]{-1+x^2}}\right )}{4 \sqrt [3]{-x+x^3}}\\ &=-\frac {9 x^2 \sqrt [3]{1-x^2} F_1\left (\frac {5}{6};1,\frac {1}{3};\frac {11}{6};9 x^2,x^2\right )}{5 \sqrt [3]{-x+x^3}}-\frac {\sqrt [3]{x} \sqrt [3]{-1+x^2} \log \left (1+\frac {4 x^{4/3}}{\left (-1+x^2\right )^{2/3}}-\frac {2 x^{2/3}}{\sqrt [3]{-1+x^2}}\right )}{8 \sqrt [3]{-x+x^3}}+\frac {\sqrt [3]{x} \sqrt [3]{-1+x^2} \log \left (1+\frac {2 x^{2/3}}{\sqrt [3]{-1+x^2}}\right )}{4 \sqrt [3]{-x+x^3}}-\frac {\left (3 \sqrt [3]{x} \sqrt [3]{-1+x^2}\right ) \text {Subst}\left (\int \frac {1}{-12-x^2} \, dx,x,-2+\frac {8 x^{2/3}}{\sqrt [3]{-1+x^2}}\right )}{2 \sqrt [3]{-x+x^3}}\\ &=-\frac {9 x^2 \sqrt [3]{1-x^2} F_1\left (\frac {5}{6};1,\frac {1}{3};\frac {11}{6};9 x^2,x^2\right )}{5 \sqrt [3]{-x+x^3}}-\frac {\sqrt {3} \sqrt [3]{x} \sqrt [3]{-1+x^2} \tan ^{-1}\left (\frac {1-\frac {4 x^{2/3}}{\sqrt [3]{-1+x^2}}}{\sqrt {3}}\right )}{4 \sqrt [3]{-x+x^3}}-\frac {\sqrt [3]{x} \sqrt [3]{-1+x^2} \log \left (1+\frac {4 x^{4/3}}{\left (-1+x^2\right )^{2/3}}-\frac {2 x^{2/3}}{\sqrt [3]{-1+x^2}}\right )}{8 \sqrt [3]{-x+x^3}}+\frac {\sqrt [3]{x} \sqrt [3]{-1+x^2} \log \left (1+\frac {2 x^{2/3}}{\sqrt [3]{-1+x^2}}\right )}{4 \sqrt [3]{-x+x^3}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 20.31, size = 126, normalized size = 1.15 \begin {gather*} -\frac {\sqrt [3]{-1+\frac {1}{x^2}} x \left (2 \sqrt {3} \text {ArcTan}\left (\frac {\sqrt {3} \sqrt [3]{-1+\frac {1}{x^2}}}{1+\sqrt [3]{-1+\frac {1}{x^2}}-\frac {1}{x}}\right )-\log \left (1+4 \left (-1+\frac {1}{x^2}\right )^{2/3}-2 \sqrt [3]{-1+\frac {1}{x^2}} \left (-1+\frac {1}{x}\right )+\frac {1}{x^2}-\frac {2}{x}\right )+2 \log \left (-1+2 \sqrt [3]{-1+\frac {1}{x^2}}+\frac {1}{x}\right )\right )}{8 \sqrt [3]{x \left (-1+x^2\right )}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] Result contains higher order function than in optimal. Order 9 vs. order
3.
time = 2.13, size = 669, normalized size = 6.08
method | result | size |
trager | \(\text {Expression too large to display}\) | \(669\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.61, size = 117, normalized size = 1.06 \begin {gather*} \frac {1}{4} \, \sqrt {3} \arctan \left (\frac {286273 \, \sqrt {3} {\left (x^{3} - x\right )}^{\frac {1}{3}} {\left (x - 1\right )} + \sqrt {3} {\left (635653 \, x^{2} + 434719 \, x + 66978\right )} + 539695 \, \sqrt {3} {\left (x^{3} - x\right )}^{\frac {2}{3}}}{1293894 \, x^{2} + 1974837 \, x - 226981}\right ) + \frac {1}{8} \, \log \left (\frac {9 \, x^{2} + 6 \, {\left (x^{3} - x\right )}^{\frac {1}{3}} {\left (x - 1\right )} + 6 \, x + 12 \, {\left (x^{3} - x\right )}^{\frac {2}{3}} + 1}{9 \, x^{2} + 6 \, x + 1}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {1}{\sqrt [3]{x \left (x - 1\right ) \left (x + 1\right )} \left (3 x + 1\right )}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {1}{{\left (x^3-x\right )}^{1/3}\,\left (3\,x+1\right )} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________