Optimal. Leaf size=228 \[ x \sqrt {a-b \text {ArcSin}\left (1-d x^2\right )}-\frac {\sqrt {\pi } x \text {FresnelC}\left (\frac {\sqrt {-\frac {1}{b}} \sqrt {a-b \text {ArcSin}\left (1-d x^2\right )}}{\sqrt {\pi }}\right ) \left (\cos \left (\frac {a}{2 b}\right )-\sin \left (\frac {a}{2 b}\right )\right )}{\sqrt {-\frac {1}{b}} \left (\cos \left (\frac {1}{2} \text {ArcSin}\left (1-d x^2\right )\right )-\sin \left (\frac {1}{2} \text {ArcSin}\left (1-d x^2\right )\right )\right )}+\frac {\sqrt {\pi } x S\left (\frac {\sqrt {-\frac {1}{b}} \sqrt {a-b \text {ArcSin}\left (1-d x^2\right )}}{\sqrt {\pi }}\right ) \left (\cos \left (\frac {a}{2 b}\right )+\sin \left (\frac {a}{2 b}\right )\right )}{\sqrt {-\frac {1}{b}} \left (\cos \left (\frac {1}{2} \text {ArcSin}\left (1-d x^2\right )\right )-\sin \left (\frac {1}{2} \text {ArcSin}\left (1-d x^2\right )\right )\right )} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.03, antiderivative size = 228, normalized size of antiderivative = 1.00, number of steps
used = 1, number of rules used = 1, integrand size = 18, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.056, Rules used = {4895}
\begin {gather*} -\frac {\sqrt {\pi } x \left (\cos \left (\frac {a}{2 b}\right )-\sin \left (\frac {a}{2 b}\right )\right ) \text {FresnelC}\left (\frac {\sqrt {-\frac {1}{b}} \sqrt {a-b \text {ArcSin}\left (1-d x^2\right )}}{\sqrt {\pi }}\right )}{\sqrt {-\frac {1}{b}} \left (\cos \left (\frac {1}{2} \text {ArcSin}\left (1-d x^2\right )\right )-\sin \left (\frac {1}{2} \text {ArcSin}\left (1-d x^2\right )\right )\right )}+\frac {\sqrt {\pi } x \left (\sin \left (\frac {a}{2 b}\right )+\cos \left (\frac {a}{2 b}\right )\right ) S\left (\frac {\sqrt {-\frac {1}{b}} \sqrt {a-b \text {ArcSin}\left (1-d x^2\right )}}{\sqrt {\pi }}\right )}{\sqrt {-\frac {1}{b}} \left (\cos \left (\frac {1}{2} \text {ArcSin}\left (1-d x^2\right )\right )-\sin \left (\frac {1}{2} \text {ArcSin}\left (1-d x^2\right )\right )\right )}+x \sqrt {a-b \text {ArcSin}\left (1-d x^2\right )} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 4895
Rubi steps
\begin {align*} \int \sqrt {a-b \sin ^{-1}\left (1-d x^2\right )} \, dx &=x \sqrt {a-b \sin ^{-1}\left (1-d x^2\right )}-\frac {\sqrt {\pi } x C\left (\frac {\sqrt {-\frac {1}{b}} \sqrt {a-b \sin ^{-1}\left (1-d x^2\right )}}{\sqrt {\pi }}\right ) \left (\cos \left (\frac {a}{2 b}\right )-\sin \left (\frac {a}{2 b}\right )\right )}{\sqrt {-\frac {1}{b}} \left (\cos \left (\frac {1}{2} \sin ^{-1}\left (1-d x^2\right )\right )-\sin \left (\frac {1}{2} \sin ^{-1}\left (1-d x^2\right )\right )\right )}+\frac {\sqrt {\pi } x S\left (\frac {\sqrt {-\frac {1}{b}} \sqrt {a-b \sin ^{-1}\left (1-d x^2\right )}}{\sqrt {\pi }}\right ) \left (\cos \left (\frac {a}{2 b}\right )+\sin \left (\frac {a}{2 b}\right )\right )}{\sqrt {-\frac {1}{b}} \left (\cos \left (\frac {1}{2} \sin ^{-1}\left (1-d x^2\right )\right )-\sin \left (\frac {1}{2} \sin ^{-1}\left (1-d x^2\right )\right )\right )}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.04, size = 225, normalized size = 0.99 \begin {gather*} \frac {x \left (-\sqrt {\pi } \text {FresnelC}\left (\frac {\sqrt {-\frac {1}{b}} \sqrt {a-b \text {ArcSin}\left (1-d x^2\right )}}{\sqrt {\pi }}\right ) \left (\cos \left (\frac {a}{2 b}\right )-\sin \left (\frac {a}{2 b}\right )\right )+\sqrt {\pi } S\left (\frac {\sqrt {-\frac {1}{b}} \sqrt {a-b \text {ArcSin}\left (1-d x^2\right )}}{\sqrt {\pi }}\right ) \left (\cos \left (\frac {a}{2 b}\right )+\sin \left (\frac {a}{2 b}\right )\right )+\sqrt {-\frac {1}{b}} \sqrt {a-b \text {ArcSin}\left (1-d x^2\right )} \left (\cos \left (\frac {1}{2} \text {ArcSin}\left (1-d x^2\right )\right )-\sin \left (\frac {1}{2} \text {ArcSin}\left (1-d x^2\right )\right )\right )\right )}{\sqrt {-\frac {1}{b}} \left (\cos \left (\frac {1}{2} \text {ArcSin}\left (1-d x^2\right )\right )-\sin \left (\frac {1}{2} \text {ArcSin}\left (1-d x^2\right )\right )\right )} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.04, size = 0, normalized size = 0.00 \[\int \sqrt {a +b \arcsin \left (d \,x^{2}-1\right )}\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
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]
[Out]
________________________________________________________________________________________
Fricas [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: TypeError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \sqrt {a + b \operatorname {asin}{\left (d x^{2} - 1 \right )}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
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]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int \sqrt {a+b\,\mathrm {asin}\left (d\,x^2-1\right )} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________