Optimal. Leaf size=81 \[ \frac {1}{4} \tan ^{-1}\left (\frac {1-\sqrt [3]{1-3 x^2}}{x}\right )+\frac {\tanh ^{-1}\left (\frac {x}{\sqrt {3}}\right )}{4 \sqrt {3}}-\frac {\tanh ^{-1}\left (\frac {\left (1-\sqrt [3]{1-3 x^2}\right )^2}{3 \sqrt {3} x}\right )}{4 \sqrt {3}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.01, antiderivative size = 81, normalized size of antiderivative = 1.00, number of steps
used = 1, number of rules used = 1, integrand size = 21, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.048, Rules used = {404}
\begin {gather*} \frac {1}{4} \text {ArcTan}\left (\frac {1-\sqrt [3]{1-3 x^2}}{x}\right )-\frac {\tanh ^{-1}\left (\frac {\left (1-\sqrt [3]{1-3 x^2}\right )^2}{3 \sqrt {3} x}\right )}{4 \sqrt {3}}+\frac {\tanh ^{-1}\left (\frac {x}{\sqrt {3}}\right )}{4 \sqrt {3}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 404
Rubi steps
\begin {align*} \int \frac {1}{\sqrt [3]{1-3 x^2} \left (3-x^2\right )} \, dx &=\frac {1}{4} \tan ^{-1}\left (\frac {1-\sqrt [3]{1-3 x^2}}{x}\right )+\frac {\tanh ^{-1}\left (\frac {x}{\sqrt {3}}\right )}{4 \sqrt {3}}-\frac {\tanh ^{-1}\left (\frac {\left (1-\sqrt [3]{1-3 x^2}\right )^2}{3 \sqrt {3} x}\right )}{4 \sqrt {3}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] Result contains higher order function than in optimal. Order 6 vs. order 3 in
optimal.
time = 4.95, size = 126, normalized size = 1.56 \begin {gather*} -\frac {9 x F_1\left (\frac {1}{2};\frac {1}{3},1;\frac {3}{2};3 x^2,\frac {x^2}{3}\right )}{\sqrt [3]{1-3 x^2} \left (-3+x^2\right ) \left (9 F_1\left (\frac {1}{2};\frac {1}{3},1;\frac {3}{2};3 x^2,\frac {x^2}{3}\right )+2 x^2 \left (F_1\left (\frac {3}{2};\frac {1}{3},2;\frac {5}{2};3 x^2,\frac {x^2}{3}\right )+3 F_1\left (\frac {3}{2};\frac {4}{3},1;\frac {5}{2};3 x^2,\frac {x^2}{3}\right )\right )\right )} \end {gather*}
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
Maple [C] Result contains higher order function than in optimal. Order 9 vs. order
3.
time = 3.62, size = 651, normalized size = 8.04
method | result | size |
trager | \(-48 \ln \left (-\frac {18432 \RootOf \left (2304 \textit {\_Z}^{4}+48 \textit {\_Z}^{2}+1\right )^{5} \left (-3 x^{2}+1\right )^{\frac {1}{3}} x -36864 \RootOf \left (2304 \textit {\_Z}^{4}+48 \textit {\_Z}^{2}+1\right )^{5} x +768 \RootOf \left (2304 \textit {\_Z}^{4}+48 \textit {\_Z}^{2}+1\right )^{3} \left (-3 x^{2}+1\right )^{\frac {1}{3}} x -2304 \RootOf \left (2304 \textit {\_Z}^{4}+48 \textit {\_Z}^{2}+1\right )^{3} x -48 \RootOf \left (2304 \textit {\_Z}^{4}+48 \textit {\_Z}^{2}+1\right )^{2} x^{2}-96 \RootOf \left (2304 \textit {\_Z}^{4}+48 \textit {\_Z}^{2}+1\right )^{2} \left (-3 x^{2}+1\right )^{\frac {1}{3}}-48 \RootOf \left (2304 \textit {\_Z}^{4}+48 \textit {\_Z}^{2}+1\right )^{2}-32 \RootOf \left (2304 \textit {\_Z}^{4}+48 \textit {\_Z}^{2}+1\right ) x -2 \left (-3 x^{2}+1\right )^{\frac {2}{3}}-x^{2}-1}{x^{2}-3}\right ) \RootOf \left (2304 \textit {\_Z}^{4}+48 \textit {\_Z}^{2}+1\right )^{3}+\RootOf \left (2304 \textit {\_Z}^{4}+48 \textit {\_Z}^{2}+1\right ) \ln \left (-\frac {9216 \RootOf \left (2304 \textit {\_Z}^{4}+48 \textit {\_Z}^{2}+1\right )^{5} \left (-3 x^{2}+1\right )^{\frac {1}{3}} x -18432 \RootOf \left (2304 \textit {\_Z}^{4}+48 \textit {\_Z}^{2}+1\right )^{5} x +576 \RootOf \left (2304 \textit {\_Z}^{4}+48 \textit {\_Z}^{2}+1\right )^{3} \left (-3 x^{2}+1\right )^{\frac {1}{3}} x -768 \RootOf \left (2304 \textit {\_Z}^{4}+48 \textit {\_Z}^{2}+1\right )^{3} x +24 \RootOf \left (2304 \textit {\_Z}^{4}+48 \textit {\_Z}^{2}+1\right )^{2} x^{2}+48 \RootOf \left (2304 \textit {\_Z}^{4}+48 \textit {\_Z}^{2}+1\right )^{2} \left (-3 x^{2}+1\right )^{\frac {1}{3}}+8 \RootOf \left (2304 \textit {\_Z}^{4}+48 \textit {\_Z}^{2}+1\right ) \left (-3 x^{2}+1\right )^{\frac {1}{3}} x +24 \RootOf \left (2304 \textit {\_Z}^{4}+48 \textit {\_Z}^{2}+1\right )^{2}-\left (-3 x^{2}+1\right )^{\frac {2}{3}}+\left (-3 x^{2}+1\right )^{\frac {1}{3}}}{x^{2}-3}\right )-\ln \left (-\frac {18432 \RootOf \left (2304 \textit {\_Z}^{4}+48 \textit {\_Z}^{2}+1\right )^{5} \left (-3 x^{2}+1\right )^{\frac {1}{3}} x -36864 \RootOf \left (2304 \textit {\_Z}^{4}+48 \textit {\_Z}^{2}+1\right )^{5} x +768 \RootOf \left (2304 \textit {\_Z}^{4}+48 \textit {\_Z}^{2}+1\right )^{3} \left (-3 x^{2}+1\right )^{\frac {1}{3}} x -2304 \RootOf \left (2304 \textit {\_Z}^{4}+48 \textit {\_Z}^{2}+1\right )^{3} x -48 \RootOf \left (2304 \textit {\_Z}^{4}+48 \textit {\_Z}^{2}+1\right )^{2} x^{2}-96 \RootOf \left (2304 \textit {\_Z}^{4}+48 \textit {\_Z}^{2}+1\right )^{2} \left (-3 x^{2}+1\right )^{\frac {1}{3}}-48 \RootOf \left (2304 \textit {\_Z}^{4}+48 \textit {\_Z}^{2}+1\right )^{2}-32 \RootOf \left (2304 \textit {\_Z}^{4}+48 \textit {\_Z}^{2}+1\right ) x -2 \left (-3 x^{2}+1\right )^{\frac {2}{3}}-x^{2}-1}{x^{2}-3}\right ) \RootOf \left (2304 \textit {\_Z}^{4}+48 \textit {\_Z}^{2}+1\right )\) | \(651\) |
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 [B] Leaf count of result is larger than twice the leaf count of optimal. 1792 vs.
\(2 (59) = 118\).
time = 2.21, size = 1792, normalized size = 22.12 \begin {gather*} \text {Too large to display} \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}{x^{2} \sqrt [3]{1 - 3 x^{2}} - 3 \sqrt [3]{1 - 3 x^{2}}}\, 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^2-3\right )\,{\left (1-3\,x^2\right )}^{1/3}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________