Optimal. Leaf size=165 \[ -\frac {3 b^3 e (c+d x) \sqrt {1-(c+d x)^2}}{8 d}+\frac {3 b^3 e \text {ArcSin}(c+d x)}{8 d}-\frac {3 b^2 e (c+d x)^2 (a+b \text {ArcSin}(c+d x))}{4 d}+\frac {3 b e (c+d x) \sqrt {1-(c+d x)^2} (a+b \text {ArcSin}(c+d x))^2}{4 d}-\frac {e (a+b \text {ArcSin}(c+d x))^3}{4 d}+\frac {e (c+d x)^2 (a+b \text {ArcSin}(c+d x))^3}{2 d} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.15, antiderivative size = 165, normalized size of antiderivative = 1.00, number of steps
used = 8, number of rules used = 7, integrand size = 21, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.333, Rules used = {4889, 12, 4723,
4795, 4737, 327, 222} \begin {gather*} -\frac {3 b^2 e (c+d x)^2 (a+b \text {ArcSin}(c+d x))}{4 d}+\frac {3 b e (c+d x) \sqrt {1-(c+d x)^2} (a+b \text {ArcSin}(c+d x))^2}{4 d}+\frac {e (c+d x)^2 (a+b \text {ArcSin}(c+d x))^3}{2 d}-\frac {e (a+b \text {ArcSin}(c+d x))^3}{4 d}+\frac {3 b^3 e \text {ArcSin}(c+d x)}{8 d}-\frac {3 b^3 e (c+d x) \sqrt {1-(c+d x)^2}}{8 d} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 222
Rule 327
Rule 4723
Rule 4737
Rule 4795
Rule 4889
Rubi steps
\begin {align*} \int (c e+d e x) \left (a+b \sin ^{-1}(c+d x)\right )^3 \, dx &=\frac {\text {Subst}\left (\int e x \left (a+b \sin ^{-1}(x)\right )^3 \, dx,x,c+d x\right )}{d}\\ &=\frac {e \text {Subst}\left (\int x \left (a+b \sin ^{-1}(x)\right )^3 \, dx,x,c+d x\right )}{d}\\ &=\frac {e (c+d x)^2 \left (a+b \sin ^{-1}(c+d x)\right )^3}{2 d}-\frac {(3 b e) \text {Subst}\left (\int \frac {x^2 \left (a+b \sin ^{-1}(x)\right )^2}{\sqrt {1-x^2}} \, dx,x,c+d x\right )}{2 d}\\ &=\frac {3 b e (c+d x) \sqrt {1-(c+d x)^2} \left (a+b \sin ^{-1}(c+d x)\right )^2}{4 d}+\frac {e (c+d x)^2 \left (a+b \sin ^{-1}(c+d x)\right )^3}{2 d}-\frac {(3 b e) \text {Subst}\left (\int \frac {\left (a+b \sin ^{-1}(x)\right )^2}{\sqrt {1-x^2}} \, dx,x,c+d x\right )}{4 d}-\frac {\left (3 b^2 e\right ) \text {Subst}\left (\int x \left (a+b \sin ^{-1}(x)\right ) \, dx,x,c+d x\right )}{2 d}\\ &=-\frac {3 b^2 e (c+d x)^2 \left (a+b \sin ^{-1}(c+d x)\right )}{4 d}+\frac {3 b e (c+d x) \sqrt {1-(c+d x)^2} \left (a+b \sin ^{-1}(c+d x)\right )^2}{4 d}-\frac {e \left (a+b \sin ^{-1}(c+d x)\right )^3}{4 d}+\frac {e (c+d x)^2 \left (a+b \sin ^{-1}(c+d x)\right )^3}{2 d}+\frac {\left (3 b^3 e\right ) \text {Subst}\left (\int \frac {x^2}{\sqrt {1-x^2}} \, dx,x,c+d x\right )}{4 d}\\ &=-\frac {3 b^3 e (c+d x) \sqrt {1-(c+d x)^2}}{8 d}-\frac {3 b^2 e (c+d x)^2 \left (a+b \sin ^{-1}(c+d x)\right )}{4 d}+\frac {3 b e (c+d x) \sqrt {1-(c+d x)^2} \left (a+b \sin ^{-1}(c+d x)\right )^2}{4 d}-\frac {e \left (a+b \sin ^{-1}(c+d x)\right )^3}{4 d}+\frac {e (c+d x)^2 \left (a+b \sin ^{-1}(c+d x)\right )^3}{2 d}+\frac {\left (3 b^3 e\right ) \text {Subst}\left (\int \frac {1}{\sqrt {1-x^2}} \, dx,x,c+d x\right )}{8 d}\\ &=-\frac {3 b^3 e (c+d x) \sqrt {1-(c+d x)^2}}{8 d}+\frac {3 b^3 e \sin ^{-1}(c+d x)}{8 d}-\frac {3 b^2 e (c+d x)^2 \left (a+b \sin ^{-1}(c+d x)\right )}{4 d}+\frac {3 b e (c+d x) \sqrt {1-(c+d x)^2} \left (a+b \sin ^{-1}(c+d x)\right )^2}{4 d}-\frac {e \left (a+b \sin ^{-1}(c+d x)\right )^3}{4 d}+\frac {e (c+d x)^2 \left (a+b \sin ^{-1}(c+d x)\right )^3}{2 d}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.15, size = 137, normalized size = 0.83 \begin {gather*} \frac {e \left (\frac {3}{2} b^3 \left (-\left ((c+d x) \sqrt {1-(c+d x)^2}\right )+\text {ArcSin}(c+d x)\right )-3 b^2 (c+d x)^2 (a+b \text {ArcSin}(c+d x))+3 b (c+d x) \sqrt {1-(c+d x)^2} (a+b \text {ArcSin}(c+d x))^2-(a+b \text {ArcSin}(c+d x))^3+2 (c+d x)^2 (a+b \text {ArcSin}(c+d x))^3\right )}{4 d} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.05, size = 266, normalized size = 1.61
method | result | size |
derivativedivides | \(\frac {\frac {e \left (d x +c \right )^{2} a^{3}}{2}+e \,b^{3} \left (\frac {\left (\left (d x +c \right )^{2}-1\right ) \arcsin \left (d x +c \right )^{3}}{2}+\frac {3 \arcsin \left (d x +c \right )^{2} \left (\left (d x +c \right ) \sqrt {1-\left (d x +c \right )^{2}}+\arcsin \left (d x +c \right )\right )}{4}-\frac {3 \left (\left (d x +c \right )^{2}-1\right ) \arcsin \left (d x +c \right )}{4}-\frac {3 \left (d x +c \right ) \sqrt {1-\left (d x +c \right )^{2}}}{8}-\frac {3 \arcsin \left (d x +c \right )}{8}-\frac {\arcsin \left (d x +c \right )^{3}}{2}\right )+3 e a \,b^{2} \left (\frac {\left (\left (d x +c \right )^{2}-1\right ) \arcsin \left (d x +c \right )^{2}}{2}+\frac {\arcsin \left (d x +c \right ) \left (\left (d x +c \right ) \sqrt {1-\left (d x +c \right )^{2}}+\arcsin \left (d x +c \right )\right )}{2}-\frac {\arcsin \left (d x +c \right )^{2}}{4}-\frac {\left (d x +c \right )^{2}}{4}\right )+3 e \,a^{2} b \left (\frac {\left (d x +c \right )^{2} \arcsin \left (d x +c \right )}{2}+\frac {\left (d x +c \right ) \sqrt {1-\left (d x +c \right )^{2}}}{4}-\frac {\arcsin \left (d x +c \right )}{4}\right )}{d}\) | \(266\) |
default | \(\frac {\frac {e \left (d x +c \right )^{2} a^{3}}{2}+e \,b^{3} \left (\frac {\left (\left (d x +c \right )^{2}-1\right ) \arcsin \left (d x +c \right )^{3}}{2}+\frac {3 \arcsin \left (d x +c \right )^{2} \left (\left (d x +c \right ) \sqrt {1-\left (d x +c \right )^{2}}+\arcsin \left (d x +c \right )\right )}{4}-\frac {3 \left (\left (d x +c \right )^{2}-1\right ) \arcsin \left (d x +c \right )}{4}-\frac {3 \left (d x +c \right ) \sqrt {1-\left (d x +c \right )^{2}}}{8}-\frac {3 \arcsin \left (d x +c \right )}{8}-\frac {\arcsin \left (d x +c \right )^{3}}{2}\right )+3 e a \,b^{2} \left (\frac {\left (\left (d x +c \right )^{2}-1\right ) \arcsin \left (d x +c \right )^{2}}{2}+\frac {\arcsin \left (d x +c \right ) \left (\left (d x +c \right ) \sqrt {1-\left (d x +c \right )^{2}}+\arcsin \left (d x +c \right )\right )}{2}-\frac {\arcsin \left (d x +c \right )^{2}}{4}-\frac {\left (d x +c \right )^{2}}{4}\right )+3 e \,a^{2} b \left (\frac {\left (d x +c \right )^{2} \arcsin \left (d x +c \right )}{2}+\frac {\left (d x +c \right ) \sqrt {1-\left (d x +c \right )^{2}}}{4}-\frac {\arcsin \left (d x +c \right )}{4}\right )}{d}\) | \(266\) |
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 [B] Leaf count of result is larger than twice the leaf count of optimal. 321 vs.
\(2 (155) = 310\).
time = 0.96, size = 321, normalized size = 1.95 \begin {gather*} \frac {2 \, {\left (2 \, b^{3} d^{2} x^{2} + 4 \, b^{3} c d x + 2 \, b^{3} c^{2} - b^{3}\right )} \arcsin \left (d x + c\right )^{3} e + 6 \, {\left (2 \, a b^{2} d^{2} x^{2} + 4 \, a b^{2} c d x + 2 \, a b^{2} c^{2} - a b^{2}\right )} \arcsin \left (d x + c\right )^{2} e + 3 \, {\left (2 \, {\left (2 \, a^{2} b - b^{3}\right )} d^{2} x^{2} + 4 \, {\left (2 \, a^{2} b - b^{3}\right )} c d x - 2 \, a^{2} b + b^{3} + 2 \, {\left (2 \, a^{2} b - b^{3}\right )} c^{2}\right )} \arcsin \left (d x + c\right ) e + 2 \, {\left ({\left (2 \, a^{3} - 3 \, a b^{2}\right )} d^{2} x^{2} + 2 \, {\left (2 \, a^{3} - 3 \, a b^{2}\right )} c d x\right )} e + 3 \, \sqrt {-d^{2} x^{2} - 2 \, c d x - c^{2} + 1} {\left (2 \, {\left (b^{3} d x + b^{3} c\right )} \arcsin \left (d x + c\right )^{2} e + 4 \, {\left (a b^{2} d x + a b^{2} c\right )} \arcsin \left (d x + c\right ) e + {\left ({\left (2 \, a^{2} b - b^{3}\right )} d x + {\left (2 \, a^{2} b - b^{3}\right )} c\right )} e\right )}}{8 \, d} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [B] Leaf count of result is larger than twice the leaf count of optimal. 685 vs.
\(2 (148) = 296\).
time = 0.40, size = 685, normalized size = 4.15 \begin {gather*} \begin {cases} a^{3} c e x + \frac {a^{3} d e x^{2}}{2} + \frac {3 a^{2} b c^{2} e \operatorname {asin}{\left (c + d x \right )}}{2 d} + 3 a^{2} b c e x \operatorname {asin}{\left (c + d x \right )} + \frac {3 a^{2} b c e \sqrt {- c^{2} - 2 c d x - d^{2} x^{2} + 1}}{4 d} + \frac {3 a^{2} b d e x^{2} \operatorname {asin}{\left (c + d x \right )}}{2} + \frac {3 a^{2} b e x \sqrt {- c^{2} - 2 c d x - d^{2} x^{2} + 1}}{4} - \frac {3 a^{2} b e \operatorname {asin}{\left (c + d x \right )}}{4 d} + \frac {3 a b^{2} c^{2} e \operatorname {asin}^{2}{\left (c + d x \right )}}{2 d} + 3 a b^{2} c e x \operatorname {asin}^{2}{\left (c + d x \right )} - \frac {3 a b^{2} c e x}{2} + \frac {3 a b^{2} c e \sqrt {- c^{2} - 2 c d x - d^{2} x^{2} + 1} \operatorname {asin}{\left (c + d x \right )}}{2 d} + \frac {3 a b^{2} d e x^{2} \operatorname {asin}^{2}{\left (c + d x \right )}}{2} - \frac {3 a b^{2} d e x^{2}}{4} + \frac {3 a b^{2} e x \sqrt {- c^{2} - 2 c d x - d^{2} x^{2} + 1} \operatorname {asin}{\left (c + d x \right )}}{2} - \frac {3 a b^{2} e \operatorname {asin}^{2}{\left (c + d x \right )}}{4 d} + \frac {b^{3} c^{2} e \operatorname {asin}^{3}{\left (c + d x \right )}}{2 d} - \frac {3 b^{3} c^{2} e \operatorname {asin}{\left (c + d x \right )}}{4 d} + b^{3} c e x \operatorname {asin}^{3}{\left (c + d x \right )} - \frac {3 b^{3} c e x \operatorname {asin}{\left (c + d x \right )}}{2} + \frac {3 b^{3} c e \sqrt {- c^{2} - 2 c d x - d^{2} x^{2} + 1} \operatorname {asin}^{2}{\left (c + d x \right )}}{4 d} - \frac {3 b^{3} c e \sqrt {- c^{2} - 2 c d x - d^{2} x^{2} + 1}}{8 d} + \frac {b^{3} d e x^{2} \operatorname {asin}^{3}{\left (c + d x \right )}}{2} - \frac {3 b^{3} d e x^{2} \operatorname {asin}{\left (c + d x \right )}}{4} + \frac {3 b^{3} e x \sqrt {- c^{2} - 2 c d x - d^{2} x^{2} + 1} \operatorname {asin}^{2}{\left (c + d x \right )}}{4} - \frac {3 b^{3} e x \sqrt {- c^{2} - 2 c d x - d^{2} x^{2} + 1}}{8} - \frac {b^{3} e \operatorname {asin}^{3}{\left (c + d x \right )}}{4 d} + \frac {3 b^{3} e \operatorname {asin}{\left (c + d x \right )}}{8 d} & \text {for}\: d \neq 0 \\c e x \left (a + b \operatorname {asin}{\left (c \right )}\right )^{3} & \text {otherwise} \end {cases} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] Leaf count of result is larger than twice the leaf count of optimal. 340 vs.
\(2 (149) = 298\).
time = 0.46, size = 340, normalized size = 2.06 \begin {gather*} \frac {{\left ({\left (d x + c\right )}^{2} - 1\right )} b^{3} e \arcsin \left (d x + c\right )^{3}}{2 \, d} + \frac {3 \, \sqrt {-{\left (d x + c\right )}^{2} + 1} {\left (d x + c\right )} b^{3} e \arcsin \left (d x + c\right )^{2}}{4 \, d} + \frac {3 \, {\left ({\left (d x + c\right )}^{2} - 1\right )} a b^{2} e \arcsin \left (d x + c\right )^{2}}{2 \, d} + \frac {b^{3} e \arcsin \left (d x + c\right )^{3}}{4 \, d} + \frac {3 \, \sqrt {-{\left (d x + c\right )}^{2} + 1} {\left (d x + c\right )} a b^{2} e \arcsin \left (d x + c\right )}{2 \, d} + \frac {3 \, {\left ({\left (d x + c\right )}^{2} - 1\right )} a^{2} b e \arcsin \left (d x + c\right )}{2 \, d} - \frac {3 \, {\left ({\left (d x + c\right )}^{2} - 1\right )} b^{3} e \arcsin \left (d x + c\right )}{4 \, d} + \frac {3 \, a b^{2} e \arcsin \left (d x + c\right )^{2}}{4 \, d} + \frac {3 \, \sqrt {-{\left (d x + c\right )}^{2} + 1} {\left (d x + c\right )} a^{2} b e}{4 \, d} - \frac {3 \, \sqrt {-{\left (d x + c\right )}^{2} + 1} {\left (d x + c\right )} b^{3} e}{8 \, d} + \frac {{\left ({\left (d x + c\right )}^{2} - 1\right )} a^{3} e}{2 \, d} - \frac {3 \, {\left ({\left (d x + c\right )}^{2} - 1\right )} a b^{2} e}{4 \, d} + \frac {3 \, a^{2} b e \arcsin \left (d x + c\right )}{4 \, d} - \frac {3 \, b^{3} e \arcsin \left (d x + c\right )}{8 \, d} - \frac {3 \, a b^{2} e}{8 \, d} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \left (c\,e+d\,e\,x\right )\,{\left (a+b\,\mathrm {asin}\left (c+d\,x\right )\right )}^3 \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________