Optimal. Leaf size=80 \[ \frac{e^2 (c+d x)^3 \left (a+b \sin ^{-1}(c+d x)\right )}{3 d}-\frac{b e^2 \left (1-(c+d x)^2\right )^{3/2}}{9 d}+\frac{b e^2 \sqrt{1-(c+d x)^2}}{3 d} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0713548, antiderivative size = 80, normalized size of antiderivative = 1., number of steps used = 6, number of rules used = 5, integrand size = 21, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.238, Rules used = {4805, 12, 4627, 266, 43} \[ \frac{e^2 (c+d x)^3 \left (a+b \sin ^{-1}(c+d x)\right )}{3 d}-\frac{b e^2 \left (1-(c+d x)^2\right )^{3/2}}{9 d}+\frac{b e^2 \sqrt{1-(c+d x)^2}}{3 d} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 4805
Rule 12
Rule 4627
Rule 266
Rule 43
Rubi steps
\begin{align*} \int (c e+d e x)^2 \left (a+b \sin ^{-1}(c+d x)\right ) \, dx &=\frac{\operatorname{Subst}\left (\int e^2 x^2 \left (a+b \sin ^{-1}(x)\right ) \, dx,x,c+d x\right )}{d}\\ &=\frac{e^2 \operatorname{Subst}\left (\int x^2 \left (a+b \sin ^{-1}(x)\right ) \, dx,x,c+d x\right )}{d}\\ &=\frac{e^2 (c+d x)^3 \left (a+b \sin ^{-1}(c+d x)\right )}{3 d}-\frac{\left (b e^2\right ) \operatorname{Subst}\left (\int \frac{x^3}{\sqrt{1-x^2}} \, dx,x,c+d x\right )}{3 d}\\ &=\frac{e^2 (c+d x)^3 \left (a+b \sin ^{-1}(c+d x)\right )}{3 d}-\frac{\left (b e^2\right ) \operatorname{Subst}\left (\int \frac{x}{\sqrt{1-x}} \, dx,x,(c+d x)^2\right )}{6 d}\\ &=\frac{e^2 (c+d x)^3 \left (a+b \sin ^{-1}(c+d x)\right )}{3 d}-\frac{\left (b e^2\right ) \operatorname{Subst}\left (\int \left (\frac{1}{\sqrt{1-x}}-\sqrt{1-x}\right ) \, dx,x,(c+d x)^2\right )}{6 d}\\ &=\frac{b e^2 \sqrt{1-(c+d x)^2}}{3 d}-\frac{b e^2 \left (1-(c+d x)^2\right )^{3/2}}{9 d}+\frac{e^2 (c+d x)^3 \left (a+b \sin ^{-1}(c+d x)\right )}{3 d}\\ \end{align*}
Mathematica [A] time = 0.0483664, size = 64, normalized size = 0.8 \[ \frac{e^2 \left (3 (c+d x)^3 \left (a+b \sin ^{-1}(c+d x)\right )+b \left (c^2+2 c d x+d^2 x^2+2\right ) \sqrt{1-(c+d x)^2}\right )}{9 d} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.004, size = 77, normalized size = 1. \begin{align*}{\frac{1}{d} \left ({\frac{{e}^{2} \left ( dx+c \right ) ^{3}a}{3}}+{e}^{2}b \left ({\frac{ \left ( dx+c \right ) ^{3}\arcsin \left ( dx+c \right ) }{3}}+{\frac{ \left ( dx+c \right ) ^{2}}{9}\sqrt{1- \left ( dx+c \right ) ^{2}}}+{\frac{2}{9}\sqrt{1- \left ( dx+c \right ) ^{2}}} \right ) \right ) } \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 2.20817, size = 321, normalized size = 4.01 \begin{align*} \frac{3 \, a d^{3} e^{2} x^{3} + 9 \, a c d^{2} e^{2} x^{2} + 9 \, a c^{2} d e^{2} x + 3 \,{\left (b d^{3} e^{2} x^{3} + 3 \, b c d^{2} e^{2} x^{2} + 3 \, b c^{2} d e^{2} x + b c^{3} e^{2}\right )} \arcsin \left (d x + c\right ) +{\left (b d^{2} e^{2} x^{2} + 2 \, b c d e^{2} x +{\left (b c^{2} + 2 \, b\right )} e^{2}\right )} \sqrt{-d^{2} x^{2} - 2 \, c d x - c^{2} + 1}}{9 \, d} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 1.25899, size = 258, normalized size = 3.22 \begin{align*} \begin{cases} a c^{2} e^{2} x + a c d e^{2} x^{2} + \frac{a d^{2} e^{2} x^{3}}{3} + \frac{b c^{3} e^{2} \operatorname{asin}{\left (c + d x \right )}}{3 d} + b c^{2} e^{2} x \operatorname{asin}{\left (c + d x \right )} + \frac{b c^{2} e^{2} \sqrt{- c^{2} - 2 c d x - d^{2} x^{2} + 1}}{9 d} + b c d e^{2} x^{2} \operatorname{asin}{\left (c + d x \right )} + \frac{2 b c e^{2} x \sqrt{- c^{2} - 2 c d x - d^{2} x^{2} + 1}}{9} + \frac{b d^{2} e^{2} x^{3} \operatorname{asin}{\left (c + d x \right )}}{3} + \frac{b d e^{2} x^{2} \sqrt{- c^{2} - 2 c d x - d^{2} x^{2} + 1}}{9} + \frac{2 b e^{2} \sqrt{- c^{2} - 2 c d x - d^{2} x^{2} + 1}}{9 d} & \text{for}\: d \neq 0 \\c^{2} e^{2} x \left (a + b \operatorname{asin}{\left (c \right )}\right ) & \text{otherwise} \end{cases} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.32084, size = 142, normalized size = 1.78 \begin{align*} \frac{{\left (d x + c\right )}^{3} a e^{2}}{3 \, d} + \frac{{\left ({\left (d x + c\right )}^{2} - 1\right )}{\left (d x + c\right )} b \arcsin \left (d x + c\right ) e^{2}}{3 \, d} + \frac{{\left (d x + c\right )} b \arcsin \left (d x + c\right ) e^{2}}{3 \, d} - \frac{{\left (-{\left (d x + c\right )}^{2} + 1\right )}^{\frac{3}{2}} b e^{2}}{9 \, d} + \frac{\sqrt{-{\left (d x + c\right )}^{2} + 1} b e^{2}}{3 \, d} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]