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

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

[Out]

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

________________________________________________________________________________________

Rubi [A]  time = 0.03, antiderivative size = 60, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 3, integrand size = 10, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.300, Rules used = {4840, 12, 364} \[ a x-\frac {b c n x^{n+1} \, _2F_1\left (\frac {1}{2},\frac {n+1}{2 n};\frac {1}{2} \left (3+\frac {1}{n}\right );c^2 x^{2 n}\right )}{n+1}+b x \sin ^{-1}\left (c x^n\right ) \]

Antiderivative was successfully verified.

[In]

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

[Out]

a*x + b*x*ArcSin[c*x^n] - (b*c*n*x^(1 + n)*Hypergeometric2F1[1/2, (1 + n)/(2*n), (3 + n^(-1))/2, c^2*x^(2*n)])
/(1 + 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 4840

Int[ArcSin[u_], x_Symbol] :> Simp[x*ArcSin[u], x] - Int[SimplifyIntegrand[(x*D[u, x])/Sqrt[1 - u^2], x], x] /;
 InverseFunctionFreeQ[u, x] &&  !FunctionOfExponentialQ[u, x]

Rubi steps

\begin {align*} \int \left (a+b \sin ^{-1}\left (c x^n\right )\right ) \, dx &=a x+b \int \sin ^{-1}\left (c x^n\right ) \, dx\\ &=a x+b x \sin ^{-1}\left (c x^n\right )-b \int \frac {c n x^n}{\sqrt {1-c^2 x^{2 n}}} \, dx\\ &=a x+b x \sin ^{-1}\left (c x^n\right )-(b c n) \int \frac {x^n}{\sqrt {1-c^2 x^{2 n}}} \, dx\\ &=a x+b x \sin ^{-1}\left (c x^n\right )-\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.04, size = 60, normalized size = 1.00 \[ a x-\frac {b c n x^{n+1} \, _2F_1\left (\frac {1}{2},\frac {n+1}{2 n};\frac {1}{2} \left (3+\frac {1}{n}\right );c^2 x^{2 n}\right )}{n+1}+b x \sin ^{-1}\left (c x^n\right ) \]

Antiderivative was successfully verified.

[In]

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

[Out]

a*x + b*x*ArcSin[c*x^n] - (b*c*n*x^(1 + n)*Hypergeometric2F1[1/2, (1 + n)/(2*n), (3 + n^(-1))/2, c^2*x^(2*n)])
/(1 + 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(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 b \arcsin \left (c x^{n}\right ) + a\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

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

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

maxima [F]  time = 0.00, size = 0, normalized size = 0.00 \[ {\left (c n \int \frac {\sqrt {c x^{n} + 1} \sqrt {-c x^{n} + 1} x^{n}}{c^{2} x^{2 \, n} - 1}\,{d x} + x \arctan \left (c x^{n}, \sqrt {c x^{n} + 1} \sqrt {-c x^{n} + 1}\right )\right )} b + a x \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

(c*n*integrate(sqrt(c*x^n + 1)*sqrt(-c*x^n + 1)*x^n/(c^2*x^(2*n) - 1), x) + x*arctan2(c*x^n, sqrt(c*x^n + 1)*s
qrt(-c*x^n + 1)))*b + a*x

________________________________________________________________________________________

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

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

sympy [C]  time = 2.18, size = 56, normalized size = 0.93 \[ a x + b \left (x \operatorname {asin}{\left (c x^{n} \right )} + \frac {i x \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 \Gamma \left (1 + \frac {1}{2 n}\right )}\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

a*x + b*(x*asin(c*x**n) + I*x*gamma(1/(2*n))*hyper((1/2, -1/(2*n)), (1 - 1/(2*n),), x**(-2*n)/c**2)/(2*gamma(1
 + 1/(2*n))))

________________________________________________________________________________________