3.4.55 \(\int (a+b \text {ArcSin}(c x^2)) \, dx\) [355]

Optimal. Leaf size=49 \[ a x+b x \text {ArcSin}\left (c x^2\right )-\frac {2 b E\left (\left .\text {ArcSin}\left (\sqrt {c} x\right )\right |-1\right )}{\sqrt {c}}+\frac {2 b F\left (\left .\text {ArcSin}\left (\sqrt {c} x\right )\right |-1\right )}{\sqrt {c}} \]

[Out]

a*x+b*x*arcsin(c*x^2)-2*b*EllipticE(x*c^(1/2),I)/c^(1/2)+2*b*EllipticF(x*c^(1/2),I)/c^(1/2)

________________________________________________________________________________________

Rubi [A]
time = 0.03, antiderivative size = 49, normalized size of antiderivative = 1.00, number of steps used = 7, number of rules used = 6, integrand size = 10, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.600, Rules used = {4924, 12, 313, 227, 1213, 435} \begin {gather*} a x+b x \text {ArcSin}\left (c x^2\right )+\frac {2 b F\left (\left .\text {ArcSin}\left (\sqrt {c} x\right )\right |-1\right )}{\sqrt {c}}-\frac {2 b E\left (\left .\text {ArcSin}\left (\sqrt {c} x\right )\right |-1\right )}{\sqrt {c}} \end {gather*}

Antiderivative was successfully verified.

[In]

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

[Out]

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

Rule 12

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

Rule 227

Int[1/Sqrt[(a_) + (b_.)*(x_)^4], x_Symbol] :> Simp[EllipticF[ArcSin[Rt[-b, 4]*(x/Rt[a, 4])], -1]/(Rt[a, 4]*Rt[
-b, 4]), x] /; FreeQ[{a, b}, x] && NegQ[b/a] && GtQ[a, 0]

Rule 313

Int[(x_)^2/Sqrt[(a_) + (b_.)*(x_)^4], x_Symbol] :> With[{q = Rt[-b/a, 2]}, Dist[-q^(-1), Int[1/Sqrt[a + b*x^4]
, x], x] + Dist[1/q, Int[(1 + q*x^2)/Sqrt[a + b*x^4], x], x]] /; FreeQ[{a, b}, x] && NegQ[b/a]

Rule 435

Int[Sqrt[(a_) + (b_.)*(x_)^2]/Sqrt[(c_) + (d_.)*(x_)^2], x_Symbol] :> Simp[(Sqrt[a]/(Sqrt[c]*Rt[-d/c, 2]))*Ell
ipticE[ArcSin[Rt[-d/c, 2]*x], b*(c/(a*d))], x] /; FreeQ[{a, b, c, d}, x] && NegQ[d/c] && GtQ[c, 0] && GtQ[a, 0
]

Rule 1213

Int[((d_) + (e_.)*(x_)^2)/Sqrt[(a_) + (c_.)*(x_)^4], x_Symbol] :> Dist[d/Sqrt[a], Int[Sqrt[1 + e*(x^2/d)]/Sqrt
[1 - e*(x^2/d)], x], x] /; FreeQ[{a, c, d, e}, x] && NegQ[c/a] && EqQ[c*d^2 + a*e^2, 0] && GtQ[a, 0]

Rule 4924

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

________________________________________________________________________________________

Mathematica [C] Result contains higher order function than in optimal. Order 5 vs. order 4 in optimal.
time = 10.01, size = 39, normalized size = 0.80 \begin {gather*} a x+b x \text {ArcSin}\left (c x^2\right )-\frac {2}{3} b c x^3 \, _2F_1\left (\frac {1}{2},\frac {3}{4};\frac {7}{4};c^2 x^4\right ) \end {gather*}

Antiderivative was successfully verified.

[In]

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

[Out]

a*x + b*x*ArcSin[c*x^2] - (2*b*c*x^3*Hypergeometric2F1[1/2, 3/4, 7/4, c^2*x^4])/3

________________________________________________________________________________________

Maple [A]
time = 0.02, size = 71, normalized size = 1.45

method result size
default \(a x +b \left (x \arcsin \left (c \,x^{2}\right )+\frac {2 \sqrt {-c \,x^{2}+1}\, \sqrt {c \,x^{2}+1}\, \left (\EllipticF \left (x \sqrt {c}, i\right )-\EllipticE \left (x \sqrt {c}, i\right )\right )}{\sqrt {c}\, \sqrt {-c^{2} x^{4}+1}}\right )\) \(71\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

a*x+b*(x*arcsin(c*x^2)+2/c^(1/2)*(-c*x^2+1)^(1/2)*(c*x^2+1)^(1/2)/(-c^2*x^4+1)^(1/2)*(EllipticF(x*c^(1/2),I)-E
llipticE(x*c^(1/2),I)))

________________________________________________________________________________________

Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

(x*arctan2(c*x^2, sqrt(c*x^2 + 1)*sqrt(-c*x^2 + 1)) + 2*c*integrate(x^2*e^(1/2*log(c*x^2 + 1) + 1/2*log(-c*x^2
 + 1))/(c^4*x^8 - c^2*x^4 + (c^2*x^4 - 1)*e^(log(c*x^2 + 1) + log(-c*x^2 + 1))), x))*b + a*x

________________________________________________________________________________________

Fricas [A]
time = 0.40, size = 41, normalized size = 0.84 \begin {gather*} \frac {b c x^{2} \arcsin \left (c x^{2}\right ) + a c x^{2} + 2 \, \sqrt {-c^{2} x^{4} + 1} b}{c x} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

Sympy [A]
time = 0.61, size = 49, normalized size = 1.00 \begin {gather*} a x + b \left (- \frac {c x^{3} \Gamma \left (\frac {3}{4}\right ) {{}_{2}F_{1}\left (\begin {matrix} \frac {1}{2}, \frac {3}{4} \\ \frac {7}{4} \end {matrix}\middle | {c^{2} x^{4} e^{2 i \pi }} \right )}}{2 \Gamma \left (\frac {7}{4}\right )} + x \operatorname {asin}{\left (c x^{2} \right )}\right ) \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

a*x + b*(-c*x**3*gamma(3/4)*hyper((1/2, 3/4), (7/4,), c**2*x**4*exp_polar(2*I*pi))/(2*gamma(7/4)) + x*asin(c*x
**2))

________________________________________________________________________________________

Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

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

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________