Optimal. Leaf size=176 \[ -\frac {\tan ^{-1}\left (\frac {\sqrt [4]{1-x^2}}{\sqrt [4]{1-x^2}-\sqrt [4]{2} x+\sqrt [4]{2}}\right )}{2 \sqrt [4]{2}}+\frac {\tan ^{-1}\left (\frac {\sqrt [4]{1-x^2}}{\sqrt [4]{1-x^2}+\sqrt [4]{2} x-\sqrt [4]{2}}\right )}{2 \sqrt [4]{2}}-\frac {\tanh ^{-1}\left (\frac {\left (2 \sqrt [4]{2} x-2 \sqrt [4]{2}\right ) \sqrt [4]{1-x^2}}{\sqrt {2} x^2+2 \sqrt {1-x^2}-2 \sqrt {2} x+\sqrt {2}}\right )}{2 \sqrt [4]{2}} \]
________________________________________________________________________________________
Rubi [C] time = 0.68, antiderivative size = 378, normalized size of antiderivative = 2.15, number of steps used = 32, number of rules used = 18, integrand size = 27, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.667, Rules used = {6725, 746, 399, 490, 1213, 537, 444, 63, 297, 1162, 617, 204, 1165, 628, 1010, 298, 203, 206} \begin {gather*} \frac {\log \left (\sqrt {1-x^2}-2 \sqrt [4]{2} \sqrt [4]{1-x^2}+2 \sqrt {2}\right )}{8 \sqrt [4]{2}}-\frac {\log \left (\sqrt {1-x^2}+2 \sqrt [4]{2} \sqrt [4]{1-x^2}+2 \sqrt {2}\right )}{8 \sqrt [4]{2}}-\frac {\tan ^{-1}\left (\frac {\sqrt [4]{1-x^2}}{\sqrt [4]{2}}\right )}{2 \sqrt [4]{2}}-\frac {\tan ^{-1}\left (1-\frac {\sqrt [4]{1-x^2}}{\sqrt [4]{2}}\right )}{4 \sqrt [4]{2}}+\frac {\tan ^{-1}\left (\frac {\sqrt [4]{1-x^2}}{\sqrt [4]{2}}+1\right )}{4 \sqrt [4]{2}}+\frac {\tanh ^{-1}\left (\frac {\sqrt [4]{1-x^2}}{\sqrt [4]{2}}\right )}{2 \sqrt [4]{2}}-\frac {\sqrt {x^2} \Pi \left (-\frac {1}{\sqrt {2}};\left .\sin ^{-1}\left (\sqrt [4]{1-x^2}\right )\right |-1\right )}{2 \sqrt {2} x}+\frac {3 i \sqrt {x^2} \Pi \left (-\frac {i}{2 \sqrt {2}};\left .\sin ^{-1}\left (\sqrt [4]{1-x^2}\right )\right |-1\right )}{4 \sqrt {2} x}-\frac {3 i \sqrt {x^2} \Pi \left (\frac {i}{2 \sqrt {2}};\left .\sin ^{-1}\left (\sqrt [4]{1-x^2}\right )\right |-1\right )}{4 \sqrt {2} x}+\frac {\sqrt {x^2} \Pi \left (\frac {1}{\sqrt {2}};\left .\sin ^{-1}\left (\sqrt [4]{1-x^2}\right )\right |-1\right )}{2 \sqrt {2} x} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 63
Rule 203
Rule 204
Rule 206
Rule 297
Rule 298
Rule 399
Rule 444
Rule 490
Rule 537
Rule 617
Rule 628
Rule 746
Rule 1010
Rule 1162
Rule 1165
Rule 1213
Rule 6725
Rubi steps
\begin {align*} \int \frac {2+x}{(-3+x) \sqrt [4]{1-x^2} \left (1+x^2\right )} \, dx &=\int \left (\frac {1}{2 (-3+x) \sqrt [4]{1-x^2}}+\frac {-1-x}{2 \sqrt [4]{1-x^2} \left (1+x^2\right )}\right ) \, dx\\ &=\frac {1}{2} \int \frac {1}{(-3+x) \sqrt [4]{1-x^2}} \, dx+\frac {1}{2} \int \frac {-1-x}{\sqrt [4]{1-x^2} \left (1+x^2\right )} \, dx\\ &=-\left (\frac {1}{2} \int \frac {x}{\sqrt [4]{1-x^2} \left (9-x^2\right )} \, dx\right )-\frac {1}{2} \int \frac {1}{\sqrt [4]{1-x^2} \left (1+x^2\right )} \, dx-\frac {1}{2} \int \frac {x}{\sqrt [4]{1-x^2} \left (1+x^2\right )} \, dx-\frac {3}{2} \int \frac {1}{\sqrt [4]{1-x^2} \left (9-x^2\right )} \, dx\\ &=-\left (\frac {1}{4} \operatorname {Subst}\left (\int \frac {1}{\sqrt [4]{1-x} (9-x)} \, dx,x,x^2\right )\right )-\frac {1}{4} \operatorname {Subst}\left (\int \frac {1}{\sqrt [4]{1-x} (1+x)} \, dx,x,x^2\right )-\frac {\sqrt {x^2} \operatorname {Subst}\left (\int \frac {x^2}{\sqrt {1-x^4} \left (-2+x^4\right )} \, dx,x,\sqrt [4]{1-x^2}\right )}{x}-\frac {\left (3 \sqrt {x^2}\right ) \operatorname {Subst}\left (\int \frac {x^2}{\left (-8-x^4\right ) \sqrt {1-x^4}} \, dx,x,\sqrt [4]{1-x^2}\right )}{x}\\ &=\frac {\sqrt {x^2} \operatorname {Subst}\left (\int \frac {1}{\left (\sqrt {2}-x^2\right ) \sqrt {1-x^4}} \, dx,x,\sqrt [4]{1-x^2}\right )}{2 x}-\frac {\sqrt {x^2} \operatorname {Subst}\left (\int \frac {1}{\left (\sqrt {2}+x^2\right ) \sqrt {1-x^4}} \, dx,x,\sqrt [4]{1-x^2}\right )}{2 x}-\frac {\left (3 \sqrt {x^2}\right ) \operatorname {Subst}\left (\int \frac {1}{\left (2 i \sqrt {2}-x^2\right ) \sqrt {1-x^4}} \, dx,x,\sqrt [4]{1-x^2}\right )}{2 x}+\frac {\left (3 \sqrt {x^2}\right ) \operatorname {Subst}\left (\int \frac {1}{\left (2 i \sqrt {2}+x^2\right ) \sqrt {1-x^4}} \, dx,x,\sqrt [4]{1-x^2}\right )}{2 x}+\operatorname {Subst}\left (\int \frac {x^2}{2-x^4} \, dx,x,\sqrt [4]{1-x^2}\right )+\operatorname {Subst}\left (\int \frac {x^2}{8+x^4} \, dx,x,\sqrt [4]{1-x^2}\right )\\ &=\frac {1}{2} \operatorname {Subst}\left (\int \frac {1}{\sqrt {2}-x^2} \, dx,x,\sqrt [4]{1-x^2}\right )-\frac {1}{2} \operatorname {Subst}\left (\int \frac {1}{\sqrt {2}+x^2} \, dx,x,\sqrt [4]{1-x^2}\right )-\frac {1}{2} \operatorname {Subst}\left (\int \frac {2 \sqrt {2}-x^2}{8+x^4} \, dx,x,\sqrt [4]{1-x^2}\right )+\frac {1}{2} \operatorname {Subst}\left (\int \frac {2 \sqrt {2}+x^2}{8+x^4} \, dx,x,\sqrt [4]{1-x^2}\right )+\frac {\sqrt {x^2} \operatorname {Subst}\left (\int \frac {1}{\sqrt {1-x^2} \left (\sqrt {2}-x^2\right ) \sqrt {1+x^2}} \, dx,x,\sqrt [4]{1-x^2}\right )}{2 x}-\frac {\sqrt {x^2} \operatorname {Subst}\left (\int \frac {1}{\sqrt {1-x^2} \sqrt {1+x^2} \left (\sqrt {2}+x^2\right )} \, dx,x,\sqrt [4]{1-x^2}\right )}{2 x}-\frac {\left (3 \sqrt {x^2}\right ) \operatorname {Subst}\left (\int \frac {1}{\sqrt {1-x^2} \left (2 i \sqrt {2}-x^2\right ) \sqrt {1+x^2}} \, dx,x,\sqrt [4]{1-x^2}\right )}{2 x}+\frac {\left (3 \sqrt {x^2}\right ) \operatorname {Subst}\left (\int \frac {1}{\sqrt {1-x^2} \sqrt {1+x^2} \left (2 i \sqrt {2}+x^2\right )} \, dx,x,\sqrt [4]{1-x^2}\right )}{2 x}\\ &=-\frac {\tan ^{-1}\left (\frac {\sqrt [4]{1-x^2}}{\sqrt [4]{2}}\right )}{2 \sqrt [4]{2}}+\frac {\tanh ^{-1}\left (\frac {\sqrt [4]{1-x^2}}{\sqrt [4]{2}}\right )}{2 \sqrt [4]{2}}-\frac {\sqrt {x^2} \Pi \left (-\frac {1}{\sqrt {2}};\left .\sin ^{-1}\left (\sqrt [4]{1-x^2}\right )\right |-1\right )}{2 \sqrt {2} x}+\frac {3 i \sqrt {x^2} \Pi \left (-\frac {i}{2 \sqrt {2}};\left .\sin ^{-1}\left (\sqrt [4]{1-x^2}\right )\right |-1\right )}{4 \sqrt {2} x}-\frac {3 i \sqrt {x^2} \Pi \left (\frac {i}{2 \sqrt {2}};\left .\sin ^{-1}\left (\sqrt [4]{1-x^2}\right )\right |-1\right )}{4 \sqrt {2} x}+\frac {\sqrt {x^2} \Pi \left (\frac {1}{\sqrt {2}};\left .\sin ^{-1}\left (\sqrt [4]{1-x^2}\right )\right |-1\right )}{2 \sqrt {2} x}+\frac {1}{4} \operatorname {Subst}\left (\int \frac {1}{2 \sqrt {2}-2 \sqrt [4]{2} x+x^2} \, dx,x,\sqrt [4]{1-x^2}\right )+\frac {1}{4} \operatorname {Subst}\left (\int \frac {1}{2 \sqrt {2}+2 \sqrt [4]{2} x+x^2} \, dx,x,\sqrt [4]{1-x^2}\right )+\frac {\operatorname {Subst}\left (\int \frac {2 \sqrt [4]{2}+2 x}{-2 \sqrt {2}-2 \sqrt [4]{2} x-x^2} \, dx,x,\sqrt [4]{1-x^2}\right )}{8 \sqrt [4]{2}}+\frac {\operatorname {Subst}\left (\int \frac {2 \sqrt [4]{2}-2 x}{-2 \sqrt {2}+2 \sqrt [4]{2} x-x^2} \, dx,x,\sqrt [4]{1-x^2}\right )}{8 \sqrt [4]{2}}\\ &=-\frac {\tan ^{-1}\left (\frac {\sqrt [4]{1-x^2}}{\sqrt [4]{2}}\right )}{2 \sqrt [4]{2}}+\frac {\tanh ^{-1}\left (\frac {\sqrt [4]{1-x^2}}{\sqrt [4]{2}}\right )}{2 \sqrt [4]{2}}-\frac {\sqrt {x^2} \Pi \left (-\frac {1}{\sqrt {2}};\left .\sin ^{-1}\left (\sqrt [4]{1-x^2}\right )\right |-1\right )}{2 \sqrt {2} x}+\frac {3 i \sqrt {x^2} \Pi \left (-\frac {i}{2 \sqrt {2}};\left .\sin ^{-1}\left (\sqrt [4]{1-x^2}\right )\right |-1\right )}{4 \sqrt {2} x}-\frac {3 i \sqrt {x^2} \Pi \left (\frac {i}{2 \sqrt {2}};\left .\sin ^{-1}\left (\sqrt [4]{1-x^2}\right )\right |-1\right )}{4 \sqrt {2} x}+\frac {\sqrt {x^2} \Pi \left (\frac {1}{\sqrt {2}};\left .\sin ^{-1}\left (\sqrt [4]{1-x^2}\right )\right |-1\right )}{2 \sqrt {2} x}+\frac {\log \left (2 \sqrt {2}-2 \sqrt [4]{2} \sqrt [4]{1-x^2}+\sqrt {1-x^2}\right )}{8 \sqrt [4]{2}}-\frac {\log \left (2 \sqrt {2}+2 \sqrt [4]{2} \sqrt [4]{1-x^2}+\sqrt {1-x^2}\right )}{8 \sqrt [4]{2}}+\frac {\operatorname {Subst}\left (\int \frac {1}{-1-x^2} \, dx,x,1-\frac {\sqrt [4]{1-x^2}}{\sqrt [4]{2}}\right )}{4 \sqrt [4]{2}}-\frac {\operatorname {Subst}\left (\int \frac {1}{-1-x^2} \, dx,x,1+\frac {\sqrt [4]{1-x^2}}{\sqrt [4]{2}}\right )}{4 \sqrt [4]{2}}\\ &=-\frac {\tan ^{-1}\left (\frac {\sqrt [4]{1-x^2}}{\sqrt [4]{2}}\right )}{2 \sqrt [4]{2}}-\frac {\tan ^{-1}\left (1-\frac {\sqrt [4]{1-x^2}}{\sqrt [4]{2}}\right )}{4 \sqrt [4]{2}}+\frac {\tan ^{-1}\left (1+\frac {\sqrt [4]{1-x^2}}{\sqrt [4]{2}}\right )}{4 \sqrt [4]{2}}+\frac {\tanh ^{-1}\left (\frac {\sqrt [4]{1-x^2}}{\sqrt [4]{2}}\right )}{2 \sqrt [4]{2}}-\frac {\sqrt {x^2} \Pi \left (-\frac {1}{\sqrt {2}};\left .\sin ^{-1}\left (\sqrt [4]{1-x^2}\right )\right |-1\right )}{2 \sqrt {2} x}+\frac {3 i \sqrt {x^2} \Pi \left (-\frac {i}{2 \sqrt {2}};\left .\sin ^{-1}\left (\sqrt [4]{1-x^2}\right )\right |-1\right )}{4 \sqrt {2} x}-\frac {3 i \sqrt {x^2} \Pi \left (\frac {i}{2 \sqrt {2}};\left .\sin ^{-1}\left (\sqrt [4]{1-x^2}\right )\right |-1\right )}{4 \sqrt {2} x}+\frac {\sqrt {x^2} \Pi \left (\frac {1}{\sqrt {2}};\left .\sin ^{-1}\left (\sqrt [4]{1-x^2}\right )\right |-1\right )}{2 \sqrt {2} x}+\frac {\log \left (2 \sqrt {2}-2 \sqrt [4]{2} \sqrt [4]{1-x^2}+\sqrt {1-x^2}\right )}{8 \sqrt [4]{2}}-\frac {\log \left (2 \sqrt {2}+2 \sqrt [4]{2} \sqrt [4]{1-x^2}+\sqrt {1-x^2}\right )}{8 \sqrt [4]{2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [F] time = 0.35, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {2+x}{(-3+x) \sqrt [4]{1-x^2} \left (1+x^2\right )} \, dx \end {gather*}
Verification is not applicable to the result.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [A] time = 0.33, size = 176, normalized size = 1.00 \begin {gather*} -\frac {\tan ^{-1}\left (\frac {\sqrt [4]{1-x^2}}{\sqrt [4]{2}-\sqrt [4]{2} x+\sqrt [4]{1-x^2}}\right )}{2 \sqrt [4]{2}}+\frac {\tan ^{-1}\left (\frac {\sqrt [4]{1-x^2}}{-\sqrt [4]{2}+\sqrt [4]{2} x+\sqrt [4]{1-x^2}}\right )}{2 \sqrt [4]{2}}-\frac {\tanh ^{-1}\left (\frac {\left (-2 \sqrt [4]{2}+2 \sqrt [4]{2} x\right ) \sqrt [4]{1-x^2}}{\sqrt {2}-2 \sqrt {2} x+\sqrt {2} x^2+2 \sqrt {1-x^2}}\right )}{2 \sqrt [4]{2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 8.81, size = 986, normalized size = 5.60
result too large to display
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*} \int \frac {x + 2}{{\left (x^{2} + 1\right )} {\left (-x^{2} + 1\right )}^{\frac {1}{4}} {\left (x - 3\right )}}\,{d x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [C] time = 4.88, size = 403, normalized size = 2.29
method | result | size |
trager | \(\frac {\RootOf \left (\textit {\_Z}^{4}+2\right ) \ln \left (\frac {2 \sqrt {-x^{2}+1}\, \RootOf \left (\textit {\_Z}^{4}+2\right )^{3} x -2 \sqrt {-x^{2}+1}\, \RootOf \left (\textit {\_Z}^{4}+2\right )^{3}-2 \left (-x^{2}+1\right )^{\frac {1}{4}} \RootOf \left (\textit {\_Z}^{4}+2\right )^{2} x^{2}+4 \left (-x^{2}+1\right )^{\frac {1}{4}} \RootOf \left (\textit {\_Z}^{4}+2\right )^{2} x +\RootOf \left (\textit {\_Z}^{4}+2\right ) x^{3}+4 \left (-x^{2}+1\right )^{\frac {3}{4}}-2 \left (-x^{2}+1\right )^{\frac {1}{4}} \RootOf \left (\textit {\_Z}^{4}+2\right )^{2}-3 \RootOf \left (\textit {\_Z}^{4}+2\right ) x^{2}+5 \RootOf \left (\textit {\_Z}^{4}+2\right ) x +\RootOf \left (\textit {\_Z}^{4}+2\right )}{\left (-3+x \right ) \left (x^{2}+1\right )}\right )}{4}+\frac {\RootOf \left (\textit {\_Z}^{2}+\RootOf \left (\textit {\_Z}^{4}+2\right )^{2}\right ) \ln \left (\frac {-2 \sqrt {-x^{2}+1}\, \RootOf \left (\textit {\_Z}^{2}+\RootOf \left (\textit {\_Z}^{4}+2\right )^{2}\right ) \RootOf \left (\textit {\_Z}^{4}+2\right )^{2} x +2 \sqrt {-x^{2}+1}\, \RootOf \left (\textit {\_Z}^{2}+\RootOf \left (\textit {\_Z}^{4}+2\right )^{2}\right ) \RootOf \left (\textit {\_Z}^{4}+2\right )^{2}+2 \left (-x^{2}+1\right )^{\frac {1}{4}} \RootOf \left (\textit {\_Z}^{4}+2\right )^{2} x^{2}-4 \left (-x^{2}+1\right )^{\frac {1}{4}} \RootOf \left (\textit {\_Z}^{4}+2\right )^{2} x +\RootOf \left (\textit {\_Z}^{2}+\RootOf \left (\textit {\_Z}^{4}+2\right )^{2}\right ) x^{3}+4 \left (-x^{2}+1\right )^{\frac {3}{4}}+2 \left (-x^{2}+1\right )^{\frac {1}{4}} \RootOf \left (\textit {\_Z}^{4}+2\right )^{2}-3 \RootOf \left (\textit {\_Z}^{2}+\RootOf \left (\textit {\_Z}^{4}+2\right )^{2}\right ) x^{2}+5 \RootOf \left (\textit {\_Z}^{2}+\RootOf \left (\textit {\_Z}^{4}+2\right )^{2}\right ) x +\RootOf \left (\textit {\_Z}^{2}+\RootOf \left (\textit {\_Z}^{4}+2\right )^{2}\right )}{\left (-3+x \right ) \left (x^{2}+1\right )}\right )}{4}\) | \(403\) |
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*} \int \frac {x + 2}{{\left (x^{2} + 1\right )} {\left (-x^{2} + 1\right )}^{\frac {1}{4}} {\left (x - 3\right )}}\,{d x} \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 {x+2}{{\left (1-x^2\right )}^{1/4}\,\left (x^2+1\right )\,\left (x-3\right )} \,d x \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 {x + 2}{\sqrt [4]{- \left (x - 1\right ) \left (x + 1\right )} \left (x - 3\right ) \left (x^{2} + 1\right )}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________