Optimal. Leaf size=74 \[ \frac {\tan ^{-1}\left (\frac {\sqrt {3} \left (1-\sqrt [3]{1-x^2}\right )}{x}\right )}{4 \sqrt {3}}+\frac {1}{12} \tanh ^{-1}\left (\frac {x}{3}\right )-\frac {1}{12} \tanh ^{-1}\left (\frac {\left (1-\sqrt [3]{1-x^2}\right )^2}{3 x}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.01, antiderivative size = 74, 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 {\text {ArcTan}\left (\frac {\sqrt {3} \left (1-\sqrt [3]{1-x^2}\right )}{x}\right )}{4 \sqrt {3}}-\frac {1}{12} \tanh ^{-1}\left (\frac {\left (1-\sqrt [3]{1-x^2}\right )^2}{3 x}\right )+\frac {1}{12} \tanh ^{-1}\left (\frac {x}{3}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 404
Rubi steps
\begin {align*} \int \frac {1}{\sqrt [3]{1-x^2} \left (9-x^2\right )} \, dx &=\frac {\tan ^{-1}\left (\frac {\sqrt {3} \left (1-\sqrt [3]{1-x^2}\right )}{x}\right )}{4 \sqrt {3}}+\frac {1}{12} \tanh ^{-1}\left (\frac {x}{3}\right )-\frac {1}{12} \tanh ^{-1}\left (\frac {\left (1-\sqrt [3]{1-x^2}\right )^2}{3 x}\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] Result contains higher order function than in optimal. Order 6 vs. order 3 in
optimal.
time = 9.75, size = 125, normalized size = 1.69 \begin {gather*} \frac {\sqrt [3]{\frac {-1+x}{-3+x}} \sqrt [3]{\frac {1+x}{-3+x}} F_1\left (\frac {2}{3};\frac {1}{3},\frac {1}{3};\frac {5}{3};-\frac {4}{-3+x},-\frac {2}{-3+x}\right )-\sqrt [3]{\frac {-1+x}{3+x}} \sqrt [3]{\frac {1+x}{3+x}} F_1\left (\frac {2}{3};\frac {1}{3},\frac {1}{3};\frac {5}{3};\frac {2}{3+x},\frac {4}{3+x}\right )}{4 \sqrt [3]{1-x^2}} \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.61, size = 365, normalized size = 4.93
method | result | size |
trager | \(-\frac {\ln \left (\frac {576 \left (-x^{2}+1\right )^{\frac {1}{3}} \RootOf \left (144 \textit {\_Z}^{2}+12 \textit {\_Z} +1\right )^{2} x +24 \RootOf \left (144 \textit {\_Z}^{2}+12 \textit {\_Z} +1\right ) \left (-x^{2}+1\right )^{\frac {1}{3}} x -1152 \RootOf \left (144 \textit {\_Z}^{2}+12 \textit {\_Z} +1\right )^{2} x +12 \RootOf \left (144 \textit {\_Z}^{2}+12 \textit {\_Z} +1\right ) x^{2}+6 \left (-x^{2}+1\right )^{\frac {2}{3}}+72 \RootOf \left (144 \textit {\_Z}^{2}+12 \textit {\_Z} +1\right ) \left (-x^{2}+1\right )^{\frac {1}{3}}-144 \RootOf \left (144 \textit {\_Z}^{2}+12 \textit {\_Z} +1\right ) x +x^{2}+36 \RootOf \left (144 \textit {\_Z}^{2}+12 \textit {\_Z} +1\right )-4 x +3}{\left (3+x \right ) \left (x -3\right )}\right )}{12}-\frac {\ln \left (\frac {48 \RootOf \left (144 \textit {\_Z}^{2}+12 \textit {\_Z} +1\right ) \left (-x^{2}+1\right )^{\frac {1}{3}} x +6 \left (-x^{2}+1\right )^{\frac {2}{3}}+2 \left (-x^{2}+1\right )^{\frac {1}{3}} x +96 \RootOf \left (144 \textit {\_Z}^{2}+12 \textit {\_Z} +1\right ) x -x^{2}+6 \left (-x^{2}+1\right )^{\frac {1}{3}}+4 x -3}{\left (3+x \right ) \left (x -3\right )}\right )}{12}-\ln \left (\frac {48 \RootOf \left (144 \textit {\_Z}^{2}+12 \textit {\_Z} +1\right ) \left (-x^{2}+1\right )^{\frac {1}{3}} x +6 \left (-x^{2}+1\right )^{\frac {2}{3}}+2 \left (-x^{2}+1\right )^{\frac {1}{3}} x +96 \RootOf \left (144 \textit {\_Z}^{2}+12 \textit {\_Z} +1\right ) x -x^{2}+6 \left (-x^{2}+1\right )^{\frac {1}{3}}+4 x -3}{\left (3+x \right ) \left (x -3\right )}\right ) \RootOf \left (144 \textit {\_Z}^{2}+12 \textit {\_Z} +1\right )\) | \(365\) |
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. 269 vs.
\(2 (53) = 106\).
time = 1.49, size = 269, normalized size = 3.64 \begin {gather*} -\frac {1}{36} \, \sqrt {3} \arctan \left (\frac {36 \, \sqrt {3} {\left (x^{4} - 32 \, x^{3} - 42 \, x^{2} + 9\right )} {\left (-x^{2} + 1\right )}^{\frac {2}{3}} + 12 \, \sqrt {3} {\left (x^{5} + 27 \, x^{4} - 210 \, x^{3} - 54 \, x^{2} + 81 \, x + 27\right )} {\left (-x^{2} + 1\right )}^{\frac {1}{3}} + \sqrt {3} {\left (x^{6} - 108 \, x^{5} - 567 \, x^{4} + 1080 \, x^{3} + 459 \, x^{2} - 972 \, x - 405\right )}}{3 \, {\left (x^{6} + 108 \, x^{5} - 1647 \, x^{4} - 1080 \, x^{3} + 891 \, x^{2} + 972 \, x + 243\right )}}\right ) - \frac {1}{72} \, \log \left (\frac {x^{3} + 33 \, x^{2} + 18 \, {\left (-x^{2} + 1\right )}^{\frac {2}{3}} {\left (x + 1\right )} - 6 \, {\left (x^{2} + 6 \, x - 3\right )} {\left (-x^{2} + 1\right )}^{\frac {1}{3}} - 9 \, x - 9}{x^{3} + 9 \, x^{2} + 27 \, x + 27}\right ) + \frac {1}{36} \, \log \left (-\frac {x^{3} - 33 \, x^{2} + 18 \, {\left (-x^{2} + 1\right )}^{\frac {2}{3}} {\left (x - 1\right )} + 6 \, {\left (x^{2} - 6 \, x - 3\right )} {\left (-x^{2} + 1\right )}^{\frac {1}{3}} - 9 \, x + 9}{x^{3} + 9 \, x^{2} + 27 \, x + 27}\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}{x^{2} \sqrt [3]{1 - x^{2}} - 9 \sqrt [3]{1 - 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 (1-x^2\right )}^{1/3}\,\left (x^2-9\right )} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________