Optimal. Leaf size=198 \[ \frac {a \tan ^{-1}\left (\frac {x}{\sqrt [3]{2} \sqrt [3]{x^2+1}+1}\right )}{2\ 2^{2/3}}-\frac {a \tanh ^{-1}\left (\frac {\sqrt {3} \left (1-\sqrt [3]{2} \sqrt [3]{x^2+1}\right )}{x}\right )}{2\ 2^{2/3} \sqrt {3}}-\frac {a \tan ^{-1}(x)}{6\ 2^{2/3}}-\frac {a \tanh ^{-1}\left (\frac {\sqrt {3}}{x}\right )}{2\ 2^{2/3} \sqrt {3}}+\frac {b \log \left (3-x^2\right )}{4\ 2^{2/3}}-\frac {3 b \log \left (2^{2/3}-\sqrt [3]{x^2+1}\right )}{4\ 2^{2/3}}-\frac {\sqrt {3} b \tan ^{-1}\left (\frac {\sqrt [3]{2} \sqrt [3]{x^2+1}+1}{\sqrt {3}}\right )}{2\ 2^{2/3}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.09, antiderivative size = 198, normalized size of antiderivative = 1.00, number of steps used = 7, number of rules used = 7, integrand size = 24, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.292, Rules used = {1010, 392, 444, 55, 617, 204, 31} \[ \frac {a \tan ^{-1}\left (\frac {x}{\sqrt [3]{2} \sqrt [3]{x^2+1}+1}\right )}{2\ 2^{2/3}}-\frac {a \tanh ^{-1}\left (\frac {\sqrt {3} \left (1-\sqrt [3]{2} \sqrt [3]{x^2+1}\right )}{x}\right )}{2\ 2^{2/3} \sqrt {3}}-\frac {a \tan ^{-1}(x)}{6\ 2^{2/3}}-\frac {a \tanh ^{-1}\left (\frac {\sqrt {3}}{x}\right )}{2\ 2^{2/3} \sqrt {3}}+\frac {b \log \left (3-x^2\right )}{4\ 2^{2/3}}-\frac {3 b \log \left (2^{2/3}-\sqrt [3]{x^2+1}\right )}{4\ 2^{2/3}}-\frac {\sqrt {3} b \tan ^{-1}\left (\frac {\sqrt [3]{2} \sqrt [3]{x^2+1}+1}{\sqrt {3}}\right )}{2\ 2^{2/3}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 31
Rule 55
Rule 204
Rule 392
Rule 444
Rule 617
Rule 1010
Rubi steps
\begin {align*} \int \frac {a+b x}{\left (3-x^2\right ) \sqrt [3]{1+x^2}} \, dx &=a \int \frac {1}{\left (3-x^2\right ) \sqrt [3]{1+x^2}} \, dx+b \int \frac {x}{\left (3-x^2\right ) \sqrt [3]{1+x^2}} \, dx\\ &=-\frac {a \tan ^{-1}(x)}{6\ 2^{2/3}}+\frac {a \tan ^{-1}\left (\frac {x}{1+\sqrt [3]{2} \sqrt [3]{1+x^2}}\right )}{2\ 2^{2/3}}-\frac {a \tanh ^{-1}\left (\frac {\sqrt {3}}{x}\right )}{2\ 2^{2/3} \sqrt {3}}-\frac {a \tanh ^{-1}\left (\frac {\sqrt {3} \left (1-\sqrt [3]{2} \sqrt [3]{1+x^2}\right )}{x}\right )}{2\ 2^{2/3} \sqrt {3}}+\frac {1}{2} b \operatorname {Subst}\left (\int \frac {1}{(3-x) \sqrt [3]{1+x}} \, dx,x,x^2\right )\\ &=-\frac {a \tan ^{-1}(x)}{6\ 2^{2/3}}+\frac {a \tan ^{-1}\left (\frac {x}{1+\sqrt [3]{2} \sqrt [3]{1+x^2}}\right )}{2\ 2^{2/3}}-\frac {a \tanh ^{-1}\left (\frac {\sqrt {3}}{x}\right )}{2\ 2^{2/3} \sqrt {3}}-\frac {a \tanh ^{-1}\left (\frac {\sqrt {3} \left (1-\sqrt [3]{2} \sqrt [3]{1+x^2}\right )}{x}\right )}{2\ 2^{2/3} \sqrt {3}}+\frac {b \log \left (3-x^2\right )}{4\ 2^{2/3}}-\frac {1}{4} (3 b) \operatorname {Subst}\left (\int \frac {1}{2 \sqrt [3]{2}+2^{2/3} x+x^2} \, dx,x,\sqrt [3]{1+x^2}\right )+\frac {(3 b) \operatorname {Subst}\left (\int \frac {1}{2^{2/3}-x} \, dx,x,\sqrt [3]{1+x^2}\right )}{4\ 2^{2/3}}\\ &=-\frac {a \tan ^{-1}(x)}{6\ 2^{2/3}}+\frac {a \tan ^{-1}\left (\frac {x}{1+\sqrt [3]{2} \sqrt [3]{1+x^2}}\right )}{2\ 2^{2/3}}-\frac {a \tanh ^{-1}\left (\frac {\sqrt {3}}{x}\right )}{2\ 2^{2/3} \sqrt {3}}-\frac {a \tanh ^{-1}\left (\frac {\sqrt {3} \left (1-\sqrt [3]{2} \sqrt [3]{1+x^2}\right )}{x}\right )}{2\ 2^{2/3} \sqrt {3}}+\frac {b \log \left (3-x^2\right )}{4\ 2^{2/3}}-\frac {3 b \log \left (2^{2/3}-\sqrt [3]{1+x^2}\right )}{4\ 2^{2/3}}+\frac {(3 b) \operatorname {Subst}\left (\int \frac {1}{-3-x^2} \, dx,x,1+\sqrt [3]{2} \sqrt [3]{1+x^2}\right )}{2\ 2^{2/3}}\\ &=-\frac {a \tan ^{-1}(x)}{6\ 2^{2/3}}+\frac {a \tan ^{-1}\left (\frac {x}{1+\sqrt [3]{2} \sqrt [3]{1+x^2}}\right )}{2\ 2^{2/3}}-\frac {\sqrt {3} b \tan ^{-1}\left (\frac {1+\sqrt [3]{2} \sqrt [3]{1+x^2}}{\sqrt {3}}\right )}{2\ 2^{2/3}}-\frac {a \tanh ^{-1}\left (\frac {\sqrt {3}}{x}\right )}{2\ 2^{2/3} \sqrt {3}}-\frac {a \tanh ^{-1}\left (\frac {\sqrt {3} \left (1-\sqrt [3]{2} \sqrt [3]{1+x^2}\right )}{x}\right )}{2\ 2^{2/3} \sqrt {3}}+\frac {b \log \left (3-x^2\right )}{4\ 2^{2/3}}-\frac {3 b \log \left (2^{2/3}-\sqrt [3]{1+x^2}\right )}{4\ 2^{2/3}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] time = 0.24, size = 153, normalized size = 0.77 \[ \frac {1}{6} b x^2 F_1\left (1;\frac {1}{3},1;2;-x^2,\frac {x^2}{3}\right )-\frac {9 a x F_1\left (\frac {1}{2};\frac {1}{3},1;\frac {3}{2};-x^2,\frac {x^2}{3}\right )}{\left (x^2-3\right ) \sqrt [3]{x^2+1} \left (2 x^2 \left (F_1\left (\frac {3}{2};\frac {1}{3},2;\frac {5}{2};-x^2,\frac {x^2}{3}\right )-F_1\left (\frac {3}{2};\frac {4}{3},1;\frac {5}{2};-x^2,\frac {x^2}{3}\right )\right )+9 F_1\left (\frac {1}{2};\frac {1}{3},1;\frac {3}{2};-x^2,\frac {x^2}{3}\right )\right )} \]
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
fricas [F(-2)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Exception raised: TypeError} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int -\frac {b x + a}{{\left (x^{2} + 1\right )}^{\frac {1}{3}} {\left (x^{2} - 3\right )}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [F] time = 0.11, size = 0, normalized size = 0.00 \[ \int \frac {b x +a}{\left (-x^{2}+3\right ) \left (x^{2}+1\right )^{\frac {1}{3}}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ -\int \frac {b x + a}{{\left (x^{2} + 1\right )}^{\frac {1}{3}} {\left (x^{2} - 3\right )}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.01 \[ \int -\frac {a+b\,x}{{\left (x^2+1\right )}^{1/3}\,\left (x^2-3\right )} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ - \int \frac {a}{x^{2} \sqrt [3]{x^{2} + 1} - 3 \sqrt [3]{x^{2} + 1}}\, dx - \int \frac {b x}{x^{2} \sqrt [3]{x^{2} + 1} - 3 \sqrt [3]{x^{2} + 1}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________