Optimal. Leaf size=512 \[ \frac {b \left (12 e^2 (e g+3 d h)+25 c^2 d \left (3 e^2 f+3 d e g+d^2 h\right )\right ) x^2 \sqrt {1-c^2 x^2}}{225 c^3}+\frac {b e \left (5 e^2 h+9 c^2 \left (e^2 f+3 d e g+3 d^2 h\right )\right ) x^3 \sqrt {1-c^2 x^2}}{144 c^3}+\frac {b e^2 (e g+3 d h) x^4 \sqrt {1-c^2 x^2}}{25 c}+\frac {b e^3 h x^5 \sqrt {1-c^2 x^2}}{36 c}+\frac {b \left (32 \left (225 c^4 d^3 f+24 e^2 (e g+3 d h)+50 c^2 d \left (3 e^2 f+3 d e g+d^2 h\right )\right )+75 \left (24 c^4 d^2 (3 e f+d g)+5 e^3 h+9 c^2 e \left (e^2 f+3 d e g+3 d^2 h\right )\right ) x\right ) \sqrt {1-c^2 x^2}}{7200 c^5}-\frac {b \left (24 c^4 d^2 (3 e f+d g)+5 e^3 h+9 c^2 e \left (e^2 f+3 d e g+3 d^2 h\right )\right ) \text {ArcSin}(c x)}{96 c^6}+d^3 f x (a+b \text {ArcSin}(c x))+\frac {1}{2} d^2 (3 e f+d g) x^2 (a+b \text {ArcSin}(c x))+\frac {1}{3} d \left (3 e^2 f+3 d e g+d^2 h\right ) x^3 (a+b \text {ArcSin}(c x))+\frac {1}{4} e \left (e^2 f+3 d e g+3 d^2 h\right ) x^4 (a+b \text {ArcSin}(c x))+\frac {1}{5} e^2 (e g+3 d h) x^5 (a+b \text {ArcSin}(c x))+\frac {1}{6} e^3 h x^6 (a+b \text {ArcSin}(c x)) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 1.38, antiderivative size = 509, normalized size of antiderivative = 0.99, number of steps
used = 8, number of rules used = 5, integrand size = 26, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.192, Rules used = {4833, 12, 1823,
794, 222} \begin {gather*} d^3 f x (a+b \text {ArcSin}(c x))+\frac {1}{4} e x^4 (a+b \text {ArcSin}(c x)) \left (3 d^2 h+3 d e g+e^2 f\right )+\frac {1}{3} d x^3 (a+b \text {ArcSin}(c x)) \left (d^2 h+3 d e g+3 e^2 f\right )+\frac {1}{2} d^2 x^2 (d g+3 e f) (a+b \text {ArcSin}(c x))+\frac {1}{5} e^2 x^5 (3 d h+e g) (a+b \text {ArcSin}(c x))+\frac {1}{6} e^3 h x^6 (a+b \text {ArcSin}(c x))-\frac {b \text {ArcSin}(c x) \left (24 c^4 d^2 (d g+3 e f)+9 c^2 e \left (3 d^2 h+3 d e g+e^2 f\right )+5 e^3 h\right )}{96 c^6}+\frac {b e x^3 \sqrt {1-c^2 x^2} \left (e^2 \left (\frac {5 h}{c^2}+9 f\right )+27 d^2 h+27 d e g\right )}{144 c}+\frac {b e^2 x^4 \sqrt {1-c^2 x^2} (3 d h+e g)}{25 c}+\frac {b e^3 h x^5 \sqrt {1-c^2 x^2}}{36 c}+\frac {b x^2 \sqrt {1-c^2 x^2} \left (25 c^2 d \left (d^2 h+3 d e g+3 e^2 f\right )+12 e^2 (3 d h+e g)\right )}{225 c^3}+\frac {b \sqrt {1-c^2 x^2} \left (75 x \left (24 c^4 d^2 (d g+3 e f)+9 c^2 e \left (3 d^2 h+3 d e g+e^2 f\right )+5 e^3 h\right )+32 \left (225 c^4 d^3 f+50 c^2 d \left (d^2 h+3 d e g+3 e^2 f\right )+24 e^2 (3 d h+e g)\right )\right )}{7200 c^5} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 222
Rule 794
Rule 1823
Rule 4833
Rubi steps
\begin {align*} \int (d+e x)^3 \left (f+g x+h x^2\right ) \left (a+b \sin ^{-1}(c x)\right ) \, dx &=d^3 f x \left (a+b \sin ^{-1}(c x)\right )+\frac {1}{2} d^2 (3 e f+d g) x^2 \left (a+b \sin ^{-1}(c x)\right )+\frac {1}{3} d \left (3 e^2 f+3 d e g+d^2 h\right ) x^3 \left (a+b \sin ^{-1}(c x)\right )+\frac {1}{4} e \left (e^2 f+3 d e g+3 d^2 h\right ) x^4 \left (a+b \sin ^{-1}(c x)\right )+\frac {1}{5} e^2 (e g+3 d h) x^5 \left (a+b \sin ^{-1}(c x)\right )+\frac {1}{6} e^3 h x^6 \left (a+b \sin ^{-1}(c x)\right )-(b c) \int \frac {x \left (10 d^3 (6 f+x (3 g+2 h x))+15 d^2 e x (6 f+x (4 g+3 h x))+3 d e^2 x^2 (20 f+3 x (5 g+4 h x))+e^3 x^3 (15 f+2 x (6 g+5 h x))\right )}{60 \sqrt {1-c^2 x^2}} \, dx\\ &=d^3 f x \left (a+b \sin ^{-1}(c x)\right )+\frac {1}{2} d^2 (3 e f+d g) x^2 \left (a+b \sin ^{-1}(c x)\right )+\frac {1}{3} d \left (3 e^2 f+3 d e g+d^2 h\right ) x^3 \left (a+b \sin ^{-1}(c x)\right )+\frac {1}{4} e \left (e^2 f+3 d e g+3 d^2 h\right ) x^4 \left (a+b \sin ^{-1}(c x)\right )+\frac {1}{5} e^2 (e g+3 d h) x^5 \left (a+b \sin ^{-1}(c x)\right )+\frac {1}{6} e^3 h x^6 \left (a+b \sin ^{-1}(c x)\right )-\frac {1}{60} (b c) \int \frac {x \left (10 d^3 (6 f+x (3 g+2 h x))+15 d^2 e x (6 f+x (4 g+3 h x))+3 d e^2 x^2 (20 f+3 x (5 g+4 h x))+e^3 x^3 (15 f+2 x (6 g+5 h x))\right )}{\sqrt {1-c^2 x^2}} \, dx\\ &=\frac {b e^3 h x^5 \sqrt {1-c^2 x^2}}{36 c}+d^3 f x \left (a+b \sin ^{-1}(c x)\right )+\frac {1}{2} d^2 (3 e f+d g) x^2 \left (a+b \sin ^{-1}(c x)\right )+\frac {1}{3} d \left (3 e^2 f+3 d e g+d^2 h\right ) x^3 \left (a+b \sin ^{-1}(c x)\right )+\frac {1}{4} e \left (e^2 f+3 d e g+3 d^2 h\right ) x^4 \left (a+b \sin ^{-1}(c x)\right )+\frac {1}{5} e^2 (e g+3 d h) x^5 \left (a+b \sin ^{-1}(c x)\right )+\frac {1}{6} e^3 h x^6 \left (a+b \sin ^{-1}(c x)\right )+\frac {b \int \frac {x \left (-360 c^2 d^3 f-180 c^2 d^2 (3 e f+d g) x-120 c^2 d \left (3 e^2 f+3 d e g+d^2 h\right ) x^2-10 e \left (5 e^2 h+9 c^2 \left (e^2 f+3 d e g+3 d^2 h\right )\right ) x^3-72 c^2 e^2 (e g+3 d h) x^4\right )}{\sqrt {1-c^2 x^2}} \, dx}{360 c}\\ &=\frac {b e^2 (e g+3 d h) x^4 \sqrt {1-c^2 x^2}}{25 c}+\frac {b e^3 h x^5 \sqrt {1-c^2 x^2}}{36 c}+d^3 f x \left (a+b \sin ^{-1}(c x)\right )+\frac {1}{2} d^2 (3 e f+d g) x^2 \left (a+b \sin ^{-1}(c x)\right )+\frac {1}{3} d \left (3 e^2 f+3 d e g+d^2 h\right ) x^3 \left (a+b \sin ^{-1}(c x)\right )+\frac {1}{4} e \left (e^2 f+3 d e g+3 d^2 h\right ) x^4 \left (a+b \sin ^{-1}(c x)\right )+\frac {1}{5} e^2 (e g+3 d h) x^5 \left (a+b \sin ^{-1}(c x)\right )+\frac {1}{6} e^3 h x^6 \left (a+b \sin ^{-1}(c x)\right )-\frac {b \int \frac {x \left (1800 c^4 d^3 f+900 c^4 d^2 (3 e f+d g) x+24 c^2 \left (12 e^2 (e g+3 d h)+25 c^2 d \left (3 e^2 f+3 d e g+d^2 h\right )\right ) x^2+50 c^2 e \left (5 e^2 h+9 c^2 \left (e^2 f+3 d e g+3 d^2 h\right )\right ) x^3\right )}{\sqrt {1-c^2 x^2}} \, dx}{1800 c^3}\\ &=\frac {b e \left (5 e^2 h+9 c^2 \left (e^2 f+3 d e g+3 d^2 h\right )\right ) x^3 \sqrt {1-c^2 x^2}}{144 c^3}+\frac {b e^2 (e g+3 d h) x^4 \sqrt {1-c^2 x^2}}{25 c}+\frac {b e^3 h x^5 \sqrt {1-c^2 x^2}}{36 c}+d^3 f x \left (a+b \sin ^{-1}(c x)\right )+\frac {1}{2} d^2 (3 e f+d g) x^2 \left (a+b \sin ^{-1}(c x)\right )+\frac {1}{3} d \left (3 e^2 f+3 d e g+d^2 h\right ) x^3 \left (a+b \sin ^{-1}(c x)\right )+\frac {1}{4} e \left (e^2 f+3 d e g+3 d^2 h\right ) x^4 \left (a+b \sin ^{-1}(c x)\right )+\frac {1}{5} e^2 (e g+3 d h) x^5 \left (a+b \sin ^{-1}(c x)\right )+\frac {1}{6} e^3 h x^6 \left (a+b \sin ^{-1}(c x)\right )+\frac {b \int \frac {x \left (-7200 c^6 d^3 f-150 c^2 \left (24 c^4 d^2 (3 e f+d g)+5 e^3 h+9 c^2 e \left (e^2 f+3 d e g+3 d^2 h\right )\right ) x-96 c^4 \left (12 e^2 (e g+3 d h)+25 c^2 d \left (3 e^2 f+3 d e g+d^2 h\right )\right ) x^2\right )}{\sqrt {1-c^2 x^2}} \, dx}{7200 c^5}\\ &=\frac {b \left (12 e^2 (e g+3 d h)+25 c^2 d \left (3 e^2 f+3 d e g+d^2 h\right )\right ) x^2 \sqrt {1-c^2 x^2}}{225 c^3}+\frac {b e \left (5 e^2 h+9 c^2 \left (e^2 f+3 d e g+3 d^2 h\right )\right ) x^3 \sqrt {1-c^2 x^2}}{144 c^3}+\frac {b e^2 (e g+3 d h) x^4 \sqrt {1-c^2 x^2}}{25 c}+\frac {b e^3 h x^5 \sqrt {1-c^2 x^2}}{36 c}+d^3 f x \left (a+b \sin ^{-1}(c x)\right )+\frac {1}{2} d^2 (3 e f+d g) x^2 \left (a+b \sin ^{-1}(c x)\right )+\frac {1}{3} d \left (3 e^2 f+3 d e g+d^2 h\right ) x^3 \left (a+b \sin ^{-1}(c x)\right )+\frac {1}{4} e \left (e^2 f+3 d e g+3 d^2 h\right ) x^4 \left (a+b \sin ^{-1}(c x)\right )+\frac {1}{5} e^2 (e g+3 d h) x^5 \left (a+b \sin ^{-1}(c x)\right )+\frac {1}{6} e^3 h x^6 \left (a+b \sin ^{-1}(c x)\right )-\frac {b \int \frac {x \left (96 c^4 \left (225 c^4 d^3 f+24 e^2 (e g+3 d h)+50 c^2 d \left (3 e^2 f+3 d e g+d^2 h\right )\right )+450 c^4 \left (24 c^4 d^2 (3 e f+d g)+5 e^3 h+9 c^2 e \left (e^2 f+3 d e g+3 d^2 h\right )\right ) x\right )}{\sqrt {1-c^2 x^2}} \, dx}{21600 c^7}\\ &=\frac {b \left (12 e^2 (e g+3 d h)+25 c^2 d \left (3 e^2 f+3 d e g+d^2 h\right )\right ) x^2 \sqrt {1-c^2 x^2}}{225 c^3}+\frac {b e \left (5 e^2 h+9 c^2 \left (e^2 f+3 d e g+3 d^2 h\right )\right ) x^3 \sqrt {1-c^2 x^2}}{144 c^3}+\frac {b e^2 (e g+3 d h) x^4 \sqrt {1-c^2 x^2}}{25 c}+\frac {b e^3 h x^5 \sqrt {1-c^2 x^2}}{36 c}+\frac {b \left (32 \left (225 c^4 d^3 f+24 e^2 (e g+3 d h)+50 c^2 d \left (3 e^2 f+3 d e g+d^2 h\right )\right )+75 \left (24 c^4 d^2 (3 e f+d g)+5 e^3 h+9 c^2 e \left (e^2 f+3 d e g+3 d^2 h\right )\right ) x\right ) \sqrt {1-c^2 x^2}}{7200 c^5}+d^3 f x \left (a+b \sin ^{-1}(c x)\right )+\frac {1}{2} d^2 (3 e f+d g) x^2 \left (a+b \sin ^{-1}(c x)\right )+\frac {1}{3} d \left (3 e^2 f+3 d e g+d^2 h\right ) x^3 \left (a+b \sin ^{-1}(c x)\right )+\frac {1}{4} e \left (e^2 f+3 d e g+3 d^2 h\right ) x^4 \left (a+b \sin ^{-1}(c x)\right )+\frac {1}{5} e^2 (e g+3 d h) x^5 \left (a+b \sin ^{-1}(c x)\right )+\frac {1}{6} e^3 h x^6 \left (a+b \sin ^{-1}(c x)\right )-\frac {\left (b \left (24 c^4 d^2 (3 e f+d g)+5 e^3 h+9 c^2 e \left (e^2 f+3 d e g+3 d^2 h\right )\right )\right ) \int \frac {1}{\sqrt {1-c^2 x^2}} \, dx}{96 c^5}\\ &=\frac {b \left (12 e^2 (e g+3 d h)+25 c^2 d \left (3 e^2 f+3 d e g+d^2 h\right )\right ) x^2 \sqrt {1-c^2 x^2}}{225 c^3}+\frac {b e \left (5 e^2 h+9 c^2 \left (e^2 f+3 d e g+3 d^2 h\right )\right ) x^3 \sqrt {1-c^2 x^2}}{144 c^3}+\frac {b e^2 (e g+3 d h) x^4 \sqrt {1-c^2 x^2}}{25 c}+\frac {b e^3 h x^5 \sqrt {1-c^2 x^2}}{36 c}+\frac {b \left (32 \left (225 c^4 d^3 f+24 e^2 (e g+3 d h)+50 c^2 d \left (3 e^2 f+3 d e g+d^2 h\right )\right )+75 \left (24 c^4 d^2 (3 e f+d g)+5 e^3 h+9 c^2 e \left (e^2 f+3 d e g+3 d^2 h\right )\right ) x\right ) \sqrt {1-c^2 x^2}}{7200 c^5}-\frac {b \left (24 c^4 d^2 (3 e f+d g)+5 e^3 h+9 c^2 e \left (e^2 f+3 d e g+3 d^2 h\right )\right ) \sin ^{-1}(c x)}{96 c^6}+d^3 f x \left (a+b \sin ^{-1}(c x)\right )+\frac {1}{2} d^2 (3 e f+d g) x^2 \left (a+b \sin ^{-1}(c x)\right )+\frac {1}{3} d \left (3 e^2 f+3 d e g+d^2 h\right ) x^3 \left (a+b \sin ^{-1}(c x)\right )+\frac {1}{4} e \left (e^2 f+3 d e g+3 d^2 h\right ) x^4 \left (a+b \sin ^{-1}(c x)\right )+\frac {1}{5} e^2 (e g+3 d h) x^5 \left (a+b \sin ^{-1}(c x)\right )+\frac {1}{6} e^3 h x^6 \left (a+b \sin ^{-1}(c x)\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.28, size = 463, normalized size = 0.90 \begin {gather*} a d^3 f x+\frac {1}{2} a d^2 (3 e f+d g) x^2+\frac {1}{3} a d \left (3 e^2 f+3 d e g+d^2 h\right ) x^3+\frac {1}{4} a e \left (e^2 f+3 d e g+3 d^2 h\right ) x^4+\frac {1}{5} a e^2 (e g+3 d h) x^5+\frac {1}{6} a e^3 h x^6+\frac {b \sqrt {1-c^2 x^2} \left (3 e^2 (256 e g+768 d h+125 e h x)+c^2 \left (1600 d^3 h+75 d^2 e (64 g+27 h x)+e^3 x \left (675 f+384 g x+250 h x^2\right )+3 d e^2 \left (1600 f+675 g x+384 h x^2\right )\right )+2 c^4 \left (100 d^3 (36 f+x (9 g+4 h x))+75 d^2 e x (36 f+x (16 g+9 h x))+3 d e^2 x^2 (400 f+9 x (25 g+16 h x))+e^3 x^3 (225 f+4 x (36 g+25 h x))\right )\right )}{7200 c^5}-\frac {b \left (24 c^4 d^2 (3 e f+d g)+5 e^3 h+9 c^2 e \left (e^2 f+3 d e g+3 d^2 h\right )\right ) \text {ArcSin}(c x)}{96 c^6}+\frac {1}{60} b x \left (10 d^3 (6 f+x (3 g+2 h x))+15 d^2 e x (6 f+x (4 g+3 h x))+3 d e^2 x^2 (20 f+3 x (5 g+4 h x))+e^3 x^3 (15 f+2 x (6 g+5 h x))\right ) \text {ArcSin}(c x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.28, size = 705, normalized size = 1.38
method | result | size |
derivativedivides | \(\frac {\frac {a \left (\frac {e^{3} h \,c^{6} x^{6}}{6}+\frac {\left (3 c d \,e^{2} h +c \,e^{3} g \right ) c^{5} x^{5}}{5}+\frac {\left (3 c^{2} d^{2} e h +3 c^{2} d \,e^{2} g +c^{2} e^{3} f \right ) c^{4} x^{4}}{4}+\frac {\left (c^{3} d^{3} h +3 c^{3} d^{2} e g +3 c^{3} d \,e^{2} f \right ) c^{3} x^{3}}{3}+\frac {\left (c^{4} d^{3} g +3 c^{4} d^{2} e f \right ) c^{2} x^{2}}{2}+d^{3} c^{6} f x \right )}{c^{5}}+\frac {b \left (\frac {\arcsin \left (c x \right ) e^{3} h \,c^{6} x^{6}}{6}+\frac {3 \arcsin \left (c x \right ) c^{6} d \,e^{2} h \,x^{5}}{5}+\frac {\arcsin \left (c x \right ) c^{6} e^{3} g \,x^{5}}{5}+\frac {3 \arcsin \left (c x \right ) c^{6} d^{2} e h \,x^{4}}{4}+\frac {3 \arcsin \left (c x \right ) c^{6} d \,e^{2} g \,x^{4}}{4}+\frac {\arcsin \left (c x \right ) c^{6} e^{3} f \,x^{4}}{4}+\frac {\arcsin \left (c x \right ) c^{6} d^{3} h \,x^{3}}{3}+\arcsin \left (c x \right ) c^{6} d^{2} e g \,x^{3}+\arcsin \left (c x \right ) c^{6} d \,e^{2} f \,x^{3}+\frac {\arcsin \left (c x \right ) c^{6} d^{3} g \,x^{2}}{2}+\frac {3 \arcsin \left (c x \right ) c^{6} d^{2} e f \,x^{2}}{2}+\arcsin \left (c x \right ) d^{3} c^{6} f x -\frac {e^{3} h \left (-\frac {c^{5} x^{5} \sqrt {-c^{2} x^{2}+1}}{6}-\frac {5 c^{3} x^{3} \sqrt {-c^{2} x^{2}+1}}{24}-\frac {5 c x \sqrt {-c^{2} x^{2}+1}}{16}+\frac {5 \arcsin \left (c x \right )}{16}\right )}{6}-\frac {\left (36 c d \,e^{2} h +12 c \,e^{3} g \right ) \left (-\frac {c^{4} x^{4} \sqrt {-c^{2} x^{2}+1}}{5}-\frac {4 c^{2} x^{2} \sqrt {-c^{2} x^{2}+1}}{15}-\frac {8 \sqrt {-c^{2} x^{2}+1}}{15}\right )}{60}-\frac {\left (45 c^{2} d^{2} e h +45 c^{2} d \,e^{2} g +15 c^{2} e^{3} f \right ) \left (-\frac {c^{3} x^{3} \sqrt {-c^{2} x^{2}+1}}{4}-\frac {3 c x \sqrt {-c^{2} x^{2}+1}}{8}+\frac {3 \arcsin \left (c x \right )}{8}\right )}{60}-\frac {\left (20 c^{3} d^{3} h +60 c^{3} d^{2} e g +60 c^{3} d \,e^{2} f \right ) \left (-\frac {c^{2} x^{2} \sqrt {-c^{2} x^{2}+1}}{3}-\frac {2 \sqrt {-c^{2} x^{2}+1}}{3}\right )}{60}-\frac {\left (30 c^{4} d^{3} g +90 c^{4} d^{2} e f \right ) \left (-\frac {c x \sqrt {-c^{2} x^{2}+1}}{2}+\frac {\arcsin \left (c x \right )}{2}\right )}{60}+d^{3} c^{5} f \sqrt {-c^{2} x^{2}+1}\right )}{c^{5}}}{c}\) | \(705\) |
default | \(\frac {\frac {a \left (\frac {e^{3} h \,c^{6} x^{6}}{6}+\frac {\left (3 c d \,e^{2} h +c \,e^{3} g \right ) c^{5} x^{5}}{5}+\frac {\left (3 c^{2} d^{2} e h +3 c^{2} d \,e^{2} g +c^{2} e^{3} f \right ) c^{4} x^{4}}{4}+\frac {\left (c^{3} d^{3} h +3 c^{3} d^{2} e g +3 c^{3} d \,e^{2} f \right ) c^{3} x^{3}}{3}+\frac {\left (c^{4} d^{3} g +3 c^{4} d^{2} e f \right ) c^{2} x^{2}}{2}+d^{3} c^{6} f x \right )}{c^{5}}+\frac {b \left (\frac {\arcsin \left (c x \right ) e^{3} h \,c^{6} x^{6}}{6}+\frac {3 \arcsin \left (c x \right ) c^{6} d \,e^{2} h \,x^{5}}{5}+\frac {\arcsin \left (c x \right ) c^{6} e^{3} g \,x^{5}}{5}+\frac {3 \arcsin \left (c x \right ) c^{6} d^{2} e h \,x^{4}}{4}+\frac {3 \arcsin \left (c x \right ) c^{6} d \,e^{2} g \,x^{4}}{4}+\frac {\arcsin \left (c x \right ) c^{6} e^{3} f \,x^{4}}{4}+\frac {\arcsin \left (c x \right ) c^{6} d^{3} h \,x^{3}}{3}+\arcsin \left (c x \right ) c^{6} d^{2} e g \,x^{3}+\arcsin \left (c x \right ) c^{6} d \,e^{2} f \,x^{3}+\frac {\arcsin \left (c x \right ) c^{6} d^{3} g \,x^{2}}{2}+\frac {3 \arcsin \left (c x \right ) c^{6} d^{2} e f \,x^{2}}{2}+\arcsin \left (c x \right ) d^{3} c^{6} f x -\frac {e^{3} h \left (-\frac {c^{5} x^{5} \sqrt {-c^{2} x^{2}+1}}{6}-\frac {5 c^{3} x^{3} \sqrt {-c^{2} x^{2}+1}}{24}-\frac {5 c x \sqrt {-c^{2} x^{2}+1}}{16}+\frac {5 \arcsin \left (c x \right )}{16}\right )}{6}-\frac {\left (36 c d \,e^{2} h +12 c \,e^{3} g \right ) \left (-\frac {c^{4} x^{4} \sqrt {-c^{2} x^{2}+1}}{5}-\frac {4 c^{2} x^{2} \sqrt {-c^{2} x^{2}+1}}{15}-\frac {8 \sqrt {-c^{2} x^{2}+1}}{15}\right )}{60}-\frac {\left (45 c^{2} d^{2} e h +45 c^{2} d \,e^{2} g +15 c^{2} e^{3} f \right ) \left (-\frac {c^{3} x^{3} \sqrt {-c^{2} x^{2}+1}}{4}-\frac {3 c x \sqrt {-c^{2} x^{2}+1}}{8}+\frac {3 \arcsin \left (c x \right )}{8}\right )}{60}-\frac {\left (20 c^{3} d^{3} h +60 c^{3} d^{2} e g +60 c^{3} d \,e^{2} f \right ) \left (-\frac {c^{2} x^{2} \sqrt {-c^{2} x^{2}+1}}{3}-\frac {2 \sqrt {-c^{2} x^{2}+1}}{3}\right )}{60}-\frac {\left (30 c^{4} d^{3} g +90 c^{4} d^{2} e f \right ) \left (-\frac {c x \sqrt {-c^{2} x^{2}+1}}{2}+\frac {\arcsin \left (c x \right )}{2}\right )}{60}+d^{3} c^{5} f \sqrt {-c^{2} x^{2}+1}\right )}{c^{5}}}{c}\) | \(705\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.49, size = 853, normalized size = 1.67 \begin {gather*} \frac {1}{6} \, a h x^{6} e^{3} + \frac {3}{5} \, a d h x^{5} e^{2} + \frac {3}{4} \, a d^{2} h x^{4} e + \frac {1}{3} \, a d^{3} h x^{3} + \frac {1}{5} \, a g x^{5} e^{3} + \frac {3}{4} \, a d g x^{4} e^{2} + a d^{2} g x^{3} e + \frac {1}{2} \, a d^{3} g x^{2} + \frac {1}{4} \, a f x^{4} e^{3} + a d f x^{3} e^{2} + \frac {3}{2} \, a d^{2} f x^{2} e + \frac {1}{4} \, {\left (2 \, x^{2} \arcsin \left (c x\right ) + c {\left (\frac {\sqrt {-c^{2} x^{2} + 1} x}{c^{2}} - \frac {\arcsin \left (c x\right )}{c^{3}}\right )}\right )} b d^{3} g + \frac {1}{9} \, {\left (3 \, x^{3} \arcsin \left (c x\right ) + c {\left (\frac {\sqrt {-c^{2} x^{2} + 1} x^{2}}{c^{2}} + \frac {2 \, \sqrt {-c^{2} x^{2} + 1}}{c^{4}}\right )}\right )} b d^{3} h + a d^{3} f x + \frac {3}{4} \, {\left (2 \, x^{2} \arcsin \left (c x\right ) + c {\left (\frac {\sqrt {-c^{2} x^{2} + 1} x}{c^{2}} - \frac {\arcsin \left (c x\right )}{c^{3}}\right )}\right )} b d^{2} f e + \frac {1}{3} \, {\left (3 \, x^{3} \arcsin \left (c x\right ) + c {\left (\frac {\sqrt {-c^{2} x^{2} + 1} x^{2}}{c^{2}} + \frac {2 \, \sqrt {-c^{2} x^{2} + 1}}{c^{4}}\right )}\right )} b d^{2} g e + \frac {3}{32} \, {\left (8 \, x^{4} \arcsin \left (c x\right ) + {\left (\frac {2 \, \sqrt {-c^{2} x^{2} + 1} x^{3}}{c^{2}} + \frac {3 \, \sqrt {-c^{2} x^{2} + 1} x}{c^{4}} - \frac {3 \, \arcsin \left (c x\right )}{c^{5}}\right )} c\right )} b d^{2} h e + \frac {{\left (c x \arcsin \left (c x\right ) + \sqrt {-c^{2} x^{2} + 1}\right )} b d^{3} f}{c} + \frac {1}{3} \, {\left (3 \, x^{3} \arcsin \left (c x\right ) + c {\left (\frac {\sqrt {-c^{2} x^{2} + 1} x^{2}}{c^{2}} + \frac {2 \, \sqrt {-c^{2} x^{2} + 1}}{c^{4}}\right )}\right )} b d f e^{2} + \frac {3}{32} \, {\left (8 \, x^{4} \arcsin \left (c x\right ) + {\left (\frac {2 \, \sqrt {-c^{2} x^{2} + 1} x^{3}}{c^{2}} + \frac {3 \, \sqrt {-c^{2} x^{2} + 1} x}{c^{4}} - \frac {3 \, \arcsin \left (c x\right )}{c^{5}}\right )} c\right )} b d g e^{2} + \frac {1}{25} \, {\left (15 \, x^{5} \arcsin \left (c x\right ) + {\left (\frac {3 \, \sqrt {-c^{2} x^{2} + 1} x^{4}}{c^{2}} + \frac {4 \, \sqrt {-c^{2} x^{2} + 1} x^{2}}{c^{4}} + \frac {8 \, \sqrt {-c^{2} x^{2} + 1}}{c^{6}}\right )} c\right )} b d h e^{2} + \frac {1}{32} \, {\left (8 \, x^{4} \arcsin \left (c x\right ) + {\left (\frac {2 \, \sqrt {-c^{2} x^{2} + 1} x^{3}}{c^{2}} + \frac {3 \, \sqrt {-c^{2} x^{2} + 1} x}{c^{4}} - \frac {3 \, \arcsin \left (c x\right )}{c^{5}}\right )} c\right )} b f e^{3} + \frac {1}{75} \, {\left (15 \, x^{5} \arcsin \left (c x\right ) + {\left (\frac {3 \, \sqrt {-c^{2} x^{2} + 1} x^{4}}{c^{2}} + \frac {4 \, \sqrt {-c^{2} x^{2} + 1} x^{2}}{c^{4}} + \frac {8 \, \sqrt {-c^{2} x^{2} + 1}}{c^{6}}\right )} c\right )} b g e^{3} + \frac {1}{288} \, {\left (48 \, x^{6} \arcsin \left (c x\right ) + {\left (\frac {8 \, \sqrt {-c^{2} x^{2} + 1} x^{5}}{c^{2}} + \frac {10 \, \sqrt {-c^{2} x^{2} + 1} x^{3}}{c^{4}} + \frac {15 \, \sqrt {-c^{2} x^{2} + 1} x}{c^{6}} - \frac {15 \, \arcsin \left (c x\right )}{c^{7}}\right )} c\right )} b h e^{3} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 3.86, size = 639, normalized size = 1.25 \begin {gather*} \frac {2400 \, a c^{6} d^{3} h x^{3} + 3600 \, a c^{6} d^{3} g x^{2} + 7200 \, a c^{6} d^{3} f x + 15 \, {\left (160 \, b c^{6} d^{3} h x^{3} + 240 \, b c^{6} d^{3} g x^{2} + 480 \, b c^{6} d^{3} f x - 120 \, b c^{4} d^{3} g + {\left (80 \, b c^{6} h x^{6} + 96 \, b c^{6} g x^{5} + 120 \, b c^{6} f x^{4} - 45 \, b c^{2} f - 25 \, b h\right )} e^{3} + 3 \, {\left (96 \, b c^{6} d h x^{5} + 120 \, b c^{6} d g x^{4} + 160 \, b c^{6} d f x^{3} - 45 \, b c^{2} d g\right )} e^{2} + 15 \, {\left (24 \, b c^{6} d^{2} h x^{4} + 32 \, b c^{6} d^{2} g x^{3} + 48 \, b c^{6} d^{2} f x^{2} - 24 \, b c^{4} d^{2} f - 9 \, b c^{2} d^{2} h\right )} e\right )} \arcsin \left (c x\right ) + 120 \, {\left (10 \, a c^{6} h x^{6} + 12 \, a c^{6} g x^{5} + 15 \, a c^{6} f x^{4}\right )} e^{3} + 360 \, {\left (12 \, a c^{6} d h x^{5} + 15 \, a c^{6} d g x^{4} + 20 \, a c^{6} d f x^{3}\right )} e^{2} + 1800 \, {\left (3 \, a c^{6} d^{2} h x^{4} + 4 \, a c^{6} d^{2} g x^{3} + 6 \, a c^{6} d^{2} f x^{2}\right )} e + {\left (800 \, b c^{5} d^{3} h x^{2} + 1800 \, b c^{5} d^{3} g x + 7200 \, b c^{5} d^{3} f + 1600 \, b c^{3} d^{3} h + {\left (200 \, b c^{5} h x^{5} + 288 \, b c^{5} g x^{4} + 384 \, b c^{3} g x^{2} + 50 \, {\left (9 \, b c^{5} f + 5 \, b c^{3} h\right )} x^{3} + 768 \, b c g + 75 \, {\left (9 \, b c^{3} f + 5 \, b c h\right )} x\right )} e^{3} + 3 \, {\left (288 \, b c^{5} d h x^{4} + 450 \, b c^{5} d g x^{3} + 675 \, b c^{3} d g x + 1600 \, b c^{3} d f + 768 \, b c d h + 32 \, {\left (25 \, b c^{5} d f + 12 \, b c^{3} d h\right )} x^{2}\right )} e^{2} + 75 \, {\left (18 \, b c^{5} d^{2} h x^{3} + 32 \, b c^{5} d^{2} g x^{2} + 64 \, b c^{3} d^{2} g + 9 \, {\left (8 \, b c^{5} d^{2} f + 3 \, b c^{3} d^{2} h\right )} x\right )} e\right )} \sqrt {-c^{2} x^{2} + 1}}{7200 \, c^{6}} \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. 1263 vs.
\(2 (505) = 1010\).
time = 0.79, size = 1263, normalized size = 2.47 \begin {gather*} \begin {cases} a d^{3} f x + \frac {a d^{3} g x^{2}}{2} + \frac {a d^{3} h x^{3}}{3} + \frac {3 a d^{2} e f x^{2}}{2} + a d^{2} e g x^{3} + \frac {3 a d^{2} e h x^{4}}{4} + a d e^{2} f x^{3} + \frac {3 a d e^{2} g x^{4}}{4} + \frac {3 a d e^{2} h x^{5}}{5} + \frac {a e^{3} f x^{4}}{4} + \frac {a e^{3} g x^{5}}{5} + \frac {a e^{3} h x^{6}}{6} + b d^{3} f x \operatorname {asin}{\left (c x \right )} + \frac {b d^{3} g x^{2} \operatorname {asin}{\left (c x \right )}}{2} + \frac {b d^{3} h x^{3} \operatorname {asin}{\left (c x \right )}}{3} + \frac {3 b d^{2} e f x^{2} \operatorname {asin}{\left (c x \right )}}{2} + b d^{2} e g x^{3} \operatorname {asin}{\left (c x \right )} + \frac {3 b d^{2} e h x^{4} \operatorname {asin}{\left (c x \right )}}{4} + b d e^{2} f x^{3} \operatorname {asin}{\left (c x \right )} + \frac {3 b d e^{2} g x^{4} \operatorname {asin}{\left (c x \right )}}{4} + \frac {3 b d e^{2} h x^{5} \operatorname {asin}{\left (c x \right )}}{5} + \frac {b e^{3} f x^{4} \operatorname {asin}{\left (c x \right )}}{4} + \frac {b e^{3} g x^{5} \operatorname {asin}{\left (c x \right )}}{5} + \frac {b e^{3} h x^{6} \operatorname {asin}{\left (c x \right )}}{6} + \frac {b d^{3} f \sqrt {- c^{2} x^{2} + 1}}{c} + \frac {b d^{3} g x \sqrt {- c^{2} x^{2} + 1}}{4 c} + \frac {b d^{3} h x^{2} \sqrt {- c^{2} x^{2} + 1}}{9 c} + \frac {3 b d^{2} e f x \sqrt {- c^{2} x^{2} + 1}}{4 c} + \frac {b d^{2} e g x^{2} \sqrt {- c^{2} x^{2} + 1}}{3 c} + \frac {3 b d^{2} e h x^{3} \sqrt {- c^{2} x^{2} + 1}}{16 c} + \frac {b d e^{2} f x^{2} \sqrt {- c^{2} x^{2} + 1}}{3 c} + \frac {3 b d e^{2} g x^{3} \sqrt {- c^{2} x^{2} + 1}}{16 c} + \frac {3 b d e^{2} h x^{4} \sqrt {- c^{2} x^{2} + 1}}{25 c} + \frac {b e^{3} f x^{3} \sqrt {- c^{2} x^{2} + 1}}{16 c} + \frac {b e^{3} g x^{4} \sqrt {- c^{2} x^{2} + 1}}{25 c} + \frac {b e^{3} h x^{5} \sqrt {- c^{2} x^{2} + 1}}{36 c} - \frac {b d^{3} g \operatorname {asin}{\left (c x \right )}}{4 c^{2}} - \frac {3 b d^{2} e f \operatorname {asin}{\left (c x \right )}}{4 c^{2}} + \frac {2 b d^{3} h \sqrt {- c^{2} x^{2} + 1}}{9 c^{3}} + \frac {2 b d^{2} e g \sqrt {- c^{2} x^{2} + 1}}{3 c^{3}} + \frac {9 b d^{2} e h x \sqrt {- c^{2} x^{2} + 1}}{32 c^{3}} + \frac {2 b d e^{2} f \sqrt {- c^{2} x^{2} + 1}}{3 c^{3}} + \frac {9 b d e^{2} g x \sqrt {- c^{2} x^{2} + 1}}{32 c^{3}} + \frac {4 b d e^{2} h x^{2} \sqrt {- c^{2} x^{2} + 1}}{25 c^{3}} + \frac {3 b e^{3} f x \sqrt {- c^{2} x^{2} + 1}}{32 c^{3}} + \frac {4 b e^{3} g x^{2} \sqrt {- c^{2} x^{2} + 1}}{75 c^{3}} + \frac {5 b e^{3} h x^{3} \sqrt {- c^{2} x^{2} + 1}}{144 c^{3}} - \frac {9 b d^{2} e h \operatorname {asin}{\left (c x \right )}}{32 c^{4}} - \frac {9 b d e^{2} g \operatorname {asin}{\left (c x \right )}}{32 c^{4}} - \frac {3 b e^{3} f \operatorname {asin}{\left (c x \right )}}{32 c^{4}} + \frac {8 b d e^{2} h \sqrt {- c^{2} x^{2} + 1}}{25 c^{5}} + \frac {8 b e^{3} g \sqrt {- c^{2} x^{2} + 1}}{75 c^{5}} + \frac {5 b e^{3} h x \sqrt {- c^{2} x^{2} + 1}}{96 c^{5}} - \frac {5 b e^{3} h \operatorname {asin}{\left (c x \right )}}{96 c^{6}} & \text {for}\: c \neq 0 \\a \left (d^{3} f x + \frac {d^{3} g x^{2}}{2} + \frac {d^{3} h x^{3}}{3} + \frac {3 d^{2} e f x^{2}}{2} + d^{2} e g x^{3} + \frac {3 d^{2} e h x^{4}}{4} + d e^{2} f x^{3} + \frac {3 d e^{2} g x^{4}}{4} + \frac {3 d e^{2} h x^{5}}{5} + \frac {e^{3} f x^{4}}{4} + \frac {e^{3} g x^{5}}{5} + \frac {e^{3} h x^{6}}{6}\right ) & \text {otherwise} \end {cases} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] Leaf count of result is larger than twice the leaf count of optimal. 1337 vs.
\(2 (477) = 954\).
time = 0.44, size = 1337, normalized size = 2.61 \begin {gather*} \frac {1}{6} \, a e^{3} h x^{6} + \frac {1}{5} \, a e^{3} g x^{5} + \frac {3}{5} \, a d e^{2} h x^{5} + \frac {1}{4} \, a e^{3} f x^{4} + \frac {3}{4} \, a d e^{2} g x^{4} + \frac {3}{4} \, a d^{2} e h x^{4} + a d e^{2} f x^{3} + a d^{2} e g x^{3} + \frac {1}{3} \, a d^{3} h x^{3} + b d^{3} f x \arcsin \left (c x\right ) + a d^{3} f x + \frac {{\left (c^{2} x^{2} - 1\right )} b d e^{2} f x \arcsin \left (c x\right )}{c^{2}} + \frac {{\left (c^{2} x^{2} - 1\right )} b d^{2} e g x \arcsin \left (c x\right )}{c^{2}} + \frac {{\left (c^{2} x^{2} - 1\right )} b d^{3} h x \arcsin \left (c x\right )}{3 \, c^{2}} + \frac {3 \, \sqrt {-c^{2} x^{2} + 1} b d^{2} e f x}{4 \, c} + \frac {\sqrt {-c^{2} x^{2} + 1} b d^{3} g x}{4 \, c} + \frac {3 \, {\left (c^{2} x^{2} - 1\right )} b d^{2} e f \arcsin \left (c x\right )}{2 \, c^{2}} + \frac {{\left (c^{2} x^{2} - 1\right )} b d^{3} g \arcsin \left (c x\right )}{2 \, c^{2}} + \frac {b d e^{2} f x \arcsin \left (c x\right )}{c^{2}} + \frac {b d^{2} e g x \arcsin \left (c x\right )}{c^{2}} + \frac {{\left (c^{2} x^{2} - 1\right )}^{2} b e^{3} g x \arcsin \left (c x\right )}{5 \, c^{4}} + \frac {b d^{3} h x \arcsin \left (c x\right )}{3 \, c^{2}} + \frac {3 \, {\left (c^{2} x^{2} - 1\right )}^{2} b d e^{2} h x \arcsin \left (c x\right )}{5 \, c^{4}} + \frac {\sqrt {-c^{2} x^{2} + 1} b d^{3} f}{c} - \frac {{\left (-c^{2} x^{2} + 1\right )}^{\frac {3}{2}} b e^{3} f x}{16 \, c^{3}} - \frac {3 \, {\left (-c^{2} x^{2} + 1\right )}^{\frac {3}{2}} b d e^{2} g x}{16 \, c^{3}} - \frac {3 \, {\left (-c^{2} x^{2} + 1\right )}^{\frac {3}{2}} b d^{2} e h x}{16 \, c^{3}} + \frac {3 \, {\left (c^{2} x^{2} - 1\right )} a d^{2} e f}{2 \, c^{2}} + \frac {{\left (c^{2} x^{2} - 1\right )} a d^{3} g}{2 \, c^{2}} + \frac {3 \, b d^{2} e f \arcsin \left (c x\right )}{4 \, c^{2}} + \frac {{\left (c^{2} x^{2} - 1\right )}^{2} b e^{3} f \arcsin \left (c x\right )}{4 \, c^{4}} + \frac {b d^{3} g \arcsin \left (c x\right )}{4 \, c^{2}} + \frac {3 \, {\left (c^{2} x^{2} - 1\right )}^{2} b d e^{2} g \arcsin \left (c x\right )}{4 \, c^{4}} + \frac {3 \, {\left (c^{2} x^{2} - 1\right )}^{2} b d^{2} e h \arcsin \left (c x\right )}{4 \, c^{4}} + \frac {2 \, {\left (c^{2} x^{2} - 1\right )} b e^{3} g x \arcsin \left (c x\right )}{5 \, c^{4}} + \frac {6 \, {\left (c^{2} x^{2} - 1\right )} b d e^{2} h x \arcsin \left (c x\right )}{5 \, c^{4}} - \frac {{\left (-c^{2} x^{2} + 1\right )}^{\frac {3}{2}} b d e^{2} f}{3 \, c^{3}} - \frac {{\left (-c^{2} x^{2} + 1\right )}^{\frac {3}{2}} b d^{2} e g}{3 \, c^{3}} - \frac {{\left (-c^{2} x^{2} + 1\right )}^{\frac {3}{2}} b d^{3} h}{9 \, c^{3}} + \frac {5 \, \sqrt {-c^{2} x^{2} + 1} b e^{3} f x}{32 \, c^{3}} + \frac {15 \, \sqrt {-c^{2} x^{2} + 1} b d e^{2} g x}{32 \, c^{3}} + \frac {15 \, \sqrt {-c^{2} x^{2} + 1} b d^{2} e h x}{32 \, c^{3}} + \frac {{\left (c^{2} x^{2} - 1\right )}^{2} \sqrt {-c^{2} x^{2} + 1} b e^{3} h x}{36 \, c^{5}} + \frac {{\left (c^{2} x^{2} - 1\right )} b e^{3} f \arcsin \left (c x\right )}{2 \, c^{4}} + \frac {3 \, {\left (c^{2} x^{2} - 1\right )} b d e^{2} g \arcsin \left (c x\right )}{2 \, c^{4}} + \frac {3 \, {\left (c^{2} x^{2} - 1\right )} b d^{2} e h \arcsin \left (c x\right )}{2 \, c^{4}} + \frac {{\left (c^{2} x^{2} - 1\right )}^{3} b e^{3} h \arcsin \left (c x\right )}{6 \, c^{6}} + \frac {b e^{3} g x \arcsin \left (c x\right )}{5 \, c^{4}} + \frac {3 \, b d e^{2} h x \arcsin \left (c x\right )}{5 \, c^{4}} + \frac {\sqrt {-c^{2} x^{2} + 1} b d e^{2} f}{c^{3}} + \frac {\sqrt {-c^{2} x^{2} + 1} b d^{2} e g}{c^{3}} + \frac {{\left (c^{2} x^{2} - 1\right )}^{2} \sqrt {-c^{2} x^{2} + 1} b e^{3} g}{25 \, c^{5}} + \frac {\sqrt {-c^{2} x^{2} + 1} b d^{3} h}{3 \, c^{3}} + \frac {3 \, {\left (c^{2} x^{2} - 1\right )}^{2} \sqrt {-c^{2} x^{2} + 1} b d e^{2} h}{25 \, c^{5}} - \frac {13 \, {\left (-c^{2} x^{2} + 1\right )}^{\frac {3}{2}} b e^{3} h x}{144 \, c^{5}} + \frac {5 \, b e^{3} f \arcsin \left (c x\right )}{32 \, c^{4}} + \frac {15 \, b d e^{2} g \arcsin \left (c x\right )}{32 \, c^{4}} + \frac {15 \, b d^{2} e h \arcsin \left (c x\right )}{32 \, c^{4}} + \frac {{\left (c^{2} x^{2} - 1\right )}^{2} b e^{3} h \arcsin \left (c x\right )}{2 \, c^{6}} - \frac {2 \, {\left (-c^{2} x^{2} + 1\right )}^{\frac {3}{2}} b e^{3} g}{15 \, c^{5}} - \frac {2 \, {\left (-c^{2} x^{2} + 1\right )}^{\frac {3}{2}} b d e^{2} h}{5 \, c^{5}} + \frac {11 \, \sqrt {-c^{2} x^{2} + 1} b e^{3} h x}{96 \, c^{5}} + \frac {{\left (c^{2} x^{2} - 1\right )} b e^{3} h \arcsin \left (c x\right )}{2 \, c^{6}} + \frac {\sqrt {-c^{2} x^{2} + 1} b e^{3} g}{5 \, c^{5}} + \frac {3 \, \sqrt {-c^{2} x^{2} + 1} b d e^{2} h}{5 \, c^{5}} + \frac {11 \, b e^{3} h \arcsin \left (c x\right )}{96 \, c^{6}} \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 \left (a+b\,\mathrm {asin}\left (c\,x\right )\right )\,{\left (d+e\,x\right )}^3\,\left (h\,x^2+g\,x+f\right ) \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________