Optimal. Leaf size=1278 \[ -\frac {11 b c^3 i \sqrt {1-c^2 x^2} d^4}{4 e^3 \left (c^2 d^2-e^2\right )^2 (d+e x)}-\frac {11 b c^3 \left (2 c^2 d^2+e^2\right ) i \tan ^{-1}\left (\frac {d x c^2+e}{\sqrt {c^2 d^2-e^2} \sqrt {1-c^2 x^2}}\right ) d^3}{12 e^4 \left (c^2 d^2-e^2\right )^{5/2}}-\frac {11 b c i \sqrt {1-c^2 x^2} d^3}{12 e^3 \left (c^2 d^2-e^2\right ) (d+e x)^2}+\frac {b c^3 \left (4 c^2 h d^2+e (2 e h+81 d i)\right ) \tan ^{-1}\left (\frac {d x c^2+e}{\sqrt {c^2 d^2-e^2} \sqrt {1-c^2 x^2}}\right ) d^2}{12 e^3 \left (c^2 d^2-e^2\right )^{5/2}}+\frac {b c \left (d (2 e h+9 d i) c^2+18 e^2 i\right ) \sqrt {1-c^2 x^2} d^2}{4 e^3 \left (c^2 d^2-e^2\right )^2 (d+e x)}+\frac {b c (2 e h+27 d i) \sqrt {1-c^2 x^2} d^2}{12 e^3 \left (c^2 d^2-e^2\right ) (d+e x)^2}+\frac {b c \left (2 d^2 g c^4+\left (-18 i d^2-18 e h d+e^2 g\right ) c^2-36 e^2 i\right ) \tan ^{-1}\left (\frac {d x c^2+e}{\sqrt {c^2 d^2-e^2} \sqrt {1-c^2 x^2}}\right ) d}{12 e^2 \left (c^2 d^2-e^2\right )^{5/2}}-\frac {b c \left (4 e^2 (e h+6 d i)-c^2 d \left (6 i d^2-2 e h d+e^2 g\right )\right ) \sqrt {1-c^2 x^2} d}{4 e^3 \left (c^2 d^2-e^2\right )^2 (d+e x)}+\frac {b c \left (-18 i d^2-6 e h d+e^2 g\right ) \sqrt {1-c^2 x^2} d}{12 e^3 \left (c^2 d^2-e^2\right ) (d+e x)^2}-\frac {i b i \sin ^{-1}(c x)^2}{2 e^4}-\frac {(e h-3 d i) \left (a+b \sin ^{-1}(c x)\right )}{e^4 (d+e x)}-\frac {\left (3 i d^2-2 e h d+e^2 g\right ) \left (a+b \sin ^{-1}(c x)\right )}{2 e^4 (d+e x)^2}-\frac {\left (-i d^3+e h d^2-e^2 g d+e^3 f\right ) \left (a+b \sin ^{-1}(c x)\right )}{3 e^4 (d+e x)^3}+\frac {b c \left (4 d^2 f c^4+\left (6 h d^2-9 e g d+2 e^2 f\right ) c^2+12 e^2 h\right ) \tan ^{-1}\left (\frac {d x c^2+e}{\sqrt {c^2 d^2-e^2} \sqrt {1-c^2 x^2}}\right )}{12 e \left (c^2 d^2-e^2\right )^{5/2}}+\frac {b i \sin ^{-1}(c x) \log \left (1-\frac {i e e^{i \sin ^{-1}(c x)}}{c d-\sqrt {c^2 d^2-e^2}}\right )}{e^4}+\frac {b i \sin ^{-1}(c x) \log \left (1-\frac {i e e^{i \sin ^{-1}(c x)}}{c d+\sqrt {c^2 d^2-e^2}}\right )}{e^4}-\frac {b i \sin ^{-1}(c x) \log (d+e x)}{e^4}+\frac {i \left (a+b \sin ^{-1}(c x)\right ) \log (d+e x)}{e^4}-\frac {i b i \text {Li}_2\left (\frac {i e e^{i \sin ^{-1}(c x)}}{c d-\sqrt {c^2 d^2-e^2}}\right )}{e^4}-\frac {i b i \text {Li}_2\left (\frac {i e e^{i \sin ^{-1}(c x)}}{c d+\sqrt {c^2 d^2-e^2}}\right )}{e^4}-\frac {b c \left (2 e^2 (e g-4 d h)-c^2 d \left (-2 h d^2-e g d+2 e^2 f\right )\right ) \sqrt {1-c^2 x^2}}{4 e^2 \left (c^2 d^2-e^2\right )^2 (d+e x)}+\frac {b c \left (6 h d^2-3 e g d+2 e^2 f\right ) \sqrt {1-c^2 x^2}}{12 e^2 \left (c^2 d^2-e^2\right ) (d+e x)^2} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 2.86, antiderivative size = 1278, normalized size of antiderivative = 1.00, number of steps used = 29, number of rules used = 17, integrand size = 31, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.548, Rules used = {1850, 4753, 12, 6742, 745, 807, 725, 204, 835, 1651, 216, 2404, 4741, 4519, 2190, 2279, 2391} \[ -\frac {11 b c^3 i \sqrt {1-c^2 x^2} d^4}{4 e^3 \left (c^2 d^2-e^2\right )^2 (d+e x)}-\frac {11 b c^3 \left (2 c^2 d^2+e^2\right ) i \tan ^{-1}\left (\frac {d x c^2+e}{\sqrt {c^2 d^2-e^2} \sqrt {1-c^2 x^2}}\right ) d^3}{12 e^4 \left (c^2 d^2-e^2\right )^{5/2}}-\frac {11 b c i \sqrt {1-c^2 x^2} d^3}{12 e^3 \left (c^2 d^2-e^2\right ) (d+e x)^2}+\frac {b c^3 \left (4 c^2 h d^2+e (2 e h+81 d i)\right ) \tan ^{-1}\left (\frac {d x c^2+e}{\sqrt {c^2 d^2-e^2} \sqrt {1-c^2 x^2}}\right ) d^2}{12 e^3 \left (c^2 d^2-e^2\right )^{5/2}}+\frac {b c \left (d (2 e h+9 d i) c^2+18 e^2 i\right ) \sqrt {1-c^2 x^2} d^2}{4 e^3 \left (c^2 d^2-e^2\right )^2 (d+e x)}+\frac {b c (2 e h+27 d i) \sqrt {1-c^2 x^2} d^2}{12 e^3 \left (c^2 d^2-e^2\right ) (d+e x)^2}+\frac {b c \left (2 d^2 g c^4+\left (-18 i d^2-18 e h d+e^2 g\right ) c^2-36 e^2 i\right ) \tan ^{-1}\left (\frac {d x c^2+e}{\sqrt {c^2 d^2-e^2} \sqrt {1-c^2 x^2}}\right ) d}{12 e^2 \left (c^2 d^2-e^2\right )^{5/2}}-\frac {b c \left (4 e^2 (e h+6 d i)-c^2 d \left (6 i d^2-2 e h d+e^2 g\right )\right ) \sqrt {1-c^2 x^2} d}{4 e^3 \left (c^2 d^2-e^2\right )^2 (d+e x)}+\frac {b c \left (-18 i d^2-6 e h d+e^2 g\right ) \sqrt {1-c^2 x^2} d}{12 e^3 \left (c^2 d^2-e^2\right ) (d+e x)^2}-\frac {i b i \sin ^{-1}(c x)^2}{2 e^4}-\frac {(e h-3 d i) \left (a+b \sin ^{-1}(c x)\right )}{e^4 (d+e x)}-\frac {\left (3 i d^2-2 e h d+e^2 g\right ) \left (a+b \sin ^{-1}(c x)\right )}{2 e^4 (d+e x)^2}-\frac {\left (-i d^3+e h d^2-e^2 g d+e^3 f\right ) \left (a+b \sin ^{-1}(c x)\right )}{3 e^4 (d+e x)^3}+\frac {b c \left (4 d^2 f c^4+\left (6 h d^2-9 e g d+2 e^2 f\right ) c^2+12 e^2 h\right ) \tan ^{-1}\left (\frac {d x c^2+e}{\sqrt {c^2 d^2-e^2} \sqrt {1-c^2 x^2}}\right )}{12 e \left (c^2 d^2-e^2\right )^{5/2}}+\frac {b i \sin ^{-1}(c x) \log \left (1-\frac {i e e^{i \sin ^{-1}(c x)}}{c d-\sqrt {c^2 d^2-e^2}}\right )}{e^4}+\frac {b i \sin ^{-1}(c x) \log \left (1-\frac {i e e^{i \sin ^{-1}(c x)}}{c d+\sqrt {c^2 d^2-e^2}}\right )}{e^4}-\frac {b i \sin ^{-1}(c x) \log (d+e x)}{e^4}+\frac {i \left (a+b \sin ^{-1}(c x)\right ) \log (d+e x)}{e^4}-\frac {i b i \text {PolyLog}\left (2,\frac {i e e^{i \sin ^{-1}(c x)}}{c d-\sqrt {c^2 d^2-e^2}}\right )}{e^4}-\frac {i b i \text {PolyLog}\left (2,\frac {i e e^{i \sin ^{-1}(c x)}}{c d+\sqrt {c^2 d^2-e^2}}\right )}{e^4}-\frac {b c \left (2 e^2 (e g-4 d h)-c^2 d \left (-2 h d^2-e g d+2 e^2 f\right )\right ) \sqrt {1-c^2 x^2}}{4 e^2 \left (c^2 d^2-e^2\right )^2 (d+e x)}+\frac {b c \left (6 h d^2-3 e g d+2 e^2 f\right ) \sqrt {1-c^2 x^2}}{12 e^2 \left (c^2 d^2-e^2\right ) (d+e x)^2} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 204
Rule 216
Rule 725
Rule 745
Rule 807
Rule 835
Rule 1651
Rule 1850
Rule 2190
Rule 2279
Rule 2391
Rule 2404
Rule 4519
Rule 4741
Rule 4753
Rule 6742
Rubi steps
\begin {align*} \int \frac {\left (f+g x+h x^2+112 x^3\right ) \left (a+b \sin ^{-1}(c x)\right )}{(d+e x)^4} \, dx &=\frac {\left (112 d^3-e^3 f+d e^2 g-d^2 e h\right ) \left (a+b \sin ^{-1}(c x)\right )}{3 e^4 (d+e x)^3}-\frac {\left (336 d^2+e^2 g-2 d e h\right ) \left (a+b \sin ^{-1}(c x)\right )}{2 e^4 (d+e x)^2}+\frac {(336 d-e h) \left (a+b \sin ^{-1}(c x)\right )}{e^4 (d+e x)}+\frac {112 \left (a+b \sin ^{-1}(c x)\right ) \log (d+e x)}{e^4}-(b c) \int \frac {1232 d^3-2 d^2 e (h-1512 x)-d e^2 (g+6 (h-336 x) x)-e^3 (2 f+3 x (g+2 h x))+672 (d+e x)^3 \log (d+e x)}{6 e^4 (d+e x)^3 \sqrt {1-c^2 x^2}} \, dx\\ &=\frac {\left (112 d^3-e^3 f+d e^2 g-d^2 e h\right ) \left (a+b \sin ^{-1}(c x)\right )}{3 e^4 (d+e x)^3}-\frac {\left (336 d^2+e^2 g-2 d e h\right ) \left (a+b \sin ^{-1}(c x)\right )}{2 e^4 (d+e x)^2}+\frac {(336 d-e h) \left (a+b \sin ^{-1}(c x)\right )}{e^4 (d+e x)}+\frac {112 \left (a+b \sin ^{-1}(c x)\right ) \log (d+e x)}{e^4}-\frac {(b c) \int \frac {1232 d^3-2 d^2 e (h-1512 x)-d e^2 (g+6 (h-336 x) x)-e^3 (2 f+3 x (g+2 h x))+672 (d+e x)^3 \log (d+e x)}{(d+e x)^3 \sqrt {1-c^2 x^2}} \, dx}{6 e^4}\\ &=\frac {\left (112 d^3-e^3 f+d e^2 g-d^2 e h\right ) \left (a+b \sin ^{-1}(c x)\right )}{3 e^4 (d+e x)^3}-\frac {\left (336 d^2+e^2 g-2 d e h\right ) \left (a+b \sin ^{-1}(c x)\right )}{2 e^4 (d+e x)^2}+\frac {(336 d-e h) \left (a+b \sin ^{-1}(c x)\right )}{e^4 (d+e x)}+\frac {112 \left (a+b \sin ^{-1}(c x)\right ) \log (d+e x)}{e^4}-\frac {(b c) \int \left (\frac {1232 d^3}{(d+e x)^3 \sqrt {1-c^2 x^2}}-\frac {2 d^2 e (h-1512 x)}{(d+e x)^3 \sqrt {1-c^2 x^2}}+\frac {d e^2 \left (-g-6 h x+2016 x^2\right )}{(d+e x)^3 \sqrt {1-c^2 x^2}}-\frac {e^3 \left (2 f+3 g x+6 h x^2\right )}{(d+e x)^3 \sqrt {1-c^2 x^2}}+\frac {672 \log (d+e x)}{\sqrt {1-c^2 x^2}}\right ) \, dx}{6 e^4}\\ &=\frac {\left (112 d^3-e^3 f+d e^2 g-d^2 e h\right ) \left (a+b \sin ^{-1}(c x)\right )}{3 e^4 (d+e x)^3}-\frac {\left (336 d^2+e^2 g-2 d e h\right ) \left (a+b \sin ^{-1}(c x)\right )}{2 e^4 (d+e x)^2}+\frac {(336 d-e h) \left (a+b \sin ^{-1}(c x)\right )}{e^4 (d+e x)}+\frac {112 \left (a+b \sin ^{-1}(c x)\right ) \log (d+e x)}{e^4}-\frac {(112 b c) \int \frac {\log (d+e x)}{\sqrt {1-c^2 x^2}} \, dx}{e^4}-\frac {\left (616 b c d^3\right ) \int \frac {1}{(d+e x)^3 \sqrt {1-c^2 x^2}} \, dx}{3 e^4}+\frac {\left (b c d^2\right ) \int \frac {h-1512 x}{(d+e x)^3 \sqrt {1-c^2 x^2}} \, dx}{3 e^3}-\frac {(b c d) \int \frac {-g-6 h x+2016 x^2}{(d+e x)^3 \sqrt {1-c^2 x^2}} \, dx}{6 e^2}+\frac {(b c) \int \frac {2 f+3 g x+6 h x^2}{(d+e x)^3 \sqrt {1-c^2 x^2}} \, dx}{6 e}\\ &=-\frac {308 b c d^3 \sqrt {1-c^2 x^2}}{3 e^3 \left (c^2 d^2-e^2\right ) (d+e x)^2}+\frac {b c \left (2 e^2 f-3 d e g+6 d^2 h\right ) \sqrt {1-c^2 x^2}}{12 e^2 \left (c^2 d^2-e^2\right ) (d+e x)^2}+\frac {b c d^2 (1512 d+e h) \sqrt {1-c^2 x^2}}{6 e^3 \left (c^2 d^2-e^2\right ) (d+e x)^2}-\frac {b c d \left (2016 d^2-e^2 g+6 d e h\right ) \sqrt {1-c^2 x^2}}{12 e^3 \left (c^2 d^2-e^2\right ) (d+e x)^2}+\frac {\left (112 d^3-e^3 f+d e^2 g-d^2 e h\right ) \left (a+b \sin ^{-1}(c x)\right )}{3 e^4 (d+e x)^3}-\frac {\left (336 d^2+e^2 g-2 d e h\right ) \left (a+b \sin ^{-1}(c x)\right )}{2 e^4 (d+e x)^2}+\frac {(336 d-e h) \left (a+b \sin ^{-1}(c x)\right )}{e^4 (d+e x)}-\frac {112 b \sin ^{-1}(c x) \log (d+e x)}{e^4}+\frac {112 \left (a+b \sin ^{-1}(c x)\right ) \log (d+e x)}{e^4}+\frac {(112 b c) \int \frac {\sin ^{-1}(c x)}{c d+c e x} \, dx}{e^3}+\frac {\left (308 b c^3 d^3\right ) \int \frac {-2 d+e x}{(d+e x)^2 \sqrt {1-c^2 x^2}} \, dx}{3 e^4 \left (c^2 d^2-e^2\right )}+\frac {\left (b c d^2\right ) \int \frac {2 \left (1512 e+c^2 d h\right )-c^2 (1512 d+e h) x}{(d+e x)^2 \sqrt {1-c^2 x^2}} \, dx}{6 e^3 \left (c^2 d^2-e^2\right )}-\frac {(b c d) \int \frac {2 \left (\frac {1}{2} d \left (4032-2 c^2 g\right )+6 e h\right )-\left (4032 e-c^2 \left (\frac {2016 d^2}{e}+e g-6 d h\right )\right ) x}{(d+e x)^2 \sqrt {1-c^2 x^2}} \, dx}{12 e^2 \left (c^2 d^2-e^2\right )}+\frac {(b c) \int \frac {2 \left (2 c^2 d f-3 e g+6 d h\right )-\left (12 e h+c^2 \left (2 e f-3 d g-\frac {6 d^2 h}{e}\right )\right ) x}{(d+e x)^2 \sqrt {1-c^2 x^2}} \, dx}{12 e \left (c^2 d^2-e^2\right )}\\ &=-\frac {308 b c d^3 \sqrt {1-c^2 x^2}}{3 e^3 \left (c^2 d^2-e^2\right ) (d+e x)^2}+\frac {b c \left (2 e^2 f-3 d e g+6 d^2 h\right ) \sqrt {1-c^2 x^2}}{12 e^2 \left (c^2 d^2-e^2\right ) (d+e x)^2}+\frac {b c d^2 (1512 d+e h) \sqrt {1-c^2 x^2}}{6 e^3 \left (c^2 d^2-e^2\right ) (d+e x)^2}-\frac {b c d \left (2016 d^2-e^2 g+6 d e h\right ) \sqrt {1-c^2 x^2}}{12 e^3 \left (c^2 d^2-e^2\right ) (d+e x)^2}-\frac {308 b c^3 d^4 \sqrt {1-c^2 x^2}}{e^3 \left (c^2 d^2-e^2\right )^2 (d+e x)}-\frac {b c \left (2 e^2 (e g-4 d h)-c^2 d \left (2 e^2 f-d e g-2 d^2 h\right )\right ) \sqrt {1-c^2 x^2}}{4 e^2 \left (c^2 d^2-e^2\right )^2 (d+e x)}+\frac {b c d^2 \left (1008 e^2+c^2 d (504 d+e h)\right ) \sqrt {1-c^2 x^2}}{2 e^3 \left (c^2 d^2-e^2\right )^2 (d+e x)}-\frac {b c d \left (4 e^2 (672 d+e h)-c^2 d \left (672 d^2+e^2 g-2 d e h\right )\right ) \sqrt {1-c^2 x^2}}{4 e^3 \left (c^2 d^2-e^2\right )^2 (d+e x)}+\frac {\left (112 d^3-e^3 f+d e^2 g-d^2 e h\right ) \left (a+b \sin ^{-1}(c x)\right )}{3 e^4 (d+e x)^3}-\frac {\left (336 d^2+e^2 g-2 d e h\right ) \left (a+b \sin ^{-1}(c x)\right )}{2 e^4 (d+e x)^2}+\frac {(336 d-e h) \left (a+b \sin ^{-1}(c x)\right )}{e^4 (d+e x)}-\frac {112 b \sin ^{-1}(c x) \log (d+e x)}{e^4}+\frac {112 \left (a+b \sin ^{-1}(c x)\right ) \log (d+e x)}{e^4}+\frac {(112 b c) \operatorname {Subst}\left (\int \frac {x \cos (x)}{c^2 d+c e \sin (x)} \, dx,x,\sin ^{-1}(c x)\right )}{e^3}-\frac {\left (308 b c^3 d^3 \left (2 c^2 d^2+e^2\right )\right ) \int \frac {1}{(d+e x) \sqrt {1-c^2 x^2}} \, dx}{3 e^4 \left (c^2 d^2-e^2\right )^2}+\frac {\left (b c^3 d^2 \left (4536 d e+2 c^2 d^2 h+e^2 h\right )\right ) \int \frac {1}{(d+e x) \sqrt {1-c^2 x^2}} \, dx}{6 e^3 \left (c^2 d^2-e^2\right )^2}+\frac {\left (b c \left (4 c^4 d^2 f+12 e^2 h+c^2 \left (2 e^2 f-9 d e g+6 d^2 h\right )\right )\right ) \int \frac {1}{(d+e x) \sqrt {1-c^2 x^2}} \, dx}{12 e \left (c^2 d^2-e^2\right )^2}-\frac {\left (b c d \left (4032 e^2-2 c^4 d^2 g+c^2 \left (2016 d^2-e^2 g+18 d e h\right )\right )\right ) \int \frac {1}{(d+e x) \sqrt {1-c^2 x^2}} \, dx}{12 e^2 \left (c^2 d^2-e^2\right )^2}\\ &=-\frac {308 b c d^3 \sqrt {1-c^2 x^2}}{3 e^3 \left (c^2 d^2-e^2\right ) (d+e x)^2}+\frac {b c \left (2 e^2 f-3 d e g+6 d^2 h\right ) \sqrt {1-c^2 x^2}}{12 e^2 \left (c^2 d^2-e^2\right ) (d+e x)^2}+\frac {b c d^2 (1512 d+e h) \sqrt {1-c^2 x^2}}{6 e^3 \left (c^2 d^2-e^2\right ) (d+e x)^2}-\frac {b c d \left (2016 d^2-e^2 g+6 d e h\right ) \sqrt {1-c^2 x^2}}{12 e^3 \left (c^2 d^2-e^2\right ) (d+e x)^2}-\frac {308 b c^3 d^4 \sqrt {1-c^2 x^2}}{e^3 \left (c^2 d^2-e^2\right )^2 (d+e x)}-\frac {b c \left (2 e^2 (e g-4 d h)-c^2 d \left (2 e^2 f-d e g-2 d^2 h\right )\right ) \sqrt {1-c^2 x^2}}{4 e^2 \left (c^2 d^2-e^2\right )^2 (d+e x)}+\frac {b c d^2 \left (1008 e^2+c^2 d (504 d+e h)\right ) \sqrt {1-c^2 x^2}}{2 e^3 \left (c^2 d^2-e^2\right )^2 (d+e x)}-\frac {b c d \left (4 e^2 (672 d+e h)-c^2 d \left (672 d^2+e^2 g-2 d e h\right )\right ) \sqrt {1-c^2 x^2}}{4 e^3 \left (c^2 d^2-e^2\right )^2 (d+e x)}-\frac {56 i b \sin ^{-1}(c x)^2}{e^4}+\frac {\left (112 d^3-e^3 f+d e^2 g-d^2 e h\right ) \left (a+b \sin ^{-1}(c x)\right )}{3 e^4 (d+e x)^3}-\frac {\left (336 d^2+e^2 g-2 d e h\right ) \left (a+b \sin ^{-1}(c x)\right )}{2 e^4 (d+e x)^2}+\frac {(336 d-e h) \left (a+b \sin ^{-1}(c x)\right )}{e^4 (d+e x)}-\frac {112 b \sin ^{-1}(c x) \log (d+e x)}{e^4}+\frac {112 \left (a+b \sin ^{-1}(c x)\right ) \log (d+e x)}{e^4}+\frac {(112 b c) \operatorname {Subst}\left (\int \frac {e^{i x} x}{c^2 d-c \sqrt {c^2 d^2-e^2}-i c e e^{i x}} \, dx,x,\sin ^{-1}(c x)\right )}{e^3}+\frac {(112 b c) \operatorname {Subst}\left (\int \frac {e^{i x} x}{c^2 d+c \sqrt {c^2 d^2-e^2}-i c e e^{i x}} \, dx,x,\sin ^{-1}(c x)\right )}{e^3}+\frac {\left (308 b c^3 d^3 \left (2 c^2 d^2+e^2\right )\right ) \operatorname {Subst}\left (\int \frac {1}{-c^2 d^2+e^2-x^2} \, dx,x,\frac {e+c^2 d x}{\sqrt {1-c^2 x^2}}\right )}{3 e^4 \left (c^2 d^2-e^2\right )^2}-\frac {\left (b c^3 d^2 \left (4536 d e+2 c^2 d^2 h+e^2 h\right )\right ) \operatorname {Subst}\left (\int \frac {1}{-c^2 d^2+e^2-x^2} \, dx,x,\frac {e+c^2 d x}{\sqrt {1-c^2 x^2}}\right )}{6 e^3 \left (c^2 d^2-e^2\right )^2}-\frac {\left (b c \left (4 c^4 d^2 f+12 e^2 h+c^2 \left (2 e^2 f-9 d e g+6 d^2 h\right )\right )\right ) \operatorname {Subst}\left (\int \frac {1}{-c^2 d^2+e^2-x^2} \, dx,x,\frac {e+c^2 d x}{\sqrt {1-c^2 x^2}}\right )}{12 e \left (c^2 d^2-e^2\right )^2}+\frac {\left (b c d \left (4032 e^2-2 c^4 d^2 g+c^2 \left (2016 d^2-e^2 g+18 d e h\right )\right )\right ) \operatorname {Subst}\left (\int \frac {1}{-c^2 d^2+e^2-x^2} \, dx,x,\frac {e+c^2 d x}{\sqrt {1-c^2 x^2}}\right )}{12 e^2 \left (c^2 d^2-e^2\right )^2}\\ &=-\frac {308 b c d^3 \sqrt {1-c^2 x^2}}{3 e^3 \left (c^2 d^2-e^2\right ) (d+e x)^2}+\frac {b c \left (2 e^2 f-3 d e g+6 d^2 h\right ) \sqrt {1-c^2 x^2}}{12 e^2 \left (c^2 d^2-e^2\right ) (d+e x)^2}+\frac {b c d^2 (1512 d+e h) \sqrt {1-c^2 x^2}}{6 e^3 \left (c^2 d^2-e^2\right ) (d+e x)^2}-\frac {b c d \left (2016 d^2-e^2 g+6 d e h\right ) \sqrt {1-c^2 x^2}}{12 e^3 \left (c^2 d^2-e^2\right ) (d+e x)^2}-\frac {308 b c^3 d^4 \sqrt {1-c^2 x^2}}{e^3 \left (c^2 d^2-e^2\right )^2 (d+e x)}-\frac {b c \left (2 e^2 (e g-4 d h)-c^2 d \left (2 e^2 f-d e g-2 d^2 h\right )\right ) \sqrt {1-c^2 x^2}}{4 e^2 \left (c^2 d^2-e^2\right )^2 (d+e x)}+\frac {b c d^2 \left (1008 e^2+c^2 d (504 d+e h)\right ) \sqrt {1-c^2 x^2}}{2 e^3 \left (c^2 d^2-e^2\right )^2 (d+e x)}-\frac {b c d \left (4 e^2 (672 d+e h)-c^2 d \left (672 d^2+e^2 g-2 d e h\right )\right ) \sqrt {1-c^2 x^2}}{4 e^3 \left (c^2 d^2-e^2\right )^2 (d+e x)}-\frac {56 i b \sin ^{-1}(c x)^2}{e^4}+\frac {\left (112 d^3-e^3 f+d e^2 g-d^2 e h\right ) \left (a+b \sin ^{-1}(c x)\right )}{3 e^4 (d+e x)^3}-\frac {\left (336 d^2+e^2 g-2 d e h\right ) \left (a+b \sin ^{-1}(c x)\right )}{2 e^4 (d+e x)^2}+\frac {(336 d-e h) \left (a+b \sin ^{-1}(c x)\right )}{e^4 (d+e x)}-\frac {308 b c^3 d^3 \left (2 c^2 d^2+e^2\right ) \tan ^{-1}\left (\frac {e+c^2 d x}{\sqrt {c^2 d^2-e^2} \sqrt {1-c^2 x^2}}\right )}{3 e^4 \left (c^2 d^2-e^2\right )^{5/2}}+\frac {b c^3 d^2 \left (4536 d e+2 c^2 d^2 h+e^2 h\right ) \tan ^{-1}\left (\frac {e+c^2 d x}{\sqrt {c^2 d^2-e^2} \sqrt {1-c^2 x^2}}\right )}{6 e^3 \left (c^2 d^2-e^2\right )^{5/2}}+\frac {b c \left (4 c^4 d^2 f+12 e^2 h+c^2 \left (2 e^2 f-9 d e g+6 d^2 h\right )\right ) \tan ^{-1}\left (\frac {e+c^2 d x}{\sqrt {c^2 d^2-e^2} \sqrt {1-c^2 x^2}}\right )}{12 e \left (c^2 d^2-e^2\right )^{5/2}}-\frac {b c d \left (4032 e^2-2 c^4 d^2 g+c^2 \left (2016 d^2-e^2 g+18 d e h\right )\right ) \tan ^{-1}\left (\frac {e+c^2 d x}{\sqrt {c^2 d^2-e^2} \sqrt {1-c^2 x^2}}\right )}{12 e^2 \left (c^2 d^2-e^2\right )^{5/2}}+\frac {112 b \sin ^{-1}(c x) \log \left (1-\frac {i e e^{i \sin ^{-1}(c x)}}{c d-\sqrt {c^2 d^2-e^2}}\right )}{e^4}+\frac {112 b \sin ^{-1}(c x) \log \left (1-\frac {i e e^{i \sin ^{-1}(c x)}}{c d+\sqrt {c^2 d^2-e^2}}\right )}{e^4}-\frac {112 b \sin ^{-1}(c x) \log (d+e x)}{e^4}+\frac {112 \left (a+b \sin ^{-1}(c x)\right ) \log (d+e x)}{e^4}-\frac {(112 b) \operatorname {Subst}\left (\int \log \left (1-\frac {i c e e^{i x}}{c^2 d-c \sqrt {c^2 d^2-e^2}}\right ) \, dx,x,\sin ^{-1}(c x)\right )}{e^4}-\frac {(112 b) \operatorname {Subst}\left (\int \log \left (1-\frac {i c e e^{i x}}{c^2 d+c \sqrt {c^2 d^2-e^2}}\right ) \, dx,x,\sin ^{-1}(c x)\right )}{e^4}\\ &=-\frac {308 b c d^3 \sqrt {1-c^2 x^2}}{3 e^3 \left (c^2 d^2-e^2\right ) (d+e x)^2}+\frac {b c \left (2 e^2 f-3 d e g+6 d^2 h\right ) \sqrt {1-c^2 x^2}}{12 e^2 \left (c^2 d^2-e^2\right ) (d+e x)^2}+\frac {b c d^2 (1512 d+e h) \sqrt {1-c^2 x^2}}{6 e^3 \left (c^2 d^2-e^2\right ) (d+e x)^2}-\frac {b c d \left (2016 d^2-e^2 g+6 d e h\right ) \sqrt {1-c^2 x^2}}{12 e^3 \left (c^2 d^2-e^2\right ) (d+e x)^2}-\frac {308 b c^3 d^4 \sqrt {1-c^2 x^2}}{e^3 \left (c^2 d^2-e^2\right )^2 (d+e x)}-\frac {b c \left (2 e^2 (e g-4 d h)-c^2 d \left (2 e^2 f-d e g-2 d^2 h\right )\right ) \sqrt {1-c^2 x^2}}{4 e^2 \left (c^2 d^2-e^2\right )^2 (d+e x)}+\frac {b c d^2 \left (1008 e^2+c^2 d (504 d+e h)\right ) \sqrt {1-c^2 x^2}}{2 e^3 \left (c^2 d^2-e^2\right )^2 (d+e x)}-\frac {b c d \left (4 e^2 (672 d+e h)-c^2 d \left (672 d^2+e^2 g-2 d e h\right )\right ) \sqrt {1-c^2 x^2}}{4 e^3 \left (c^2 d^2-e^2\right )^2 (d+e x)}-\frac {56 i b \sin ^{-1}(c x)^2}{e^4}+\frac {\left (112 d^3-e^3 f+d e^2 g-d^2 e h\right ) \left (a+b \sin ^{-1}(c x)\right )}{3 e^4 (d+e x)^3}-\frac {\left (336 d^2+e^2 g-2 d e h\right ) \left (a+b \sin ^{-1}(c x)\right )}{2 e^4 (d+e x)^2}+\frac {(336 d-e h) \left (a+b \sin ^{-1}(c x)\right )}{e^4 (d+e x)}-\frac {308 b c^3 d^3 \left (2 c^2 d^2+e^2\right ) \tan ^{-1}\left (\frac {e+c^2 d x}{\sqrt {c^2 d^2-e^2} \sqrt {1-c^2 x^2}}\right )}{3 e^4 \left (c^2 d^2-e^2\right )^{5/2}}+\frac {b c^3 d^2 \left (4536 d e+2 c^2 d^2 h+e^2 h\right ) \tan ^{-1}\left (\frac {e+c^2 d x}{\sqrt {c^2 d^2-e^2} \sqrt {1-c^2 x^2}}\right )}{6 e^3 \left (c^2 d^2-e^2\right )^{5/2}}+\frac {b c \left (4 c^4 d^2 f+12 e^2 h+c^2 \left (2 e^2 f-9 d e g+6 d^2 h\right )\right ) \tan ^{-1}\left (\frac {e+c^2 d x}{\sqrt {c^2 d^2-e^2} \sqrt {1-c^2 x^2}}\right )}{12 e \left (c^2 d^2-e^2\right )^{5/2}}-\frac {b c d \left (4032 e^2-2 c^4 d^2 g+c^2 \left (2016 d^2-e^2 g+18 d e h\right )\right ) \tan ^{-1}\left (\frac {e+c^2 d x}{\sqrt {c^2 d^2-e^2} \sqrt {1-c^2 x^2}}\right )}{12 e^2 \left (c^2 d^2-e^2\right )^{5/2}}+\frac {112 b \sin ^{-1}(c x) \log \left (1-\frac {i e e^{i \sin ^{-1}(c x)}}{c d-\sqrt {c^2 d^2-e^2}}\right )}{e^4}+\frac {112 b \sin ^{-1}(c x) \log \left (1-\frac {i e e^{i \sin ^{-1}(c x)}}{c d+\sqrt {c^2 d^2-e^2}}\right )}{e^4}-\frac {112 b \sin ^{-1}(c x) \log (d+e x)}{e^4}+\frac {112 \left (a+b \sin ^{-1}(c x)\right ) \log (d+e x)}{e^4}+\frac {(112 i b) \operatorname {Subst}\left (\int \frac {\log \left (1-\frac {i c e x}{c^2 d-c \sqrt {c^2 d^2-e^2}}\right )}{x} \, dx,x,e^{i \sin ^{-1}(c x)}\right )}{e^4}+\frac {(112 i b) \operatorname {Subst}\left (\int \frac {\log \left (1-\frac {i c e x}{c^2 d+c \sqrt {c^2 d^2-e^2}}\right )}{x} \, dx,x,e^{i \sin ^{-1}(c x)}\right )}{e^4}\\ &=-\frac {308 b c d^3 \sqrt {1-c^2 x^2}}{3 e^3 \left (c^2 d^2-e^2\right ) (d+e x)^2}+\frac {b c \left (2 e^2 f-3 d e g+6 d^2 h\right ) \sqrt {1-c^2 x^2}}{12 e^2 \left (c^2 d^2-e^2\right ) (d+e x)^2}+\frac {b c d^2 (1512 d+e h) \sqrt {1-c^2 x^2}}{6 e^3 \left (c^2 d^2-e^2\right ) (d+e x)^2}-\frac {b c d \left (2016 d^2-e^2 g+6 d e h\right ) \sqrt {1-c^2 x^2}}{12 e^3 \left (c^2 d^2-e^2\right ) (d+e x)^2}-\frac {308 b c^3 d^4 \sqrt {1-c^2 x^2}}{e^3 \left (c^2 d^2-e^2\right )^2 (d+e x)}-\frac {b c \left (2 e^2 (e g-4 d h)-c^2 d \left (2 e^2 f-d e g-2 d^2 h\right )\right ) \sqrt {1-c^2 x^2}}{4 e^2 \left (c^2 d^2-e^2\right )^2 (d+e x)}+\frac {b c d^2 \left (1008 e^2+c^2 d (504 d+e h)\right ) \sqrt {1-c^2 x^2}}{2 e^3 \left (c^2 d^2-e^2\right )^2 (d+e x)}-\frac {b c d \left (4 e^2 (672 d+e h)-c^2 d \left (672 d^2+e^2 g-2 d e h\right )\right ) \sqrt {1-c^2 x^2}}{4 e^3 \left (c^2 d^2-e^2\right )^2 (d+e x)}-\frac {56 i b \sin ^{-1}(c x)^2}{e^4}+\frac {\left (112 d^3-e^3 f+d e^2 g-d^2 e h\right ) \left (a+b \sin ^{-1}(c x)\right )}{3 e^4 (d+e x)^3}-\frac {\left (336 d^2+e^2 g-2 d e h\right ) \left (a+b \sin ^{-1}(c x)\right )}{2 e^4 (d+e x)^2}+\frac {(336 d-e h) \left (a+b \sin ^{-1}(c x)\right )}{e^4 (d+e x)}-\frac {308 b c^3 d^3 \left (2 c^2 d^2+e^2\right ) \tan ^{-1}\left (\frac {e+c^2 d x}{\sqrt {c^2 d^2-e^2} \sqrt {1-c^2 x^2}}\right )}{3 e^4 \left (c^2 d^2-e^2\right )^{5/2}}+\frac {b c^3 d^2 \left (4536 d e+2 c^2 d^2 h+e^2 h\right ) \tan ^{-1}\left (\frac {e+c^2 d x}{\sqrt {c^2 d^2-e^2} \sqrt {1-c^2 x^2}}\right )}{6 e^3 \left (c^2 d^2-e^2\right )^{5/2}}+\frac {b c \left (4 c^4 d^2 f+12 e^2 h+c^2 \left (2 e^2 f-9 d e g+6 d^2 h\right )\right ) \tan ^{-1}\left (\frac {e+c^2 d x}{\sqrt {c^2 d^2-e^2} \sqrt {1-c^2 x^2}}\right )}{12 e \left (c^2 d^2-e^2\right )^{5/2}}-\frac {b c d \left (4032 e^2-2 c^4 d^2 g+c^2 \left (2016 d^2-e^2 g+18 d e h\right )\right ) \tan ^{-1}\left (\frac {e+c^2 d x}{\sqrt {c^2 d^2-e^2} \sqrt {1-c^2 x^2}}\right )}{12 e^2 \left (c^2 d^2-e^2\right )^{5/2}}+\frac {112 b \sin ^{-1}(c x) \log \left (1-\frac {i e e^{i \sin ^{-1}(c x)}}{c d-\sqrt {c^2 d^2-e^2}}\right )}{e^4}+\frac {112 b \sin ^{-1}(c x) \log \left (1-\frac {i e e^{i \sin ^{-1}(c x)}}{c d+\sqrt {c^2 d^2-e^2}}\right )}{e^4}-\frac {112 b \sin ^{-1}(c x) \log (d+e x)}{e^4}+\frac {112 \left (a+b \sin ^{-1}(c x)\right ) \log (d+e x)}{e^4}-\frac {112 i b \text {Li}_2\left (\frac {i e e^{i \sin ^{-1}(c x)}}{c d-\sqrt {c^2 d^2-e^2}}\right )}{e^4}-\frac {112 i b \text {Li}_2\left (\frac {i e e^{i \sin ^{-1}(c x)}}{c d+\sqrt {c^2 d^2-e^2}}\right )}{e^4}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] time = 6.97, size = 1921, normalized size = 1.50 \[ \text {result too large to display} \]
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
fricas [F] time = 0.47, size = 0, normalized size = 0.00 \[ {\rm integral}\left (\frac {a i x^{3} + a h x^{2} + a g x + a f + {\left (b i x^{3} + b h x^{2} + b g x + b f\right )} \arcsin \left (c x\right )}{e^{4} x^{4} + 4 \, d e^{3} x^{3} + 6 \, d^{2} e^{2} x^{2} + 4 \, d^{3} e x + d^{4}}, x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [B] time = 3.74, size = 5670, normalized size = 4.44 \[ \text {output too large to display} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ \frac {1}{6} \, a i {\left (\frac {18 \, d e^{2} x^{2} + 27 \, d^{2} e x + 11 \, d^{3}}{e^{7} x^{3} + 3 \, d e^{6} x^{2} + 3 \, d^{2} e^{5} x + d^{3} e^{4}} + \frac {6 \, \log \left (e x + d\right )}{e^{4}}\right )} - \frac {{\left (3 \, e x + d\right )} a g}{6 \, {\left (e^{5} x^{3} + 3 \, d e^{4} x^{2} + 3 \, d^{2} e^{3} x + d^{3} e^{2}\right )}} - \frac {{\left (3 \, e^{2} x^{2} + 3 \, d e x + d^{2}\right )} a h}{3 \, {\left (e^{6} x^{3} + 3 \, d e^{5} x^{2} + 3 \, d^{2} e^{4} x + d^{3} e^{3}\right )}} - \frac {a f}{3 \, {\left (e^{4} x^{3} + 3 \, d e^{3} x^{2} + 3 \, d^{2} e^{2} x + d^{3} e\right )}} + \int \frac {{\left (b i x^{3} + b h x^{2} + b g x + b f\right )} \arctan \left (c x, \sqrt {c x + 1} \sqrt {-c x + 1}\right )}{e^{4} x^{4} + 4 \, d e^{3} x^{3} + 6 \, d^{2} e^{2} x^{2} + 4 \, d^{3} e x + d^{4}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.00 \[ \int \frac {\left (a+b\,\mathrm {asin}\left (c\,x\right )\right )\,\left (i\,x^3+h\,x^2+g\,x+f\right )}{{\left (d+e\,x\right )}^4} \,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 \frac {\left (a + b \operatorname {asin}{\left (c x \right )}\right ) \left (f + g x + h x^{2} + i x^{3}\right )}{\left (d + e x\right )^{4}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________