Optimal. Leaf size=69 \[ -\frac {2 \tanh ^{-1}\left (\frac {\sqrt {-3+2 \sqrt {3}} \sqrt [6]{a} \left (\sqrt [3]{a}+\sqrt [3]{b} x\right )}{\sqrt {a+b x^3}}\right )}{\sqrt {-3+2 \sqrt {3}} \sqrt [6]{a} \sqrt [3]{b}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.15, antiderivative size = 69, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 2, integrand size = 58, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.034, Rules used = {2165, 212}
\begin {gather*} -\frac {2 \tanh ^{-1}\left (\frac {\sqrt {2 \sqrt {3}-3} \sqrt [6]{a} \left (\sqrt [3]{a}+\sqrt [3]{b} x\right )}{\sqrt {a+b x^3}}\right )}{\sqrt {2 \sqrt {3}-3} \sqrt [6]{a} \sqrt [3]{b}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 212
Rule 2165
Rubi steps
\begin {align*} \int \frac {\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x}{\left (\left (1-\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right ) \sqrt {a+b x^3}} \, dx &=-\frac {\left (2 \sqrt [3]{a}\right ) \text {Subst}\left (\int \frac {1}{1+\left (3-2 \sqrt {3}\right ) a x^2} \, dx,x,\frac {1+\frac {\sqrt [3]{b} x}{\sqrt [3]{a}}}{\sqrt {a+b x^3}}\right )}{\sqrt [3]{b}}\\ &=-\frac {2 \tanh ^{-1}\left (\frac {\sqrt {-3+2 \sqrt {3}} \sqrt [6]{a} \left (\sqrt [3]{a}+\sqrt [3]{b} x\right )}{\sqrt {a+b x^3}}\right )}{\sqrt {-3+2 \sqrt {3}} \sqrt [6]{a} \sqrt [3]{b}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 7.18, size = 84, normalized size = 1.22 \begin {gather*} -\frac {2 \tanh ^{-1}\left (\frac {\sqrt {1+\frac {2}{\sqrt {3}}} \left (a^{2/3}-\sqrt [3]{a} \sqrt [3]{b} x+b^{2/3} x^2\right )}{\sqrt [6]{a} \sqrt {a+b x^3}}\right )}{\sqrt {-3+2 \sqrt {3}} \sqrt [6]{a} \sqrt [3]{b}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.05, size = 0, normalized size = 0.00 \[\int \frac {b^{\frac {1}{3}} x +a^{\frac {1}{3}} \left (1+\sqrt {3}\right )}{\left (b^{\frac {1}{3}} x +a^{\frac {1}{3}} \left (1-\sqrt {3}\right )\right ) \sqrt {b \,x^{3}+a}}\, dx\]
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 = 1.15, size = 1240, normalized size = 17.97 \begin {gather*} \left [\frac {1}{2} \, \sqrt {\frac {1}{3}} a^{\frac {1}{3}} \sqrt {\frac {2 \, \sqrt {3} + 3}{a b^{\frac {2}{3}}}} \log \left (\frac {b^{8} x^{24} - 1840 \, a b^{7} x^{21} + 67264 \, a^{2} b^{6} x^{18} - 58624 \, a^{3} b^{5} x^{15} + 504064 \, a^{4} b^{4} x^{12} + 2140160 \, a^{5} b^{3} x^{9} + 3100672 \, a^{6} b^{2} x^{6} + 1089536 \, a^{7} b x^{3} + 28672 \, a^{8} + 4 \, \sqrt {\frac {1}{3}} \sqrt {b x^{3} + a} {\left ({\left (3 \, b^{7} x^{22} - 2688 \, a b^{6} x^{19} + 56952 \, a^{2} b^{5} x^{16} - 93504 \, a^{3} b^{4} x^{13} - 63552 \, a^{4} b^{3} x^{10} - 377856 \, a^{5} b^{2} x^{7} - 314880 \, a^{6} b x^{4} - 24576 \, a^{7} x - 2 \, \sqrt {3} {\left (b^{7} x^{22} - 764 \, a b^{6} x^{19} + 16860 \, a^{2} b^{5} x^{16} - 19792 \, a^{3} b^{4} x^{13} + 42368 \, a^{4} b^{3} x^{10} + 104448 \, a^{5} b^{2} x^{7} + 90880 \, a^{6} b x^{4} + 7168 \, a^{7} x\right )}\right )} a^{\frac {2}{3}} b^{\frac {2}{3}} + 6 \, {\left (81 \, a b^{7} x^{20} - 4752 \, a^{2} b^{6} x^{17} + 14472 \, a^{3} b^{5} x^{14} - 24192 \, a^{4} b^{4} x^{11} - 39744 \, a^{5} b^{3} x^{8} - 69120 \, a^{6} b^{2} x^{5} - 13824 \, a^{7} b x^{2} - \sqrt {3} {\left (47 \, a b^{7} x^{20} - 2724 \, a^{2} b^{6} x^{17} + 8976 \, a^{3} b^{5} x^{14} - 4928 \, a^{4} b^{4} x^{11} + 32448 \, a^{5} b^{3} x^{8} + 37632 \, a^{6} b^{2} x^{5} + 8192 \, a^{7} b x^{2}\right )}\right )} a^{\frac {1}{3}} - 2 \, {\left (30 \, a b^{7} x^{21} - 5010 \, a^{2} b^{6} x^{18} + 44640 \, a^{3} b^{5} x^{15} - 21360 \, a^{4} b^{4} x^{12} + 79872 \, a^{5} b^{3} x^{9} + 233856 \, a^{6} b^{2} x^{6} + 86016 \, a^{7} b x^{3} + 3072 \, a^{8} - \sqrt {3} {\left (17 \, a b^{7} x^{21} - 2920 \, a^{2} b^{6} x^{18} + 24864 \, a^{3} b^{5} x^{15} - 26576 \, a^{4} b^{4} x^{12} - 56000 \, a^{5} b^{3} x^{9} - 115968 \, a^{6} b^{2} x^{6} - 56320 \, a^{7} b x^{3} - 1024 \, a^{8}\right )}\right )} b^{\frac {1}{3}}\right )} \sqrt {\frac {2 \, \sqrt {3} + 3}{a b^{\frac {2}{3}}}} + 32 \, {\left (9 \, b^{7} x^{22} - 846 \, a b^{6} x^{19} + 4617 \, a^{2} b^{5} x^{16} + 5472 \, a^{3} b^{4} x^{13} + 43776 \, a^{4} b^{3} x^{10} + 98496 \, a^{5} b^{2} x^{7} + 59328 \, a^{6} b x^{4} + 4608 \, a^{7} x - \sqrt {3} {\left (5 \, b^{7} x^{22} - 505 \, a b^{6} x^{19} + 2130 \, a^{2} b^{5} x^{16} - 4928 \, a^{3} b^{4} x^{13} - 28688 \, a^{4} b^{3} x^{10} - 53760 \, a^{5} b^{2} x^{7} - 35200 \, a^{6} b x^{4} - 2560 \, a^{7} x\right )}\right )} a^{\frac {2}{3}} b^{\frac {1}{3}} - 8 \, {\left (3 \, b^{7} x^{23} - 1077 \, a b^{6} x^{20} + 13320 \, a^{2} b^{5} x^{17} - 19200 \, a^{3} b^{4} x^{14} - 111360 \, a^{4} b^{3} x^{11} - 345024 \, a^{5} b^{2} x^{8} - 328704 \, a^{6} b x^{5} - 61440 \, a^{7} x^{2} - 2 \, \sqrt {3} {\left (b^{7} x^{23} - 299 \, a b^{6} x^{20} + 4260 \, a^{2} b^{5} x^{17} + 1520 \, a^{3} b^{4} x^{14} + 26720 \, a^{4} b^{3} x^{11} + 105024 \, a^{5} b^{2} x^{8} + 93184 \, a^{6} b x^{5} + 17920 \, a^{7} x^{2}\right )}\right )} a^{\frac {1}{3}} b^{\frac {2}{3}} + 32 \, \sqrt {3} {\left (35 \, a b^{7} x^{21} - 1141 \, a^{2} b^{6} x^{18} + 2544 \, a^{3} b^{5} x^{15} + 6760 \, a^{4} b^{4} x^{12} + 39520 \, a^{5} b^{3} x^{9} + 55680 \, a^{6} b^{2} x^{6} + 19712 \, a^{7} b x^{3} + 512 \, a^{8}\right )}}{b^{8} x^{24} + 80 \, a b^{7} x^{21} + 2368 \, a^{2} b^{6} x^{18} + 30080 \, a^{3} b^{5} x^{15} + 121984 \, a^{4} b^{4} x^{12} - 240640 \, a^{5} b^{3} x^{9} + 151552 \, a^{6} b^{2} x^{6} - 40960 \, a^{7} b x^{3} + 4096 \, a^{8}}\right ), \sqrt {\frac {1}{3}} a^{\frac {1}{3}} \sqrt {-\frac {2 \, \sqrt {3} + 3}{a b^{\frac {2}{3}}}} \arctan \left (\frac {\sqrt {\frac {1}{3}} {\left (a^{\frac {1}{3}} b x^{2} + 2 \, {\left (\sqrt {3} x - 2 \, x\right )} a^{\frac {2}{3}} b^{\frac {2}{3}} + 2 \, {\left (\sqrt {3} a - a\right )} b^{\frac {1}{3}}\right )} \sqrt {-\frac {2 \, \sqrt {3} + 3}{a b^{\frac {2}{3}}}}}{2 \, \sqrt {b x^{3} + a}}\right )\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 {\sqrt [3]{a} + \sqrt {3} \sqrt [3]{a} + \sqrt [3]{b} x}{\sqrt {a + b x^{3}} \left (- \sqrt {3} \sqrt [3]{a} + \sqrt [3]{a} + \sqrt [3]{b} x\right )}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F(-1)]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \text {Hanged} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________