3.379 \(\int x^m (a+b \sin ^{-1}(c x^n)) \, dx\)

Optimal. Leaf size=81 \[ \frac{x^{m+1} \left (a+b \sin ^{-1}\left (c x^n\right )\right )}{m+1}-\frac{b c n x^{m+n+1} \text{Hypergeometric2F1}\left (\frac{1}{2},\frac{m+n+1}{2 n},\frac{m+3 n+1}{2 n},c^2 x^{2 n}\right )}{(m+1) (m+n+1)} \]

[Out]

(x^(1 + m)*(a + b*ArcSin[c*x^n]))/(1 + m) - (b*c*n*x^(1 + m + n)*Hypergeometric2F1[1/2, (1 + m + n)/(2*n), (1
+ m + 3*n)/(2*n), c^2*x^(2*n)])/((1 + m)*(1 + m + n))

________________________________________________________________________________________

Rubi [A]  time = 0.0513925, antiderivative size = 81, 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{x^{m+1} \left (a+b \sin ^{-1}\left (c x^n\right )\right )}{m+1}-\frac{b c n x^{m+n+1} \, _2F_1\left (\frac{1}{2},\frac{m+n+1}{2 n};\frac{m+3 n+1}{2 n};c^2 x^{2 n}\right )}{(m+1) (m+n+1)} \]

Antiderivative was successfully verified.

[In]

Int[x^m*(a + b*ArcSin[c*x^n]),x]

[Out]

(x^(1 + m)*(a + b*ArcSin[c*x^n]))/(1 + m) - (b*c*n*x^(1 + m + n)*Hypergeometric2F1[1/2, (1 + m + n)/(2*n), (1
+ m + 3*n)/(2*n), c^2*x^(2*n)])/((1 + m)*(1 + m + n))

Rule 4842

Int[((a_.) + ArcSin[u_]*(b_.))*((c_.) + (d_.)*(x_))^(m_.), x_Symbol] :> Simp[((c + d*x)^(m + 1)*(a + b*ArcSin[
u]))/(d*(m + 1)), x] - Dist[b/(d*(m + 1)), Int[SimplifyIntegrand[((c + d*x)^(m + 1)*D[u, x])/Sqrt[1 - u^2], x]
, x], x] /; FreeQ[{a, b, c, d, m}, x] && NeQ[m, -1] && InverseFunctionFreeQ[u, x] &&  !FunctionOfQ[(c + d*x)^(
m + 1), u, x] &&  !FunctionOfExponentialQ[u, x]

Rule 12

Int[(a_)*(u_), x_Symbol] :> Dist[a, Int[u, x], x] /; FreeQ[a, x] &&  !MatchQ[u, (b_)*(v_) /; FreeQ[b, x]]

Rule 364

Int[((c_.)*(x_))^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Simp[(a^p*(c*x)^(m + 1)*Hypergeometric2F1[-
p, (m + 1)/n, (m + 1)/n + 1, -((b*x^n)/a)])/(c*(m + 1)), x] /; FreeQ[{a, b, c, m, n, p}, x] &&  !IGtQ[p, 0] &&
 (ILtQ[p, 0] || GtQ[a, 0])

Rubi steps

\begin{align*} \int x^m \left (a+b \sin ^{-1}\left (c x^n\right )\right ) \, dx &=\frac{x^{1+m} \left (a+b \sin ^{-1}\left (c x^n\right )\right )}{1+m}-\frac{b \int \frac{c n x^{m+n}}{\sqrt{1-c^2 x^{2 n}}} \, dx}{1+m}\\ &=\frac{x^{1+m} \left (a+b \sin ^{-1}\left (c x^n\right )\right )}{1+m}-\frac{(b c n) \int \frac{x^{m+n}}{\sqrt{1-c^2 x^{2 n}}} \, dx}{1+m}\\ &=\frac{x^{1+m} \left (a+b \sin ^{-1}\left (c x^n\right )\right )}{1+m}-\frac{b c n x^{1+m+n} \, _2F_1\left (\frac{1}{2},\frac{1+m+n}{2 n};\frac{1+m+3 n}{2 n};c^2 x^{2 n}\right )}{(1+m) (1+m+n)}\\ \end{align*}

Mathematica [A]  time = 0.110121, size = 78, normalized size = 0.96 \[ \frac{x^{m+1} \left ((m+n+1) \left (a+b \sin ^{-1}\left (c x^n\right )\right )-b c n x^n \text{Hypergeometric2F1}\left (\frac{1}{2},\frac{m+n+1}{2 n},\frac{m+3 n+1}{2 n},c^2 x^{2 n}\right )\right )}{(m+1) (m+n+1)} \]

Antiderivative was successfully verified.

[In]

Integrate[x^m*(a + b*ArcSin[c*x^n]),x]

[Out]

(x^(1 + m)*((1 + m + n)*(a + b*ArcSin[c*x^n]) - b*c*n*x^n*Hypergeometric2F1[1/2, (1 + m + n)/(2*n), (1 + m + 3
*n)/(2*n), c^2*x^(2*n)]))/((1 + m)*(1 + m + n))

________________________________________________________________________________________

Maple [F]  time = 0.087, size = 0, normalized size = 0. \begin{align*} \int{x}^{m} \left ( a+b\arcsin \left ( c{x}^{n} \right ) \right ) \, dx \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x^m*(a+b*arcsin(c*x^n)),x)

[Out]

int(x^m*(a+b*arcsin(c*x^n)),x)

________________________________________________________________________________________

Maxima [F(-2)]  time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^m*(a+b*arcsin(c*x^n)),x, algorithm="maxima")

[Out]

Exception raised: ValueError

________________________________________________________________________________________

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]

integrate(x^m*(a+b*arcsin(c*x^n)),x, algorithm="fricas")

[Out]

Exception raised: UnboundLocalError

________________________________________________________________________________________

Sympy [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int x^{m} \left (a + b \operatorname{asin}{\left (c x^{n} \right )}\right )\, dx \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x**m*(a+b*asin(c*x**n)),x)

[Out]

Integral(x**m*(a + b*asin(c*x**n)), x)

________________________________________________________________________________________

Giac [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int{\left (b \arcsin \left (c x^{n}\right ) + a\right )} x^{m}\,{d x} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^m*(a+b*arcsin(c*x^n)),x, algorithm="giac")

[Out]

integrate((b*arcsin(c*x^n) + a)*x^m, x)