Optimal. Leaf size=116 \[ \frac{x (x+1) \sqrt{\frac{x^2-x+1}{\left (\left (1+\sqrt{3}\right ) x+1\right )^2}} \sqrt{\frac{a}{x}} F\left (\cos ^{-1}\left (\frac{\left (1-\sqrt{3}\right ) x+1}{\left (1+\sqrt{3}\right ) x+1}\right )|\frac{1}{4} \left (2+\sqrt{3}\right )\right )}{\sqrt [4]{3} \sqrt{\frac{x (x+1)}{\left (\left (1+\sqrt{3}\right ) x+1\right )^2}} \sqrt{x^3+1}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.073026, antiderivative size = 116, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 3, integrand size = 19, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.158, Rules used = {15, 329, 225} \[ \frac{x (x+1) \sqrt{\frac{x^2-x+1}{\left (\left (1+\sqrt{3}\right ) x+1\right )^2}} \sqrt{\frac{a}{x}} F\left (\cos ^{-1}\left (\frac{\left (1-\sqrt{3}\right ) x+1}{\left (1+\sqrt{3}\right ) x+1}\right )|\frac{1}{4} \left (2+\sqrt{3}\right )\right )}{\sqrt [4]{3} \sqrt{\frac{x (x+1)}{\left (\left (1+\sqrt{3}\right ) x+1\right )^2}} \sqrt{x^3+1}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 15
Rule 329
Rule 225
Rubi steps
\begin{align*} \int \frac{\sqrt{\frac{a}{x}}}{\sqrt{1+x^3}} \, dx &=\left (\sqrt{\frac{a}{x}} \sqrt{x}\right ) \int \frac{1}{\sqrt{x} \sqrt{1+x^3}} \, dx\\ &=\left (2 \sqrt{\frac{a}{x}} \sqrt{x}\right ) \operatorname{Subst}\left (\int \frac{1}{\sqrt{1+x^6}} \, dx,x,\sqrt{x}\right )\\ &=\frac{\sqrt{\frac{a}{x}} x (1+x) \sqrt{\frac{1-x+x^2}{\left (1+\left (1+\sqrt{3}\right ) x\right )^2}} F\left (\cos ^{-1}\left (\frac{1+\left (1-\sqrt{3}\right ) x}{1+\left (1+\sqrt{3}\right ) x}\right )|\frac{1}{4} \left (2+\sqrt{3}\right )\right )}{\sqrt [4]{3} \sqrt{\frac{x (1+x)}{\left (1+\left (1+\sqrt{3}\right ) x\right )^2}} \sqrt{1+x^3}}\\ \end{align*}
Mathematica [C] time = 0.005088, size = 27, normalized size = 0.23 \[ 2 x \sqrt{\frac{a}{x}} \, _2F_1\left (\frac{1}{6},\frac{1}{2};\frac{7}{6};-x^3\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] time = 0.105, size = 232, normalized size = 2. \begin{align*} 4\,{\frac{x\sqrt{{x}^{3}+1} \left ( 1+i\sqrt{3} \right ) \left ( 1+x \right ) ^{2}}{\sqrt{x \left ({x}^{3}+1 \right ) } \left ( 3+i\sqrt{3} \right ) \sqrt{-x \left ( 1+x \right ) \left ( i\sqrt{3}+2\,x-1 \right ) \left ( i\sqrt{3}-2\,x+1 \right ) }}\sqrt{{\frac{a}{x}}}\sqrt{{\frac{ \left ( 3+i\sqrt{3} \right ) x}{ \left ( 1+i\sqrt{3} \right ) \left ( 1+x \right ) }}}\sqrt{{\frac{i\sqrt{3}+2\,x-1}{ \left ( i\sqrt{3}-1 \right ) \left ( 1+x \right ) }}}\sqrt{{\frac{i\sqrt{3}-2\,x+1}{ \left ( 1+i\sqrt{3} \right ) \left ( 1+x \right ) }}}{\it EllipticF} \left ( \sqrt{{\frac{ \left ( 3+i\sqrt{3} \right ) x}{ \left ( 1+i\sqrt{3} \right ) \left ( 1+x \right ) }}},\sqrt{{\frac{ \left ( i\sqrt{3}-3 \right ) \left ( 1+i\sqrt{3} \right ) }{ \left ( i\sqrt{3}-1 \right ) \left ( 3+i\sqrt{3} \right ) }}} \right ) } \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}}}{\sqrt{x^{3} + 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}}}{\sqrt{x^{3} + 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}}}{\sqrt{\left (x + 1\right ) \left (x^{2} - x + 1\right )}}\, 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}}}{\sqrt{x^{3} + 1}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]