Optimal. Leaf size=98 \[ \frac {\text {ArcTan}\left (\frac {\sqrt {a} x}{\sqrt {2} \sqrt [4]{b} \sqrt [4]{-b+a x^2}}\right )}{\sqrt {2} a^{3/2} \sqrt [4]{b}}-\frac {\tanh ^{-1}\left (\frac {\sqrt {2} \sqrt [4]{b} \sqrt [4]{-b+a x^2}}{\sqrt {a} x}\right )}{\sqrt {2} a^{3/2} \sqrt [4]{b}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.02, antiderivative size = 96, normalized size of antiderivative = 0.98, number of steps
used = 1, number of rules used = 1, integrand size = 28, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.036, Rules used = {453}
\begin {gather*} \frac {\text {ArcTan}\left (\frac {\sqrt {a} x}{\sqrt {2} \sqrt [4]{b} \sqrt [4]{a x^2-b}}\right )}{\sqrt {2} a^{3/2} \sqrt [4]{b}}-\frac {\tanh ^{-1}\left (\frac {\sqrt {a} x}{\sqrt {2} \sqrt [4]{b} \sqrt [4]{a x^2-b}}\right )}{\sqrt {2} a^{3/2} \sqrt [4]{b}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 453
Rubi steps
\begin {align*} \int \frac {x^2}{\left (-2 b+a x^2\right ) \left (-b+a x^2\right )^{3/4}} \, dx &=\frac {\tan ^{-1}\left (\frac {\sqrt {a} x}{\sqrt {2} \sqrt [4]{b} \sqrt [4]{-b+a x^2}}\right )}{\sqrt {2} a^{3/2} \sqrt [4]{b}}-\frac {\tanh ^{-1}\left (\frac {\sqrt {a} x}{\sqrt {2} \sqrt [4]{b} \sqrt [4]{-b+a x^2}}\right )}{\sqrt {2} a^{3/2} \sqrt [4]{b}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 1.84, size = 83, normalized size = 0.85 \begin {gather*} \frac {\text {ArcTan}\left (\frac {\sqrt {a} x}{\sqrt {2} \sqrt [4]{b} \sqrt [4]{-b+a x^2}}\right )-\tanh ^{-1}\left (\frac {\sqrt {2} \sqrt [4]{b} \sqrt [4]{-b+a x^2}}{\sqrt {a} x}\right )}{\sqrt {2} a^{3/2} \sqrt [4]{b}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.03, size = 0, normalized size = 0.00 \[\int \frac {x^{2}}{\left (a \,x^{2}-2 b \right ) \left (a \,x^{2}-b \right )^{\frac {3}{4}}}\, 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 [B] Leaf count of result is larger than twice the leaf count of optimal. 207 vs.
\(2 (72) = 144\).
time = 0.36, size = 207, normalized size = 2.11 \begin {gather*} 2 \, \left (\frac {1}{4}\right )^{\frac {1}{4}} \left (\frac {1}{a^{6} b}\right )^{\frac {1}{4}} \arctan \left (\frac {4 \, {\left (\sqrt {\frac {1}{2}} \left (\frac {1}{4}\right )^{\frac {3}{4}} a^{4} b x \sqrt {\frac {a^{4} x^{2} \sqrt {\frac {1}{a^{6} b}} + 2 \, \sqrt {a x^{2} - b}}{x^{2}}} \left (\frac {1}{a^{6} b}\right )^{\frac {3}{4}} - \left (\frac {1}{4}\right )^{\frac {3}{4}} {\left (a x^{2} - b\right )}^{\frac {1}{4}} a^{4} b \left (\frac {1}{a^{6} b}\right )^{\frac {3}{4}}\right )}}{x}\right ) - \frac {1}{2} \, \left (\frac {1}{4}\right )^{\frac {1}{4}} \left (\frac {1}{a^{6} b}\right )^{\frac {1}{4}} \log \left (\frac {\left (\frac {1}{4}\right )^{\frac {1}{4}} a^{2} x \left (\frac {1}{a^{6} b}\right )^{\frac {1}{4}} + {\left (a x^{2} - b\right )}^{\frac {1}{4}}}{x}\right ) + \frac {1}{2} \, \left (\frac {1}{4}\right )^{\frac {1}{4}} \left (\frac {1}{a^{6} b}\right )^{\frac {1}{4}} \log \left (-\frac {\left (\frac {1}{4}\right )^{\frac {1}{4}} a^{2} x \left (\frac {1}{a^{6} b}\right )^{\frac {1}{4}} - {\left (a x^{2} - b\right )}^{\frac {1}{4}}}{x}\right ) \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}}{\left (a x^{2} - 2 b\right ) \left (a x^{2} - b\right )^{\frac {3}{4}}}\, 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 {x^2}{{\left (a\,x^2-b\right )}^{3/4}\,\left (2\,b-a\,x^2\right )} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________