Optimal. Leaf size=69 \[ \frac {1}{2} x^2 \left (a+b \sin ^{-1}\left (c x^n\right )\right )-\frac {b c n x^{n+2} \, _2F_1\left (\frac {1}{2},\frac {n+2}{2 n};\frac {1}{2} \left (3+\frac {2}{n}\right );c^2 x^{2 n}\right )}{2 (n+2)} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.03, antiderivative size = 69, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, integrand size = 12, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.250, Rules used = {4842, 12, 364} \[ \frac {1}{2} x^2 \left (a+b \sin ^{-1}\left (c x^n\right )\right )-\frac {b c n x^{n+2} \, _2F_1\left (\frac {1}{2},\frac {n+2}{2 n};\frac {1}{2} \left (3+\frac {2}{n}\right );c^2 x^{2 n}\right )}{2 (n+2)} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 364
Rule 4842
Rubi steps
\begin {align*} \int x \left (a+b \sin ^{-1}\left (c x^n\right )\right ) \, dx &=\frac {1}{2} x^2 \left (a+b \sin ^{-1}\left (c x^n\right )\right )-\frac {1}{2} b \int \frac {c n x^{1+n}}{\sqrt {1-c^2 x^{2 n}}} \, dx\\ &=\frac {1}{2} x^2 \left (a+b \sin ^{-1}\left (c x^n\right )\right )-\frac {1}{2} (b c n) \int \frac {x^{1+n}}{\sqrt {1-c^2 x^{2 n}}} \, dx\\ &=\frac {1}{2} x^2 \left (a+b \sin ^{-1}\left (c x^n\right )\right )-\frac {b c n x^{2+n} \, _2F_1\left (\frac {1}{2},\frac {2+n}{2 n};\frac {1}{2} \left (3+\frac {2}{n}\right );c^2 x^{2 n}\right )}{2 (2+n)}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.08, size = 75, normalized size = 1.09 \[ \frac {a x^2}{2}-\frac {b c n x^{n+2} \, _2F_1\left (\frac {1}{2},\frac {n+2}{2 n};\frac {n+2}{2 n}+1;c^2 x^{2 n}\right )}{2 (n+2)}+\frac {1}{2} b x^2 \sin ^{-1}\left (c x^n\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [F(-2)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Exception raised: TypeError} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int {\left (b \arcsin \left (c x^{n}\right ) + a\right )} x\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [F] time = 0.02, size = 0, normalized size = 0.00 \[ \int x \left (a +b \arcsin \left (c \,x^{n}\right )\right )\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ \frac {1}{2} \, a x^{2} + \frac {1}{2} \, {\left (x^{2} \arctan \left (c x^{n}, \sqrt {c x^{n} + 1} \sqrt {-c x^{n} + 1}\right ) + 2 \, c n \int \frac {\sqrt {c x^{n} + 1} \sqrt {-c x^{n} + 1} x x^{n}}{2 \, {\left (c^{2} x^{2 \, n} - 1\right )}}\,{d x}\right )} b \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.01 \[ \int x\,\left (a+b\,\mathrm {asin}\left (c\,x^n\right )\right ) \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [C] time = 3.71, size = 60, normalized size = 0.87 \[ \frac {a x^{2}}{2} + \frac {b x^{2} \operatorname {asin}{\left (c x^{n} \right )}}{2} + \frac {i b x^{2} \Gamma \left (\frac {1}{n}\right ) {{}_{2}F_{1}\left (\begin {matrix} \frac {1}{2}, - \frac {1}{n} \\ 1 - \frac {1}{n} \end {matrix}\middle | {\frac {x^{- 2 n}}{c^{2}}} \right )}}{4 \Gamma \left (1 + \frac {1}{n}\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________