Optimal. Leaf size=163 \[ \frac {\left (-9-2 a x^2\right ) \sqrt {a x^2+b x \sqrt {-\frac {a}{b^2}+\frac {a^2 x^2}{b^2}}}}{24 b}+\frac {5}{12} x \sqrt {-\frac {a}{b^2}+\frac {a^2 x^2}{b^2}} \sqrt {a x^2+b x \sqrt {-\frac {a}{b^2}+\frac {a^2 x^2}{b^2}}}+\frac {3 \tanh ^{-1}\left (\sqrt {2} \sqrt {a x^2+b x \sqrt {-\frac {a}{b^2}+\frac {a^2 x^2}{b^2}}}\right )}{8 \sqrt {2} b} \]
[Out]
________________________________________________________________________________________
Rubi [F]
time = 0.27, 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 \sqrt {-\frac {a}{b^2}+\frac {a^2 x^2}{b^2}} \sqrt {a x^2+b x \sqrt {-\frac {a}{b^2}+\frac {a^2 x^2}{b^2}}} \, dx \end {gather*}
Verification is not applicable to the result.
[In]
[Out]
Rubi steps
\begin {align*} \int \sqrt {-\frac {a}{b^2}+\frac {a^2 x^2}{b^2}} \sqrt {a x^2+b x \sqrt {-\frac {a}{b^2}+\frac {a^2 x^2}{b^2}}} \, dx &=\int \sqrt {-\frac {a}{b^2}+\frac {a^2 x^2}{b^2}} \sqrt {a x^2+b x \sqrt {-\frac {a}{b^2}+\frac {a^2 x^2}{b^2}}} \, dx\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 7.45, size = 160, normalized size = 0.98 \begin {gather*} -\frac {\sqrt {x \left (a x+b \sqrt {\frac {a \left (-1+a x^2\right )}{b^2}}\right )} \left (2 \sqrt {a} x \left (9+2 a x^2-10 b x \sqrt {\frac {a \left (-1+a x^2\right )}{b^2}}\right )+9 \sqrt {2} \sqrt {x \left (-a x+b \sqrt {\frac {a \left (-1+a x^2\right )}{b^2}}\right )} \text {ArcTan}\left (\frac {\sqrt {x \left (-a x+b \sqrt {\frac {a \left (-1+a x^2\right )}{b^2}}\right )}}{\sqrt {2} \sqrt {a} x}\right )\right )}{48 \sqrt {a} b x} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.02, size = 0, normalized size = 0.00 \[\int \sqrt {-\frac {a}{b^{2}}+\frac {a^{2} x^{2}}{b^{2}}}\, \sqrt {a \,x^{2}+b x \sqrt {-\frac {a}{b^{2}}+\frac {a^{2} x^{2}}{b^{2}}}}\, 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 [A]
time = 11.71, size = 168, normalized size = 1.03 \begin {gather*} -\frac {4 \, {\left (2 \, a x^{2} - 10 \, b x \sqrt {\frac {a^{2} x^{2} - a}{b^{2}}} + 9\right )} \sqrt {a x^{2} + b x \sqrt {\frac {a^{2} x^{2} - a}{b^{2}}}} - 9 \, \sqrt {2} \log \left (4 \, a x^{2} - 4 \, b x \sqrt {\frac {a^{2} x^{2} - a}{b^{2}}} - 2 \, \sqrt {a x^{2} + b x \sqrt {\frac {a^{2} x^{2} - a}{b^{2}}}} {\left (2 \, \sqrt {2} b x \sqrt {\frac {a^{2} x^{2} - a}{b^{2}}} - \sqrt {2} {\left (2 \, a x^{2} - 1\right )}\right )} - 1\right )}{96 \, b} \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 \sqrt {x \left (a x + b \sqrt {\frac {a^{2} x^{2}}{b^{2}} - \frac {a}{b^{2}}}\right )} \sqrt {\frac {a \left (a x^{2} - 1\right )}{b^{2}}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: TypeError} \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 \sqrt {a\,x^2+b\,x\,\sqrt {\frac {a^2\,x^2}{b^2}-\frac {a}{b^2}}}\,\sqrt {\frac {a^2\,x^2}{b^2}-\frac {a}{b^2}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________