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

Optimal. Leaf size=61 \[ -\frac {4 x}{9}-\frac {2 x^3}{27}+\frac {4}{9} \sqrt {1-x^2} \sin ^{-1}(x)+\frac {2}{9} x^2 \sqrt {1-x^2} \sin ^{-1}(x)+\frac {1}{3} x^3 \sin ^{-1}(x)^2 \]

[Out]

-4/9*x-2/27*x^3+1/3*x^3*arcsin(x)^2+4/9*arcsin(x)*(-x^2+1)^(1/2)+2/9*x^2*arcsin(x)*(-x^2+1)^(1/2)

________________________________________________________________________________________

Rubi [A]
time = 0.06, antiderivative size = 61, normalized size of antiderivative = 1.00, number of steps used = 5, number of rules used = 5, integrand size = 8, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.625, Rules used = {4723, 4795, 4767, 8, 30} \begin {gather*} \frac {1}{3} x^3 \text {ArcSin}(x)^2+\frac {2}{9} \sqrt {1-x^2} x^2 \text {ArcSin}(x)+\frac {4}{9} \sqrt {1-x^2} \text {ArcSin}(x)-\frac {2 x^3}{27}-\frac {4 x}{9} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[x^2*ArcSin[x]^2,x]

[Out]

(-4*x)/9 - (2*x^3)/27 + (4*Sqrt[1 - x^2]*ArcSin[x])/9 + (2*x^2*Sqrt[1 - x^2]*ArcSin[x])/9 + (x^3*ArcSin[x]^2)/
3

Rule 8

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

Rule 30

Int[(x_)^(m_.), x_Symbol] :> Simp[x^(m + 1)/(m + 1), x] /; FreeQ[m, x] && NeQ[m, -1]

Rule 4723

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

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]

Rule 4795

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

Rubi steps

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

________________________________________________________________________________________

Mathematica [A]
time = 0.01, size = 42, normalized size = 0.69 \begin {gather*} \frac {1}{27} \left (-2 x \left (6+x^2\right )+6 \sqrt {1-x^2} \left (2+x^2\right ) \sin ^{-1}(x)+9 x^3 \sin ^{-1}(x)^2\right ) \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[x^2*ArcSin[x]^2,x]

[Out]

(-2*x*(6 + x^2) + 6*Sqrt[1 - x^2]*(2 + x^2)*ArcSin[x] + 9*x^3*ArcSin[x]^2)/27

________________________________________________________________________________________

Maple [A]
time = 0.10, size = 37, normalized size = 0.61

method result size
default \(\frac {x^{3} \arcsin \left (x \right )^{2}}{3}+\frac {2 \arcsin \left (x \right ) \left (x^{2}+2\right ) \sqrt {-x^{2}+1}}{9}-\frac {2 x^{3}}{27}-\frac {4 x}{9}\) \(37\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

1/3*x^3*arcsin(x)^2+2/9*arcsin(x)*(x^2+2)*(-x^2+1)^(1/2)-2/27*x^3-4/9*x

________________________________________________________________________________________

Maxima [A]
time = 2.21, size = 47, normalized size = 0.77 \begin {gather*} \frac {1}{3} \, x^{3} \arcsin \left (x\right )^{2} - \frac {2}{27} \, x^{3} + \frac {2}{9} \, {\left (\sqrt {-x^{2} + 1} x^{2} + 2 \, \sqrt {-x^{2} + 1}\right )} \arcsin \left (x\right ) - \frac {4}{9} \, x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

1/3*x^3*arcsin(x)^2 - 2/27*x^3 + 2/9*(sqrt(-x^2 + 1)*x^2 + 2*sqrt(-x^2 + 1))*arcsin(x) - 4/9*x

________________________________________________________________________________________

Fricas [A]
time = 0.45, size = 36, normalized size = 0.59 \begin {gather*} \frac {1}{3} \, x^{3} \arcsin \left (x\right )^{2} - \frac {2}{27} \, x^{3} + \frac {2}{9} \, {\left (x^{2} + 2\right )} \sqrt {-x^{2} + 1} \arcsin \left (x\right ) - \frac {4}{9} \, x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

1/3*x^3*arcsin(x)^2 - 2/27*x^3 + 2/9*(x^2 + 2)*sqrt(-x^2 + 1)*arcsin(x) - 4/9*x

________________________________________________________________________________________

Sympy [A]
time = 0.14, size = 54, normalized size = 0.89 \begin {gather*} \frac {x^{3} \operatorname {asin}^{2}{\left (x \right )}}{3} - \frac {2 x^{3}}{27} + \frac {2 x^{2} \sqrt {1 - x^{2}} \operatorname {asin}{\left (x \right )}}{9} - \frac {4 x}{9} + \frac {4 \sqrt {1 - x^{2}} \operatorname {asin}{\left (x \right )}}{9} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

x**3*asin(x)**2/3 - 2*x**3/27 + 2*x**2*sqrt(1 - x**2)*asin(x)/9 - 4*x/9 + 4*sqrt(1 - x**2)*asin(x)/9

________________________________________________________________________________________

Giac [A]
time = 1.07, size = 57, normalized size = 0.93 \begin {gather*} \frac {1}{3} \, {\left (x^{2} - 1\right )} x \arcsin \left (x\right )^{2} + \frac {1}{3} \, x \arcsin \left (x\right )^{2} - \frac {2}{9} \, {\left (-x^{2} + 1\right )}^{\frac {3}{2}} \arcsin \left (x\right ) - \frac {2}{27} \, {\left (x^{2} - 1\right )} x + \frac {2}{3} \, \sqrt {-x^{2} + 1} \arcsin \left (x\right ) - \frac {14}{27} \, x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

1/3*(x^2 - 1)*x*arcsin(x)^2 + 1/3*x*arcsin(x)^2 - 2/9*(-x^2 + 1)^(3/2)*arcsin(x) - 2/27*(x^2 - 1)*x + 2/3*sqrt
(-x^2 + 1)*arcsin(x) - 14/27*x

________________________________________________________________________________________

Mupad [F]
time = 0.00, size = -1, normalized size = -0.02 \begin {gather*} \int x^2\,{\mathrm {asin}\left (x\right )}^2 \,d x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x^2*asin(x)^2,x)

[Out]

int(x^2*asin(x)^2, x)

________________________________________________________________________________________