Optimal. Leaf size=70 \[ \frac {b e (c+d x) \sqrt {1-(c+d x)^2}}{4 d}-\frac {b e \text {ArcSin}(c+d x)}{4 d}+\frac {e (c+d x)^2 (a+b \text {ArcSin}(c+d x))}{2 d} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.03, antiderivative size = 70, normalized size of antiderivative = 1.00, number of steps
used = 5, number of rules used = 5, integrand size = 19, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.263, Rules used = {4889, 12, 4723,
327, 222} \begin {gather*} \frac {e (c+d x)^2 (a+b \text {ArcSin}(c+d x))}{2 d}-\frac {b e \text {ArcSin}(c+d x)}{4 d}+\frac {b e \sqrt {1-(c+d x)^2} (c+d x)}{4 d} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 222
Rule 327
Rule 4723
Rule 4889
Rubi steps
\begin {align*} \int (c e+d e x) \left (a+b \sin ^{-1}(c+d x)\right ) \, dx &=\frac {\text {Subst}\left (\int e x \left (a+b \sin ^{-1}(x)\right ) \, dx,x,c+d x\right )}{d}\\ &=\frac {e \text {Subst}\left (\int x \left (a+b \sin ^{-1}(x)\right ) \, dx,x,c+d x\right )}{d}\\ &=\frac {e (c+d x)^2 \left (a+b \sin ^{-1}(c+d x)\right )}{2 d}-\frac {(b e) \text {Subst}\left (\int \frac {x^2}{\sqrt {1-x^2}} \, dx,x,c+d x\right )}{2 d}\\ &=\frac {b e (c+d x) \sqrt {1-(c+d x)^2}}{4 d}+\frac {e (c+d x)^2 \left (a+b \sin ^{-1}(c+d x)\right )}{2 d}-\frac {(b e) \text {Subst}\left (\int \frac {1}{\sqrt {1-x^2}} \, dx,x,c+d x\right )}{4 d}\\ &=\frac {b e (c+d x) \sqrt {1-(c+d x)^2}}{4 d}-\frac {b e \sin ^{-1}(c+d x)}{4 d}+\frac {e (c+d x)^2 \left (a+b \sin ^{-1}(c+d x)\right )}{2 d}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.05, size = 59, normalized size = 0.84 \begin {gather*} \frac {e \left (b (c+d x) \sqrt {1-(c+d x)^2}-b \text {ArcSin}(c+d x)+2 (c+d x)^2 (a+b \text {ArcSin}(c+d x))\right )}{4 d} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.01, size = 64, normalized size = 0.91
method | result | size |
derivativedivides | \(\frac {\frac {e \left (d x +c \right )^{2} a}{2}+e 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}\) | \(64\) |
default | \(\frac {\frac {e \left (d x +c \right )^{2} a}{2}+e 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}\) | \(64\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] Leaf count of result is larger than twice the leaf count of optimal. 208 vs.
\(2 (65) = 130\).
time = 0.47, size = 208, normalized size = 2.97 \begin {gather*} \frac {1}{2} \, a d x^{2} e + \frac {1}{4} \, {\left (2 \, x^{2} \arcsin \left (d x + c\right ) + d {\left (\frac {3 \, c^{2} \arcsin \left (-\frac {d^{2} x + c d}{\sqrt {c^{2} d^{2} - {\left (c^{2} - 1\right )} d^{2}}}\right )}{d^{3}} + \frac {\sqrt {-d^{2} x^{2} - 2 \, c d x - c^{2} + 1} x}{d^{2}} - \frac {{\left (c^{2} - 1\right )} \arcsin \left (-\frac {d^{2} x + c d}{\sqrt {c^{2} d^{2} - {\left (c^{2} - 1\right )} d^{2}}}\right )}{d^{3}} - \frac {3 \, \sqrt {-d^{2} x^{2} - 2 \, c d x - c^{2} + 1} c}{d^{3}}\right )}\right )} b d e + a c x e + \frac {{\left ({\left (d x + c\right )} \arcsin \left (d x + c\right ) + \sqrt {-{\left (d x + c\right )}^{2} + 1}\right )} b c e}{d} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 3.30, size = 92, normalized size = 1.31 \begin {gather*} \frac {{\left (2 \, b d^{2} x^{2} + 4 \, b c d x + 2 \, b c^{2} - b\right )} \arcsin \left (d x + c\right ) e + \sqrt {-d^{2} x^{2} - 2 \, c d x - c^{2} + 1} {\left (b d x + b c\right )} e + 2 \, {\left (a d^{2} x^{2} + 2 \, a c d x\right )} e}{4 \, 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. 148 vs.
\(2 (58) = 116\).
time = 0.12, size = 148, normalized size = 2.11 \begin {gather*} \begin {cases} a c e x + \frac {a d e x^{2}}{2} + \frac {b c^{2} e \operatorname {asin}{\left (c + d x \right )}}{2 d} + b c e x \operatorname {asin}{\left (c + d x \right )} + \frac {b c e \sqrt {- c^{2} - 2 c d x - d^{2} x^{2} + 1}}{4 d} + \frac {b d e x^{2} \operatorname {asin}{\left (c + d x \right )}}{2} + \frac {b e x \sqrt {- c^{2} - 2 c d x - d^{2} x^{2} + 1}}{4} - \frac {b e \operatorname {asin}{\left (c + d x \right )}}{4 d} & \text {for}\: d \neq 0 \\c e x \left (a + b \operatorname {asin}{\left (c \right )}\right ) & \text {otherwise} \end {cases} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.40, size = 77, normalized size = 1.10 \begin {gather*} \frac {{\left ({\left (d x + c\right )}^{2} - 1\right )} b e \arcsin \left (d x + c\right )}{2 \, d} + \frac {\sqrt {-{\left (d x + c\right )}^{2} + 1} {\left (d x + c\right )} b e}{4 \, d} + \frac {{\left ({\left (d x + c\right )}^{2} - 1\right )} a e}{2 \, d} + \frac {b e \arcsin \left (d x + c\right )}{4 \, 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 ) \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________