Optimal. Leaf size=336 \[ \frac {1}{5} x^5 \left (a+b \sin ^{-1}\left (c+d x^2\right )\right )-\frac {16 b c x \sqrt {-c^2-2 c d x^2-d^2 x^4+1}}{75 d^2}+\frac {2 b x^3 \sqrt {-c^2-2 c d x^2-d^2 x^4+1}}{25 d}+\frac {2 b \sqrt {1-c} (c+1) \left (15 c^2+8 c+9\right ) \sqrt {1-\frac {d x^2}{1-c}} \sqrt {\frac {d x^2}{c+1}+1} F\left (\sin ^{-1}\left (\frac {\sqrt {d} x}{\sqrt {1-c}}\right )|-\frac {1-c}{c+1}\right )}{75 d^{5/2} \sqrt {-c^2-2 c d x^2-d^2 x^4+1}}-\frac {2 b \sqrt {1-c} (c+1) \left (23 c^2+9\right ) \sqrt {1-\frac {d x^2}{1-c}} \sqrt {\frac {d x^2}{c+1}+1} E\left (\sin ^{-1}\left (\frac {\sqrt {d} x}{\sqrt {1-c}}\right )|-\frac {1-c}{c+1}\right )}{75 d^{5/2} \sqrt {-c^2-2 c d x^2-d^2 x^4+1}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.42, antiderivative size = 336, normalized size of antiderivative = 1.00, number of steps used = 8, number of rules used = 8, integrand size = 16, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.500, Rules used = {4842, 12, 1122, 1279, 1202, 524, 424, 419} \[ \frac {1}{5} x^5 \left (a+b \sin ^{-1}\left (c+d x^2\right )\right )+\frac {2 b x^3 \sqrt {-c^2-2 c d x^2-d^2 x^4+1}}{25 d}-\frac {16 b c x \sqrt {-c^2-2 c d x^2-d^2 x^4+1}}{75 d^2}+\frac {2 b \sqrt {1-c} (c+1) \left (15 c^2+8 c+9\right ) \sqrt {1-\frac {d x^2}{1-c}} \sqrt {\frac {d x^2}{c+1}+1} F\left (\sin ^{-1}\left (\frac {\sqrt {d} x}{\sqrt {1-c}}\right )|-\frac {1-c}{c+1}\right )}{75 d^{5/2} \sqrt {-c^2-2 c d x^2-d^2 x^4+1}}-\frac {2 b \sqrt {1-c} (c+1) \left (23 c^2+9\right ) \sqrt {1-\frac {d x^2}{1-c}} \sqrt {\frac {d x^2}{c+1}+1} E\left (\sin ^{-1}\left (\frac {\sqrt {d} x}{\sqrt {1-c}}\right )|-\frac {1-c}{c+1}\right )}{75 d^{5/2} \sqrt {-c^2-2 c d x^2-d^2 x^4+1}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 419
Rule 424
Rule 524
Rule 1122
Rule 1202
Rule 1279
Rule 4842
Rubi steps
\begin {align*} \int x^4 \left (a+b \sin ^{-1}\left (c+d x^2\right )\right ) \, dx &=\frac {1}{5} x^5 \left (a+b \sin ^{-1}\left (c+d x^2\right )\right )-\frac {1}{5} b \int \frac {2 d x^6}{\sqrt {1-c^2-2 c d x^2-d^2 x^4}} \, dx\\ &=\frac {1}{5} x^5 \left (a+b \sin ^{-1}\left (c+d x^2\right )\right )-\frac {1}{5} (2 b d) \int \frac {x^6}{\sqrt {1-c^2-2 c d x^2-d^2 x^4}} \, dx\\ &=\frac {2 b x^3 \sqrt {1-c^2-2 c d x^2-d^2 x^4}}{25 d}+\frac {1}{5} x^5 \left (a+b \sin ^{-1}\left (c+d x^2\right )\right )-\frac {(2 b) \int \frac {x^2 \left (3 \left (1-c^2\right )-8 c d x^2\right )}{\sqrt {1-c^2-2 c d x^2-d^2 x^4}} \, dx}{25 d}\\ &=-\frac {16 b c x \sqrt {1-c^2-2 c d x^2-d^2 x^4}}{75 d^2}+\frac {2 b x^3 \sqrt {1-c^2-2 c d x^2-d^2 x^4}}{25 d}+\frac {1}{5} x^5 \left (a+b \sin ^{-1}\left (c+d x^2\right )\right )-\frac {(2 b) \int \frac {-8 c \left (1-c^2\right ) d+\left (9+23 c^2\right ) d^2 x^2}{\sqrt {1-c^2-2 c d x^2-d^2 x^4}} \, dx}{75 d^3}\\ &=-\frac {16 b c x \sqrt {1-c^2-2 c d x^2-d^2 x^4}}{75 d^2}+\frac {2 b x^3 \sqrt {1-c^2-2 c d x^2-d^2 x^4}}{25 d}+\frac {1}{5} x^5 \left (a+b \sin ^{-1}\left (c+d x^2\right )\right )-\frac {\left (2 b \sqrt {1-\frac {2 d^2 x^2}{-2 d-2 c d}} \sqrt {1-\frac {2 d^2 x^2}{2 d-2 c d}}\right ) \int \frac {-8 c \left (1-c^2\right ) d+\left (9+23 c^2\right ) d^2 x^2}{\sqrt {1-\frac {2 d^2 x^2}{-2 d-2 c d}} \sqrt {1-\frac {2 d^2 x^2}{2 d-2 c d}}} \, dx}{75 d^3 \sqrt {1-c^2-2 c d x^2-d^2 x^4}}\\ &=-\frac {16 b c x \sqrt {1-c^2-2 c d x^2-d^2 x^4}}{75 d^2}+\frac {2 b x^3 \sqrt {1-c^2-2 c d x^2-d^2 x^4}}{25 d}+\frac {1}{5} x^5 \left (a+b \sin ^{-1}\left (c+d x^2\right )\right )+\frac {\left (2 b (1+c) \left (9+8 c+15 c^2\right ) \sqrt {1-\frac {2 d^2 x^2}{-2 d-2 c d}} \sqrt {1-\frac {2 d^2 x^2}{2 d-2 c d}}\right ) \int \frac {1}{\sqrt {1-\frac {2 d^2 x^2}{-2 d-2 c d}} \sqrt {1-\frac {2 d^2 x^2}{2 d-2 c d}}} \, dx}{75 d^2 \sqrt {1-c^2-2 c d x^2-d^2 x^4}}-\frac {\left (2 b (1+c) \left (9+23 c^2\right ) \sqrt {1-\frac {2 d^2 x^2}{-2 d-2 c d}} \sqrt {1-\frac {2 d^2 x^2}{2 d-2 c d}}\right ) \int \frac {\sqrt {1-\frac {2 d^2 x^2}{-2 d-2 c d}}}{\sqrt {1-\frac {2 d^2 x^2}{2 d-2 c d}}} \, dx}{75 d^2 \sqrt {1-c^2-2 c d x^2-d^2 x^4}}\\ &=-\frac {16 b c x \sqrt {1-c^2-2 c d x^2-d^2 x^4}}{75 d^2}+\frac {2 b x^3 \sqrt {1-c^2-2 c d x^2-d^2 x^4}}{25 d}+\frac {1}{5} x^5 \left (a+b \sin ^{-1}\left (c+d x^2\right )\right )-\frac {2 b \sqrt {1-c} (1+c) \left (9+23 c^2\right ) \sqrt {1-\frac {d x^2}{1-c}} \sqrt {1+\frac {d x^2}{1+c}} E\left (\sin ^{-1}\left (\frac {\sqrt {d} x}{\sqrt {1-c}}\right )|-\frac {1-c}{1+c}\right )}{75 d^{5/2} \sqrt {1-c^2-2 c d x^2-d^2 x^4}}+\frac {2 b \sqrt {1-c} (1+c) \left (9+8 c+15 c^2\right ) \sqrt {1-\frac {d x^2}{1-c}} \sqrt {1+\frac {d x^2}{1+c}} F\left (\sin ^{-1}\left (\frac {\sqrt {d} x}{\sqrt {1-c}}\right )|-\frac {1-c}{1+c}\right )}{75 d^{5/2} \sqrt {1-c^2-2 c d x^2-d^2 x^4}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] time = 0.66, size = 349, normalized size = 1.04 \[ \frac {x \sqrt {\frac {d}{c+1}} \left (15 a d^2 x^4 \sqrt {-c^2-2 c d x^2-d^2 x^4+1}+15 b d^2 x^4 \sqrt {-c^2-2 c d x^2-d^2 x^4+1} \sin ^{-1}\left (c+d x^2\right )+2 b \left (8 c^3+13 c^2 d x^2+2 c d^2 x^4-8 c-3 d^3 x^6+3 d x^2\right )\right )-2 i b \left (15 c^3-23 c^2+17 c-9\right ) \sqrt {\frac {c+d x^2-1}{c-1}} \sqrt {\frac {c+d x^2+1}{c+1}} F\left (i \sinh ^{-1}\left (\sqrt {\frac {d}{c+1}} x\right )|\frac {c+1}{c-1}\right )+2 i b \left (23 c^3-23 c^2+9 c-9\right ) \sqrt {\frac {c+d x^2-1}{c-1}} \sqrt {\frac {c+d x^2+1}{c+1}} E\left (i \sinh ^{-1}\left (\sqrt {\frac {d}{c+1}} x\right )|\frac {c+1}{c-1}\right )}{75 d^2 \sqrt {\frac {d}{c+1}} \sqrt {-c^2-2 c d x^2-d^2 x^4+1}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [F] time = 0.43, size = 0, normalized size = 0.00 \[ {\rm integral}\left (b x^{4} \arcsin \left (d x^{2} + c\right ) + a x^{4}, x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int {\left (b \arcsin \left (d x^{2} + c\right ) + a\right )} x^{4}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.04, size = 346, normalized size = 1.03 \[ \frac {a \,x^{5}}{5}+b \left (\frac {x^{5} \arcsin \left (d \,x^{2}+c \right )}{5}-\frac {2 d \left (-\frac {x^{3} \sqrt {-d^{2} x^{4}-2 c d \,x^{2}-c^{2}+1}}{5 d^{2}}+\frac {8 c x \sqrt {-d^{2} x^{4}-2 c d \,x^{2}-c^{2}+1}}{15 d^{3}}-\frac {8 c \left (-c^{2}+1\right ) \sqrt {1+\frac {d \,x^{2}}{-1+c}}\, \sqrt {1+\frac {d \,x^{2}}{1+c}}\, \EllipticF \left (x \sqrt {-\frac {d}{-1+c}}, \sqrt {-1+\frac {2 c}{1+c}}\right )}{15 d^{3} \sqrt {-\frac {d}{-1+c}}\, \sqrt {-d^{2} x^{4}-2 c d \,x^{2}-c^{2}+1}}-\frac {2 \left (\frac {-3 c^{2}+3}{5 d^{2}}+\frac {32 c^{2}}{15 d^{2}}\right ) \left (-c^{2}+1\right ) \sqrt {1+\frac {d \,x^{2}}{-1+c}}\, \sqrt {1+\frac {d \,x^{2}}{1+c}}\, \left (\EllipticF \left (x \sqrt {-\frac {d}{-1+c}}, \sqrt {-1+\frac {2 c}{1+c}}\right )-\EllipticE \left (x \sqrt {-\frac {d}{-1+c}}, \sqrt {-1+\frac {2 c}{1+c}}\right )\right )}{\sqrt {-\frac {d}{-1+c}}\, \sqrt {-d^{2} x^{4}-2 c d \,x^{2}-c^{2}+1}\, \left (-2 d c +2 d \right )}\right )}{5}\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F(-2)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Exception raised: ValueError} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.00 \[ \int x^4\,\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 [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int x^{4} \left (a + b \operatorname {asin}{\left (c + d x^{2} \right )}\right )\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________