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

Optimal. Leaf size=47 \[ \frac{2 b \sqrt{1-c^2 x^2} \left (a+b \sin ^{-1}(c x)\right )}{c}+x \left (a+b \sin ^{-1}(c x)\right )^2-2 b^2 x \]

[Out]

-2*b^2*x + (2*b*Sqrt[1 - c^2*x^2]*(a + b*ArcSin[c*x]))/c + x*(a + b*ArcSin[c*x])^2

________________________________________________________________________________________

Rubi [A]  time = 0.0605806, antiderivative size = 47, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 3, integrand size = 10, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.3, Rules used = {4619, 4677, 8} \[ \frac{2 b \sqrt{1-c^2 x^2} \left (a+b \sin ^{-1}(c x)\right )}{c}+x \left (a+b \sin ^{-1}(c x)\right )^2-2 b^2 x \]

Antiderivative was successfully verified.

[In]

Int[(a + b*ArcSin[c*x])^2,x]

[Out]

-2*b^2*x + (2*b*Sqrt[1 - c^2*x^2]*(a + b*ArcSin[c*x]))/c + x*(a + b*ArcSin[c*x])^2

Rule 4619

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 4677

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*d^IntPart[p]*(d + e*x^2)^FracPart[p])/(2*c*(p + 1
)*(1 - c^2*x^2)^FracPart[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 8

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

Rubi steps

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

Mathematica [A]  time = 0.0432173, size = 47, normalized size = 1. \[ \frac{2 b \sqrt{1-c^2 x^2} \left (a+b \sin ^{-1}(c x)\right )}{c}+x \left (a+b \sin ^{-1}(c x)\right )^2-2 b^2 x \]

Antiderivative was successfully verified.

[In]

Integrate[(a + b*ArcSin[c*x])^2,x]

[Out]

-2*b^2*x + (2*b*Sqrt[1 - c^2*x^2]*(a + b*ArcSin[c*x]))/c + x*(a + b*ArcSin[c*x])^2

________________________________________________________________________________________

Maple [A]  time = 0., size = 72, normalized size = 1.5 \begin{align*}{\frac{1}{c} \left ({a}^{2}cx+{b}^{2} \left ( \left ( \arcsin \left ( cx \right ) \right ) ^{2}cx-2\,cx+2\,\arcsin \left ( cx \right ) \sqrt{-{c}^{2}{x}^{2}+1} \right ) +2\,ab \left ( cx\arcsin \left ( cx \right ) +\sqrt{-{c}^{2}{x}^{2}+1} \right ) \right ) } \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

1/c*(a^2*c*x+b^2*(arcsin(c*x)^2*c*x-2*c*x+2*arcsin(c*x)*(-c^2*x^2+1)^(1/2))+2*a*b*(c*x*arcsin(c*x)+(-c^2*x^2+1
)^(1/2)))

________________________________________________________________________________________

Maxima [A]  time = 1.44626, size = 97, normalized size = 2.06 \begin{align*} b^{2} x \arcsin \left (c x\right )^{2} - 2 \, b^{2}{\left (x - \frac{\sqrt{-c^{2} x^{2} + 1} \arcsin \left (c x\right )}{c}\right )} + a^{2} x + \frac{2 \,{\left (c x \arcsin \left (c x\right ) + \sqrt{-c^{2} x^{2} + 1}\right )} a b}{c} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

b^2*x*arcsin(c*x)^2 - 2*b^2*(x - sqrt(-c^2*x^2 + 1)*arcsin(c*x)/c) + a^2*x + 2*(c*x*arcsin(c*x) + sqrt(-c^2*x^
2 + 1))*a*b/c

________________________________________________________________________________________

Fricas [A]  time = 2.36048, size = 159, normalized size = 3.38 \begin{align*} \frac{b^{2} c x \arcsin \left (c x\right )^{2} + 2 \, a b c x \arcsin \left (c x\right ) +{\left (a^{2} - 2 \, b^{2}\right )} c x + 2 \, \sqrt{-c^{2} x^{2} + 1}{\left (b^{2} \arcsin \left (c x\right ) + a b\right )}}{c} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

(b^2*c*x*arcsin(c*x)^2 + 2*a*b*c*x*arcsin(c*x) + (a^2 - 2*b^2)*c*x + 2*sqrt(-c^2*x^2 + 1)*(b^2*arcsin(c*x) + a
*b))/c

________________________________________________________________________________________

Sympy [A]  time = 0.309713, size = 82, normalized size = 1.74 \begin{align*} \begin{cases} a^{2} x + 2 a b x \operatorname{asin}{\left (c x \right )} + \frac{2 a b \sqrt{- c^{2} x^{2} + 1}}{c} + b^{2} x \operatorname{asin}^{2}{\left (c x \right )} - 2 b^{2} x + \frac{2 b^{2} \sqrt{- c^{2} x^{2} + 1} \operatorname{asin}{\left (c x \right )}}{c} & \text{for}\: c \neq 0 \\a^{2} x & \text{otherwise} \end{cases} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

Piecewise((a**2*x + 2*a*b*x*asin(c*x) + 2*a*b*sqrt(-c**2*x**2 + 1)/c + b**2*x*asin(c*x)**2 - 2*b**2*x + 2*b**2
*sqrt(-c**2*x**2 + 1)*asin(c*x)/c, Ne(c, 0)), (a**2*x, True))

________________________________________________________________________________________

Giac [A]  time = 1.16719, size = 101, normalized size = 2.15 \begin{align*} b^{2} x \arcsin \left (c x\right )^{2} + 2 \, a b x \arcsin \left (c x\right ) + a^{2} x - 2 \, b^{2} x + \frac{2 \, \sqrt{-c^{2} x^{2} + 1} b^{2} \arcsin \left (c x\right )}{c} + \frac{2 \, \sqrt{-c^{2} x^{2} + 1} a b}{c} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

b^2*x*arcsin(c*x)^2 + 2*a*b*x*arcsin(c*x) + a^2*x - 2*b^2*x + 2*sqrt(-c^2*x^2 + 1)*b^2*arcsin(c*x)/c + 2*sqrt(
-c^2*x^2 + 1)*a*b/c