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} \, _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)} \]

[Out]

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

________________________________________________________________________________________

Rubi [A]  time = 0.05, antiderivative size = 81, normalized size of antiderivative = 1.00, 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 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])

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]

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.13, 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 \, _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 )\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))

________________________________________________________________________________________

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]

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

[Out]

Exception raised: TypeError >>  Error detected within library code:   integrate: implementation incomplete (ha
s polynomial part)

________________________________________________________________________________________

giac [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int {\left (b \arcsin \left (c x^{n}\right ) + a\right )} x^{m}\,{d x} \]

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)

________________________________________________________________________________________

maple [F]  time = 0.14, size = 0, normalized size = 0.00 \[ \int x^{m} \left (a +b \arcsin \left (c \,x^{n}\right )\right )\, dx \]

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(-1)]  time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

Timed out

________________________________________________________________________________________

mupad [F]  time = 0.00, size = -1, normalized size = -0.01 \[ \int x^m\,\left (a+b\,\mathrm {asin}\left (c\,x^n\right )\right ) \,d x \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

sympy [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int x^{m} \left (a + b \operatorname {asin}{\left (c x^{n} \right )}\right )\, dx \]

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)

________________________________________________________________________________________