Optimal. Leaf size=920 \[ -\frac {b^2 h^2 \sin ^{-1}(c x)^2 d^3}{3 e^3}-\frac {b^2 h^2 x^2 d}{2 e}-\frac {b^2 h^2 \sin ^{-1}(c x)^2 d}{2 c^2 e}-\frac {a b \left (2 c^2 d^2+3 e^2\right ) h^2 \sin ^{-1}(c x) d}{3 c^2 e^3}+\frac {b^2 h^2 x \sqrt {1-c^2 x^2} \sin ^{-1}(c x) d}{c e}+\frac {5 a b h^2 (d+e x) \sqrt {1-c^2 x^2} d}{9 c e^2}-\frac {2}{27} b^2 h^2 x^3+\frac {h^2 (d+e x)^3 \left (a+b \sin ^{-1}(c x)\right )^2}{3 e^3}+\frac {2 h \left (e^2 f-d^2 h\right ) x \left (a+b \sin ^{-1}(c x)\right )^2}{e^2}-\frac {\left (e^2 f-d^2 h\right )^2 \left (a+b \sin ^{-1}(c x)\right )^2}{e^3 (d+e x)}-\frac {4 b^2 h^2 x}{9 c^2}-\frac {2 b^2 h \left (2 e^2 f-d^2 h\right ) x}{e^2}+\frac {4 b^2 h^2 \sqrt {1-c^2 x^2} \sin ^{-1}(c x)}{9 c^3}+\frac {2 b^2 h^2 x^2 \sqrt {1-c^2 x^2} \sin ^{-1}(c x)}{9 c}+\frac {2 b^2 h \left (2 e^2 f-d^2 h\right ) \sqrt {1-c^2 x^2} \sin ^{-1}(c x)}{c e^2}+\frac {2 a b c \left (e^2 f-d^2 h\right )^2 \tan ^{-1}\left (\frac {d x c^2+e}{\sqrt {c^2 d^2-e^2} \sqrt {1-c^2 x^2}}\right )}{e^3 \sqrt {c^2 d^2-e^2}}-\frac {2 i b^2 c \left (e^2 f-d^2 h\right )^2 \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^3 \sqrt {c^2 d^2-e^2}}+\frac {2 i b^2 c \left (e^2 f-d^2 h\right )^2 \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^3 \sqrt {c^2 d^2-e^2}}-\frac {2 b^2 c \left (e^2 f-d^2 h\right )^2 \text {Li}_2\left (\frac {i e e^{i \sin ^{-1}(c x)}}{c d-\sqrt {c^2 d^2-e^2}}\right )}{e^3 \sqrt {c^2 d^2-e^2}}+\frac {2 b^2 c \left (e^2 f-d^2 h\right )^2 \text {Li}_2\left (\frac {i e e^{i \sin ^{-1}(c x)}}{c d+\sqrt {c^2 d^2-e^2}}\right )}{e^3 \sqrt {c^2 d^2-e^2}}+\frac {2 a b h^2 (d+e x)^2 \sqrt {1-c^2 x^2}}{9 c e^2}+\frac {a b h \left (\left (36 e^2 f-25 d^2 h\right ) c^2+4 e^2 h\right ) \sqrt {1-c^2 x^2}}{9 c^3 e^2} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 4.24, antiderivative size = 920, normalized size of antiderivative = 1.00, number of steps used = 32, number of rules used = 25, integrand size = 35, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.714, Rules used = {683, 4757, 12, 6742, 261, 725, 204, 743, 780, 216, 4799, 1654, 844, 4797, 4641, 4677, 8, 4707, 30, 4773, 3323, 2264, 2190, 2279, 2391} \[ -\frac {b^2 h^2 \sin ^{-1}(c x)^2 d^3}{3 e^3}-\frac {b^2 h^2 x^2 d}{2 e}-\frac {b^2 h^2 \sin ^{-1}(c x)^2 d}{2 c^2 e}-\frac {a b \left (2 c^2 d^2+3 e^2\right ) h^2 \sin ^{-1}(c x) d}{3 c^2 e^3}+\frac {b^2 h^2 x \sqrt {1-c^2 x^2} \sin ^{-1}(c x) d}{c e}+\frac {5 a b h^2 (d+e x) \sqrt {1-c^2 x^2} d}{9 c e^2}-\frac {2}{27} b^2 h^2 x^3+\frac {h^2 (d+e x)^3 \left (a+b \sin ^{-1}(c x)\right )^2}{3 e^3}+\frac {2 h \left (e^2 f-d^2 h\right ) x \left (a+b \sin ^{-1}(c x)\right )^2}{e^2}-\frac {\left (e^2 f-d^2 h\right )^2 \left (a+b \sin ^{-1}(c x)\right )^2}{e^3 (d+e x)}-\frac {4 b^2 h^2 x}{9 c^2}-\frac {2 b^2 h \left (2 e^2 f-d^2 h\right ) x}{e^2}+\frac {4 b^2 h^2 \sqrt {1-c^2 x^2} \sin ^{-1}(c x)}{9 c^3}+\frac {2 b^2 h^2 x^2 \sqrt {1-c^2 x^2} \sin ^{-1}(c x)}{9 c}+\frac {2 b^2 h \left (2 e^2 f-d^2 h\right ) \sqrt {1-c^2 x^2} \sin ^{-1}(c x)}{c e^2}+\frac {2 a b c \left (e^2 f-d^2 h\right )^2 \tan ^{-1}\left (\frac {d x c^2+e}{\sqrt {c^2 d^2-e^2} \sqrt {1-c^2 x^2}}\right )}{e^3 \sqrt {c^2 d^2-e^2}}-\frac {2 i b^2 c \left (e^2 f-d^2 h\right )^2 \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^3 \sqrt {c^2 d^2-e^2}}+\frac {2 i b^2 c \left (e^2 f-d^2 h\right )^2 \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^3 \sqrt {c^2 d^2-e^2}}-\frac {2 b^2 c \left (e^2 f-d^2 h\right )^2 \text {PolyLog}\left (2,\frac {i e e^{i \sin ^{-1}(c x)}}{c d-\sqrt {c^2 d^2-e^2}}\right )}{e^3 \sqrt {c^2 d^2-e^2}}+\frac {2 b^2 c \left (e^2 f-d^2 h\right )^2 \text {PolyLog}\left (2,\frac {i e e^{i \sin ^{-1}(c x)}}{c d+\sqrt {c^2 d^2-e^2}}\right )}{e^3 \sqrt {c^2 d^2-e^2}}+\frac {2 a b h^2 (d+e x)^2 \sqrt {1-c^2 x^2}}{9 c e^2}+\frac {a b h \left (\left (36 e^2 f-25 d^2 h\right ) c^2+4 e^2 h\right ) \sqrt {1-c^2 x^2}}{9 c^3 e^2} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 8
Rule 12
Rule 30
Rule 204
Rule 216
Rule 261
Rule 683
Rule 725
Rule 743
Rule 780
Rule 844
Rule 1654
Rule 2190
Rule 2264
Rule 2279
Rule 2391
Rule 3323
Rule 4641
Rule 4677
Rule 4707
Rule 4757
Rule 4773
Rule 4797
Rule 4799
Rule 6742
Rubi steps
\begin {align*} \int \frac {\left (e f+2 d h x+e h x^2\right )^2 \left (a+b \sin ^{-1}(c x)\right )^2}{(d+e x)^2} \, dx &=\frac {2 h \left (e^2 f-d^2 h\right ) x \left (a+b \sin ^{-1}(c x)\right )^2}{e^2}-\frac {\left (e^2 f-d^2 h\right )^2 \left (a+b \sin ^{-1}(c x)\right )^2}{e^3 (d+e x)}+\frac {h^2 (d+e x)^3 \left (a+b \sin ^{-1}(c x)\right )^2}{3 e^3}-(2 b c) \int \frac {\left (6 e h \left (e^2 f-d^2 h\right ) x-\frac {3 \left (e^2 f-d^2 h\right )^2}{d+e x}+h^2 (d+e x)^3\right ) \left (a+b \sin ^{-1}(c x)\right )}{3 e^3 \sqrt {1-c^2 x^2}} \, dx\\ &=\frac {2 h \left (e^2 f-d^2 h\right ) x \left (a+b \sin ^{-1}(c x)\right )^2}{e^2}-\frac {\left (e^2 f-d^2 h\right )^2 \left (a+b \sin ^{-1}(c x)\right )^2}{e^3 (d+e x)}+\frac {h^2 (d+e x)^3 \left (a+b \sin ^{-1}(c x)\right )^2}{3 e^3}-\frac {(2 b c) \int \frac {\left (6 e h \left (e^2 f-d^2 h\right ) x-\frac {3 \left (e^2 f-d^2 h\right )^2}{d+e x}+h^2 (d+e x)^3\right ) \left (a+b \sin ^{-1}(c x)\right )}{\sqrt {1-c^2 x^2}} \, dx}{3 e^3}\\ &=\frac {2 h \left (e^2 f-d^2 h\right ) x \left (a+b \sin ^{-1}(c x)\right )^2}{e^2}-\frac {\left (e^2 f-d^2 h\right )^2 \left (a+b \sin ^{-1}(c x)\right )^2}{e^3 (d+e x)}+\frac {h^2 (d+e x)^3 \left (a+b \sin ^{-1}(c x)\right )^2}{3 e^3}-\frac {(2 b c) \int \left (\frac {a \left (-3 e^4 f^2+6 d^2 e^2 f h-2 d^4 h^2+2 d e h \left (3 e^2 f-d^2 h\right ) x+6 e^4 f h x^2+4 d e^3 h^2 x^3+e^4 h^2 x^4\right )}{(d+e x) \sqrt {1-c^2 x^2}}+\frac {b \left (-3 e^4 f^2+6 d^2 e^2 f h-2 d^4 h^2+2 d e h \left (3 e^2 f-d^2 h\right ) x+6 e^4 f h x^2+4 d e^3 h^2 x^3+e^4 h^2 x^4\right ) \sin ^{-1}(c x)}{(d+e x) \sqrt {1-c^2 x^2}}\right ) \, dx}{3 e^3}\\ &=\frac {2 h \left (e^2 f-d^2 h\right ) x \left (a+b \sin ^{-1}(c x)\right )^2}{e^2}-\frac {\left (e^2 f-d^2 h\right )^2 \left (a+b \sin ^{-1}(c x)\right )^2}{e^3 (d+e x)}+\frac {h^2 (d+e x)^3 \left (a+b \sin ^{-1}(c x)\right )^2}{3 e^3}-\frac {(2 a b c) \int \frac {-3 e^4 f^2+6 d^2 e^2 f h-2 d^4 h^2+2 d e h \left (3 e^2 f-d^2 h\right ) x+6 e^4 f h x^2+4 d e^3 h^2 x^3+e^4 h^2 x^4}{(d+e x) \sqrt {1-c^2 x^2}} \, dx}{3 e^3}-\frac {\left (2 b^2 c\right ) \int \frac {\left (-3 e^4 f^2+6 d^2 e^2 f h-2 d^4 h^2+2 d e h \left (3 e^2 f-d^2 h\right ) x+6 e^4 f h x^2+4 d e^3 h^2 x^3+e^4 h^2 x^4\right ) \sin ^{-1}(c x)}{(d+e x) \sqrt {1-c^2 x^2}} \, dx}{3 e^3}\\ &=\frac {2 a b h^2 (d+e x)^2 \sqrt {1-c^2 x^2}}{9 c e^2}+\frac {2 h \left (e^2 f-d^2 h\right ) x \left (a+b \sin ^{-1}(c x)\right )^2}{e^2}-\frac {\left (e^2 f-d^2 h\right )^2 \left (a+b \sin ^{-1}(c x)\right )^2}{e^3 (d+e x)}+\frac {h^2 (d+e x)^3 \left (a+b \sin ^{-1}(c x)\right )^2}{3 e^3}+\frac {(2 a b) \int \frac {-2 d^2 e^6 h^2+3 c^2 \left (3 e^8 f^2-6 d^2 e^6 f h+2 d^4 e^4 h^2\right )-d e^5 h \left (4 e^2 h+c^2 \left (18 e^2 f-7 d^2 h\right )\right ) x-e^6 h \left (2 e^2 h+c^2 \left (18 e^2 f-5 d^2 h\right )\right ) x^2-5 c^2 d e^7 h^2 x^3}{(d+e x) \sqrt {1-c^2 x^2}} \, dx}{9 c e^7}-\frac {\left (2 b^2 c\right ) \int \left (\frac {d^3 h^2 \sin ^{-1}(c x)}{\sqrt {1-c^2 x^2}}+\frac {3 e h \left (2 e^2 f-d^2 h\right ) x \sin ^{-1}(c x)}{\sqrt {1-c^2 x^2}}+\frac {3 d e^2 h^2 x^2 \sin ^{-1}(c x)}{\sqrt {1-c^2 x^2}}+\frac {e^3 h^2 x^3 \sin ^{-1}(c x)}{\sqrt {1-c^2 x^2}}-\frac {3 \left (e^2 f-d^2 h\right )^2 \sin ^{-1}(c x)}{(d+e x) \sqrt {1-c^2 x^2}}\right ) \, dx}{3 e^3}\\ &=\frac {5 a b d h^2 (d+e x) \sqrt {1-c^2 x^2}}{9 c e^2}+\frac {2 a b h^2 (d+e x)^2 \sqrt {1-c^2 x^2}}{9 c e^2}+\frac {2 h \left (e^2 f-d^2 h\right ) x \left (a+b \sin ^{-1}(c x)\right )^2}{e^2}-\frac {\left (e^2 f-d^2 h\right )^2 \left (a+b \sin ^{-1}(c x)\right )^2}{e^3 (d+e x)}+\frac {h^2 (d+e x)^3 \left (a+b \sin ^{-1}(c x)\right )^2}{3 e^3}-\frac {(a b) \int \frac {3 c^2 e^7 \left (3 d^2 e^2 h^2-2 c^2 \left (3 e^4 f^2-6 d^2 e^2 f h+2 d^4 h^2\right )\right )+c^2 d e^8 h \left (13 e^2 h+c^2 \left (36 e^2 f-19 d^2 h\right )\right ) x+c^2 e^9 h \left (4 e^2 h+c^2 \left (36 e^2 f-25 d^2 h\right )\right ) x^2}{(d+e x) \sqrt {1-c^2 x^2}} \, dx}{9 c^3 e^{10}}-\frac {1}{3} \left (2 b^2 c h^2\right ) \int \frac {x^3 \sin ^{-1}(c x)}{\sqrt {1-c^2 x^2}} \, dx-\frac {\left (2 b^2 c d^3 h^2\right ) \int \frac {\sin ^{-1}(c x)}{\sqrt {1-c^2 x^2}} \, dx}{3 e^3}-\frac {\left (2 b^2 c d h^2\right ) \int \frac {x^2 \sin ^{-1}(c x)}{\sqrt {1-c^2 x^2}} \, dx}{e}+\frac {\left (2 b^2 c \left (e^2 f-d^2 h\right )^2\right ) \int \frac {\sin ^{-1}(c x)}{(d+e x) \sqrt {1-c^2 x^2}} \, dx}{e^3}-\frac {\left (2 b^2 c h \left (2 e^2 f-d^2 h\right )\right ) \int \frac {x \sin ^{-1}(c x)}{\sqrt {1-c^2 x^2}} \, dx}{e^2}\\ &=\frac {a b h \left (4 e^2 h+c^2 \left (36 e^2 f-25 d^2 h\right )\right ) \sqrt {1-c^2 x^2}}{9 c^3 e^2}+\frac {5 a b d h^2 (d+e x) \sqrt {1-c^2 x^2}}{9 c e^2}+\frac {2 a b h^2 (d+e x)^2 \sqrt {1-c^2 x^2}}{9 c e^2}+\frac {2 b^2 h \left (2 e^2 f-d^2 h\right ) \sqrt {1-c^2 x^2} \sin ^{-1}(c x)}{c e^2}+\frac {b^2 d h^2 x \sqrt {1-c^2 x^2} \sin ^{-1}(c x)}{c e}+\frac {2 b^2 h^2 x^2 \sqrt {1-c^2 x^2} \sin ^{-1}(c x)}{9 c}-\frac {b^2 d^3 h^2 \sin ^{-1}(c x)^2}{3 e^3}+\frac {2 h \left (e^2 f-d^2 h\right ) x \left (a+b \sin ^{-1}(c x)\right )^2}{e^2}-\frac {\left (e^2 f-d^2 h\right )^2 \left (a+b \sin ^{-1}(c x)\right )^2}{e^3 (d+e x)}+\frac {h^2 (d+e x)^3 \left (a+b \sin ^{-1}(c x)\right )^2}{3 e^3}+\frac {(a b) \int \frac {-3 c^4 e^9 \left (3 d^2 e^2 h^2-2 c^2 \left (3 e^4 f^2-6 d^2 e^2 f h+2 d^4 h^2\right )\right )-3 c^4 d e^{10} \left (2 c^2 d^2+3 e^2\right ) h^2 x}{(d+e x) \sqrt {1-c^2 x^2}} \, dx}{9 c^5 e^{12}}-\frac {1}{9} \left (2 b^2 h^2\right ) \int x^2 \, dx-\frac {\left (4 b^2 h^2\right ) \int \frac {x \sin ^{-1}(c x)}{\sqrt {1-c^2 x^2}} \, dx}{9 c}-\frac {\left (b^2 d h^2\right ) \int x \, dx}{e}-\frac {\left (b^2 d h^2\right ) \int \frac {\sin ^{-1}(c x)}{\sqrt {1-c^2 x^2}} \, dx}{c e}+\frac {\left (2 b^2 c \left (e^2 f-d^2 h\right )^2\right ) \operatorname {Subst}\left (\int \frac {x}{c d+e \sin (x)} \, dx,x,\sin ^{-1}(c x)\right )}{e^3}-\frac {\left (2 b^2 h \left (2 e^2 f-d^2 h\right )\right ) \int 1 \, dx}{e^2}\\ &=-\frac {2 b^2 h \left (2 e^2 f-d^2 h\right ) x}{e^2}-\frac {b^2 d h^2 x^2}{2 e}-\frac {2}{27} b^2 h^2 x^3+\frac {a b h \left (4 e^2 h+c^2 \left (36 e^2 f-25 d^2 h\right )\right ) \sqrt {1-c^2 x^2}}{9 c^3 e^2}+\frac {5 a b d h^2 (d+e x) \sqrt {1-c^2 x^2}}{9 c e^2}+\frac {2 a b h^2 (d+e x)^2 \sqrt {1-c^2 x^2}}{9 c e^2}+\frac {4 b^2 h^2 \sqrt {1-c^2 x^2} \sin ^{-1}(c x)}{9 c^3}+\frac {2 b^2 h \left (2 e^2 f-d^2 h\right ) \sqrt {1-c^2 x^2} \sin ^{-1}(c x)}{c e^2}+\frac {b^2 d h^2 x \sqrt {1-c^2 x^2} \sin ^{-1}(c x)}{c e}+\frac {2 b^2 h^2 x^2 \sqrt {1-c^2 x^2} \sin ^{-1}(c x)}{9 c}-\frac {b^2 d^3 h^2 \sin ^{-1}(c x)^2}{3 e^3}-\frac {b^2 d h^2 \sin ^{-1}(c x)^2}{2 c^2 e}+\frac {2 h \left (e^2 f-d^2 h\right ) x \left (a+b \sin ^{-1}(c x)\right )^2}{e^2}-\frac {\left (e^2 f-d^2 h\right )^2 \left (a+b \sin ^{-1}(c x)\right )^2}{e^3 (d+e x)}+\frac {h^2 (d+e x)^3 \left (a+b \sin ^{-1}(c x)\right )^2}{3 e^3}-\frac {\left (4 b^2 h^2\right ) \int 1 \, dx}{9 c^2}-\frac {\left (a b d \left (2 c^2 d^2+3 e^2\right ) h^2\right ) \int \frac {1}{\sqrt {1-c^2 x^2}} \, dx}{3 c e^3}+\frac {\left (2 a b c \left (e^2 f-d^2 h\right )^2\right ) \int \frac {1}{(d+e x) \sqrt {1-c^2 x^2}} \, dx}{e^3}+\frac {\left (4 b^2 c \left (e^2 f-d^2 h\right )^2\right ) \operatorname {Subst}\left (\int \frac {e^{i x} x}{i e+2 c d e^{i x}-i e e^{2 i x}} \, dx,x,\sin ^{-1}(c x)\right )}{e^3}\\ &=-\frac {4 b^2 h^2 x}{9 c^2}-\frac {2 b^2 h \left (2 e^2 f-d^2 h\right ) x}{e^2}-\frac {b^2 d h^2 x^2}{2 e}-\frac {2}{27} b^2 h^2 x^3+\frac {a b h \left (4 e^2 h+c^2 \left (36 e^2 f-25 d^2 h\right )\right ) \sqrt {1-c^2 x^2}}{9 c^3 e^2}+\frac {5 a b d h^2 (d+e x) \sqrt {1-c^2 x^2}}{9 c e^2}+\frac {2 a b h^2 (d+e x)^2 \sqrt {1-c^2 x^2}}{9 c e^2}-\frac {a b d \left (2 c^2 d^2+3 e^2\right ) h^2 \sin ^{-1}(c x)}{3 c^2 e^3}+\frac {4 b^2 h^2 \sqrt {1-c^2 x^2} \sin ^{-1}(c x)}{9 c^3}+\frac {2 b^2 h \left (2 e^2 f-d^2 h\right ) \sqrt {1-c^2 x^2} \sin ^{-1}(c x)}{c e^2}+\frac {b^2 d h^2 x \sqrt {1-c^2 x^2} \sin ^{-1}(c x)}{c e}+\frac {2 b^2 h^2 x^2 \sqrt {1-c^2 x^2} \sin ^{-1}(c x)}{9 c}-\frac {b^2 d^3 h^2 \sin ^{-1}(c x)^2}{3 e^3}-\frac {b^2 d h^2 \sin ^{-1}(c x)^2}{2 c^2 e}+\frac {2 h \left (e^2 f-d^2 h\right ) x \left (a+b \sin ^{-1}(c x)\right )^2}{e^2}-\frac {\left (e^2 f-d^2 h\right )^2 \left (a+b \sin ^{-1}(c x)\right )^2}{e^3 (d+e x)}+\frac {h^2 (d+e x)^3 \left (a+b \sin ^{-1}(c x)\right )^2}{3 e^3}-\frac {\left (2 a b c \left (e^2 f-d^2 h\right )^2\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 )}{e^3}-\frac {\left (4 i b^2 c \left (e^2 f-d^2 h\right )^2\right ) \operatorname {Subst}\left (\int \frac {e^{i x} x}{2 c d-2 \sqrt {c^2 d^2-e^2}-2 i e e^{i x}} \, dx,x,\sin ^{-1}(c x)\right )}{e^2 \sqrt {c^2 d^2-e^2}}+\frac {\left (4 i b^2 c \left (e^2 f-d^2 h\right )^2\right ) \operatorname {Subst}\left (\int \frac {e^{i x} x}{2 c d+2 \sqrt {c^2 d^2-e^2}-2 i e e^{i x}} \, dx,x,\sin ^{-1}(c x)\right )}{e^2 \sqrt {c^2 d^2-e^2}}\\ &=-\frac {4 b^2 h^2 x}{9 c^2}-\frac {2 b^2 h \left (2 e^2 f-d^2 h\right ) x}{e^2}-\frac {b^2 d h^2 x^2}{2 e}-\frac {2}{27} b^2 h^2 x^3+\frac {a b h \left (4 e^2 h+c^2 \left (36 e^2 f-25 d^2 h\right )\right ) \sqrt {1-c^2 x^2}}{9 c^3 e^2}+\frac {5 a b d h^2 (d+e x) \sqrt {1-c^2 x^2}}{9 c e^2}+\frac {2 a b h^2 (d+e x)^2 \sqrt {1-c^2 x^2}}{9 c e^2}-\frac {a b d \left (2 c^2 d^2+3 e^2\right ) h^2 \sin ^{-1}(c x)}{3 c^2 e^3}+\frac {4 b^2 h^2 \sqrt {1-c^2 x^2} \sin ^{-1}(c x)}{9 c^3}+\frac {2 b^2 h \left (2 e^2 f-d^2 h\right ) \sqrt {1-c^2 x^2} \sin ^{-1}(c x)}{c e^2}+\frac {b^2 d h^2 x \sqrt {1-c^2 x^2} \sin ^{-1}(c x)}{c e}+\frac {2 b^2 h^2 x^2 \sqrt {1-c^2 x^2} \sin ^{-1}(c x)}{9 c}-\frac {b^2 d^3 h^2 \sin ^{-1}(c x)^2}{3 e^3}-\frac {b^2 d h^2 \sin ^{-1}(c x)^2}{2 c^2 e}+\frac {2 h \left (e^2 f-d^2 h\right ) x \left (a+b \sin ^{-1}(c x)\right )^2}{e^2}-\frac {\left (e^2 f-d^2 h\right )^2 \left (a+b \sin ^{-1}(c x)\right )^2}{e^3 (d+e x)}+\frac {h^2 (d+e x)^3 \left (a+b \sin ^{-1}(c x)\right )^2}{3 e^3}+\frac {2 a b c \left (e^2 f-d^2 h\right )^2 \tan ^{-1}\left (\frac {e+c^2 d x}{\sqrt {c^2 d^2-e^2} \sqrt {1-c^2 x^2}}\right )}{e^3 \sqrt {c^2 d^2-e^2}}-\frac {2 i b^2 c \left (e^2 f-d^2 h\right )^2 \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^3 \sqrt {c^2 d^2-e^2}}+\frac {2 i b^2 c \left (e^2 f-d^2 h\right )^2 \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^3 \sqrt {c^2 d^2-e^2}}+\frac {\left (2 i b^2 c \left (e^2 f-d^2 h\right )^2\right ) \operatorname {Subst}\left (\int \log \left (1-\frac {2 i e e^{i x}}{2 c d-2 \sqrt {c^2 d^2-e^2}}\right ) \, dx,x,\sin ^{-1}(c x)\right )}{e^3 \sqrt {c^2 d^2-e^2}}-\frac {\left (2 i b^2 c \left (e^2 f-d^2 h\right )^2\right ) \operatorname {Subst}\left (\int \log \left (1-\frac {2 i e e^{i x}}{2 c d+2 \sqrt {c^2 d^2-e^2}}\right ) \, dx,x,\sin ^{-1}(c x)\right )}{e^3 \sqrt {c^2 d^2-e^2}}\\ &=-\frac {4 b^2 h^2 x}{9 c^2}-\frac {2 b^2 h \left (2 e^2 f-d^2 h\right ) x}{e^2}-\frac {b^2 d h^2 x^2}{2 e}-\frac {2}{27} b^2 h^2 x^3+\frac {a b h \left (4 e^2 h+c^2 \left (36 e^2 f-25 d^2 h\right )\right ) \sqrt {1-c^2 x^2}}{9 c^3 e^2}+\frac {5 a b d h^2 (d+e x) \sqrt {1-c^2 x^2}}{9 c e^2}+\frac {2 a b h^2 (d+e x)^2 \sqrt {1-c^2 x^2}}{9 c e^2}-\frac {a b d \left (2 c^2 d^2+3 e^2\right ) h^2 \sin ^{-1}(c x)}{3 c^2 e^3}+\frac {4 b^2 h^2 \sqrt {1-c^2 x^2} \sin ^{-1}(c x)}{9 c^3}+\frac {2 b^2 h \left (2 e^2 f-d^2 h\right ) \sqrt {1-c^2 x^2} \sin ^{-1}(c x)}{c e^2}+\frac {b^2 d h^2 x \sqrt {1-c^2 x^2} \sin ^{-1}(c x)}{c e}+\frac {2 b^2 h^2 x^2 \sqrt {1-c^2 x^2} \sin ^{-1}(c x)}{9 c}-\frac {b^2 d^3 h^2 \sin ^{-1}(c x)^2}{3 e^3}-\frac {b^2 d h^2 \sin ^{-1}(c x)^2}{2 c^2 e}+\frac {2 h \left (e^2 f-d^2 h\right ) x \left (a+b \sin ^{-1}(c x)\right )^2}{e^2}-\frac {\left (e^2 f-d^2 h\right )^2 \left (a+b \sin ^{-1}(c x)\right )^2}{e^3 (d+e x)}+\frac {h^2 (d+e x)^3 \left (a+b \sin ^{-1}(c x)\right )^2}{3 e^3}+\frac {2 a b c \left (e^2 f-d^2 h\right )^2 \tan ^{-1}\left (\frac {e+c^2 d x}{\sqrt {c^2 d^2-e^2} \sqrt {1-c^2 x^2}}\right )}{e^3 \sqrt {c^2 d^2-e^2}}-\frac {2 i b^2 c \left (e^2 f-d^2 h\right )^2 \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^3 \sqrt {c^2 d^2-e^2}}+\frac {2 i b^2 c \left (e^2 f-d^2 h\right )^2 \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^3 \sqrt {c^2 d^2-e^2}}+\frac {\left (2 b^2 c \left (e^2 f-d^2 h\right )^2\right ) \operatorname {Subst}\left (\int \frac {\log \left (1-\frac {2 i e x}{2 c d-2 \sqrt {c^2 d^2-e^2}}\right )}{x} \, dx,x,e^{i \sin ^{-1}(c x)}\right )}{e^3 \sqrt {c^2 d^2-e^2}}-\frac {\left (2 b^2 c \left (e^2 f-d^2 h\right )^2\right ) \operatorname {Subst}\left (\int \frac {\log \left (1-\frac {2 i e x}{2 c d+2 \sqrt {c^2 d^2-e^2}}\right )}{x} \, dx,x,e^{i \sin ^{-1}(c x)}\right )}{e^3 \sqrt {c^2 d^2-e^2}}\\ &=-\frac {4 b^2 h^2 x}{9 c^2}-\frac {2 b^2 h \left (2 e^2 f-d^2 h\right ) x}{e^2}-\frac {b^2 d h^2 x^2}{2 e}-\frac {2}{27} b^2 h^2 x^3+\frac {a b h \left (4 e^2 h+c^2 \left (36 e^2 f-25 d^2 h\right )\right ) \sqrt {1-c^2 x^2}}{9 c^3 e^2}+\frac {5 a b d h^2 (d+e x) \sqrt {1-c^2 x^2}}{9 c e^2}+\frac {2 a b h^2 (d+e x)^2 \sqrt {1-c^2 x^2}}{9 c e^2}-\frac {a b d \left (2 c^2 d^2+3 e^2\right ) h^2 \sin ^{-1}(c x)}{3 c^2 e^3}+\frac {4 b^2 h^2 \sqrt {1-c^2 x^2} \sin ^{-1}(c x)}{9 c^3}+\frac {2 b^2 h \left (2 e^2 f-d^2 h\right ) \sqrt {1-c^2 x^2} \sin ^{-1}(c x)}{c e^2}+\frac {b^2 d h^2 x \sqrt {1-c^2 x^2} \sin ^{-1}(c x)}{c e}+\frac {2 b^2 h^2 x^2 \sqrt {1-c^2 x^2} \sin ^{-1}(c x)}{9 c}-\frac {b^2 d^3 h^2 \sin ^{-1}(c x)^2}{3 e^3}-\frac {b^2 d h^2 \sin ^{-1}(c x)^2}{2 c^2 e}+\frac {2 h \left (e^2 f-d^2 h\right ) x \left (a+b \sin ^{-1}(c x)\right )^2}{e^2}-\frac {\left (e^2 f-d^2 h\right )^2 \left (a+b \sin ^{-1}(c x)\right )^2}{e^3 (d+e x)}+\frac {h^2 (d+e x)^3 \left (a+b \sin ^{-1}(c x)\right )^2}{3 e^3}+\frac {2 a b c \left (e^2 f-d^2 h\right )^2 \tan ^{-1}\left (\frac {e+c^2 d x}{\sqrt {c^2 d^2-e^2} \sqrt {1-c^2 x^2}}\right )}{e^3 \sqrt {c^2 d^2-e^2}}-\frac {2 i b^2 c \left (e^2 f-d^2 h\right )^2 \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^3 \sqrt {c^2 d^2-e^2}}+\frac {2 i b^2 c \left (e^2 f-d^2 h\right )^2 \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^3 \sqrt {c^2 d^2-e^2}}-\frac {2 b^2 c \left (e^2 f-d^2 h\right )^2 \text {Li}_2\left (\frac {i e e^{i \sin ^{-1}(c x)}}{c d-\sqrt {c^2 d^2-e^2}}\right )}{e^3 \sqrt {c^2 d^2-e^2}}+\frac {2 b^2 c \left (e^2 f-d^2 h\right )^2 \text {Li}_2\left (\frac {i e e^{i \sin ^{-1}(c x)}}{c d+\sqrt {c^2 d^2-e^2}}\right )}{e^3 \sqrt {c^2 d^2-e^2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.86, size = 526, normalized size = 0.57 \[ -\frac {2 b h \left (2 e^2 f-d^2 h\right ) \left (b x-\frac {\sqrt {1-c^2 x^2} \left (a+b \sin ^{-1}(c x)\right )}{c}\right )}{e^2}+\frac {2 b c \left (e^2 f-d^2 h\right )^2 \left (-i \left (a+b \sin ^{-1}(c x)\right ) \left (\log \left (1+\frac {i e e^{i \sin ^{-1}(c x)}}{\sqrt {c^2 d^2-e^2}-c d}\right )-\log \left (1-\frac {i e e^{i \sin ^{-1}(c x)}}{\sqrt {c^2 d^2-e^2}+c d}\right )\right )-b \text {Li}_2\left (\frac {i e e^{i \sin ^{-1}(c x)}}{c d-\sqrt {c^2 d^2-e^2}}\right )+b \text {Li}_2\left (\frac {i e e^{i \sin ^{-1}(c x)}}{c d+\sqrt {c^2 d^2-e^2}}\right )\right )}{e^3 \sqrt {c^2 d^2-e^2}}-\frac {b d h^2 \left (-\frac {2 x \sqrt {1-c^2 x^2} \left (a+b \sin ^{-1}(c x)\right )}{c}+\frac {\left (a+b \sin ^{-1}(c x)\right )^2}{b c^2}+b x^2\right )}{2 e}-\frac {2 b h^2 \left (-3 a \sqrt {1-c^2 x^2} \left (c^2 x^2+2\right )+b c x \left (c^2 x^2+6\right )-3 b \sqrt {1-c^2 x^2} \left (c^2 x^2+2\right ) \sin ^{-1}(c x)\right )}{27 c^3}+\frac {h x \left (2 e^2 f-d^2 h\right ) \left (a+b \sin ^{-1}(c x)\right )^2}{e^2}-\frac {\left (e^2 f-d^2 h\right )^2 \left (a+b \sin ^{-1}(c x)\right )^2}{e^3 (d+e x)}+\frac {d h^2 x^2 \left (a+b \sin ^{-1}(c x)\right )^2}{e}+\frac {1}{3} h^2 x^3 \left (a+b \sin ^{-1}(c x)\right )^2 \]
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
fricas [F] time = 0.56, size = 0, normalized size = 0.00 \[ {\rm integral}\left (\frac {a^{2} e^{2} h^{2} x^{4} + 4 \, a^{2} d e h^{2} x^{3} + 4 \, a^{2} d e f h x + a^{2} e^{2} f^{2} + 2 \, {\left (a^{2} e^{2} f h + 2 \, a^{2} d^{2} h^{2}\right )} x^{2} + {\left (b^{2} e^{2} h^{2} x^{4} + 4 \, b^{2} d e h^{2} x^{3} + 4 \, b^{2} d e f h x + b^{2} e^{2} f^{2} + 2 \, {\left (b^{2} e^{2} f h + 2 \, b^{2} d^{2} h^{2}\right )} x^{2}\right )} \arcsin \left (c x\right )^{2} + 2 \, {\left (a b e^{2} h^{2} x^{4} + 4 \, a b d e h^{2} x^{3} + 4 \, a b d e f h x + a b e^{2} f^{2} + 2 \, {\left (a b e^{2} f h + 2 \, a b d^{2} h^{2}\right )} x^{2}\right )} \arcsin \left (c x\right )}{e^{2} x^{2} + 2 \, d e x + d^{2}}, 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 \frac {{\left (e h x^{2} + 2 \, d h x + e f\right )}^{2} {\left (b \arcsin \left (c x\right ) + a\right )}^{2}}{{\left (e x + d\right )}^{2}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [B] time = 3.70, size = 2609, normalized size = 2.84 \[ \text {result too large to display} \]
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 \frac {{\left (a+b\,\mathrm {asin}\left (c\,x\right )\right )}^2\,{\left (e\,h\,x^2+2\,d\,h\,x+e\,f\right )}^2}{{\left (d+e\,x\right )}^2} \,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 )^{2} \left (2 d h x + e f + e h x^{2}\right )^{2}}{\left (d + e x\right )^{2}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________