Optimal. Leaf size=1300 \[ -\frac {(c f-2 g) \sqrt {1-c^2 x^2} (a+b \text {ArcSin}(c x)) \cot \left (\frac {\pi }{4}+\frac {1}{2} \text {ArcSin}(c x)\right )}{4 d^2 (c f-g)^2 \sqrt {d-c^2 d x^2}}-\frac {\sqrt {1-c^2 x^2} (a+b \text {ArcSin}(c x)) \cot \left (\frac {\pi }{4}+\frac {1}{2} \text {ArcSin}(c x)\right )}{12 d^2 (c f-g) \sqrt {d-c^2 d x^2}}-\frac {b \sqrt {1-c^2 x^2} \csc ^2\left (\frac {\pi }{4}+\frac {1}{2} \text {ArcSin}(c x)\right )}{24 d^2 (c f-g) \sqrt {d-c^2 d x^2}}-\frac {\sqrt {1-c^2 x^2} (a+b \text {ArcSin}(c x)) \cot \left (\frac {\pi }{4}+\frac {1}{2} \text {ArcSin}(c x)\right ) \csc ^2\left (\frac {\pi }{4}+\frac {1}{2} \text {ArcSin}(c x)\right )}{24 d^2 (c f-g) \sqrt {d-c^2 d x^2}}-\frac {i g^4 \sqrt {1-c^2 x^2} (a+b \text {ArcSin}(c x)) \log \left (1-\frac {i e^{i \text {ArcSin}(c x)} g}{c f-\sqrt {c^2 f^2-g^2}}\right )}{d^2 (c f-g)^2 (c f+g)^2 \sqrt {c^2 f^2-g^2} \sqrt {d-c^2 d x^2}}+\frac {i g^4 \sqrt {1-c^2 x^2} (a+b \text {ArcSin}(c x)) \log \left (1-\frac {i e^{i \text {ArcSin}(c x)} g}{c f+\sqrt {c^2 f^2-g^2}}\right )}{d^2 (c f-g)^2 (c f+g)^2 \sqrt {c^2 f^2-g^2} \sqrt {d-c^2 d x^2}}+\frac {b \sqrt {1-c^2 x^2} \log \left (\cos \left (\frac {\pi }{4}+\frac {1}{2} \text {ArcSin}(c x)\right )\right )}{6 d^2 (c f+g) \sqrt {d-c^2 d x^2}}+\frac {b (c f+2 g) \sqrt {1-c^2 x^2} \log \left (\cos \left (\frac {\pi }{4}+\frac {1}{2} \text {ArcSin}(c x)\right )\right )}{2 d^2 (c f+g)^2 \sqrt {d-c^2 d x^2}}+\frac {b (c f-2 g) \sqrt {1-c^2 x^2} \log \left (\sin \left (\frac {\pi }{4}+\frac {1}{2} \text {ArcSin}(c x)\right )\right )}{2 d^2 (c f-g)^2 \sqrt {d-c^2 d x^2}}+\frac {b \sqrt {1-c^2 x^2} \log \left (\sin \left (\frac {\pi }{4}+\frac {1}{2} \text {ArcSin}(c x)\right )\right )}{6 d^2 (c f-g) \sqrt {d-c^2 d x^2}}-\frac {b g^4 \sqrt {1-c^2 x^2} \text {PolyLog}\left (2,\frac {i e^{i \text {ArcSin}(c x)} g}{c f-\sqrt {c^2 f^2-g^2}}\right )}{d^2 (c f-g)^2 (c f+g)^2 \sqrt {c^2 f^2-g^2} \sqrt {d-c^2 d x^2}}+\frac {b g^4 \sqrt {1-c^2 x^2} \text {PolyLog}\left (2,\frac {i e^{i \text {ArcSin}(c x)} g}{c f+\sqrt {c^2 f^2-g^2}}\right )}{d^2 (c f-g)^2 (c f+g)^2 \sqrt {c^2 f^2-g^2} \sqrt {d-c^2 d x^2}}-\frac {b \sqrt {1-c^2 x^2} \sec ^2\left (\frac {\pi }{4}+\frac {1}{2} \text {ArcSin}(c x)\right )}{24 d^2 (c f+g) \sqrt {d-c^2 d x^2}}+\frac {\sqrt {1-c^2 x^2} (a+b \text {ArcSin}(c x)) \tan \left (\frac {\pi }{4}+\frac {1}{2} \text {ArcSin}(c x)\right )}{12 d^2 (c f+g) \sqrt {d-c^2 d x^2}}+\frac {(c f+2 g) \sqrt {1-c^2 x^2} (a+b \text {ArcSin}(c x)) \tan \left (\frac {\pi }{4}+\frac {1}{2} \text {ArcSin}(c x)\right )}{4 d^2 (c f+g)^2 \sqrt {d-c^2 d x^2}}+\frac {\sqrt {1-c^2 x^2} (a+b \text {ArcSin}(c x)) \sec ^2\left (\frac {\pi }{4}+\frac {1}{2} \text {ArcSin}(c x)\right ) \tan \left (\frac {\pi }{4}+\frac {1}{2} \text {ArcSin}(c x)\right )}{24 d^2 (c f+g) \sqrt {d-c^2 d x^2}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 1.21, antiderivative size = 1300, normalized size of antiderivative = 1.00, number of steps
used = 30, number of rules used = 12, integrand size = 31, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.387, Rules used = {4861, 4859,
4857, 3399, 4270, 4269, 3556, 3404, 2296, 2221, 2317, 2438} \begin {gather*} -\frac {i \sqrt {1-c^2 x^2} (a+b \text {ArcSin}(c x)) \log \left (1-\frac {i e^{i \text {ArcSin}(c x)} g}{c f-\sqrt {c^2 f^2-g^2}}\right ) g^4}{d^2 (c f-g)^2 (c f+g)^2 \sqrt {c^2 f^2-g^2} \sqrt {d-c^2 d x^2}}+\frac {i \sqrt {1-c^2 x^2} (a+b \text {ArcSin}(c x)) \log \left (1-\frac {i e^{i \text {ArcSin}(c x)} g}{c f+\sqrt {c^2 f^2-g^2}}\right ) g^4}{d^2 (c f-g)^2 (c f+g)^2 \sqrt {c^2 f^2-g^2} \sqrt {d-c^2 d x^2}}-\frac {b \sqrt {1-c^2 x^2} \text {Li}_2\left (\frac {i e^{i \text {ArcSin}(c x)} g}{c f-\sqrt {c^2 f^2-g^2}}\right ) g^4}{d^2 (c f-g)^2 (c f+g)^2 \sqrt {c^2 f^2-g^2} \sqrt {d-c^2 d x^2}}+\frac {b \sqrt {1-c^2 x^2} \text {Li}_2\left (\frac {i e^{i \text {ArcSin}(c x)} g}{c f+\sqrt {c^2 f^2-g^2}}\right ) g^4}{d^2 (c f-g)^2 (c f+g)^2 \sqrt {c^2 f^2-g^2} \sqrt {d-c^2 d x^2}}-\frac {\sqrt {1-c^2 x^2} (a+b \text {ArcSin}(c x)) \cot \left (\frac {1}{2} \text {ArcSin}(c x)+\frac {\pi }{4}\right ) \csc ^2\left (\frac {1}{2} \text {ArcSin}(c x)+\frac {\pi }{4}\right )}{24 d^2 (c f-g) \sqrt {d-c^2 d x^2}}-\frac {b \sqrt {1-c^2 x^2} \csc ^2\left (\frac {1}{2} \text {ArcSin}(c x)+\frac {\pi }{4}\right )}{24 d^2 (c f-g) \sqrt {d-c^2 d x^2}}-\frac {b \sqrt {1-c^2 x^2} \sec ^2\left (\frac {1}{2} \text {ArcSin}(c x)+\frac {\pi }{4}\right )}{24 d^2 (c f+g) \sqrt {d-c^2 d x^2}}-\frac {\sqrt {1-c^2 x^2} (a+b \text {ArcSin}(c x)) \cot \left (\frac {1}{2} \text {ArcSin}(c x)+\frac {\pi }{4}\right )}{12 d^2 (c f-g) \sqrt {d-c^2 d x^2}}-\frac {(c f-2 g) \sqrt {1-c^2 x^2} (a+b \text {ArcSin}(c x)) \cot \left (\frac {1}{2} \text {ArcSin}(c x)+\frac {\pi }{4}\right )}{4 d^2 (c f-g)^2 \sqrt {d-c^2 d x^2}}+\frac {b (c f+2 g) \sqrt {1-c^2 x^2} \log \left (\cos \left (\frac {1}{2} \text {ArcSin}(c x)+\frac {\pi }{4}\right )\right )}{2 d^2 (c f+g)^2 \sqrt {d-c^2 d x^2}}+\frac {b \sqrt {1-c^2 x^2} \log \left (\cos \left (\frac {1}{2} \text {ArcSin}(c x)+\frac {\pi }{4}\right )\right )}{6 d^2 (c f+g) \sqrt {d-c^2 d x^2}}+\frac {b \sqrt {1-c^2 x^2} \log \left (\sin \left (\frac {1}{2} \text {ArcSin}(c x)+\frac {\pi }{4}\right )\right )}{6 d^2 (c f-g) \sqrt {d-c^2 d x^2}}+\frac {b (c f-2 g) \sqrt {1-c^2 x^2} \log \left (\sin \left (\frac {1}{2} \text {ArcSin}(c x)+\frac {\pi }{4}\right )\right )}{2 d^2 (c f-g)^2 \sqrt {d-c^2 d x^2}}+\frac {\sqrt {1-c^2 x^2} (a+b \text {ArcSin}(c x)) \sec ^2\left (\frac {1}{2} \text {ArcSin}(c x)+\frac {\pi }{4}\right ) \tan \left (\frac {1}{2} \text {ArcSin}(c x)+\frac {\pi }{4}\right )}{24 d^2 (c f+g) \sqrt {d-c^2 d x^2}}+\frac {(c f+2 g) \sqrt {1-c^2 x^2} (a+b \text {ArcSin}(c x)) \tan \left (\frac {1}{2} \text {ArcSin}(c x)+\frac {\pi }{4}\right )}{4 d^2 (c f+g)^2 \sqrt {d-c^2 d x^2}}+\frac {\sqrt {1-c^2 x^2} (a+b \text {ArcSin}(c x)) \tan \left (\frac {1}{2} \text {ArcSin}(c x)+\frac {\pi }{4}\right )}{12 d^2 (c f+g) \sqrt {d-c^2 d x^2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2221
Rule 2296
Rule 2317
Rule 2438
Rule 3399
Rule 3404
Rule 3556
Rule 4269
Rule 4270
Rule 4857
Rule 4859
Rule 4861
Rubi steps
\begin {align*} \int \frac {a+b \sin ^{-1}(c x)}{(f+g x) \left (d-c^2 d x^2\right )^{5/2}} \, dx &=\frac {\sqrt {1-c^2 x^2} \int \frac {a+b \sin ^{-1}(c x)}{(f+g x) \left (1-c^2 x^2\right )^{5/2}} \, dx}{d^2 \sqrt {d-c^2 d x^2}}\\ &=\frac {\sqrt {1-c^2 x^2} \int \left (\frac {c \left (a+b \sin ^{-1}(c x)\right )}{4 (c f+g) (-1+c x)^2 \sqrt {1-c^2 x^2}}-\frac {c (c f+2 g) \left (a+b \sin ^{-1}(c x)\right )}{4 (c f+g)^2 (-1+c x) \sqrt {1-c^2 x^2}}+\frac {c \left (a+b \sin ^{-1}(c x)\right )}{4 (c f-g) (1+c x)^2 \sqrt {1-c^2 x^2}}+\frac {c (c f-2 g) \left (a+b \sin ^{-1}(c x)\right )}{4 (c f-g)^2 (1+c x) \sqrt {1-c^2 x^2}}+\frac {g^4 \left (a+b \sin ^{-1}(c x)\right )}{(-c f+g)^2 (c f+g)^2 (f+g x) \sqrt {1-c^2 x^2}}\right ) \, dx}{d^2 \sqrt {d-c^2 d x^2}}\\ &=\frac {\left (c (c f-2 g) \sqrt {1-c^2 x^2}\right ) \int \frac {a+b \sin ^{-1}(c x)}{(1+c x) \sqrt {1-c^2 x^2}} \, dx}{4 d^2 (c f-g)^2 \sqrt {d-c^2 d x^2}}+\frac {\left (c \sqrt {1-c^2 x^2}\right ) \int \frac {a+b \sin ^{-1}(c x)}{(1+c x)^2 \sqrt {1-c^2 x^2}} \, dx}{4 d^2 (c f-g) \sqrt {d-c^2 d x^2}}+\frac {\left (g^4 \sqrt {1-c^2 x^2}\right ) \int \frac {a+b \sin ^{-1}(c x)}{(f+g x) \sqrt {1-c^2 x^2}} \, dx}{d^2 (c f-g)^2 (c f+g)^2 \sqrt {d-c^2 d x^2}}+\frac {\left (c \sqrt {1-c^2 x^2}\right ) \int \frac {a+b \sin ^{-1}(c x)}{(-1+c x)^2 \sqrt {1-c^2 x^2}} \, dx}{4 d^2 (c f+g) \sqrt {d-c^2 d x^2}}-\frac {\left (c (c f+2 g) \sqrt {1-c^2 x^2}\right ) \int \frac {a+b \sin ^{-1}(c x)}{(-1+c x) \sqrt {1-c^2 x^2}} \, dx}{4 d^2 (c f+g)^2 \sqrt {d-c^2 d x^2}}\\ &=\frac {\left (c (c f-2 g) \sqrt {1-c^2 x^2}\right ) \text {Subst}\left (\int \frac {a+b x}{c+c \sin (x)} \, dx,x,\sin ^{-1}(c x)\right )}{4 d^2 (c f-g)^2 \sqrt {d-c^2 d x^2}}+\frac {\left (c^2 \sqrt {1-c^2 x^2}\right ) \text {Subst}\left (\int \frac {a+b x}{(c+c \sin (x))^2} \, dx,x,\sin ^{-1}(c x)\right )}{4 d^2 (c f-g) \sqrt {d-c^2 d x^2}}+\frac {\left (g^4 \sqrt {1-c^2 x^2}\right ) \text {Subst}\left (\int \frac {a+b x}{c f+g \sin (x)} \, dx,x,\sin ^{-1}(c x)\right )}{d^2 (c f-g)^2 (c f+g)^2 \sqrt {d-c^2 d x^2}}+\frac {\left (c^2 \sqrt {1-c^2 x^2}\right ) \text {Subst}\left (\int \frac {a+b x}{(-c+c \sin (x))^2} \, dx,x,\sin ^{-1}(c x)\right )}{4 d^2 (c f+g) \sqrt {d-c^2 d x^2}}-\frac {\left (c (c f+2 g) \sqrt {1-c^2 x^2}\right ) \text {Subst}\left (\int \frac {a+b x}{-c+c \sin (x)} \, dx,x,\sin ^{-1}(c x)\right )}{4 d^2 (c f+g)^2 \sqrt {d-c^2 d x^2}}\\ &=\frac {\left ((c f-2 g) \sqrt {1-c^2 x^2}\right ) \text {Subst}\left (\int (a+b x) \csc ^2\left (\frac {\pi }{4}+\frac {x}{2}\right ) \, dx,x,\sin ^{-1}(c x)\right )}{8 d^2 (c f-g)^2 \sqrt {d-c^2 d x^2}}+\frac {\sqrt {1-c^2 x^2} \text {Subst}\left (\int (a+b x) \csc ^4\left (\frac {\pi }{4}+\frac {x}{2}\right ) \, dx,x,\sin ^{-1}(c x)\right )}{16 d^2 (c f-g) \sqrt {d-c^2 d x^2}}+\frac {\left (2 g^4 \sqrt {1-c^2 x^2}\right ) \text {Subst}\left (\int \frac {e^{i x} (a+b x)}{2 c e^{i x} f+i g-i e^{2 i x} g} \, dx,x,\sin ^{-1}(c x)\right )}{d^2 (c f-g)^2 (c f+g)^2 \sqrt {d-c^2 d x^2}}+\frac {\sqrt {1-c^2 x^2} \text {Subst}\left (\int (a+b x) \csc ^4\left (\frac {\pi }{4}-\frac {x}{2}\right ) \, dx,x,\sin ^{-1}(c x)\right )}{16 d^2 (c f+g) \sqrt {d-c^2 d x^2}}+\frac {\left ((c f+2 g) \sqrt {1-c^2 x^2}\right ) \text {Subst}\left (\int (a+b x) \csc ^2\left (\frac {\pi }{4}-\frac {x}{2}\right ) \, dx,x,\sin ^{-1}(c x)\right )}{8 d^2 (c f+g)^2 \sqrt {d-c^2 d x^2}}\\ &=-\frac {(c f-2 g) \sqrt {1-c^2 x^2} \left (a+b \sin ^{-1}(c x)\right ) \cot \left (\frac {\pi }{4}+\frac {1}{2} \sin ^{-1}(c x)\right )}{4 d^2 (c f-g)^2 \sqrt {d-c^2 d x^2}}-\frac {b \sqrt {1-c^2 x^2} \csc ^2\left (\frac {\pi }{4}+\frac {1}{2} \sin ^{-1}(c x)\right )}{24 d^2 (c f-g) \sqrt {d-c^2 d x^2}}-\frac {\sqrt {1-c^2 x^2} \left (a+b \sin ^{-1}(c x)\right ) \cot \left (\frac {\pi }{4}+\frac {1}{2} \sin ^{-1}(c x)\right ) \csc ^2\left (\frac {\pi }{4}+\frac {1}{2} \sin ^{-1}(c x)\right )}{24 d^2 (c f-g) \sqrt {d-c^2 d x^2}}-\frac {b \sqrt {1-c^2 x^2} \sec ^2\left (\frac {\pi }{4}+\frac {1}{2} \sin ^{-1}(c x)\right )}{24 d^2 (c f+g) \sqrt {d-c^2 d x^2}}+\frac {(c f+2 g) \sqrt {1-c^2 x^2} \left (a+b \sin ^{-1}(c x)\right ) \tan \left (\frac {\pi }{4}+\frac {1}{2} \sin ^{-1}(c x)\right )}{4 d^2 (c f+g)^2 \sqrt {d-c^2 d x^2}}+\frac {\sqrt {1-c^2 x^2} \left (a+b \sin ^{-1}(c x)\right ) \sec ^2\left (\frac {\pi }{4}+\frac {1}{2} \sin ^{-1}(c x)\right ) \tan \left (\frac {\pi }{4}+\frac {1}{2} \sin ^{-1}(c x)\right )}{24 d^2 (c f+g) \sqrt {d-c^2 d x^2}}+\frac {\left (b (c f-2 g) \sqrt {1-c^2 x^2}\right ) \text {Subst}\left (\int \cot \left (\frac {\pi }{4}+\frac {x}{2}\right ) \, dx,x,\sin ^{-1}(c x)\right )}{4 d^2 (c f-g)^2 \sqrt {d-c^2 d x^2}}+\frac {\sqrt {1-c^2 x^2} \text {Subst}\left (\int (a+b x) \csc ^2\left (\frac {\pi }{4}+\frac {x}{2}\right ) \, dx,x,\sin ^{-1}(c x)\right )}{24 d^2 (c f-g) \sqrt {d-c^2 d x^2}}+\frac {\sqrt {1-c^2 x^2} \text {Subst}\left (\int (a+b x) \csc ^2\left (\frac {\pi }{4}-\frac {x}{2}\right ) \, dx,x,\sin ^{-1}(c x)\right )}{24 d^2 (c f+g) \sqrt {d-c^2 d x^2}}-\frac {\left (b (c f+2 g) \sqrt {1-c^2 x^2}\right ) \text {Subst}\left (\int \cot \left (\frac {\pi }{4}-\frac {x}{2}\right ) \, dx,x,\sin ^{-1}(c x)\right )}{4 d^2 (c f+g)^2 \sqrt {d-c^2 d x^2}}-\frac {\left (2 i g^5 \sqrt {1-c^2 x^2}\right ) \text {Subst}\left (\int \frac {e^{i x} (a+b x)}{2 c f-2 i e^{i x} g-2 \sqrt {c^2 f^2-g^2}} \, dx,x,\sin ^{-1}(c x)\right )}{d^2 (c f-g)^2 (c f+g)^2 \sqrt {c^2 f^2-g^2} \sqrt {d-c^2 d x^2}}+\frac {\left (2 i g^5 \sqrt {1-c^2 x^2}\right ) \text {Subst}\left (\int \frac {e^{i x} (a+b x)}{2 c f-2 i e^{i x} g+2 \sqrt {c^2 f^2-g^2}} \, dx,x,\sin ^{-1}(c x)\right )}{d^2 (c f-g)^2 (c f+g)^2 \sqrt {c^2 f^2-g^2} \sqrt {d-c^2 d x^2}}\\ &=-\frac {(c f-2 g) \sqrt {1-c^2 x^2} \left (a+b \sin ^{-1}(c x)\right ) \cot \left (\frac {\pi }{4}+\frac {1}{2} \sin ^{-1}(c x)\right )}{4 d^2 (c f-g)^2 \sqrt {d-c^2 d x^2}}-\frac {\sqrt {1-c^2 x^2} \left (a+b \sin ^{-1}(c x)\right ) \cot \left (\frac {\pi }{4}+\frac {1}{2} \sin ^{-1}(c x)\right )}{12 d^2 (c f-g) \sqrt {d-c^2 d x^2}}-\frac {b \sqrt {1-c^2 x^2} \csc ^2\left (\frac {\pi }{4}+\frac {1}{2} \sin ^{-1}(c x)\right )}{24 d^2 (c f-g) \sqrt {d-c^2 d x^2}}-\frac {\sqrt {1-c^2 x^2} \left (a+b \sin ^{-1}(c x)\right ) \cot \left (\frac {\pi }{4}+\frac {1}{2} \sin ^{-1}(c x)\right ) \csc ^2\left (\frac {\pi }{4}+\frac {1}{2} \sin ^{-1}(c x)\right )}{24 d^2 (c f-g) \sqrt {d-c^2 d x^2}}-\frac {i g^4 \sqrt {1-c^2 x^2} \left (a+b \sin ^{-1}(c x)\right ) \log \left (1-\frac {i e^{i \sin ^{-1}(c x)} g}{c f-\sqrt {c^2 f^2-g^2}}\right )}{d^2 (c f-g)^2 (c f+g)^2 \sqrt {c^2 f^2-g^2} \sqrt {d-c^2 d x^2}}+\frac {i g^4 \sqrt {1-c^2 x^2} \left (a+b \sin ^{-1}(c x)\right ) \log \left (1-\frac {i e^{i \sin ^{-1}(c x)} g}{c f+\sqrt {c^2 f^2-g^2}}\right )}{d^2 (c f-g)^2 (c f+g)^2 \sqrt {c^2 f^2-g^2} \sqrt {d-c^2 d x^2}}+\frac {b (c f+2 g) \sqrt {1-c^2 x^2} \log \left (\cos \left (\frac {\pi }{4}+\frac {1}{2} \sin ^{-1}(c x)\right )\right )}{2 d^2 (c f+g)^2 \sqrt {d-c^2 d x^2}}+\frac {b (c f-2 g) \sqrt {1-c^2 x^2} \log \left (\sin \left (\frac {\pi }{4}+\frac {1}{2} \sin ^{-1}(c x)\right )\right )}{2 d^2 (c f-g)^2 \sqrt {d-c^2 d x^2}}-\frac {b \sqrt {1-c^2 x^2} \sec ^2\left (\frac {\pi }{4}+\frac {1}{2} \sin ^{-1}(c x)\right )}{24 d^2 (c f+g) \sqrt {d-c^2 d x^2}}+\frac {\sqrt {1-c^2 x^2} \left (a+b \sin ^{-1}(c x)\right ) \tan \left (\frac {\pi }{4}+\frac {1}{2} \sin ^{-1}(c x)\right )}{12 d^2 (c f+g) \sqrt {d-c^2 d x^2}}+\frac {(c f+2 g) \sqrt {1-c^2 x^2} \left (a+b \sin ^{-1}(c x)\right ) \tan \left (\frac {\pi }{4}+\frac {1}{2} \sin ^{-1}(c x)\right )}{4 d^2 (c f+g)^2 \sqrt {d-c^2 d x^2}}+\frac {\sqrt {1-c^2 x^2} \left (a+b \sin ^{-1}(c x)\right ) \sec ^2\left (\frac {\pi }{4}+\frac {1}{2} \sin ^{-1}(c x)\right ) \tan \left (\frac {\pi }{4}+\frac {1}{2} \sin ^{-1}(c x)\right )}{24 d^2 (c f+g) \sqrt {d-c^2 d x^2}}+\frac {\left (b \sqrt {1-c^2 x^2}\right ) \text {Subst}\left (\int \cot \left (\frac {\pi }{4}+\frac {x}{2}\right ) \, dx,x,\sin ^{-1}(c x)\right )}{12 d^2 (c f-g) \sqrt {d-c^2 d x^2}}-\frac {\left (b \sqrt {1-c^2 x^2}\right ) \text {Subst}\left (\int \cot \left (\frac {\pi }{4}-\frac {x}{2}\right ) \, dx,x,\sin ^{-1}(c x)\right )}{12 d^2 (c f+g) \sqrt {d-c^2 d x^2}}+\frac {\left (i b g^4 \sqrt {1-c^2 x^2}\right ) \text {Subst}\left (\int \log \left (1-\frac {2 i e^{i x} g}{2 c f-2 \sqrt {c^2 f^2-g^2}}\right ) \, dx,x,\sin ^{-1}(c x)\right )}{d^2 (c f-g)^2 (c f+g)^2 \sqrt {c^2 f^2-g^2} \sqrt {d-c^2 d x^2}}-\frac {\left (i b g^4 \sqrt {1-c^2 x^2}\right ) \text {Subst}\left (\int \log \left (1-\frac {2 i e^{i x} g}{2 c f+2 \sqrt {c^2 f^2-g^2}}\right ) \, dx,x,\sin ^{-1}(c x)\right )}{d^2 (c f-g)^2 (c f+g)^2 \sqrt {c^2 f^2-g^2} \sqrt {d-c^2 d x^2}}\\ &=-\frac {(c f-2 g) \sqrt {1-c^2 x^2} \left (a+b \sin ^{-1}(c x)\right ) \cot \left (\frac {\pi }{4}+\frac {1}{2} \sin ^{-1}(c x)\right )}{4 d^2 (c f-g)^2 \sqrt {d-c^2 d x^2}}-\frac {\sqrt {1-c^2 x^2} \left (a+b \sin ^{-1}(c x)\right ) \cot \left (\frac {\pi }{4}+\frac {1}{2} \sin ^{-1}(c x)\right )}{12 d^2 (c f-g) \sqrt {d-c^2 d x^2}}-\frac {b \sqrt {1-c^2 x^2} \csc ^2\left (\frac {\pi }{4}+\frac {1}{2} \sin ^{-1}(c x)\right )}{24 d^2 (c f-g) \sqrt {d-c^2 d x^2}}-\frac {\sqrt {1-c^2 x^2} \left (a+b \sin ^{-1}(c x)\right ) \cot \left (\frac {\pi }{4}+\frac {1}{2} \sin ^{-1}(c x)\right ) \csc ^2\left (\frac {\pi }{4}+\frac {1}{2} \sin ^{-1}(c x)\right )}{24 d^2 (c f-g) \sqrt {d-c^2 d x^2}}-\frac {i g^4 \sqrt {1-c^2 x^2} \left (a+b \sin ^{-1}(c x)\right ) \log \left (1-\frac {i e^{i \sin ^{-1}(c x)} g}{c f-\sqrt {c^2 f^2-g^2}}\right )}{d^2 (c f-g)^2 (c f+g)^2 \sqrt {c^2 f^2-g^2} \sqrt {d-c^2 d x^2}}+\frac {i g^4 \sqrt {1-c^2 x^2} \left (a+b \sin ^{-1}(c x)\right ) \log \left (1-\frac {i e^{i \sin ^{-1}(c x)} g}{c f+\sqrt {c^2 f^2-g^2}}\right )}{d^2 (c f-g)^2 (c f+g)^2 \sqrt {c^2 f^2-g^2} \sqrt {d-c^2 d x^2}}+\frac {b \sqrt {1-c^2 x^2} \log \left (\cos \left (\frac {\pi }{4}+\frac {1}{2} \sin ^{-1}(c x)\right )\right )}{6 d^2 (c f+g) \sqrt {d-c^2 d x^2}}+\frac {b (c f+2 g) \sqrt {1-c^2 x^2} \log \left (\cos \left (\frac {\pi }{4}+\frac {1}{2} \sin ^{-1}(c x)\right )\right )}{2 d^2 (c f+g)^2 \sqrt {d-c^2 d x^2}}+\frac {b (c f-2 g) \sqrt {1-c^2 x^2} \log \left (\sin \left (\frac {\pi }{4}+\frac {1}{2} \sin ^{-1}(c x)\right )\right )}{2 d^2 (c f-g)^2 \sqrt {d-c^2 d x^2}}+\frac {b \sqrt {1-c^2 x^2} \log \left (\sin \left (\frac {\pi }{4}+\frac {1}{2} \sin ^{-1}(c x)\right )\right )}{6 d^2 (c f-g) \sqrt {d-c^2 d x^2}}-\frac {b \sqrt {1-c^2 x^2} \sec ^2\left (\frac {\pi }{4}+\frac {1}{2} \sin ^{-1}(c x)\right )}{24 d^2 (c f+g) \sqrt {d-c^2 d x^2}}+\frac {\sqrt {1-c^2 x^2} \left (a+b \sin ^{-1}(c x)\right ) \tan \left (\frac {\pi }{4}+\frac {1}{2} \sin ^{-1}(c x)\right )}{12 d^2 (c f+g) \sqrt {d-c^2 d x^2}}+\frac {(c f+2 g) \sqrt {1-c^2 x^2} \left (a+b \sin ^{-1}(c x)\right ) \tan \left (\frac {\pi }{4}+\frac {1}{2} \sin ^{-1}(c x)\right )}{4 d^2 (c f+g)^2 \sqrt {d-c^2 d x^2}}+\frac {\sqrt {1-c^2 x^2} \left (a+b \sin ^{-1}(c x)\right ) \sec ^2\left (\frac {\pi }{4}+\frac {1}{2} \sin ^{-1}(c x)\right ) \tan \left (\frac {\pi }{4}+\frac {1}{2} \sin ^{-1}(c x)\right )}{24 d^2 (c f+g) \sqrt {d-c^2 d x^2}}+\frac {\left (b g^4 \sqrt {1-c^2 x^2}\right ) \text {Subst}\left (\int \frac {\log \left (1-\frac {2 i g x}{2 c f-2 \sqrt {c^2 f^2-g^2}}\right )}{x} \, dx,x,e^{i \sin ^{-1}(c x)}\right )}{d^2 (c f-g)^2 (c f+g)^2 \sqrt {c^2 f^2-g^2} \sqrt {d-c^2 d x^2}}-\frac {\left (b g^4 \sqrt {1-c^2 x^2}\right ) \text {Subst}\left (\int \frac {\log \left (1-\frac {2 i g x}{2 c f+2 \sqrt {c^2 f^2-g^2}}\right )}{x} \, dx,x,e^{i \sin ^{-1}(c x)}\right )}{d^2 (c f-g)^2 (c f+g)^2 \sqrt {c^2 f^2-g^2} \sqrt {d-c^2 d x^2}}\\ &=-\frac {(c f-2 g) \sqrt {1-c^2 x^2} \left (a+b \sin ^{-1}(c x)\right ) \cot \left (\frac {\pi }{4}+\frac {1}{2} \sin ^{-1}(c x)\right )}{4 d^2 (c f-g)^2 \sqrt {d-c^2 d x^2}}-\frac {\sqrt {1-c^2 x^2} \left (a+b \sin ^{-1}(c x)\right ) \cot \left (\frac {\pi }{4}+\frac {1}{2} \sin ^{-1}(c x)\right )}{12 d^2 (c f-g) \sqrt {d-c^2 d x^2}}-\frac {b \sqrt {1-c^2 x^2} \csc ^2\left (\frac {\pi }{4}+\frac {1}{2} \sin ^{-1}(c x)\right )}{24 d^2 (c f-g) \sqrt {d-c^2 d x^2}}-\frac {\sqrt {1-c^2 x^2} \left (a+b \sin ^{-1}(c x)\right ) \cot \left (\frac {\pi }{4}+\frac {1}{2} \sin ^{-1}(c x)\right ) \csc ^2\left (\frac {\pi }{4}+\frac {1}{2} \sin ^{-1}(c x)\right )}{24 d^2 (c f-g) \sqrt {d-c^2 d x^2}}-\frac {i g^4 \sqrt {1-c^2 x^2} \left (a+b \sin ^{-1}(c x)\right ) \log \left (1-\frac {i e^{i \sin ^{-1}(c x)} g}{c f-\sqrt {c^2 f^2-g^2}}\right )}{d^2 (c f-g)^2 (c f+g)^2 \sqrt {c^2 f^2-g^2} \sqrt {d-c^2 d x^2}}+\frac {i g^4 \sqrt {1-c^2 x^2} \left (a+b \sin ^{-1}(c x)\right ) \log \left (1-\frac {i e^{i \sin ^{-1}(c x)} g}{c f+\sqrt {c^2 f^2-g^2}}\right )}{d^2 (c f-g)^2 (c f+g)^2 \sqrt {c^2 f^2-g^2} \sqrt {d-c^2 d x^2}}+\frac {b \sqrt {1-c^2 x^2} \log \left (\cos \left (\frac {\pi }{4}+\frac {1}{2} \sin ^{-1}(c x)\right )\right )}{6 d^2 (c f+g) \sqrt {d-c^2 d x^2}}+\frac {b (c f+2 g) \sqrt {1-c^2 x^2} \log \left (\cos \left (\frac {\pi }{4}+\frac {1}{2} \sin ^{-1}(c x)\right )\right )}{2 d^2 (c f+g)^2 \sqrt {d-c^2 d x^2}}+\frac {b (c f-2 g) \sqrt {1-c^2 x^2} \log \left (\sin \left (\frac {\pi }{4}+\frac {1}{2} \sin ^{-1}(c x)\right )\right )}{2 d^2 (c f-g)^2 \sqrt {d-c^2 d x^2}}+\frac {b \sqrt {1-c^2 x^2} \log \left (\sin \left (\frac {\pi }{4}+\frac {1}{2} \sin ^{-1}(c x)\right )\right )}{6 d^2 (c f-g) \sqrt {d-c^2 d x^2}}-\frac {b g^4 \sqrt {1-c^2 x^2} \text {Li}_2\left (\frac {i e^{i \sin ^{-1}(c x)} g}{c f-\sqrt {c^2 f^2-g^2}}\right )}{d^2 (c f-g)^2 (c f+g)^2 \sqrt {c^2 f^2-g^2} \sqrt {d-c^2 d x^2}}+\frac {b g^4 \sqrt {1-c^2 x^2} \text {Li}_2\left (\frac {i e^{i \sin ^{-1}(c x)} g}{c f+\sqrt {c^2 f^2-g^2}}\right )}{d^2 (c f-g)^2 (c f+g)^2 \sqrt {c^2 f^2-g^2} \sqrt {d-c^2 d x^2}}-\frac {b \sqrt {1-c^2 x^2} \sec ^2\left (\frac {\pi }{4}+\frac {1}{2} \sin ^{-1}(c x)\right )}{24 d^2 (c f+g) \sqrt {d-c^2 d x^2}}+\frac {\sqrt {1-c^2 x^2} \left (a+b \sin ^{-1}(c x)\right ) \tan \left (\frac {\pi }{4}+\frac {1}{2} \sin ^{-1}(c x)\right )}{12 d^2 (c f+g) \sqrt {d-c^2 d x^2}}+\frac {(c f+2 g) \sqrt {1-c^2 x^2} \left (a+b \sin ^{-1}(c x)\right ) \tan \left (\frac {\pi }{4}+\frac {1}{2} \sin ^{-1}(c x)\right )}{4 d^2 (c f+g)^2 \sqrt {d-c^2 d x^2}}+\frac {\sqrt {1-c^2 x^2} \left (a+b \sin ^{-1}(c x)\right ) \sec ^2\left (\frac {\pi }{4}+\frac {1}{2} \sin ^{-1}(c x)\right ) \tan \left (\frac {\pi }{4}+\frac {1}{2} \sin ^{-1}(c x)\right )}{24 d^2 (c f+g) \sqrt {d-c^2 d x^2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 12.60, size = 2078, normalized size = 1.60 \begin {gather*} \text {Result too large to show} \end {gather*}
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Both result and optimal contain complex but leaf count of result is larger than twice
the leaf count of optimal. 8294 vs. \(2 (1102 ) = 2204\).
time = 0.71, size = 8295, normalized size = 6.38
method | result | size |
default | \(\text {Expression too large to display}\) | \(8295\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [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]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {a + b \operatorname {asin}{\left (c x \right )}}{\left (- d \left (c x - 1\right ) \left (c x + 1\right )\right )^{\frac {5}{2}} \left (f + g x\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 \frac {a+b\,\mathrm {asin}\left (c\,x\right )}{\left (f+g\,x\right )\,{\left (d-c^2\,d\,x^2\right )}^{5/2}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________