Optimal. Leaf size=159 \[ \frac{2 \sqrt{x^2+1} x^2 \sqrt{\frac{a}{x^3}}}{x+1}-2 \sqrt{x^2+1} x \sqrt{\frac{a}{x^3}}+\frac{(x+1) \sqrt{\frac{x^2+1}{(x+1)^2}} x^{3/2} \sqrt{\frac{a}{x^3}} F\left (2 \tan ^{-1}\left (\sqrt{x}\right )|\frac{1}{2}\right )}{\sqrt{x^2+1}}-\frac{2 (x+1) \sqrt{\frac{x^2+1}{(x+1)^2}} x^{3/2} \sqrt{\frac{a}{x^3}} E\left (2 \tan ^{-1}\left (\sqrt{x}\right )|\frac{1}{2}\right )}{\sqrt{x^2+1}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0518476, antiderivative size = 159, normalized size of antiderivative = 1., number of steps used = 6, number of rules used = 6, integrand size = 19, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.316, Rules used = {15, 325, 329, 305, 220, 1196} \[ \frac{2 \sqrt{x^2+1} x^2 \sqrt{\frac{a}{x^3}}}{x+1}-2 \sqrt{x^2+1} x \sqrt{\frac{a}{x^3}}+\frac{(x+1) \sqrt{\frac{x^2+1}{(x+1)^2}} x^{3/2} \sqrt{\frac{a}{x^3}} F\left (2 \tan ^{-1}\left (\sqrt{x}\right )|\frac{1}{2}\right )}{\sqrt{x^2+1}}-\frac{2 (x+1) \sqrt{\frac{x^2+1}{(x+1)^2}} x^{3/2} \sqrt{\frac{a}{x^3}} E\left (2 \tan ^{-1}\left (\sqrt{x}\right )|\frac{1}{2}\right )}{\sqrt{x^2+1}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 15
Rule 325
Rule 329
Rule 305
Rule 220
Rule 1196
Rubi steps
\begin{align*} \int \frac{\sqrt{\frac{a}{x^3}}}{\sqrt{1+x^2}} \, dx &=\left (\sqrt{\frac{a}{x^3}} x^{3/2}\right ) \int \frac{1}{x^{3/2} \sqrt{1+x^2}} \, dx\\ &=-2 \sqrt{\frac{a}{x^3}} x \sqrt{1+x^2}+\left (\sqrt{\frac{a}{x^3}} x^{3/2}\right ) \int \frac{\sqrt{x}}{\sqrt{1+x^2}} \, dx\\ &=-2 \sqrt{\frac{a}{x^3}} x \sqrt{1+x^2}+\left (2 \sqrt{\frac{a}{x^3}} x^{3/2}\right ) \operatorname{Subst}\left (\int \frac{x^2}{\sqrt{1+x^4}} \, dx,x,\sqrt{x}\right )\\ &=-2 \sqrt{\frac{a}{x^3}} x \sqrt{1+x^2}+\left (2 \sqrt{\frac{a}{x^3}} x^{3/2}\right ) \operatorname{Subst}\left (\int \frac{1}{\sqrt{1+x^4}} \, dx,x,\sqrt{x}\right )-\left (2 \sqrt{\frac{a}{x^3}} x^{3/2}\right ) \operatorname{Subst}\left (\int \frac{1-x^2}{\sqrt{1+x^4}} \, dx,x,\sqrt{x}\right )\\ &=-2 \sqrt{\frac{a}{x^3}} x \sqrt{1+x^2}+\frac{2 \sqrt{\frac{a}{x^3}} x^2 \sqrt{1+x^2}}{1+x}-\frac{2 \sqrt{\frac{a}{x^3}} x^{3/2} (1+x) \sqrt{\frac{1+x^2}{(1+x)^2}} E\left (2 \tan ^{-1}\left (\sqrt{x}\right )|\frac{1}{2}\right )}{\sqrt{1+x^2}}+\frac{\sqrt{\frac{a}{x^3}} x^{3/2} (1+x) \sqrt{\frac{1+x^2}{(1+x)^2}} F\left (2 \tan ^{-1}\left (\sqrt{x}\right )|\frac{1}{2}\right )}{\sqrt{1+x^2}}\\ \end{align*}
Mathematica [C] time = 0.0060097, size = 27, normalized size = 0.17 \[ -2 x \sqrt{\frac{a}{x^3}} \, _2F_1\left (-\frac{1}{4},\frac{1}{2};\frac{3}{4};-x^2\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] time = 0.026, size = 116, normalized size = 0.7 \begin{align*}{x\sqrt{{\frac{a}{{x}^{3}}}} \left ( 2\,\sqrt{-i \left ( x+i \right ) }\sqrt{2}\sqrt{-i \left ( -x+i \right ) }\sqrt{ix}{\it EllipticE} \left ( \sqrt{-i \left ( x+i \right ) },1/2\,\sqrt{2} \right ) -\sqrt{-i \left ( x+i \right ) }\sqrt{2}\sqrt{-i \left ( -x+i \right ) }\sqrt{ix}{\it EllipticF} \left ( \sqrt{-i \left ( x+i \right ) },{\frac{\sqrt{2}}{2}} \right ) -2\,{x}^{2}-2 \right ){\frac{1}{\sqrt{{x}^{2}+1}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\sqrt{\frac{a}{x^{3}}}}{\sqrt{x^{2} + 1}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\frac{\sqrt{\frac{a}{x^{3}}}}{\sqrt{x^{2} + 1}}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\sqrt{\frac{a}{x^{3}}}}{\sqrt{x^{2} + 1}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\sqrt{\frac{a}{x^{3}}}}{\sqrt{x^{2} + 1}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]