Optimal. Leaf size=88 \[ \frac {a \tan ^{-1}\left (\frac {x}{\sqrt {2} \sqrt [4]{-1-x^2}}\right )}{2 \sqrt {2}}+b \tan ^{-1}\left (\sqrt [4]{-1-x^2}\right )+\frac {a \tanh ^{-1}\left (\frac {x}{\sqrt {2} \sqrt [4]{-1-x^2}}\right )}{2 \sqrt {2}}-b \tanh ^{-1}\left (\sqrt [4]{-1-x^2}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.03, antiderivative size = 88, 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 = {1024, 407, 455,
65, 304, 209, 212} \begin {gather*} \frac {a \text {ArcTan}\left (\frac {x}{\sqrt {2} \sqrt [4]{-x^2-1}}\right )}{2 \sqrt {2}}+\frac {a \tanh ^{-1}\left (\frac {x}{\sqrt {2} \sqrt [4]{-x^2-1}}\right )}{2 \sqrt {2}}+b \text {ArcTan}\left (\sqrt [4]{-x^2-1}\right )-b \tanh ^{-1}\left (\sqrt [4]{-x^2-1}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 65
Rule 209
Rule 212
Rule 304
Rule 407
Rule 455
Rule 1024
Rubi steps
\begin {align*} \int \frac {a+b x}{\sqrt [4]{-1-x^2} \left (2+x^2\right )} \, dx &=a \int \frac {1}{\sqrt [4]{-1-x^2} \left (2+x^2\right )} \, dx+b \int \frac {x}{\sqrt [4]{-1-x^2} \left (2+x^2\right )} \, dx\\ &=\frac {a \tan ^{-1}\left (\frac {x}{\sqrt {2} \sqrt [4]{-1-x^2}}\right )}{2 \sqrt {2}}+\frac {a \tanh ^{-1}\left (\frac {x}{\sqrt {2} \sqrt [4]{-1-x^2}}\right )}{2 \sqrt {2}}+\frac {1}{2} b \text {Subst}\left (\int \frac {1}{\sqrt [4]{-1-x} (2+x)} \, dx,x,x^2\right )\\ &=\frac {a \tan ^{-1}\left (\frac {x}{\sqrt {2} \sqrt [4]{-1-x^2}}\right )}{2 \sqrt {2}}+\frac {a \tanh ^{-1}\left (\frac {x}{\sqrt {2} \sqrt [4]{-1-x^2}}\right )}{2 \sqrt {2}}-(2 b) \text {Subst}\left (\int \frac {x^2}{1-x^4} \, dx,x,\sqrt [4]{-1-x^2}\right )\\ &=\frac {a \tan ^{-1}\left (\frac {x}{\sqrt {2} \sqrt [4]{-1-x^2}}\right )}{2 \sqrt {2}}+\frac {a \tanh ^{-1}\left (\frac {x}{\sqrt {2} \sqrt [4]{-1-x^2}}\right )}{2 \sqrt {2}}-b \text {Subst}\left (\int \frac {1}{1-x^2} \, dx,x,\sqrt [4]{-1-x^2}\right )+b \text {Subst}\left (\int \frac {1}{1+x^2} \, dx,x,\sqrt [4]{-1-x^2}\right )\\ &=\frac {a \tan ^{-1}\left (\frac {x}{\sqrt {2} \sqrt [4]{-1-x^2}}\right )}{2 \sqrt {2}}+b \tan ^{-1}\left (\sqrt [4]{-1-x^2}\right )+\frac {a \tanh ^{-1}\left (\frac {x}{\sqrt {2} \sqrt [4]{-1-x^2}}\right )}{2 \sqrt {2}}-b \tanh ^{-1}\left (\sqrt [4]{-1-x^2}\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] Result contains higher order function than in optimal. Order 6 vs. order 3 in
optimal.
time = 10.20, size = 162, normalized size = 1.84 \begin {gather*} \frac {x \left (b x \sqrt [4]{1+x^2} F_1\left (1;\frac {1}{4},1;2;-x^2,-\frac {x^2}{2}\right )-\frac {24 a F_1\left (\frac {1}{2};\frac {1}{4},1;\frac {3}{2};-x^2,-\frac {x^2}{2}\right )}{\left (2+x^2\right ) \left (-6 F_1\left (\frac {1}{2};\frac {1}{4},1;\frac {3}{2};-x^2,-\frac {x^2}{2}\right )+x^2 \left (2 F_1\left (\frac {3}{2};\frac {1}{4},2;\frac {5}{2};-x^2,-\frac {x^2}{2}\right )+F_1\left (\frac {3}{2};\frac {5}{4},1;\frac {5}{2};-x^2,-\frac {x^2}{2}\right )\right )\right )}\right )}{4 \sqrt [4]{-1-x^2}} \end {gather*}
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.03, size = 0, normalized size = 0.00 \[\int \frac {b x +a}{\left (-x^{2}-1\right )^{\frac {1}{4}} \left (x^{2}+2\right )}\, 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 [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]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {a + b x}{\sqrt [4]{- x^{2} - 1} \left (x^{2} + 2\right )}\, 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 {a+b\,x}{{\left (-x^2-1\right )}^{1/4}\,\left (x^2+2\right )} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________