Optimal. Leaf size=105 \[ \frac {\sqrt {\pi } e \cos \left (\frac {2 a}{b}\right ) S\left (\frac {2 \sqrt {a+b \sin ^{-1}(c+d x)}}{\sqrt {b} \sqrt {\pi }}\right )}{2 \sqrt {b} d}-\frac {\sqrt {\pi } e \sin \left (\frac {2 a}{b}\right ) C\left (\frac {2 \sqrt {a+b \sin ^{-1}(c+d x)}}{\sqrt {b} \sqrt {\pi }}\right )}{2 \sqrt {b} d} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.23, antiderivative size = 105, normalized size of antiderivative = 1.00, number of steps used = 10, number of rules used = 9, integrand size = 23, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.391, Rules used = {4805, 12, 4635, 4406, 3306, 3305, 3351, 3304, 3352} \[ \frac {\sqrt {\pi } e \cos \left (\frac {2 a}{b}\right ) S\left (\frac {2 \sqrt {a+b \sin ^{-1}(c+d x)}}{\sqrt {b} \sqrt {\pi }}\right )}{2 \sqrt {b} d}-\frac {\sqrt {\pi } e \sin \left (\frac {2 a}{b}\right ) \text {FresnelC}\left (\frac {2 \sqrt {a+b \sin ^{-1}(c+d x)}}{\sqrt {\pi } \sqrt {b}}\right )}{2 \sqrt {b} d} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 3304
Rule 3305
Rule 3306
Rule 3351
Rule 3352
Rule 4406
Rule 4635
Rule 4805
Rubi steps
\begin {align*} \int \frac {c e+d e x}{\sqrt {a+b \sin ^{-1}(c+d x)}} \, dx &=\frac {\operatorname {Subst}\left (\int \frac {e x}{\sqrt {a+b \sin ^{-1}(x)}} \, dx,x,c+d x\right )}{d}\\ &=\frac {e \operatorname {Subst}\left (\int \frac {x}{\sqrt {a+b \sin ^{-1}(x)}} \, dx,x,c+d x\right )}{d}\\ &=\frac {e \operatorname {Subst}\left (\int \frac {\cos (x) \sin (x)}{\sqrt {a+b x}} \, dx,x,\sin ^{-1}(c+d x)\right )}{d}\\ &=\frac {e \operatorname {Subst}\left (\int \frac {\sin (2 x)}{2 \sqrt {a+b x}} \, dx,x,\sin ^{-1}(c+d x)\right )}{d}\\ &=\frac {e \operatorname {Subst}\left (\int \frac {\sin (2 x)}{\sqrt {a+b x}} \, dx,x,\sin ^{-1}(c+d x)\right )}{2 d}\\ &=\frac {\left (e \cos \left (\frac {2 a}{b}\right )\right ) \operatorname {Subst}\left (\int \frac {\sin \left (\frac {2 a}{b}+2 x\right )}{\sqrt {a+b x}} \, dx,x,\sin ^{-1}(c+d x)\right )}{2 d}-\frac {\left (e \sin \left (\frac {2 a}{b}\right )\right ) \operatorname {Subst}\left (\int \frac {\cos \left (\frac {2 a}{b}+2 x\right )}{\sqrt {a+b x}} \, dx,x,\sin ^{-1}(c+d x)\right )}{2 d}\\ &=\frac {\left (e \cos \left (\frac {2 a}{b}\right )\right ) \operatorname {Subst}\left (\int \sin \left (\frac {2 x^2}{b}\right ) \, dx,x,\sqrt {a+b \sin ^{-1}(c+d x)}\right )}{b d}-\frac {\left (e \sin \left (\frac {2 a}{b}\right )\right ) \operatorname {Subst}\left (\int \cos \left (\frac {2 x^2}{b}\right ) \, dx,x,\sqrt {a+b \sin ^{-1}(c+d x)}\right )}{b d}\\ &=\frac {e \sqrt {\pi } \cos \left (\frac {2 a}{b}\right ) S\left (\frac {2 \sqrt {a+b \sin ^{-1}(c+d x)}}{\sqrt {b} \sqrt {\pi }}\right )}{2 \sqrt {b} d}-\frac {e \sqrt {\pi } C\left (\frac {2 \sqrt {a+b \sin ^{-1}(c+d x)}}{\sqrt {b} \sqrt {\pi }}\right ) \sin \left (\frac {2 a}{b}\right )}{2 \sqrt {b} d}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] time = 0.08, size = 134, normalized size = 1.28 \[ -\frac {e e^{-\frac {2 i a}{b}} \left (\sqrt {-\frac {i \left (a+b \sin ^{-1}(c+d x)\right )}{b}} \Gamma \left (\frac {1}{2},-\frac {2 i \left (a+b \sin ^{-1}(c+d x)\right )}{b}\right )+e^{\frac {4 i a}{b}} \sqrt {\frac {i \left (a+b \sin ^{-1}(c+d x)\right )}{b}} \Gamma \left (\frac {1}{2},\frac {2 i \left (a+b \sin ^{-1}(c+d x)\right )}{b}\right )\right )}{4 \sqrt {2} d \sqrt {a+b \sin ^{-1}(c+d x)}} \]
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
fricas [F(-2)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Exception raised: TypeError} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 2.55, size = 151, normalized size = 1.44 \[ -\frac {\sqrt {\pi } i \operatorname {erf}\left (\frac {\sqrt {b \arcsin \left (d x + c\right ) + a} \sqrt {b} i}{{\left | b \right |}} - \frac {\sqrt {b \arcsin \left (d x + c\right ) + a}}{\sqrt {b}}\right ) e^{\left (-\frac {2 \, a i}{b} + 1\right )}}{4 \, {\left (\frac {b^{\frac {3}{2}} i}{{\left | b \right |}} - \sqrt {b}\right )} d} - \frac {\sqrt {\pi } i \operatorname {erf}\left (-\frac {\sqrt {b \arcsin \left (d x + c\right ) + a} \sqrt {b} i}{{\left | b \right |}} - \frac {\sqrt {b \arcsin \left (d x + c\right ) + a}}{\sqrt {b}}\right ) e^{\left (\frac {2 \, a i}{b} + 1\right )}}{4 \, \sqrt {b} d {\left (\frac {b i}{{\left | b \right |}} + 1\right )}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.09, size = 85, normalized size = 0.81 \[ \frac {\sqrt {\pi }\, \sqrt {\frac {1}{b}}\, e \left (\cos \left (\frac {2 a}{b}\right ) \mathrm {S}\left (\frac {2 \sqrt {a +b \arcsin \left (d x +c \right )}}{\sqrt {\pi }\, \sqrt {\frac {1}{b}}\, b}\right )-\sin \left (\frac {2 a}{b}\right ) \FresnelC \left (\frac {2 \sqrt {a +b \arcsin \left (d x +c \right )}}{\sqrt {\pi }\, \sqrt {\frac {1}{b}}\, b}\right )\right )}{2 d} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {d e x + c e}{\sqrt {b \arcsin \left (d x + c\right ) + a}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.01 \[ \int \frac {c\,e+d\,e\,x}{\sqrt {a+b\,\mathrm {asin}\left (c+d\,x\right )}} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ e \left (\int \frac {c}{\sqrt {a + b \operatorname {asin}{\left (c + d x \right )}}}\, dx + \int \frac {d x}{\sqrt {a + b \operatorname {asin}{\left (c + d x \right )}}}\, dx\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________