Optimal. Leaf size=186 \[ \frac {1}{2} a x \sqrt {a x^2+\sqrt {b+a^2 x^4}}-\frac {\sqrt {a} \sqrt {b} \text {ArcTan}\left (\frac {a x^2}{\sqrt {b}}+\frac {\sqrt {b+a^2 x^4}}{\sqrt {b}}+\frac {\sqrt {2} \sqrt {a} x \sqrt {a x^2+\sqrt {b+a^2 x^4}}}{\sqrt {b}}\right )}{\sqrt {2}}-\frac {b \log \left (a x^2+\sqrt {b+a^2 x^4}+\sqrt {2} \sqrt {a} x \sqrt {a x^2+\sqrt {b+a^2 x^4}}\right )}{\sqrt {2} \sqrt {a}} \]
[Out]
________________________________________________________________________________________
Rubi [F]
time = 0.74, antiderivative size = 0, normalized size of antiderivative = 0.00, number of steps
used = 0, number of rules used = 0, integrand size = 0, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.000, Rules used = {}
\begin {gather*} \int \frac {\left (-b+a^2 x^2\right ) \sqrt {a x^2+\sqrt {b+a^2 x^4}}}{\sqrt {b+a^2 x^4}} \, dx \end {gather*}
Verification is not applicable to the result.
[In]
[Out]
Rubi steps
\begin {align*} \int \frac {\left (-b+a^2 x^2\right ) \sqrt {a x^2+\sqrt {b+a^2 x^4}}}{\sqrt {b+a^2 x^4}} \, dx &=\int \left (-\frac {b \sqrt {a x^2+\sqrt {b+a^2 x^4}}}{\sqrt {b+a^2 x^4}}+\frac {a^2 x^2 \sqrt {a x^2+\sqrt {b+a^2 x^4}}}{\sqrt {b+a^2 x^4}}\right ) \, dx\\ &=a^2 \int \frac {x^2 \sqrt {a x^2+\sqrt {b+a^2 x^4}}}{\sqrt {b+a^2 x^4}} \, dx-b \int \frac {\sqrt {a x^2+\sqrt {b+a^2 x^4}}}{\sqrt {b+a^2 x^4}} \, dx\\ &=a^2 \int \frac {x^2 \sqrt {a x^2+\sqrt {b+a^2 x^4}}}{\sqrt {b+a^2 x^4}} \, dx-b \text {Subst}\left (\int \frac {1}{1-2 a x^2} \, dx,x,\frac {x}{\sqrt {a x^2+\sqrt {b+a^2 x^4}}}\right )\\ &=-\frac {b \tanh ^{-1}\left (\frac {\sqrt {2} \sqrt {a} x}{\sqrt {a x^2+\sqrt {b+a^2 x^4}}}\right )}{\sqrt {2} \sqrt {a}}+a^2 \int \frac {x^2 \sqrt {a x^2+\sqrt {b+a^2 x^4}}}{\sqrt {b+a^2 x^4}} \, dx\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.49, size = 158, normalized size = 0.85 \begin {gather*} \frac {a^{3/2} x \sqrt {a x^2+\sqrt {b+a^2 x^4}}+\sqrt {2} a \sqrt {b} \text {ArcTan}\left (\frac {a x^2+\sqrt {b+a^2 x^4}-\sqrt {2} \sqrt {a} x \sqrt {a x^2+\sqrt {b+a^2 x^4}}}{\sqrt {b}}\right )-\sqrt {2} b \tanh ^{-1}\left (\frac {\sqrt {2} \sqrt {a} x}{\sqrt {a x^2+\sqrt {b+a^2 x^4}}}\right )}{2 \sqrt {a}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 180.00, size = 0, normalized size = 0.00 \[\int \frac {\left (a^{2} x^{2}-b \right ) \sqrt {a \,x^{2}+\sqrt {a^{2} x^{4}+b}}}{\sqrt {a^{2} x^{4}+b}}\, 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 {\sqrt {a x^{2} + \sqrt {a^{2} x^{4} + b}} \left (a^{2} x^{2} - b\right )}{\sqrt {a^{2} x^{4} + b}}\, 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 {\sqrt {\sqrt {a^2\,x^4+b}+a\,x^2}\,\left (b-a^2\,x^2\right )}{\sqrt {a^2\,x^4+b}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________