\(\int \arcsin (x)^2 \, dx\) [85]

   Optimal result
   Rubi [A] (verified)
   Mathematica [A] (verified)
   Maple [A] (verified)
   Fricas [A] (verification not implemented)
   Sympy [A] (verification not implemented)
   Maxima [A] (verification not implemented)
   Giac [A] (verification not implemented)
   Mupad [B] (verification not implemented)

Optimal result

Integrand size = 4, antiderivative size = 25 \[ \int \arcsin (x)^2 \, dx=-2 x+2 \sqrt {1-x^2} \arcsin (x)+x \arcsin (x)^2 \]

[Out]

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

Rubi [A] (verified)

Time = 0.02 (sec) , antiderivative size = 25, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.750, Rules used = {4715, 4767, 8} \[ \int \arcsin (x)^2 \, dx=2 \sqrt {1-x^2} \arcsin (x)+x \arcsin (x)^2-2 x \]

[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*} \text {integral}& = x \arcsin (x)^2-2 \int \frac {x \arcsin (x)}{\sqrt {1-x^2}} \, dx \\ & = 2 \sqrt {1-x^2} \arcsin (x)+x \arcsin (x)^2-2 \int 1 \, dx \\ & = -2 x+2 \sqrt {1-x^2} \arcsin (x)+x \arcsin (x)^2 \\ \end{align*}

Mathematica [A] (verified)

Time = 0.00 (sec) , antiderivative size = 25, normalized size of antiderivative = 1.00 \[ \int \arcsin (x)^2 \, dx=-2 x+2 \sqrt {1-x^2} \arcsin (x)+x \arcsin (x)^2 \]

[In]

Integrate[ArcSin[x]^2,x]

[Out]

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

Maple [A] (verified)

Time = 0.05 (sec) , antiderivative size = 24, normalized size of antiderivative = 0.96

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

[In]

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

[Out]

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

Fricas [A] (verification not implemented)

none

Time = 0.26 (sec) , antiderivative size = 23, normalized size of antiderivative = 0.92 \[ \int \arcsin (x)^2 \, dx=x \arcsin \left (x\right )^{2} + 2 \, \sqrt {-x^{2} + 1} \arcsin \left (x\right ) - 2 \, x \]

[In]

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

[Out]

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

Sympy [A] (verification not implemented)

Time = 0.08 (sec) , antiderivative size = 22, normalized size of antiderivative = 0.88 \[ \int \arcsin (x)^2 \, dx=x \operatorname {asin}^{2}{\left (x \right )} - 2 x + 2 \sqrt {1 - x^{2}} \operatorname {asin}{\left (x \right )} \]

[In]

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

[Out]

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

Maxima [A] (verification not implemented)

none

Time = 0.28 (sec) , antiderivative size = 23, normalized size of antiderivative = 0.92 \[ \int \arcsin (x)^2 \, dx=x \arcsin \left (x\right )^{2} + 2 \, \sqrt {-x^{2} + 1} \arcsin \left (x\right ) - 2 \, x \]

[In]

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

[Out]

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

Giac [A] (verification not implemented)

none

Time = 0.27 (sec) , antiderivative size = 23, normalized size of antiderivative = 0.92 \[ \int \arcsin (x)^2 \, dx=x \arcsin \left (x\right )^{2} + 2 \, \sqrt {-x^{2} + 1} \arcsin \left (x\right ) - 2 \, x \]

[In]

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

[Out]

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

Mupad [B] (verification not implemented)

Time = 0.03 (sec) , antiderivative size = 22, normalized size of antiderivative = 0.88 \[ \int \arcsin (x)^2 \, dx=2\,\mathrm {asin}\left (x\right )\,\sqrt {1-x^2}+x\,\left ({\mathrm {asin}\left (x\right )}^2-2\right ) \]

[In]

int(asin(x)^2,x)

[Out]

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