Optimal. Leaf size=69 \[ -\frac{b c n x^{n-1} \text{Hypergeometric2F1}\left (\frac{1}{2},-\frac{1-n}{2 n},\frac{1}{2} \left (3-\frac{1}{n}\right ),c^2 x^{2 n}\right )}{1-n}-\frac{a+b \sin ^{-1}\left (c x^n\right )}{x} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0431259, antiderivative size = 69, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 3, integrand size = 14, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.214, Rules used = {4842, 12, 364} \[ -\frac{a+b \sin ^{-1}\left (c x^n\right )}{x}-\frac{b c n x^{n-1} \, _2F_1\left (\frac{1}{2},-\frac{1-n}{2 n};\frac{1}{2} \left (3-\frac{1}{n}\right );c^2 x^{2 n}\right )}{1-n} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 4842
Rule 12
Rule 364
Rubi steps
\begin{align*} \int \frac{a+b \sin ^{-1}\left (c x^n\right )}{x^2} \, dx &=-\frac{a+b \sin ^{-1}\left (c x^n\right )}{x}+b \int \frac{c n x^{-2+n}}{\sqrt{1-c^2 x^{2 n}}} \, dx\\ &=-\frac{a+b \sin ^{-1}\left (c x^n\right )}{x}+(b c n) \int \frac{x^{-2+n}}{\sqrt{1-c^2 x^{2 n}}} \, dx\\ &=-\frac{a+b \sin ^{-1}\left (c x^n\right )}{x}-\frac{b c n x^{-1+n} \, _2F_1\left (\frac{1}{2},-\frac{1-n}{2 n};\frac{1}{2} \left (3-\frac{1}{n}\right );c^2 x^{2 n}\right )}{1-n}\\ \end{align*}
Mathematica [A] time = 0.0717266, size = 68, normalized size = 0.99 \[ \frac{b c n x^{n-1} \text{Hypergeometric2F1}\left (\frac{1}{2},\frac{n-1}{2 n},\frac{n-1}{2 n}+1,c^2 x^{2 n}\right )}{n-1}-\frac{a}{x}-\frac{b \sin ^{-1}\left (c x^n\right )}{x} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.016, size = 0, normalized size = 0. \begin{align*} \int{\frac{a+b\arcsin \left ( c{x}^{n} \right ) }{{x}^{2}}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: UnboundLocalError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [C] time = 8.22533, size = 60, normalized size = 0.87 \begin{align*} - \frac{a}{x} - \frac{b \operatorname{asin}{\left (c x^{n} \right )}}{x} - \frac{i b \Gamma \left (- \frac{1}{2 n}\right ){{}_{2}F_{1}\left (\begin{matrix} \frac{1}{2}, \frac{1}{2 n} \\ 1 + \frac{1}{2 n} \end{matrix}\middle |{\frac{x^{- 2 n}}{c^{2}}} \right )}}{2 x \Gamma \left (1 - \frac{1}{2 n}\right )} \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{b \arcsin \left (c x^{n}\right ) + a}{x^{2}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]