Optimal. Leaf size=44 \[ \frac{\sqrt{a x^3} \tanh ^{-1}\left (\sqrt{x}\right )}{x^{3/2}}-\frac{\sqrt{a x^3} \tan ^{-1}\left (\sqrt{x}\right )}{x^{3/2}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0148215, antiderivative size = 44, 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, 1584, 329, 298, 203, 206} \[ \frac{\sqrt{a x^3} \tanh ^{-1}\left (\sqrt{x}\right )}{x^{3/2}}-\frac{\sqrt{a x^3} \tan ^{-1}\left (\sqrt{x}\right )}{x^{3/2}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 15
Rule 1584
Rule 329
Rule 298
Rule 203
Rule 206
Rubi steps
\begin{align*} \int \frac{\sqrt{a x^3}}{x-x^3} \, dx &=\frac{\sqrt{a x^3} \int \frac{x^{3/2}}{x-x^3} \, dx}{x^{3/2}}\\ &=\frac{\sqrt{a x^3} \int \frac{\sqrt{x}}{1-x^2} \, dx}{x^{3/2}}\\ &=\frac{\left (2 \sqrt{a x^3}\right ) \operatorname{Subst}\left (\int \frac{x^2}{1-x^4} \, dx,x,\sqrt{x}\right )}{x^{3/2}}\\ &=\frac{\sqrt{a x^3} \operatorname{Subst}\left (\int \frac{1}{1-x^2} \, dx,x,\sqrt{x}\right )}{x^{3/2}}-\frac{\sqrt{a x^3} \operatorname{Subst}\left (\int \frac{1}{1+x^2} \, dx,x,\sqrt{x}\right )}{x^{3/2}}\\ &=-\frac{\sqrt{a x^3} \tan ^{-1}\left (\sqrt{x}\right )}{x^{3/2}}+\frac{\sqrt{a x^3} \tanh ^{-1}\left (\sqrt{x}\right )}{x^{3/2}}\\ \end{align*}
Mathematica [A] time = 0.0091698, size = 30, normalized size = 0.68 \[ \frac{\sqrt{a x^3} \left (\tanh ^{-1}\left (\sqrt{x}\right )-\tan ^{-1}\left (\sqrt{x}\right )\right )}{x^{3/2}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.011, size = 43, normalized size = 1. \begin{align*}{\frac{1}{x}\sqrt{a{x}^{3}}\sqrt{a} \left ({\it Artanh} \left ({\sqrt{ax}{\frac{1}{\sqrt{a}}}} \right ) -\arctan \left ({\sqrt{ax}{\frac{1}{\sqrt{a}}}} \right ) \right ){\frac{1}{\sqrt{ax}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.71386, size = 43, normalized size = 0.98 \begin{align*} -\sqrt{a} \arctan \left (\sqrt{x}\right ) + \frac{1}{2} \, \sqrt{a} \log \left (\sqrt{x} + 1\right ) - \frac{1}{2} \, \sqrt{a} \log \left (\sqrt{x} - 1\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.3382, size = 308, normalized size = 7. \begin{align*} \left [-\sqrt{a} \arctan \left (\frac{\sqrt{a x^{3}}}{\sqrt{a} x}\right ) + \frac{1}{2} \, \sqrt{a} \log \left (\frac{a x^{2} + a x + 2 \, \sqrt{a x^{3}} \sqrt{a}}{x^{2} - x}\right ), -\sqrt{-a} \arctan \left (\frac{\sqrt{a x^{3}} \sqrt{-a}}{a x}\right ) + \frac{1}{2} \, \sqrt{-a} \log \left (\frac{a x^{2} - a x - 2 \, \sqrt{a x^{3}} \sqrt{-a}}{x^{2} + x}\right )\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{a x^{3}}}{x^{3} - x}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.12935, size = 51, normalized size = 1.16 \begin{align*} -{\left (\frac{a \arctan \left (\frac{\sqrt{a x}}{\sqrt{-a}}\right )}{\sqrt{-a}} + \sqrt{a} \arctan \left (\frac{\sqrt{a x}}{\sqrt{a}}\right )\right )} \mathrm{sgn}\left (x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]