Optimal. Leaf size=336 \[ -\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 \text {ArcSin}\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 (\text {ArcSin}\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 (\text {ArcSin}\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}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.31, 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 = {4926, 12, 1136,
1293, 1216, 538, 435, 430} \begin {gather*} \frac {1}{5} x^5 \left (a+b \text {ArcSin}\left (c+d x^2\right )\right )+\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 (\text {ArcSin}\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 (\text {ArcSin}\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 {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} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 430
Rule 435
Rule 538
Rule 1136
Rule 1216
Rule 1293
Rule 4926
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] Result contains complex when optimal does not.
time = 0.41, size = 349, normalized size = 1.04 \begin {gather*} \frac {\sqrt {\frac {d}{1+c}} x \left (15 a d^2 x^4 \sqrt {1-c^2-2 c d x^2-d^2 x^4}+2 b \left (-8 c+8 c^3+3 d x^2+13 c^2 d x^2+2 c d^2 x^4-3 d^3 x^6\right )+15 b d^2 x^4 \sqrt {1-c^2-2 c d x^2-d^2 x^4} \text {ArcSin}\left (c+d x^2\right )\right )+2 i b \left (-9+9 c-23 c^2+23 c^3\right ) \sqrt {\frac {-1+c+d x^2}{-1+c}} \sqrt {\frac {1+c+d x^2}{1+c}} E\left (i \sinh ^{-1}\left (\sqrt {\frac {d}{1+c}} x\right )|\frac {1+c}{-1+c}\right )-2 i b \left (-9+17 c-23 c^2+15 c^3\right ) \sqrt {\frac {-1+c+d x^2}{-1+c}} \sqrt {\frac {1+c+d x^2}{1+c}} F\left (i \sinh ^{-1}\left (\sqrt {\frac {d}{1+c}} x\right )|\frac {1+c}{-1+c}\right )}{75 d^2 \sqrt {\frac {d}{1+c}} \sqrt {1-c^2-2 c d x^2-d^2 x^4}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.03, size = 346, normalized size = 1.03
method | result | size |
default | \(\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 )\) | \(346\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: ValueError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.85, size = 88, normalized size = 0.26 \begin {gather*} \frac {15 \, b d^{3} x^{6} \arcsin \left (d x^{2} + c\right ) + 15 \, a d^{3} x^{6} + 2 \, {\left (3 \, b d^{2} x^{4} - 8 \, b c d x^{2} + 23 \, b c^{2} + 9 \, b\right )} \sqrt {-d^{2} x^{4} - 2 \, c d x^{2} - c^{2} + 1}}{75 \, d^{3} x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int x^{4} \left (a + b \operatorname {asin}{\left (c + d x^{2} \right )}\right )\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int x^4\,\left (a+b\,\mathrm {asin}\left (d\,x^2+c\right )\right ) \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________