Optimal. Leaf size=156 \[ \frac {\sqrt {\pi } \sqrt {b} e \cos \left (\frac {2 a}{b}\right ) C\left (\frac {2 \sqrt {a+b \sin ^{-1}(c+d x)}}{\sqrt {b} \sqrt {\pi }}\right )}{8 d}+\frac {\sqrt {\pi } \sqrt {b} e \sin \left (\frac {2 a}{b}\right ) S\left (\frac {2 \sqrt {a+b \sin ^{-1}(c+d x)}}{\sqrt {b} \sqrt {\pi }}\right )}{8 d}+\frac {e (c+d x)^2 \sqrt {a+b \sin ^{-1}(c+d x)}}{2 d}-\frac {e \sqrt {a+b \sin ^{-1}(c+d x)}}{4 d} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.42, antiderivative size = 156, normalized size of antiderivative = 1.00, number of steps used = 11, number of rules used = 10, integrand size = 23, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.435, Rules used = {4805, 12, 4629, 4723, 3312, 3306, 3305, 3351, 3304, 3352} \[ \frac {\sqrt {\pi } \sqrt {b} e \cos \left (\frac {2 a}{b}\right ) \text {FresnelC}\left (\frac {2 \sqrt {a+b \sin ^{-1}(c+d x)}}{\sqrt {\pi } \sqrt {b}}\right )}{8 d}+\frac {\sqrt {\pi } \sqrt {b} e \sin \left (\frac {2 a}{b}\right ) S\left (\frac {2 \sqrt {a+b \sin ^{-1}(c+d x)}}{\sqrt {b} \sqrt {\pi }}\right )}{8 d}+\frac {e (c+d x)^2 \sqrt {a+b \sin ^{-1}(c+d x)}}{2 d}-\frac {e \sqrt {a+b \sin ^{-1}(c+d x)}}{4 d} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 3304
Rule 3305
Rule 3306
Rule 3312
Rule 3351
Rule 3352
Rule 4629
Rule 4723
Rule 4805
Rubi steps
\begin {align*} \int (c e+d e x) \sqrt {a+b \sin ^{-1}(c+d x)} \, dx &=\frac {\operatorname {Subst}\left (\int e x \sqrt {a+b \sin ^{-1}(x)} \, dx,x,c+d x\right )}{d}\\ &=\frac {e \operatorname {Subst}\left (\int x \sqrt {a+b \sin ^{-1}(x)} \, dx,x,c+d x\right )}{d}\\ &=\frac {e (c+d x)^2 \sqrt {a+b \sin ^{-1}(c+d x)}}{2 d}-\frac {(b e) \operatorname {Subst}\left (\int \frac {x^2}{\sqrt {1-x^2} \sqrt {a+b \sin ^{-1}(x)}} \, dx,x,c+d x\right )}{4 d}\\ &=\frac {e (c+d x)^2 \sqrt {a+b \sin ^{-1}(c+d x)}}{2 d}-\frac {(b e) \operatorname {Subst}\left (\int \frac {\sin ^2(x)}{\sqrt {a+b x}} \, dx,x,\sin ^{-1}(c+d x)\right )}{4 d}\\ &=\frac {e (c+d x)^2 \sqrt {a+b \sin ^{-1}(c+d x)}}{2 d}-\frac {(b e) \operatorname {Subst}\left (\int \left (\frac {1}{2 \sqrt {a+b x}}-\frac {\cos (2 x)}{2 \sqrt {a+b x}}\right ) \, dx,x,\sin ^{-1}(c+d x)\right )}{4 d}\\ &=-\frac {e \sqrt {a+b \sin ^{-1}(c+d x)}}{4 d}+\frac {e (c+d x)^2 \sqrt {a+b \sin ^{-1}(c+d x)}}{2 d}+\frac {(b e) \operatorname {Subst}\left (\int \frac {\cos (2 x)}{\sqrt {a+b x}} \, dx,x,\sin ^{-1}(c+d x)\right )}{8 d}\\ &=-\frac {e \sqrt {a+b \sin ^{-1}(c+d x)}}{4 d}+\frac {e (c+d x)^2 \sqrt {a+b \sin ^{-1}(c+d x)}}{2 d}+\frac {\left (b e \cos \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 )}{8 d}+\frac {\left (b e \sin \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 )}{8 d}\\ &=-\frac {e \sqrt {a+b \sin ^{-1}(c+d x)}}{4 d}+\frac {e (c+d x)^2 \sqrt {a+b \sin ^{-1}(c+d x)}}{2 d}+\frac {\left (e \cos \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 )}{4 d}+\frac {\left (e \sin \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 )}{4 d}\\ &=-\frac {e \sqrt {a+b \sin ^{-1}(c+d x)}}{4 d}+\frac {e (c+d x)^2 \sqrt {a+b \sin ^{-1}(c+d x)}}{2 d}+\frac {\sqrt {b} e \sqrt {\pi } \cos \left (\frac {2 a}{b}\right ) C\left (\frac {2 \sqrt {a+b \sin ^{-1}(c+d x)}}{\sqrt {b} \sqrt {\pi }}\right )}{8 d}+\frac {\sqrt {b} e \sqrt {\pi } S\left (\frac {2 \sqrt {a+b \sin ^{-1}(c+d x)}}{\sqrt {b} \sqrt {\pi }}\right ) \sin \left (\frac {2 a}{b}\right )}{8 d}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] time = 0.08, size = 154, normalized size = 0.99 \[ -\frac {e e^{-\frac {2 i a}{b}} \sqrt {a+b \sin ^{-1}(c+d x)} \left (\sqrt {\frac {i \left (a+b \sin ^{-1}(c+d x)\right )}{b}} \Gamma \left (\frac {3}{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 {3}{2},\frac {2 i \left (a+b \sin ^{-1}(c+d x)\right )}{b}\right )\right )}{8 \sqrt {2} d \sqrt {\frac {\left (a+b \sin ^{-1}(c+d x)\right )^2}{b^2}}} \]
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 [B] time = 1.85, size = 517, normalized size = 3.31 \[ \frac {\sqrt {\pi } a \sqrt {b} 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^{2} i}{{\left | b \right |}} + b\right )} d} + \frac {\sqrt {\pi } a \sqrt {b} 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^{2} i}{{\left | b \right |}} - b\right )} d} - \frac {\sqrt {\pi } a 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 } b^{\frac {3}{2}} \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 )}}{16 \, {\left (\frac {b^{2} i}{{\left | b \right |}} + b\right )} d} - \frac {\sqrt {\pi } a 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 )}} + \frac {\sqrt {\pi } b^{\frac {3}{2}} \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 )}}{16 \, {\left (\frac {b^{2} i}{{\left | b \right |}} - b\right )} d} - \frac {\sqrt {b \arcsin \left (d x + c\right ) + a} e^{\left (2 \, i \arcsin \left (d x + c\right ) + 1\right )}}{8 \, d} - \frac {\sqrt {b \arcsin \left (d x + c\right ) + a} e^{\left (-2 \, i \arcsin \left (d x + c\right ) + 1\right )}}{8 \, d} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.21, size = 190, normalized size = 1.22 \[ -\frac {e \left (-\cos \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 ) \sqrt {a +b \arcsin \left (d x +c \right )}\, \sqrt {\frac {1}{b}}\, \sqrt {\pi }\, b -\sin \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 ) \sqrt {a +b \arcsin \left (d x +c \right )}\, \sqrt {\frac {1}{b}}\, \sqrt {\pi }\, b +2 \arcsin \left (d x +c \right ) \cos \left (\frac {2 a +2 b \arcsin \left (d x +c \right )}{b}-\frac {2 a}{b}\right ) b +2 \cos \left (\frac {2 a +2 b \arcsin \left (d x +c \right )}{b}-\frac {2 a}{b}\right ) a \right )}{8 d \sqrt {a +b \arcsin \left (d x +c \right )}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int {\left (d e x + c e\right )} \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 \left (c\,e+d\,e\,x\right )\,\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 c \sqrt {a + b \operatorname {asin}{\left (c + d x \right )}}\, dx + \int 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]
________________________________________________________________________________________