Optimal. Leaf size=48 \[ \frac {2 x \sqrt {a x^n} \, _2F_1\left (\frac {1}{2},\frac {1}{2} \left (1+\frac {2}{n}\right );\frac {1}{2} \left (3+\frac {2}{n}\right );-x^n\right )}{2+n} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.01, antiderivative size = 48, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 2, integrand size = 19, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.105, Rules used = {15, 371}
\begin {gather*} \frac {2 x \sqrt {a x^n} \, _2F_1\left (\frac {1}{2},\frac {1}{2} \left (1+\frac {2}{n}\right );\frac {1}{2} \left (3+\frac {2}{n}\right );-x^n\right )}{n+2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 15
Rule 371
Rubi steps
\begin {align*} \int \frac {\sqrt {a x^n}}{\sqrt {1+x^n}} \, dx &=\left (x^{-n/2} \sqrt {a x^n}\right ) \int \frac {x^{n/2}}{\sqrt {1+x^n}} \, dx\\ &=\frac {2 x \sqrt {a x^n} \, _2F_1\left (\frac {1}{2},\frac {1}{2} \left (1+\frac {2}{n}\right );\frac {1}{2} \left (3+\frac {2}{n}\right );-x^n\right )}{2+n}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.03, size = 40, normalized size = 0.83 \begin {gather*} \frac {2 x \sqrt {a x^n} \, _2F_1\left (\frac {1}{2},\frac {1}{2}+\frac {1}{n};\frac {3}{2}+\frac {1}{n};-x^n\right )}{2+n} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.22, size = 35, normalized size = 0.73
method | result | size |
meijerg | \(\frac {2 x \hypergeom \left (\left [\frac {1}{2}, \frac {1}{2}+\frac {1}{n}\right ], \left [\frac {3}{2}+\frac {1}{n}\right ], -x^{n}\right ) \sqrt {a \,x^{n}}}{2+n}\) | \(35\) |
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 [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]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\sqrt {a x^{n}}}{\sqrt {x^{n} + 1}}\, 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.02 \begin {gather*} \int \frac {\sqrt {a\,x^n}}{\sqrt {x^n+1}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________