Optimal. Leaf size=274 \[ \frac {\sqrt {\frac {\pi }{2}} \sqrt {b} e^2 \sin \left (\frac {a}{b}\right ) C\left (\frac {\sqrt {\frac {2}{\pi }} \sqrt {a+b \sin ^{-1}(c+d x)}}{\sqrt {b}}\right )}{4 d}-\frac {\sqrt {\frac {\pi }{6}} \sqrt {b} e^2 \sin \left (\frac {3 a}{b}\right ) C\left (\frac {\sqrt {\frac {6}{\pi }} \sqrt {a+b \sin ^{-1}(c+d x)}}{\sqrt {b}}\right )}{12 d}-\frac {\sqrt {\frac {\pi }{2}} \sqrt {b} e^2 \cos \left (\frac {a}{b}\right ) S\left (\frac {\sqrt {\frac {2}{\pi }} \sqrt {a+b \sin ^{-1}(c+d x)}}{\sqrt {b}}\right )}{4 d}+\frac {\sqrt {\frac {\pi }{6}} \sqrt {b} e^2 \cos \left (\frac {3 a}{b}\right ) S\left (\frac {\sqrt {\frac {6}{\pi }} \sqrt {a+b \sin ^{-1}(c+d x)}}{\sqrt {b}}\right )}{12 d}+\frac {e^2 (c+d x)^3 \sqrt {a+b \sin ^{-1}(c+d x)}}{3 d} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.75, antiderivative size = 274, normalized size of antiderivative = 1.00, number of steps used = 16, number of rules used = 10, integrand size = 25, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.400, Rules used = {4805, 12, 4629, 4723, 3312, 3306, 3305, 3351, 3304, 3352} \[ \frac {\sqrt {\frac {\pi }{2}} \sqrt {b} e^2 \sin \left (\frac {a}{b}\right ) \text {FresnelC}\left (\frac {\sqrt {\frac {2}{\pi }} \sqrt {a+b \sin ^{-1}(c+d x)}}{\sqrt {b}}\right )}{4 d}-\frac {\sqrt {\frac {\pi }{6}} \sqrt {b} e^2 \sin \left (\frac {3 a}{b}\right ) \text {FresnelC}\left (\frac {\sqrt {\frac {6}{\pi }} \sqrt {a+b \sin ^{-1}(c+d x)}}{\sqrt {b}}\right )}{12 d}-\frac {\sqrt {\frac {\pi }{2}} \sqrt {b} e^2 \cos \left (\frac {a}{b}\right ) S\left (\frac {\sqrt {\frac {2}{\pi }} \sqrt {a+b \sin ^{-1}(c+d x)}}{\sqrt {b}}\right )}{4 d}+\frac {\sqrt {\frac {\pi }{6}} \sqrt {b} e^2 \cos \left (\frac {3 a}{b}\right ) S\left (\frac {\sqrt {\frac {6}{\pi }} \sqrt {a+b \sin ^{-1}(c+d x)}}{\sqrt {b}}\right )}{12 d}+\frac {e^2 (c+d x)^3 \sqrt {a+b \sin ^{-1}(c+d x)}}{3 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)^2 \sqrt {a+b \sin ^{-1}(c+d x)} \, dx &=\frac {\operatorname {Subst}\left (\int e^2 x^2 \sqrt {a+b \sin ^{-1}(x)} \, dx,x,c+d x\right )}{d}\\ &=\frac {e^2 \operatorname {Subst}\left (\int x^2 \sqrt {a+b \sin ^{-1}(x)} \, dx,x,c+d x\right )}{d}\\ &=\frac {e^2 (c+d x)^3 \sqrt {a+b \sin ^{-1}(c+d x)}}{3 d}-\frac {\left (b e^2\right ) \operatorname {Subst}\left (\int \frac {x^3}{\sqrt {1-x^2} \sqrt {a+b \sin ^{-1}(x)}} \, dx,x,c+d x\right )}{6 d}\\ &=\frac {e^2 (c+d x)^3 \sqrt {a+b \sin ^{-1}(c+d x)}}{3 d}-\frac {\left (b e^2\right ) \operatorname {Subst}\left (\int \frac {\sin ^3(x)}{\sqrt {a+b x}} \, dx,x,\sin ^{-1}(c+d x)\right )}{6 d}\\ &=\frac {e^2 (c+d x)^3 \sqrt {a+b \sin ^{-1}(c+d x)}}{3 d}-\frac {\left (b e^2\right ) \operatorname {Subst}\left (\int \left (\frac {3 \sin (x)}{4 \sqrt {a+b x}}-\frac {\sin (3 x)}{4 \sqrt {a+b x}}\right ) \, dx,x,\sin ^{-1}(c+d x)\right )}{6 d}\\ &=\frac {e^2 (c+d x)^3 \sqrt {a+b \sin ^{-1}(c+d x)}}{3 d}+\frac {\left (b e^2\right ) \operatorname {Subst}\left (\int \frac {\sin (3 x)}{\sqrt {a+b x}} \, dx,x,\sin ^{-1}(c+d x)\right )}{24 d}-\frac {\left (b e^2\right ) \operatorname {Subst}\left (\int \frac {\sin (x)}{\sqrt {a+b x}} \, dx,x,\sin ^{-1}(c+d x)\right )}{8 d}\\ &=\frac {e^2 (c+d x)^3 \sqrt {a+b \sin ^{-1}(c+d x)}}{3 d}-\frac {\left (b e^2 \cos \left (\frac {a}{b}\right )\right ) \operatorname {Subst}\left (\int \frac {\sin \left (\frac {a}{b}+x\right )}{\sqrt {a+b x}} \, dx,x,\sin ^{-1}(c+d x)\right )}{8 d}+\frac {\left (b e^2 \cos \left (\frac {3 a}{b}\right )\right ) \operatorname {Subst}\left (\int \frac {\sin \left (\frac {3 a}{b}+3 x\right )}{\sqrt {a+b x}} \, dx,x,\sin ^{-1}(c+d x)\right )}{24 d}+\frac {\left (b e^2 \sin \left (\frac {a}{b}\right )\right ) \operatorname {Subst}\left (\int \frac {\cos \left (\frac {a}{b}+x\right )}{\sqrt {a+b x}} \, dx,x,\sin ^{-1}(c+d x)\right )}{8 d}-\frac {\left (b e^2 \sin \left (\frac {3 a}{b}\right )\right ) \operatorname {Subst}\left (\int \frac {\cos \left (\frac {3 a}{b}+3 x\right )}{\sqrt {a+b x}} \, dx,x,\sin ^{-1}(c+d x)\right )}{24 d}\\ &=\frac {e^2 (c+d x)^3 \sqrt {a+b \sin ^{-1}(c+d x)}}{3 d}-\frac {\left (e^2 \cos \left (\frac {a}{b}\right )\right ) \operatorname {Subst}\left (\int \sin \left (\frac {x^2}{b}\right ) \, dx,x,\sqrt {a+b \sin ^{-1}(c+d x)}\right )}{4 d}+\frac {\left (e^2 \cos \left (\frac {3 a}{b}\right )\right ) \operatorname {Subst}\left (\int \sin \left (\frac {3 x^2}{b}\right ) \, dx,x,\sqrt {a+b \sin ^{-1}(c+d x)}\right )}{12 d}+\frac {\left (e^2 \sin \left (\frac {a}{b}\right )\right ) \operatorname {Subst}\left (\int \cos \left (\frac {x^2}{b}\right ) \, dx,x,\sqrt {a+b \sin ^{-1}(c+d x)}\right )}{4 d}-\frac {\left (e^2 \sin \left (\frac {3 a}{b}\right )\right ) \operatorname {Subst}\left (\int \cos \left (\frac {3 x^2}{b}\right ) \, dx,x,\sqrt {a+b \sin ^{-1}(c+d x)}\right )}{12 d}\\ &=\frac {e^2 (c+d x)^3 \sqrt {a+b \sin ^{-1}(c+d x)}}{3 d}-\frac {\sqrt {b} e^2 \sqrt {\frac {\pi }{2}} \cos \left (\frac {a}{b}\right ) S\left (\frac {\sqrt {\frac {2}{\pi }} \sqrt {a+b \sin ^{-1}(c+d x)}}{\sqrt {b}}\right )}{4 d}+\frac {\sqrt {b} e^2 \sqrt {\frac {\pi }{6}} \cos \left (\frac {3 a}{b}\right ) S\left (\frac {\sqrt {\frac {6}{\pi }} \sqrt {a+b \sin ^{-1}(c+d x)}}{\sqrt {b}}\right )}{12 d}+\frac {\sqrt {b} e^2 \sqrt {\frac {\pi }{2}} C\left (\frac {\sqrt {\frac {2}{\pi }} \sqrt {a+b \sin ^{-1}(c+d x)}}{\sqrt {b}}\right ) \sin \left (\frac {a}{b}\right )}{4 d}-\frac {\sqrt {b} e^2 \sqrt {\frac {\pi }{6}} C\left (\frac {\sqrt {\frac {6}{\pi }} \sqrt {a+b \sin ^{-1}(c+d x)}}{\sqrt {b}}\right ) \sin \left (\frac {3 a}{b}\right )}{12 d}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] time = 0.34, size = 269, normalized size = 0.98 \[ -\frac {i e^2 e^{-\frac {3 i a}{b}} \sqrt {a+b \sin ^{-1}(c+d x)} \left (9 e^{\frac {2 i a}{b}} \sqrt {\frac {i \left (a+b \sin ^{-1}(c+d x)\right )}{b}} \Gamma \left (\frac {3}{2},-\frac {i \left (a+b \sin ^{-1}(c+d x)\right )}{b}\right )-9 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 {i \left (a+b \sin ^{-1}(c+d x)\right )}{b}\right )+\sqrt {3} \left (e^{\frac {6 i a}{b}} \sqrt {-\frac {i \left (a+b \sin ^{-1}(c+d x)\right )}{b}} \Gamma \left (\frac {3}{2},\frac {3 i \left (a+b \sin ^{-1}(c+d x)\right )}{b}\right )-\sqrt {\frac {i \left (a+b \sin ^{-1}(c+d x)\right )}{b}} \Gamma \left (\frac {3}{2},-\frac {3 i \left (a+b \sin ^{-1}(c+d x)\right )}{b}\right )\right )\right )}{72 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 = 2.39, size = 1191, normalized size = 4.35 \[ \text {result too large to display} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.32, size = 389, normalized size = 1.42 \[ -\frac {e^{2} \left (\sqrt {\frac {1}{b}}\, \sqrt {2}\, \sqrt {\pi }\, \sin \left (\frac {3 a}{b}\right ) \FresnelC \left (\frac {\sqrt {2}\, \sqrt {3}\, \sqrt {a +b \arcsin \left (d x +c \right )}}{\sqrt {\pi }\, \sqrt {\frac {1}{b}}\, b}\right ) \sqrt {3}\, \sqrt {a +b \arcsin \left (d x +c \right )}\, b -\sqrt {\frac {1}{b}}\, \sqrt {2}\, \sqrt {\pi }\, \cos \left (\frac {3 a}{b}\right ) \mathrm {S}\left (\frac {\sqrt {2}\, \sqrt {3}\, \sqrt {a +b \arcsin \left (d x +c \right )}}{\sqrt {\pi }\, \sqrt {\frac {1}{b}}\, b}\right ) \sqrt {3}\, \sqrt {a +b \arcsin \left (d x +c \right )}\, b +9 \sqrt {2}\, \sqrt {\pi }\, \sqrt {\frac {1}{b}}\, \sqrt {a +b \arcsin \left (d x +c \right )}\, \cos \left (\frac {a}{b}\right ) \mathrm {S}\left (\frac {\sqrt {2}\, \sqrt {a +b \arcsin \left (d x +c \right )}}{\sqrt {\pi }\, \sqrt {\frac {1}{b}}\, b}\right ) b -9 \sqrt {2}\, \sqrt {\pi }\, \sqrt {\frac {1}{b}}\, \sqrt {a +b \arcsin \left (d x +c \right )}\, \FresnelC \left (\frac {\sqrt {2}\, \sqrt {a +b \arcsin \left (d x +c \right )}}{\sqrt {\pi }\, \sqrt {\frac {1}{b}}\, b}\right ) \sin \left (\frac {a}{b}\right ) b +6 \sin \left (\frac {3 a +3 b \arcsin \left (d x +c \right )}{b}-\frac {3 a}{b}\right ) \arcsin \left (d x +c \right ) b +6 \sin \left (\frac {3 a +3 b \arcsin \left (d x +c \right )}{b}-\frac {3 a}{b}\right ) a -18 \sin \left (\frac {a +b \arcsin \left (d x +c \right )}{b}-\frac {a}{b}\right ) \arcsin \left (d x +c \right ) b -18 \sin \left (\frac {a +b \arcsin \left (d x +c \right )}{b}-\frac {a}{b}\right ) a \right )}{72 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 )}^{2} \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.00 \[ \int {\left (c\,e+d\,e\,x\right )}^2\,\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^{2} \left (\int c^{2} \sqrt {a + b \operatorname {asin}{\left (c + d x \right )}}\, dx + \int d^{2} x^{2} \sqrt {a + b \operatorname {asin}{\left (c + d x \right )}}\, dx + \int 2 c 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]
________________________________________________________________________________________