Optimal. Leaf size=149 \[ \frac {b \tan ^{-1}\left (\frac {1-\sqrt {1-x^2}}{\sqrt {2} \sqrt [4]{1-x^2}}\right )}{\sqrt {2}}+\frac {1}{2} a \tan ^{-1}\left (\frac {1-\sqrt {1-x^2}}{x \sqrt [4]{1-x^2}}\right )+\frac {b \tanh ^{-1}\left (\frac {1+\sqrt {1-x^2}}{\sqrt {2} \sqrt [4]{1-x^2}}\right )}{\sqrt {2}}+\frac {1}{2} a \tanh ^{-1}\left (\frac {1+\sqrt {1-x^2}}{x \sqrt [4]{1-x^2}}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.03, antiderivative size = 149, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 3, integrand size = 26, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.115, Rules used = {1024, 406, 450}
\begin {gather*} \frac {1}{2} a \text {ArcTan}\left (\frac {1-\sqrt {1-x^2}}{x \sqrt [4]{1-x^2}}\right )+\frac {1}{2} a \tanh ^{-1}\left (\frac {\sqrt {1-x^2}+1}{x \sqrt [4]{1-x^2}}\right )+\frac {b \text {ArcTan}\left (\frac {1-\sqrt {1-x^2}}{\sqrt {2} \sqrt [4]{1-x^2}}\right )}{\sqrt {2}}+\frac {b \tanh ^{-1}\left (\frac {\sqrt {1-x^2}+1}{\sqrt {2} \sqrt [4]{1-x^2}}\right )}{\sqrt {2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 406
Rule 450
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 {b \tan ^{-1}\left (\frac {1-\sqrt {1-x^2}}{\sqrt {2} \sqrt [4]{1-x^2}}\right )}{\sqrt {2}}+\frac {1}{2} a \tan ^{-1}\left (\frac {1-\sqrt {1-x^2}}{x \sqrt [4]{1-x^2}}\right )+\frac {b \tanh ^{-1}\left (\frac {1+\sqrt {1-x^2}}{\sqrt {2} \sqrt [4]{1-x^2}}\right )}{\sqrt {2}}+\frac {1}{2} a \tanh ^{-1}\left (\frac {1+\sqrt {1-x^2}}{x \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.18, size = 144, normalized size = 0.97 \begin {gather*} \frac {1}{4} b x^2 F_1\left (1;\frac {1}{4},1;2;x^2,\frac {x^2}{2}\right )-\frac {6 a x F_1\left (\frac {1}{2};\frac {1}{4},1;\frac {3}{2};x^2,\frac {x^2}{2}\right )}{\sqrt [4]{1-x^2} \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 )} \end {gather*}
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.04, 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}{x^{2} \sqrt [4]{1 - x^{2}} - 2 \sqrt [4]{1 - x^{2}}}\, dx - \int \frac {b x}{x^{2} \sqrt [4]{1 - x^{2}} - 2 \sqrt [4]{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 {a+b\,x}{{\left (1-x^2\right )}^{1/4}\,\left (x^2-2\right )} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________