Optimal. Leaf size=81 \[ \frac {\tan ^{-1}\left (\frac {x}{\sqrt {3}}\right )}{4 \sqrt {3}}+\frac {\tan ^{-1}\left (\frac {\left (1-\sqrt [3]{1+3 x^2}\right )^2}{3 \sqrt {3} x}\right )}{4 \sqrt {3}}-\frac {1}{4} \tanh ^{-1}\left (\frac {1-\sqrt [3]{1+3 x^2}}{x}\right ) \]
[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 = 19, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.053, Rules used = {403}
\begin {gather*} \frac {\text {ArcTan}\left (\frac {\left (1-\sqrt [3]{3 x^2+1}\right )^2}{3 \sqrt {3} x}\right )}{4 \sqrt {3}}+\frac {\text {ArcTan}\left (\frac {x}{\sqrt {3}}\right )}{4 \sqrt {3}}-\frac {1}{4} \tanh ^{-1}\left (\frac {1-\sqrt [3]{3 x^2+1}}{x}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 403
Rubi steps
\begin {align*} \int \frac {1}{\left (3+x^2\right ) \sqrt [3]{1+3 x^2}} \, dx &=\frac {\tan ^{-1}\left (\frac {x}{\sqrt {3}}\right )}{4 \sqrt {3}}+\frac {\tan ^{-1}\left (\frac {\left (1-\sqrt [3]{1+3 x^2}\right )^2}{3 \sqrt {3} x}\right )}{4 \sqrt {3}}-\frac {1}{4} \tanh ^{-1}\left (\frac {1-\sqrt [3]{1+3 x^2}}{x}\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] Result contains higher order function than in optimal. Order 6 vs. order 3 in
optimal.
time = 4.61, 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 )}{\left (3+x^2\right ) \sqrt [3]{1+3 x^2} \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 = 1.18, size = 239, normalized size = 2.95
method | result | size |
trager | \(-\frac {\RootOf \left (\textit {\_Z}^{2}+3\right ) \ln \left (-\frac {2 \RootOf \left (\textit {\_Z}^{2}+3\right ) \left (3 x^{2}+1\right )^{\frac {1}{3}} x -\RootOf \left (\textit {\_Z}^{2}+3\right ) x^{2}+4 \left (3 x^{2}+1\right )^{\frac {2}{3}}+2 \RootOf \left (\textit {\_Z}^{2}+3\right ) \left (3 x^{2}+1\right )^{\frac {1}{3}}-2 \left (3 x^{2}+1\right )^{\frac {1}{3}} x -4 \RootOf \left (\textit {\_Z}^{2}+3\right ) x -x^{2}-2 \left (3 x^{2}+1\right )^{\frac {1}{3}}+\RootOf \left (\textit {\_Z}^{2}+3\right )-4 x +1}{x^{2}+3}\right )}{12}+\frac {\ln \left (-\frac {2 \left (3 x^{2}+1\right )^{\frac {2}{3}}+2 \left (3 x^{2}+1\right )^{\frac {1}{3}} x +x^{2}+2 \left (3 x^{2}+1\right )^{\frac {1}{3}}+4 x -1}{x^{2}+3}\right )}{8}-\frac {\ln \left (-\frac {2 \left (3 x^{2}+1\right )^{\frac {2}{3}}+2 \left (3 x^{2}+1\right )^{\frac {1}{3}} x +x^{2}+2 \left (3 x^{2}+1\right )^{\frac {1}{3}}+4 x -1}{x^{2}+3}\right ) \RootOf \left (\textit {\_Z}^{2}+3\right )}{24}\) | \(239\) |
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. 345 vs.
\(2 (59) = 118\).
time = 1.45, size = 345, normalized size = 4.26 \begin {gather*} \frac {1}{36} \, \sqrt {3} \arctan \left (\frac {4 \, \sqrt {3} {\left (3 \, x^{4} - 10 \, x^{3} - 36 \, x^{2} + 18 \, x + 9\right )} {\left (3 \, x^{2} + 1\right )}^{\frac {2}{3}} - 4 \, \sqrt {3} {\left (x^{5} + 15 \, x^{4} - 26 \, x^{3} - 54 \, x^{2} + 9 \, x - 9\right )} {\left (3 \, x^{2} + 1\right )}^{\frac {1}{3}} + \sqrt {3} {\left (x^{6} - 2 \, x^{5} - 105 \, x^{4} - 28 \, x^{3} + 63 \, x^{2} + 126 \, x + 9\right )}}{x^{6} + 126 \, x^{5} - 225 \, x^{4} - 828 \, x^{3} - 81 \, x^{2} - 162 \, x + 81}\right ) - \frac {1}{36} \, \sqrt {3} \arctan \left (\frac {2 \, {\left (2 \, \sqrt {3} {\left (23 \, x^{3} + 9 \, x\right )} {\left (3 \, x^{2} + 1\right )}^{\frac {2}{3}} + \sqrt {3} {\left (x^{5} - 80 \, x^{3} - 9 \, x\right )} {\left (3 \, x^{2} + 1\right )}^{\frac {1}{3}} + \sqrt {3} {\left (11 \, x^{5} + 10 \, x^{3} - 9 \, x\right )}\right )}}{x^{6} - 657 \, x^{4} - 189 \, x^{2} - 27}\right ) + \frac {1}{24} \, \log \left (\frac {x^{6} + 108 \, x^{5} + 549 \, x^{4} + 360 \, x^{3} + 99 \, x^{2} + 6 \, {\left (3 \, x^{4} + 32 \, x^{3} + 42 \, x^{2} + 3\right )} {\left (3 \, x^{2} + 1\right )}^{\frac {2}{3}} + 6 \, {\left (x^{5} + 27 \, x^{4} + 70 \, x^{3} + 18 \, x^{2} + 9 \, x + 3\right )} {\left (3 \, x^{2} + 1\right )}^{\frac {1}{3}} + 108 \, x - 9}{x^{6} + 9 \, x^{4} + 27 \, x^{2} + 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}{\left (x^{2} + 3\right ) \sqrt [3]{3 x^{2} + 1}}\, 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 (3\,x^2+1\right )}^{1/3}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________