Optimal. Leaf size=115 \[ \frac {1}{4} x^4 \left (a+b \sin ^{-1}\left (c+d x^2\right )\right )-\frac {b \left (2 c^2+1\right ) \sin ^{-1}\left (c+d x^2\right )}{8 d^2}+\frac {b x^2 \sqrt {-c^2-2 c d x^2-d^2 x^4+1}}{8 d}-\frac {3 b c \sqrt {-c^2-2 c d x^2-d^2 x^4+1}}{8 d^2} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.13, antiderivative size = 115, normalized size of antiderivative = 1.00, number of steps used = 7, number of rules used = 7, integrand size = 16, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.438, Rules used = {4842, 12, 1114, 742, 640, 619, 216} \[ \frac {1}{4} x^4 \left (a+b \sin ^{-1}\left (c+d x^2\right )\right )+\frac {b x^2 \sqrt {-c^2-2 c d x^2-d^2 x^4+1}}{8 d}-\frac {3 b c \sqrt {-c^2-2 c d x^2-d^2 x^4+1}}{8 d^2}-\frac {b \left (2 c^2+1\right ) \sin ^{-1}\left (c+d x^2\right )}{8 d^2} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 216
Rule 619
Rule 640
Rule 742
Rule 1114
Rule 4842
Rubi steps
\begin {align*} \int x^3 \left (a+b \sin ^{-1}\left (c+d x^2\right )\right ) \, dx &=\frac {1}{4} x^4 \left (a+b \sin ^{-1}\left (c+d x^2\right )\right )-\frac {1}{4} b \int \frac {2 d x^5}{\sqrt {1-c^2-2 c d x^2-d^2 x^4}} \, dx\\ &=\frac {1}{4} x^4 \left (a+b \sin ^{-1}\left (c+d x^2\right )\right )-\frac {1}{2} (b d) \int \frac {x^5}{\sqrt {1-c^2-2 c d x^2-d^2 x^4}} \, dx\\ &=\frac {1}{4} x^4 \left (a+b \sin ^{-1}\left (c+d x^2\right )\right )-\frac {1}{4} (b d) \operatorname {Subst}\left (\int \frac {x^2}{\sqrt {1-c^2-2 c d x-d^2 x^2}} \, dx,x,x^2\right )\\ &=\frac {b x^2 \sqrt {1-c^2-2 c d x^2-d^2 x^4}}{8 d}+\frac {1}{4} x^4 \left (a+b \sin ^{-1}\left (c+d x^2\right )\right )+\frac {b \operatorname {Subst}\left (\int \frac {-1+c^2+3 c d x}{\sqrt {1-c^2-2 c d x-d^2 x^2}} \, dx,x,x^2\right )}{8 d}\\ &=-\frac {3 b c \sqrt {1-c^2-2 c d x^2-d^2 x^4}}{8 d^2}+\frac {b x^2 \sqrt {1-c^2-2 c d x^2-d^2 x^4}}{8 d}+\frac {1}{4} x^4 \left (a+b \sin ^{-1}\left (c+d x^2\right )\right )-\frac {\left (b \left (1+2 c^2\right )\right ) \operatorname {Subst}\left (\int \frac {1}{\sqrt {1-c^2-2 c d x-d^2 x^2}} \, dx,x,x^2\right )}{8 d}\\ &=-\frac {3 b c \sqrt {1-c^2-2 c d x^2-d^2 x^4}}{8 d^2}+\frac {b x^2 \sqrt {1-c^2-2 c d x^2-d^2 x^4}}{8 d}+\frac {1}{4} x^4 \left (a+b \sin ^{-1}\left (c+d x^2\right )\right )+\frac {\left (b \left (1+2 c^2\right )\right ) \operatorname {Subst}\left (\int \frac {1}{\sqrt {1-\frac {x^2}{4 d^2}}} \, dx,x,-2 d \left (c+d x^2\right )\right )}{16 d^3}\\ &=-\frac {3 b c \sqrt {1-c^2-2 c d x^2-d^2 x^4}}{8 d^2}+\frac {b x^2 \sqrt {1-c^2-2 c d x^2-d^2 x^4}}{8 d}-\frac {b \left (1+2 c^2\right ) \sin ^{-1}\left (c+d x^2\right )}{8 d^2}+\frac {1}{4} x^4 \left (a+b \sin ^{-1}\left (c+d x^2\right )\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.10, size = 98, normalized size = 0.85 \[ \frac {a x^4}{4}-\frac {b \left (2 c^2+1\right ) \sin ^{-1}\left (c+d x^2\right )}{8 d^2}+\frac {1}{2} b \left (\frac {x^2}{4 d}-\frac {3 c}{4 d^2}\right ) \sqrt {-c^2-2 c d x^2-d^2 x^4+1}+\frac {1}{4} b x^4 \sin ^{-1}\left (c+d x^2\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.45, size = 79, normalized size = 0.69 \[ \frac {2 \, a d^{2} x^{4} + {\left (2 \, b d^{2} x^{4} - 2 \, b c^{2} - b\right )} \arcsin \left (d x^{2} + c\right ) + \sqrt {-d^{2} x^{4} - 2 \, c d x^{2} - c^{2} + 1} {\left (b d x^{2} - 3 \, b c\right )}}{8 \, d^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.93, size = 130, normalized size = 1.13 \[ \frac {\frac {2 \, {\left ({\left (d x^{2} + c\right )}^{2} - 2 \, {\left (d x^{2} + c\right )} c\right )} a}{d} - \frac {{\left (4 \, {\left (d x^{2} + c\right )} c \arcsin \left (d x^{2} + c\right ) - 2 \, {\left ({\left (d x^{2} + c\right )}^{2} - 1\right )} \arcsin \left (d x^{2} + c\right ) - {\left (d x^{2} + c\right )} \sqrt {-{\left (d x^{2} + c\right )}^{2} + 1} + 4 \, \sqrt {-{\left (d x^{2} + c\right )}^{2} + 1} c - \arcsin \left (d x^{2} + c\right )\right )} b}{d}}{8 \, d} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.02, size = 191, normalized size = 1.66 \[ \frac {x^{4} a}{4}+\frac {b \,x^{4} \arcsin \left (d \,x^{2}+c \right )}{4}+\frac {b \,x^{2} \sqrt {-d^{2} x^{4}-2 c d \,x^{2}-c^{2}+1}}{8 d}-\frac {3 b c \sqrt {-d^{2} x^{4}-2 c d \,x^{2}-c^{2}+1}}{8 d^{2}}-\frac {b \,c^{2} \arctan \left (\frac {\sqrt {d^{2}}\, \left (x^{2}+\frac {c}{d}\right )}{\sqrt {-d^{2} x^{4}-2 c d \,x^{2}-c^{2}+1}}\right )}{4 d \sqrt {d^{2}}}-\frac {b \arctan \left (\frac {\sqrt {d^{2}}\, \left (x^{2}+\frac {c}{d}\right )}{\sqrt {-d^{2} x^{4}-2 c d \,x^{2}-c^{2}+1}}\right )}{8 d \sqrt {d^{2}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.41, size = 174, normalized size = 1.51 \[ \frac {1}{4} \, a x^{4} + \frac {1}{8} \, {\left (2 \, x^{4} \arcsin \left (d x^{2} + c\right ) + d {\left (\frac {\sqrt {-d^{2} x^{4} - 2 \, c d x^{2} - c^{2} + 1} x^{2}}{d^{2}} + \frac {3 \, c^{2} \arcsin \left (-\frac {d^{2} x^{2} + c d}{\sqrt {c^{2} d^{2} - {\left (c^{2} - 1\right )} d^{2}}}\right )}{d^{3}} - \frac {{\left (c^{2} - 1\right )} \arcsin \left (-\frac {d^{2} x^{2} + c d}{\sqrt {c^{2} d^{2} - {\left (c^{2} - 1\right )} d^{2}}}\right )}{d^{3}} - \frac {3 \, \sqrt {-d^{2} x^{4} - 2 \, c d x^{2} - c^{2} + 1} c}{d^{3}}\right )}\right )} b \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.01 \[ \int x^3\,\left (a+b\,\mathrm {asin}\left (d\,x^2+c\right )\right ) \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.91, size = 133, normalized size = 1.16 \[ \begin {cases} \frac {a x^{4}}{4} - \frac {b c^{2} \operatorname {asin}{\left (c + d x^{2} \right )}}{4 d^{2}} - \frac {3 b c \sqrt {- c^{2} - 2 c d x^{2} - d^{2} x^{4} + 1}}{8 d^{2}} + \frac {b x^{4} \operatorname {asin}{\left (c + d x^{2} \right )}}{4} + \frac {b x^{2} \sqrt {- c^{2} - 2 c d x^{2} - d^{2} x^{4} + 1}}{8 d} - \frac {b \operatorname {asin}{\left (c + d x^{2} \right )}}{8 d^{2}} & \text {for}\: d \neq 0 \\\frac {x^{4} \left (a + b \operatorname {asin}{\relax (c )}\right )}{4} & \text {otherwise} \end {cases} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________