3.411 \(\int (a-b \sin ^{-1}(1-d x^2)) \, dx\)

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

[Out]

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

________________________________________________________________________________________

Rubi [A]  time = 0.04, antiderivative size = 45, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 3, integrand size = 14, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.214, Rules used = {4840, 12, 1588} \[ a x+\frac {2 b \sqrt {2 d x^2-d^2 x^4}}{d x}+b (-x) \sin ^{-1}\left (1-d x^2\right ) \]

Antiderivative was successfully verified.

[In]

Int[a - b*ArcSin[1 - d*x^2],x]

[Out]

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

Rule 12

Int[(a_)*(u_), x_Symbol] :> Dist[a, Int[u, x], x] /; FreeQ[a, x] &&  !MatchQ[u, (b_)*(v_) /; FreeQ[b, x]]

Rule 1588

Int[(Pp_)*(Qq_)^(m_.), x_Symbol] :> With[{p = Expon[Pp, x], q = Expon[Qq, x]}, Simp[(Coeff[Pp, x, p]*x^(p - q
+ 1)*Qq^(m + 1))/((p + m*q + 1)*Coeff[Qq, x, q]), x] /; NeQ[p + m*q + 1, 0] && EqQ[(p + m*q + 1)*Coeff[Qq, x,
q]*Pp, Coeff[Pp, x, p]*x^(p - q)*((p - q + 1)*Qq + (m + 1)*x*D[Qq, x])]] /; FreeQ[m, x] && PolyQ[Pp, x] && Pol
yQ[Qq, x] && NeQ[m, -1]

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 (1-d x^2\right )\right ) \, dx &=a x-b \int \sin ^{-1}\left (1-d x^2\right ) \, dx\\ &=a x-b x \sin ^{-1}\left (1-d x^2\right )+b \int -\frac {2 d x^2}{\sqrt {2 d x^2-d^2 x^4}} \, dx\\ &=a x-b x \sin ^{-1}\left (1-d x^2\right )-(2 b d) \int \frac {x^2}{\sqrt {2 d x^2-d^2 x^4}} \, dx\\ &=a x+\frac {2 b \sqrt {2 d x^2-d^2 x^4}}{d x}-b x \sin ^{-1}\left (1-d x^2\right )\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.03, size = 43, normalized size = 0.96 \[ a x+\frac {2 b \sqrt {-d x^2 \left (d x^2-2\right )}}{d x}+b (-x) \sin ^{-1}\left (1-d x^2\right ) \]

Antiderivative was successfully verified.

[In]

Integrate[a - b*ArcSin[1 - d*x^2],x]

[Out]

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

________________________________________________________________________________________

fricas [A]  time = 1.39, size = 48, normalized size = 1.07 \[ \frac {b d x^{2} \arcsin \left (d x^{2} - 1\right ) + a d x^{2} + 2 \, \sqrt {-d^{2} x^{4} + 2 \, d x^{2}} b}{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

giac [A]  time = 0.27, size = 50, normalized size = 1.11 \[ {\left (x \arcsin \left (d x^{2} - 1\right ) - \frac {2 \, \sqrt {2} \mathrm {sgn}\relax (x)}{\sqrt {d}} + \frac {2 \, \sqrt {-d^{2} x^{2} + 2 \, d}}{d \mathrm {sgn}\relax (x)}\right )} b + a x \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

maple [A]  time = 0.01, size = 45, normalized size = 1.00 \[ a x +b \left (x \arcsin \left (d \,x^{2}-1\right )-\frac {2 x \left (d \,x^{2}-2\right )}{\sqrt {-d^{2} x^{4}+2 d \,x^{2}}}\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(a+b*arcsin(d*x^2-1),x)

[Out]

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

________________________________________________________________________________________

maxima [A]  time = 0.42, size = 45, normalized size = 1.00 \[ {\left (x \arcsin \left (d x^{2} - 1\right ) - \frac {2 \, {\left (d^{\frac {3}{2}} x^{2} - 2 \, \sqrt {d}\right )}}{\sqrt {-d x^{2} + 2} d}\right )} b + a x \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

mupad [B]  time = 0.45, size = 39, normalized size = 0.87 \[ a\,x+b\,x\,\mathrm {asin}\left (d\,x^2-1\right )+\frac {2\,b\,\sqrt {1-{\left (d\,x^2-1\right )}^2}}{d\,x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(a + b*asin(d*x^2 - 1),x)

[Out]

a*x + b*x*asin(d*x^2 - 1) + (2*b*(1 - (d*x^2 - 1)^2)^(1/2))/(d*x)

________________________________________________________________________________________

sympy [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int \left (a + b \operatorname {asin}{\left (d x^{2} - 1 \right )}\right )\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(a+b*asin(d*x**2-1),x)

[Out]

Integral(a + b*asin(d*x**2 - 1), x)

________________________________________________________________________________________