Optimal. Leaf size=441 \[ -\frac {2 e^2 (c+d x)^2 \sqrt {1-(c+d x)^2}}{5 b d (a+b \text {ArcSin}(c+d x))^{5/2}}-\frac {8 e^2 (c+d x)}{15 b^2 d (a+b \text {ArcSin}(c+d x))^{3/2}}+\frac {4 e^2 (c+d x)^3}{5 b^2 d (a+b \text {ArcSin}(c+d x))^{3/2}}-\frac {16 e^2 \sqrt {1-(c+d x)^2}}{15 b^3 d \sqrt {a+b \text {ArcSin}(c+d x)}}+\frac {24 e^2 (c+d x)^2 \sqrt {1-(c+d x)^2}}{5 b^3 d \sqrt {a+b \text {ArcSin}(c+d x)}}+\frac {2 e^2 \sqrt {2 \pi } \cos \left (\frac {a}{b}\right ) S\left (\frac {\sqrt {\frac {2}{\pi }} \sqrt {a+b \text {ArcSin}(c+d x)}}{\sqrt {b}}\right )}{15 b^{7/2} d}-\frac {6 e^2 \sqrt {6 \pi } \cos \left (\frac {3 a}{b}\right ) S\left (\frac {\sqrt {\frac {6}{\pi }} \sqrt {a+b \text {ArcSin}(c+d x)}}{\sqrt {b}}\right )}{5 b^{7/2} d}-\frac {2 e^2 \sqrt {2 \pi } \text {FresnelC}\left (\frac {\sqrt {\frac {2}{\pi }} \sqrt {a+b \text {ArcSin}(c+d x)}}{\sqrt {b}}\right ) \sin \left (\frac {a}{b}\right )}{15 b^{7/2} d}+\frac {6 e^2 \sqrt {6 \pi } \text {FresnelC}\left (\frac {\sqrt {\frac {6}{\pi }} \sqrt {a+b \text {ArcSin}(c+d x)}}{\sqrt {b}}\right ) \sin \left (\frac {3 a}{b}\right )}{5 b^{7/2} d} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.78, antiderivative size = 441, normalized size of antiderivative = 1.00, number of steps
used = 24, number of rules used = 12, integrand size = 25, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.480, Rules used = {4889, 12,
4729, 4807, 4727, 3387, 3386, 3432, 3385, 3433, 4717, 4809} \begin {gather*} -\frac {2 \sqrt {2 \pi } e^2 \sin \left (\frac {a}{b}\right ) \text {FresnelC}\left (\frac {\sqrt {\frac {2}{\pi }} \sqrt {a+b \text {ArcSin}(c+d x)}}{\sqrt {b}}\right )}{15 b^{7/2} d}+\frac {6 \sqrt {6 \pi } e^2 \sin \left (\frac {3 a}{b}\right ) \text {FresnelC}\left (\frac {\sqrt {\frac {6}{\pi }} \sqrt {a+b \text {ArcSin}(c+d x)}}{\sqrt {b}}\right )}{5 b^{7/2} d}+\frac {2 \sqrt {2 \pi } e^2 \cos \left (\frac {a}{b}\right ) S\left (\frac {\sqrt {\frac {2}{\pi }} \sqrt {a+b \text {ArcSin}(c+d x)}}{\sqrt {b}}\right )}{15 b^{7/2} d}-\frac {6 \sqrt {6 \pi } e^2 \cos \left (\frac {3 a}{b}\right ) S\left (\frac {\sqrt {\frac {6}{\pi }} \sqrt {a+b \text {ArcSin}(c+d x)}}{\sqrt {b}}\right )}{5 b^{7/2} d}+\frac {24 e^2 \sqrt {1-(c+d x)^2} (c+d x)^2}{5 b^3 d \sqrt {a+b \text {ArcSin}(c+d x)}}-\frac {16 e^2 \sqrt {1-(c+d x)^2}}{15 b^3 d \sqrt {a+b \text {ArcSin}(c+d x)}}+\frac {4 e^2 (c+d x)^3}{5 b^2 d (a+b \text {ArcSin}(c+d x))^{3/2}}-\frac {8 e^2 (c+d x)}{15 b^2 d (a+b \text {ArcSin}(c+d x))^{3/2}}-\frac {2 e^2 \sqrt {1-(c+d x)^2} (c+d x)^2}{5 b d (a+b \text {ArcSin}(c+d x))^{5/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 3385
Rule 3386
Rule 3387
Rule 3432
Rule 3433
Rule 4717
Rule 4727
Rule 4729
Rule 4807
Rule 4809
Rule 4889
Rubi steps
\begin {align*} \int \frac {(c e+d e x)^2}{\left (a+b \sin ^{-1}(c+d x)\right )^{7/2}} \, dx &=\frac {\text {Subst}\left (\int \frac {e^2 x^2}{\left (a+b \sin ^{-1}(x)\right )^{7/2}} \, dx,x,c+d x\right )}{d}\\ &=\frac {e^2 \text {Subst}\left (\int \frac {x^2}{\left (a+b \sin ^{-1}(x)\right )^{7/2}} \, dx,x,c+d x\right )}{d}\\ &=-\frac {2 e^2 (c+d x)^2 \sqrt {1-(c+d x)^2}}{5 b d \left (a+b \sin ^{-1}(c+d x)\right )^{5/2}}+\frac {\left (4 e^2\right ) \text {Subst}\left (\int \frac {x}{\sqrt {1-x^2} \left (a+b \sin ^{-1}(x)\right )^{5/2}} \, dx,x,c+d x\right )}{5 b d}-\frac {\left (6 e^2\right ) \text {Subst}\left (\int \frac {x^3}{\sqrt {1-x^2} \left (a+b \sin ^{-1}(x)\right )^{5/2}} \, dx,x,c+d x\right )}{5 b d}\\ &=-\frac {2 e^2 (c+d x)^2 \sqrt {1-(c+d x)^2}}{5 b d \left (a+b \sin ^{-1}(c+d x)\right )^{5/2}}-\frac {8 e^2 (c+d x)}{15 b^2 d \left (a+b \sin ^{-1}(c+d x)\right )^{3/2}}+\frac {4 e^2 (c+d x)^3}{5 b^2 d \left (a+b \sin ^{-1}(c+d x)\right )^{3/2}}+\frac {\left (8 e^2\right ) \text {Subst}\left (\int \frac {1}{\left (a+b \sin ^{-1}(x)\right )^{3/2}} \, dx,x,c+d x\right )}{15 b^2 d}-\frac {\left (12 e^2\right ) \text {Subst}\left (\int \frac {x^2}{\left (a+b \sin ^{-1}(x)\right )^{3/2}} \, dx,x,c+d x\right )}{5 b^2 d}\\ &=-\frac {2 e^2 (c+d x)^2 \sqrt {1-(c+d x)^2}}{5 b d \left (a+b \sin ^{-1}(c+d x)\right )^{5/2}}-\frac {8 e^2 (c+d x)}{15 b^2 d \left (a+b \sin ^{-1}(c+d x)\right )^{3/2}}+\frac {4 e^2 (c+d x)^3}{5 b^2 d \left (a+b \sin ^{-1}(c+d x)\right )^{3/2}}-\frac {16 e^2 \sqrt {1-(c+d x)^2}}{15 b^3 d \sqrt {a+b \sin ^{-1}(c+d x)}}+\frac {24 e^2 (c+d x)^2 \sqrt {1-(c+d x)^2}}{5 b^3 d \sqrt {a+b \sin ^{-1}(c+d x)}}-\frac {\left (16 e^2\right ) \text {Subst}\left (\int \frac {x}{\sqrt {1-x^2} \sqrt {a+b \sin ^{-1}(x)}} \, dx,x,c+d x\right )}{15 b^3 d}-\frac {\left (24 e^2\right ) \text {Subst}\left (\int \left (-\frac {\sin (x)}{4 \sqrt {a+b x}}+\frac {3 \sin (3 x)}{4 \sqrt {a+b x}}\right ) \, dx,x,\sin ^{-1}(c+d x)\right )}{5 b^3 d}\\ &=-\frac {2 e^2 (c+d x)^2 \sqrt {1-(c+d x)^2}}{5 b d \left (a+b \sin ^{-1}(c+d x)\right )^{5/2}}-\frac {8 e^2 (c+d x)}{15 b^2 d \left (a+b \sin ^{-1}(c+d x)\right )^{3/2}}+\frac {4 e^2 (c+d x)^3}{5 b^2 d \left (a+b \sin ^{-1}(c+d x)\right )^{3/2}}-\frac {16 e^2 \sqrt {1-(c+d x)^2}}{15 b^3 d \sqrt {a+b \sin ^{-1}(c+d x)}}+\frac {24 e^2 (c+d x)^2 \sqrt {1-(c+d x)^2}}{5 b^3 d \sqrt {a+b \sin ^{-1}(c+d x)}}-\frac {\left (16 e^2\right ) \text {Subst}\left (\int \frac {\sin (x)}{\sqrt {a+b x}} \, dx,x,\sin ^{-1}(c+d x)\right )}{15 b^3 d}+\frac {\left (6 e^2\right ) \text {Subst}\left (\int \frac {\sin (x)}{\sqrt {a+b x}} \, dx,x,\sin ^{-1}(c+d x)\right )}{5 b^3 d}-\frac {\left (18 e^2\right ) \text {Subst}\left (\int \frac {\sin (3 x)}{\sqrt {a+b x}} \, dx,x,\sin ^{-1}(c+d x)\right )}{5 b^3 d}\\ &=-\frac {2 e^2 (c+d x)^2 \sqrt {1-(c+d x)^2}}{5 b d \left (a+b \sin ^{-1}(c+d x)\right )^{5/2}}-\frac {8 e^2 (c+d x)}{15 b^2 d \left (a+b \sin ^{-1}(c+d x)\right )^{3/2}}+\frac {4 e^2 (c+d x)^3}{5 b^2 d \left (a+b \sin ^{-1}(c+d x)\right )^{3/2}}-\frac {16 e^2 \sqrt {1-(c+d x)^2}}{15 b^3 d \sqrt {a+b \sin ^{-1}(c+d x)}}+\frac {24 e^2 (c+d x)^2 \sqrt {1-(c+d x)^2}}{5 b^3 d \sqrt {a+b \sin ^{-1}(c+d x)}}-\frac {\left (16 e^2 \cos \left (\frac {a}{b}\right )\right ) \text {Subst}\left (\int \frac {\sin \left (\frac {a}{b}+x\right )}{\sqrt {a+b x}} \, dx,x,\sin ^{-1}(c+d x)\right )}{15 b^3 d}+\frac {\left (6 e^2 \cos \left (\frac {a}{b}\right )\right ) \text {Subst}\left (\int \frac {\sin \left (\frac {a}{b}+x\right )}{\sqrt {a+b x}} \, dx,x,\sin ^{-1}(c+d x)\right )}{5 b^3 d}-\frac {\left (18 e^2 \cos \left (\frac {3 a}{b}\right )\right ) \text {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 )}{5 b^3 d}+\frac {\left (16 e^2 \sin \left (\frac {a}{b}\right )\right ) \text {Subst}\left (\int \frac {\cos \left (\frac {a}{b}+x\right )}{\sqrt {a+b x}} \, dx,x,\sin ^{-1}(c+d x)\right )}{15 b^3 d}-\frac {\left (6 e^2 \sin \left (\frac {a}{b}\right )\right ) \text {Subst}\left (\int \frac {\cos \left (\frac {a}{b}+x\right )}{\sqrt {a+b x}} \, dx,x,\sin ^{-1}(c+d x)\right )}{5 b^3 d}+\frac {\left (18 e^2 \sin \left (\frac {3 a}{b}\right )\right ) \text {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 )}{5 b^3 d}\\ &=-\frac {2 e^2 (c+d x)^2 \sqrt {1-(c+d x)^2}}{5 b d \left (a+b \sin ^{-1}(c+d x)\right )^{5/2}}-\frac {8 e^2 (c+d x)}{15 b^2 d \left (a+b \sin ^{-1}(c+d x)\right )^{3/2}}+\frac {4 e^2 (c+d x)^3}{5 b^2 d \left (a+b \sin ^{-1}(c+d x)\right )^{3/2}}-\frac {16 e^2 \sqrt {1-(c+d x)^2}}{15 b^3 d \sqrt {a+b \sin ^{-1}(c+d x)}}+\frac {24 e^2 (c+d x)^2 \sqrt {1-(c+d x)^2}}{5 b^3 d \sqrt {a+b \sin ^{-1}(c+d x)}}-\frac {\left (32 e^2 \cos \left (\frac {a}{b}\right )\right ) \text {Subst}\left (\int \sin \left (\frac {x^2}{b}\right ) \, dx,x,\sqrt {a+b \sin ^{-1}(c+d x)}\right )}{15 b^4 d}+\frac {\left (12 e^2 \cos \left (\frac {a}{b}\right )\right ) \text {Subst}\left (\int \sin \left (\frac {x^2}{b}\right ) \, dx,x,\sqrt {a+b \sin ^{-1}(c+d x)}\right )}{5 b^4 d}-\frac {\left (36 e^2 \cos \left (\frac {3 a}{b}\right )\right ) \text {Subst}\left (\int \sin \left (\frac {3 x^2}{b}\right ) \, dx,x,\sqrt {a+b \sin ^{-1}(c+d x)}\right )}{5 b^4 d}+\frac {\left (32 e^2 \sin \left (\frac {a}{b}\right )\right ) \text {Subst}\left (\int \cos \left (\frac {x^2}{b}\right ) \, dx,x,\sqrt {a+b \sin ^{-1}(c+d x)}\right )}{15 b^4 d}-\frac {\left (12 e^2 \sin \left (\frac {a}{b}\right )\right ) \text {Subst}\left (\int \cos \left (\frac {x^2}{b}\right ) \, dx,x,\sqrt {a+b \sin ^{-1}(c+d x)}\right )}{5 b^4 d}+\frac {\left (36 e^2 \sin \left (\frac {3 a}{b}\right )\right ) \text {Subst}\left (\int \cos \left (\frac {3 x^2}{b}\right ) \, dx,x,\sqrt {a+b \sin ^{-1}(c+d x)}\right )}{5 b^4 d}\\ &=-\frac {2 e^2 (c+d x)^2 \sqrt {1-(c+d x)^2}}{5 b d \left (a+b \sin ^{-1}(c+d x)\right )^{5/2}}-\frac {8 e^2 (c+d x)}{15 b^2 d \left (a+b \sin ^{-1}(c+d x)\right )^{3/2}}+\frac {4 e^2 (c+d x)^3}{5 b^2 d \left (a+b \sin ^{-1}(c+d x)\right )^{3/2}}-\frac {16 e^2 \sqrt {1-(c+d x)^2}}{15 b^3 d \sqrt {a+b \sin ^{-1}(c+d x)}}+\frac {24 e^2 (c+d x)^2 \sqrt {1-(c+d x)^2}}{5 b^3 d \sqrt {a+b \sin ^{-1}(c+d x)}}+\frac {2 e^2 \sqrt {2 \pi } \cos \left (\frac {a}{b}\right ) S\left (\frac {\sqrt {\frac {2}{\pi }} \sqrt {a+b \sin ^{-1}(c+d x)}}{\sqrt {b}}\right )}{15 b^{7/2} d}-\frac {6 e^2 \sqrt {6 \pi } \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 )}{5 b^{7/2} d}-\frac {2 e^2 \sqrt {2 \pi } C\left (\frac {\sqrt {\frac {2}{\pi }} \sqrt {a+b \sin ^{-1}(c+d x)}}{\sqrt {b}}\right ) \sin \left (\frac {a}{b}\right )}{15 b^{7/2} d}+\frac {6 e^2 \sqrt {6 \pi } 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 )}{5 b^{7/2} d}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] Result contains complex when optimal does not.
time = 1.20, size = 538, normalized size = 1.22 \begin {gather*} \frac {e^2 \left (-3 b^2 e^{i \text {ArcSin}(c+d x)}+3 b^2 e^{3 i \text {ArcSin}(c+d x)}+2 e^{-\frac {i a}{b}} (a+b \text {ArcSin}(c+d x)) \left (e^{\frac {i (a+b \text {ArcSin}(c+d x))}{b}} (2 a-i b+2 b \text {ArcSin}(c+d x))-2 i b \left (-\frac {i (a+b \text {ArcSin}(c+d x))}{b}\right )^{3/2} \text {Gamma}\left (\frac {1}{2},-\frac {i (a+b \text {ArcSin}(c+d x))}{b}\right )\right )+e^{-i \text {ArcSin}(c+d x)} \left (4 a^2+2 a b (i+4 \text {ArcSin}(c+d x))+b^2 \left (-3+2 i \text {ArcSin}(c+d x)+4 \text {ArcSin}(c+d x)^2\right )-4 e^{\frac {i (a+b \text {ArcSin}(c+d x))}{b}} (a+b \text {ArcSin}(c+d x))^2 \sqrt {\frac {i (a+b \text {ArcSin}(c+d x))}{b}} \text {Gamma}\left (\frac {1}{2},\frac {i (a+b \text {ArcSin}(c+d x))}{b}\right )\right )-6 e^{-\frac {3 i a}{b}} (a+b \text {ArcSin}(c+d x)) \left (e^{\frac {3 i (a+b \text {ArcSin}(c+d x))}{b}} (6 a-i b+6 b \text {ArcSin}(c+d x))-6 i \sqrt {3} b \left (-\frac {i (a+b \text {ArcSin}(c+d x))}{b}\right )^{3/2} \text {Gamma}\left (\frac {1}{2},-\frac {3 i (a+b \text {ArcSin}(c+d x))}{b}\right )\right )+3 e^{-3 i \text {ArcSin}(c+d x)} \left (b^2-2 (a+b \text {ArcSin}(c+d x)) \left (6 a+i b+6 b \text {ArcSin}(c+d x)+6 i \sqrt {3} b e^{\frac {3 i (a+b \text {ArcSin}(c+d x))}{b}} \left (\frac {i (a+b \text {ArcSin}(c+d x))}{b}\right )^{3/2} \text {Gamma}\left (\frac {1}{2},\frac {3 i (a+b \text {ArcSin}(c+d x))}{b}\right )\right )\right )\right )}{60 b^3 d (a+b \text {ArcSin}(c+d x))^{5/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(1246\) vs.
\(2(367)=734\).
time = 0.57, size = 1247, normalized size = 2.83
method | result | size |
default | \(\text {Expression too large to display}\) | \(1247\) |
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*} e^{2} \left (\int \frac {c^{2}}{a^{3} \sqrt {a + b \operatorname {asin}{\left (c + d x \right )}} + 3 a^{2} b \sqrt {a + b \operatorname {asin}{\left (c + d x \right )}} \operatorname {asin}{\left (c + d x \right )} + 3 a b^{2} \sqrt {a + b \operatorname {asin}{\left (c + d x \right )}} \operatorname {asin}^{2}{\left (c + d x \right )} + b^{3} \sqrt {a + b \operatorname {asin}{\left (c + d x \right )}} \operatorname {asin}^{3}{\left (c + d x \right )}}\, dx + \int \frac {d^{2} x^{2}}{a^{3} \sqrt {a + b \operatorname {asin}{\left (c + d x \right )}} + 3 a^{2} b \sqrt {a + b \operatorname {asin}{\left (c + d x \right )}} \operatorname {asin}{\left (c + d x \right )} + 3 a b^{2} \sqrt {a + b \operatorname {asin}{\left (c + d x \right )}} \operatorname {asin}^{2}{\left (c + d x \right )} + b^{3} \sqrt {a + b \operatorname {asin}{\left (c + d x \right )}} \operatorname {asin}^{3}{\left (c + d x \right )}}\, dx + \int \frac {2 c d x}{a^{3} \sqrt {a + b \operatorname {asin}{\left (c + d x \right )}} + 3 a^{2} b \sqrt {a + b \operatorname {asin}{\left (c + d x \right )}} \operatorname {asin}{\left (c + d x \right )} + 3 a b^{2} \sqrt {a + b \operatorname {asin}{\left (c + d x \right )}} \operatorname {asin}^{2}{\left (c + d x \right )} + b^{3} \sqrt {a + b \operatorname {asin}{\left (c + d x \right )}} \operatorname {asin}^{3}{\left (c + d x \right )}}\, dx\right ) \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 \frac {{\left (c\,e+d\,e\,x\right )}^2}{{\left (a+b\,\mathrm {asin}\left (c+d\,x\right )\right )}^{7/2}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________