3.1.84 \(\int \sin ^{-1}(x)^2 \, dx\) [84]

Optimal. Leaf size=25 \[ -2 x+2 \sqrt {1-x^2} \sin ^{-1}(x)+x \sin ^{-1}(x)^2 \]

[Out]

-2*x+x*arcsin(x)^2+2*arcsin(x)*(-x^2+1)^(1/2)

________________________________________________________________________________________

Rubi [A]
time = 0.02, antiderivative size = 25, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, integrand size = 4, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.750, Rules used = {4715, 4767, 8} \begin {gather*} 2 \sqrt {1-x^2} \text {ArcSin}(x)+x \text {ArcSin}(x)^2-2 x \end {gather*}

Antiderivative was successfully verified.

[In]

Int[ArcSin[x]^2,x]

[Out]

-2*x + 2*Sqrt[1 - x^2]*ArcSin[x] + x*ArcSin[x]^2

Rule 8

Int[a_, x_Symbol] :> Simp[a*x, x] /; FreeQ[a, x]

Rule 4715

Int[((a_.) + ArcSin[(c_.)*(x_)]*(b_.))^(n_.), x_Symbol] :> Simp[x*(a + b*ArcSin[c*x])^n, x] - Dist[b*c*n, Int[
x*((a + b*ArcSin[c*x])^(n - 1)/Sqrt[1 - c^2*x^2]), x], x] /; FreeQ[{a, b, c}, x] && GtQ[n, 0]

Rule 4767

Int[((a_.) + ArcSin[(c_.)*(x_)]*(b_.))^(n_.)*(x_)*((d_) + (e_.)*(x_)^2)^(p_.), x_Symbol] :> Simp[(d + e*x^2)^(
p + 1)*((a + b*ArcSin[c*x])^n/(2*e*(p + 1))), x] + Dist[b*(n/(2*c*(p + 1)))*Simp[(d + e*x^2)^p/(1 - c^2*x^2)^p
], Int[(1 - c^2*x^2)^(p + 1/2)*(a + b*ArcSin[c*x])^(n - 1), x], x] /; FreeQ[{a, b, c, d, e, p}, x] && EqQ[c^2*
d + e, 0] && GtQ[n, 0] && NeQ[p, -1]

Rubi steps

\begin {align*} \int \sin ^{-1}(x)^2 \, dx &=x \sin ^{-1}(x)^2-2 \int \frac {x \sin ^{-1}(x)}{\sqrt {1-x^2}} \, dx\\ &=2 \sqrt {1-x^2} \sin ^{-1}(x)+x \sin ^{-1}(x)^2-2 \int 1 \, dx\\ &=-2 x+2 \sqrt {1-x^2} \sin ^{-1}(x)+x \sin ^{-1}(x)^2\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]
time = 0.01, size = 25, normalized size = 1.00 \begin {gather*} -2 x+2 \sqrt {1-x^2} \sin ^{-1}(x)+x \sin ^{-1}(x)^2 \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[ArcSin[x]^2,x]

[Out]

-2*x + 2*Sqrt[1 - x^2]*ArcSin[x] + x*ArcSin[x]^2

________________________________________________________________________________________

Maple [A]
time = 0.00, size = 24, normalized size = 0.96

method result size
default \(-2 x +x \arcsin \left (x \right )^{2}+2 \arcsin \left (x \right ) \sqrt {-x^{2}+1}\) \(24\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(arcsin(x)^2,x,method=_RETURNVERBOSE)

[Out]

-2*x+x*arcsin(x)^2+2*arcsin(x)*(-x^2+1)^(1/2)

________________________________________________________________________________________

Maxima [A]
time = 1.41, size = 23, normalized size = 0.92 \begin {gather*} x \arcsin \left (x\right )^{2} + 2 \, \sqrt {-x^{2} + 1} \arcsin \left (x\right ) - 2 \, x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(arcsin(x)^2,x, algorithm="maxima")

[Out]

x*arcsin(x)^2 + 2*sqrt(-x^2 + 1)*arcsin(x) - 2*x

________________________________________________________________________________________

Fricas [A]
time = 0.50, size = 23, normalized size = 0.92 \begin {gather*} x \arcsin \left (x\right )^{2} + 2 \, \sqrt {-x^{2} + 1} \arcsin \left (x\right ) - 2 \, x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(arcsin(x)^2,x, algorithm="fricas")

[Out]

x*arcsin(x)^2 + 2*sqrt(-x^2 + 1)*arcsin(x) - 2*x

________________________________________________________________________________________

Sympy [A]
time = 0.06, size = 22, normalized size = 0.88 \begin {gather*} x \operatorname {asin}^{2}{\left (x \right )} - 2 x + 2 \sqrt {1 - x^{2}} \operatorname {asin}{\left (x \right )} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(asin(x)**2,x)

[Out]

x*asin(x)**2 - 2*x + 2*sqrt(1 - x**2)*asin(x)

________________________________________________________________________________________

Giac [A]
time = 0.69, size = 23, normalized size = 0.92 \begin {gather*} x \arcsin \left (x\right )^{2} + 2 \, \sqrt {-x^{2} + 1} \arcsin \left (x\right ) - 2 \, x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(arcsin(x)^2,x, algorithm="giac")

[Out]

x*arcsin(x)^2 + 2*sqrt(-x^2 + 1)*arcsin(x) - 2*x

________________________________________________________________________________________

Mupad [B]
time = 0.05, size = 22, normalized size = 0.88 \begin {gather*} 2\,\mathrm {asin}\left (x\right )\,\sqrt {1-x^2}+x\,\left ({\mathrm {asin}\left (x\right )}^2-2\right ) \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(asin(x)^2,x)

[Out]

2*asin(x)*(1 - x^2)^(1/2) + x*(asin(x)^2 - 2)

________________________________________________________________________________________