Optimal. Leaf size=1137 \[ -\frac {i \sqrt {1-c^2 x^2} (a+b \text {ArcSin}(c x))^2}{2 d (c f-g) \sqrt {d-c^2 d x^2}}+\frac {i \sqrt {1-c^2 x^2} (a+b \text {ArcSin}(c x))^2}{2 d (c f+g) \sqrt {d-c^2 d x^2}}-\frac {\sqrt {1-c^2 x^2} (a+b \text {ArcSin}(c x))^2 \cot \left (\frac {\pi }{4}+\frac {1}{2} \text {ArcSin}(c x)\right )}{2 d (c f-g) \sqrt {d-c^2 d x^2}}+\frac {2 b \sqrt {1-c^2 x^2} (a+b \text {ArcSin}(c x)) \log \left (1-i e^{-i \text {ArcSin}(c x)}\right )}{d (c f+g) \sqrt {d-c^2 d x^2}}+\frac {2 b \sqrt {1-c^2 x^2} (a+b \text {ArcSin}(c x)) \log \left (1-i e^{i \text {ArcSin}(c x)}\right )}{d (c f-g) \sqrt {d-c^2 d x^2}}+\frac {i g^2 \sqrt {1-c^2 x^2} (a+b \text {ArcSin}(c x))^2 \log \left (1-\frac {i e^{i \text {ArcSin}(c x)} g}{c f-\sqrt {c^2 f^2-g^2}}\right )}{d \left (c^2 f^2-g^2\right )^{3/2} \sqrt {d-c^2 d x^2}}-\frac {i g^2 \sqrt {1-c^2 x^2} (a+b \text {ArcSin}(c x))^2 \log \left (1-\frac {i e^{i \text {ArcSin}(c x)} g}{c f+\sqrt {c^2 f^2-g^2}}\right )}{d \left (c^2 f^2-g^2\right )^{3/2} \sqrt {d-c^2 d x^2}}+\frac {2 i b^2 \sqrt {1-c^2 x^2} \text {PolyLog}\left (2,i e^{-i \text {ArcSin}(c x)}\right )}{d (c f+g) \sqrt {d-c^2 d x^2}}-\frac {2 i b^2 \sqrt {1-c^2 x^2} \text {PolyLog}\left (2,i e^{i \text {ArcSin}(c x)}\right )}{d (c f-g) \sqrt {d-c^2 d x^2}}+\frac {2 b g^2 \sqrt {1-c^2 x^2} (a+b \text {ArcSin}(c x)) \text {PolyLog}\left (2,\frac {i e^{i \text {ArcSin}(c x)} g}{c f-\sqrt {c^2 f^2-g^2}}\right )}{d \left (c^2 f^2-g^2\right )^{3/2} \sqrt {d-c^2 d x^2}}-\frac {2 b g^2 \sqrt {1-c^2 x^2} (a+b \text {ArcSin}(c x)) \text {PolyLog}\left (2,\frac {i e^{i \text {ArcSin}(c x)} g}{c f+\sqrt {c^2 f^2-g^2}}\right )}{d \left (c^2 f^2-g^2\right )^{3/2} \sqrt {d-c^2 d x^2}}+\frac {2 i b^2 g^2 \sqrt {1-c^2 x^2} \text {PolyLog}\left (3,\frac {i e^{i \text {ArcSin}(c x)} g}{c f-\sqrt {c^2 f^2-g^2}}\right )}{d \left (c^2 f^2-g^2\right )^{3/2} \sqrt {d-c^2 d x^2}}-\frac {2 i b^2 g^2 \sqrt {1-c^2 x^2} \text {PolyLog}\left (3,\frac {i e^{i \text {ArcSin}(c x)} g}{c f+\sqrt {c^2 f^2-g^2}}\right )}{d \left (c^2 f^2-g^2\right )^{3/2} \sqrt {d-c^2 d x^2}}+\frac {\sqrt {1-c^2 x^2} (a+b \text {ArcSin}(c x))^2 \tan \left (\frac {\pi }{4}+\frac {1}{2} \text {ArcSin}(c x)\right )}{2 d (c f+g) \sqrt {d-c^2 d x^2}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 1.46, antiderivative size = 1137, normalized size of antiderivative = 1.00, number of steps
used = 28, number of rules used = 14, integrand size = 33, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.424, Rules used =
{4861, 4859, 4857, 3399, 4269, 3798, 2221, 2317, 2438, 3404, 2296, 2611, 2320, 6724}
\begin {gather*} \frac {2 i \sqrt {1-c^2 x^2} \text {Li}_2\left (i e^{-i \text {ArcSin}(c x)}\right ) b^2}{d (c f+g) \sqrt {d-c^2 d x^2}}-\frac {2 i \sqrt {1-c^2 x^2} \text {Li}_2\left (i e^{i \text {ArcSin}(c x)}\right ) b^2}{d (c f-g) \sqrt {d-c^2 d x^2}}+\frac {2 i g^2 \sqrt {1-c^2 x^2} \text {Li}_3\left (\frac {i e^{i \text {ArcSin}(c x)} g}{c f-\sqrt {c^2 f^2-g^2}}\right ) b^2}{d \left (c^2 f^2-g^2\right )^{3/2} \sqrt {d-c^2 d x^2}}-\frac {2 i g^2 \sqrt {1-c^2 x^2} \text {Li}_3\left (\frac {i e^{i \text {ArcSin}(c x)} g}{c f+\sqrt {c^2 f^2-g^2}}\right ) b^2}{d \left (c^2 f^2-g^2\right )^{3/2} \sqrt {d-c^2 d x^2}}+\frac {2 \sqrt {1-c^2 x^2} (a+b \text {ArcSin}(c x)) \log \left (1-i e^{-i \text {ArcSin}(c x)}\right ) b}{d (c f+g) \sqrt {d-c^2 d x^2}}+\frac {2 \sqrt {1-c^2 x^2} (a+b \text {ArcSin}(c x)) \log \left (1-i e^{i \text {ArcSin}(c x)}\right ) b}{d (c f-g) \sqrt {d-c^2 d x^2}}+\frac {2 g^2 \sqrt {1-c^2 x^2} (a+b \text {ArcSin}(c x)) \text {Li}_2\left (\frac {i e^{i \text {ArcSin}(c x)} g}{c f-\sqrt {c^2 f^2-g^2}}\right ) b}{d \left (c^2 f^2-g^2\right )^{3/2} \sqrt {d-c^2 d x^2}}-\frac {2 g^2 \sqrt {1-c^2 x^2} (a+b \text {ArcSin}(c x)) \text {Li}_2\left (\frac {i e^{i \text {ArcSin}(c x)} g}{c f+\sqrt {c^2 f^2-g^2}}\right ) b}{d \left (c^2 f^2-g^2\right )^{3/2} \sqrt {d-c^2 d x^2}}-\frac {i \sqrt {1-c^2 x^2} (a+b \text {ArcSin}(c x))^2}{2 d (c f-g) \sqrt {d-c^2 d x^2}}+\frac {i \sqrt {1-c^2 x^2} (a+b \text {ArcSin}(c x))^2}{2 d (c f+g) \sqrt {d-c^2 d x^2}}-\frac {\sqrt {1-c^2 x^2} (a+b \text {ArcSin}(c x))^2 \cot \left (\frac {1}{2} \text {ArcSin}(c x)+\frac {\pi }{4}\right )}{2 d (c f-g) \sqrt {d-c^2 d x^2}}+\frac {i g^2 \sqrt {1-c^2 x^2} (a+b \text {ArcSin}(c x))^2 \log \left (1-\frac {i e^{i \text {ArcSin}(c x)} g}{c f-\sqrt {c^2 f^2-g^2}}\right )}{d \left (c^2 f^2-g^2\right )^{3/2} \sqrt {d-c^2 d x^2}}-\frac {i g^2 \sqrt {1-c^2 x^2} (a+b \text {ArcSin}(c x))^2 \log \left (1-\frac {i e^{i \text {ArcSin}(c x)} g}{c f+\sqrt {c^2 f^2-g^2}}\right )}{d \left (c^2 f^2-g^2\right )^{3/2} \sqrt {d-c^2 d x^2}}+\frac {\sqrt {1-c^2 x^2} (a+b \text {ArcSin}(c x))^2 \tan \left (\frac {1}{2} \text {ArcSin}(c x)+\frac {\pi }{4}\right )}{2 d (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 2320
Rule 2438
Rule 2611
Rule 3399
Rule 3404
Rule 3798
Rule 4269
Rule 4857
Rule 4859
Rule 4861
Rule 6724
Rubi steps
\begin {align*} \int \frac {\left (a+b \sin ^{-1}(c x)\right )^2}{(f+g x) \left (d-c^2 d x^2\right )^{3/2}} \, dx &=\frac {\sqrt {1-c^2 x^2} \int \frac {\left (a+b \sin ^{-1}(c x)\right )^2}{(f+g x) \left (1-c^2 x^2\right )^{3/2}} \, dx}{d \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 )^2}{2 (c f+g) (-1+c x) \sqrt {1-c^2 x^2}}+\frac {c \left (a+b \sin ^{-1}(c x)\right )^2}{2 (c f-g) (1+c x) \sqrt {1-c^2 x^2}}+\frac {g^2 \left (a+b \sin ^{-1}(c x)\right )^2}{(-c f+g) (c f+g) (f+g x) \sqrt {1-c^2 x^2}}\right ) \, dx}{d \sqrt {d-c^2 d x^2}}\\ &=\frac {\left (c \sqrt {1-c^2 x^2}\right ) \int \frac {\left (a+b \sin ^{-1}(c x)\right )^2}{(1+c x) \sqrt {1-c^2 x^2}} \, dx}{2 d (c f-g) \sqrt {d-c^2 d x^2}}-\frac {\left (c \sqrt {1-c^2 x^2}\right ) \int \frac {\left (a+b \sin ^{-1}(c x)\right )^2}{(-1+c x) \sqrt {1-c^2 x^2}} \, dx}{2 d (c f+g) \sqrt {d-c^2 d x^2}}+\frac {\left (g^2 \sqrt {1-c^2 x^2}\right ) \int \frac {\left (a+b \sin ^{-1}(c x)\right )^2}{(f+g x) \sqrt {1-c^2 x^2}} \, dx}{d (-c f+g) (c f+g) \sqrt {d-c^2 d x^2}}\\ &=\frac {\left (c \sqrt {1-c^2 x^2}\right ) \text {Subst}\left (\int \frac {(a+b x)^2}{c+c \sin (x)} \, dx,x,\sin ^{-1}(c x)\right )}{2 d (c f-g) \sqrt {d-c^2 d x^2}}-\frac {\left (c \sqrt {1-c^2 x^2}\right ) \text {Subst}\left (\int \frac {(a+b x)^2}{-c+c \sin (x)} \, dx,x,\sin ^{-1}(c x)\right )}{2 d (c f+g) \sqrt {d-c^2 d x^2}}+\frac {\left (g^2 \sqrt {1-c^2 x^2}\right ) \text {Subst}\left (\int \frac {(a+b x)^2}{c f+g \sin (x)} \, dx,x,\sin ^{-1}(c x)\right )}{d (-c f+g) (c f+g) \sqrt {d-c^2 d x^2}}\\ &=\frac {\sqrt {1-c^2 x^2} \text {Subst}\left (\int (a+b x)^2 \csc ^2\left (\frac {\pi }{4}+\frac {x}{2}\right ) \, dx,x,\sin ^{-1}(c x)\right )}{4 d (c f-g) \sqrt {d-c^2 d x^2}}+\frac {\sqrt {1-c^2 x^2} \text {Subst}\left (\int (a+b x)^2 \csc ^2\left (\frac {\pi }{4}-\frac {x}{2}\right ) \, dx,x,\sin ^{-1}(c x)\right )}{4 d (c f+g) \sqrt {d-c^2 d x^2}}+\frac {\left (2 g^2 \sqrt {1-c^2 x^2}\right ) \text {Subst}\left (\int \frac {e^{i x} (a+b x)^2}{2 c e^{i x} f+i g-i e^{2 i x} g} \, dx,x,\sin ^{-1}(c x)\right )}{d (-c f+g) (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 )^2 \cot \left (\frac {\pi }{4}+\frac {1}{2} \sin ^{-1}(c x)\right )}{2 d (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 )^2 \tan \left (\frac {\pi }{4}+\frac {1}{2} \sin ^{-1}(c x)\right )}{2 d (c f+g) \sqrt {d-c^2 d x^2}}+\frac {\left (b \sqrt {1-c^2 x^2}\right ) \text {Subst}\left (\int (a+b x) \cot \left (\frac {\pi }{4}+\frac {x}{2}\right ) \, dx,x,\sin ^{-1}(c x)\right )}{d (c f-g) \sqrt {d-c^2 d x^2}}-\frac {\left (b \sqrt {1-c^2 x^2}\right ) \text {Subst}\left (\int (a+b x) \cot \left (\frac {\pi }{4}-\frac {x}{2}\right ) \, dx,x,\sin ^{-1}(c x)\right )}{d (c f+g) \sqrt {d-c^2 d x^2}}-\frac {\left (2 i g^3 \sqrt {1-c^2 x^2}\right ) \text {Subst}\left (\int \frac {e^{i x} (a+b x)^2}{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 (-c f+g) (c f+g) \sqrt {c^2 f^2-g^2} \sqrt {d-c^2 d x^2}}+\frac {\left (2 i g^3 \sqrt {1-c^2 x^2}\right ) \text {Subst}\left (\int \frac {e^{i x} (a+b x)^2}{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 (-c f+g) (c f+g) \sqrt {c^2 f^2-g^2} \sqrt {d-c^2 d x^2}}\\ &=-\frac {i \sqrt {1-c^2 x^2} \left (a+b \sin ^{-1}(c x)\right )^2}{2 d (c f-g) \sqrt {d-c^2 d x^2}}+\frac {i \sqrt {1-c^2 x^2} \left (a+b \sin ^{-1}(c x)\right )^2}{2 d (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 )^2 \cot \left (\frac {\pi }{4}+\frac {1}{2} \sin ^{-1}(c x)\right )}{2 d (c f-g) \sqrt {d-c^2 d x^2}}+\frac {i g^2 \sqrt {1-c^2 x^2} \left (a+b \sin ^{-1}(c x)\right )^2 \log \left (1-\frac {i e^{i \sin ^{-1}(c x)} g}{c f-\sqrt {c^2 f^2-g^2}}\right )}{d \left (c^2 f^2-g^2\right )^{3/2} \sqrt {d-c^2 d x^2}}-\frac {i g^2 \sqrt {1-c^2 x^2} \left (a+b \sin ^{-1}(c x)\right )^2 \log \left (1-\frac {i e^{i \sin ^{-1}(c x)} g}{c f+\sqrt {c^2 f^2-g^2}}\right )}{d \left (c^2 f^2-g^2\right )^{3/2} \sqrt {d-c^2 d x^2}}+\frac {\sqrt {1-c^2 x^2} \left (a+b \sin ^{-1}(c x)\right )^2 \tan \left (\frac {\pi }{4}+\frac {1}{2} \sin ^{-1}(c x)\right )}{2 d (c f+g) \sqrt {d-c^2 d x^2}}+\frac {\left (2 b \sqrt {1-c^2 x^2}\right ) \text {Subst}\left (\int \frac {e^{i x} (a+b x)}{1-i e^{i x}} \, dx,x,\sin ^{-1}(c x)\right )}{d (c f-g) \sqrt {d-c^2 d x^2}}-\frac {\left (2 b \sqrt {1-c^2 x^2}\right ) \text {Subst}\left (\int \frac {e^{-i x} (a+b x)}{1-i e^{-i x}} \, dx,x,\sin ^{-1}(c x)\right )}{d (c f+g) \sqrt {d-c^2 d x^2}}+\frac {\left (2 i b g^2 \sqrt {1-c^2 x^2}\right ) \text {Subst}\left (\int (a+b x) \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 (-c f+g) (c f+g) \sqrt {c^2 f^2-g^2} \sqrt {d-c^2 d x^2}}-\frac {\left (2 i b g^2 \sqrt {1-c^2 x^2}\right ) \text {Subst}\left (\int (a+b x) \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 (-c f+g) (c f+g) \sqrt {c^2 f^2-g^2} \sqrt {d-c^2 d x^2}}\\ &=-\frac {i \sqrt {1-c^2 x^2} \left (a+b \sin ^{-1}(c x)\right )^2}{2 d (c f-g) \sqrt {d-c^2 d x^2}}+\frac {i \sqrt {1-c^2 x^2} \left (a+b \sin ^{-1}(c x)\right )^2}{2 d (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 )^2 \cot \left (\frac {\pi }{4}+\frac {1}{2} \sin ^{-1}(c x)\right )}{2 d (c f-g) \sqrt {d-c^2 d x^2}}+\frac {2 b \sqrt {1-c^2 x^2} \left (a+b \sin ^{-1}(c x)\right ) \log \left (1-i e^{-i \sin ^{-1}(c x)}\right )}{d (c f+g) \sqrt {d-c^2 d x^2}}+\frac {2 b \sqrt {1-c^2 x^2} \left (a+b \sin ^{-1}(c x)\right ) \log \left (1-i e^{i \sin ^{-1}(c x)}\right )}{d (c f-g) \sqrt {d-c^2 d x^2}}+\frac {i g^2 \sqrt {1-c^2 x^2} \left (a+b \sin ^{-1}(c x)\right )^2 \log \left (1-\frac {i e^{i \sin ^{-1}(c x)} g}{c f-\sqrt {c^2 f^2-g^2}}\right )}{d \left (c^2 f^2-g^2\right )^{3/2} \sqrt {d-c^2 d x^2}}-\frac {i g^2 \sqrt {1-c^2 x^2} \left (a+b \sin ^{-1}(c x)\right )^2 \log \left (1-\frac {i e^{i \sin ^{-1}(c x)} g}{c f+\sqrt {c^2 f^2-g^2}}\right )}{d \left (c^2 f^2-g^2\right )^{3/2} \sqrt {d-c^2 d x^2}}+\frac {2 b g^2 \sqrt {1-c^2 x^2} \left (a+b \sin ^{-1}(c x)\right ) \text {Li}_2\left (\frac {i e^{i \sin ^{-1}(c x)} g}{c f-\sqrt {c^2 f^2-g^2}}\right )}{d \left (c^2 f^2-g^2\right )^{3/2} \sqrt {d-c^2 d x^2}}-\frac {2 b g^2 \sqrt {1-c^2 x^2} \left (a+b \sin ^{-1}(c x)\right ) \text {Li}_2\left (\frac {i e^{i \sin ^{-1}(c x)} g}{c f+\sqrt {c^2 f^2-g^2}}\right )}{d \left (c^2 f^2-g^2\right )^{3/2} \sqrt {d-c^2 d x^2}}+\frac {\sqrt {1-c^2 x^2} \left (a+b \sin ^{-1}(c x)\right )^2 \tan \left (\frac {\pi }{4}+\frac {1}{2} \sin ^{-1}(c x)\right )}{2 d (c f+g) \sqrt {d-c^2 d x^2}}-\frac {\left (2 b^2 \sqrt {1-c^2 x^2}\right ) \text {Subst}\left (\int \log \left (1-i e^{i x}\right ) \, dx,x,\sin ^{-1}(c x)\right )}{d (c f-g) \sqrt {d-c^2 d x^2}}-\frac {\left (2 b^2 \sqrt {1-c^2 x^2}\right ) \text {Subst}\left (\int \log \left (1-i e^{-i x}\right ) \, dx,x,\sin ^{-1}(c x)\right )}{d (c f+g) \sqrt {d-c^2 d x^2}}+\frac {\left (2 b^2 g^2 \sqrt {1-c^2 x^2}\right ) \text {Subst}\left (\int \text {Li}_2\left (\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 (-c f+g) (c f+g) \sqrt {c^2 f^2-g^2} \sqrt {d-c^2 d x^2}}-\frac {\left (2 b^2 g^2 \sqrt {1-c^2 x^2}\right ) \text {Subst}\left (\int \text {Li}_2\left (\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 (-c f+g) (c f+g) \sqrt {c^2 f^2-g^2} \sqrt {d-c^2 d x^2}}\\ &=-\frac {i \sqrt {1-c^2 x^2} \left (a+b \sin ^{-1}(c x)\right )^2}{2 d (c f-g) \sqrt {d-c^2 d x^2}}+\frac {i \sqrt {1-c^2 x^2} \left (a+b \sin ^{-1}(c x)\right )^2}{2 d (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 )^2 \cot \left (\frac {\pi }{4}+\frac {1}{2} \sin ^{-1}(c x)\right )}{2 d (c f-g) \sqrt {d-c^2 d x^2}}+\frac {2 b \sqrt {1-c^2 x^2} \left (a+b \sin ^{-1}(c x)\right ) \log \left (1-i e^{-i \sin ^{-1}(c x)}\right )}{d (c f+g) \sqrt {d-c^2 d x^2}}+\frac {2 b \sqrt {1-c^2 x^2} \left (a+b \sin ^{-1}(c x)\right ) \log \left (1-i e^{i \sin ^{-1}(c x)}\right )}{d (c f-g) \sqrt {d-c^2 d x^2}}+\frac {i g^2 \sqrt {1-c^2 x^2} \left (a+b \sin ^{-1}(c x)\right )^2 \log \left (1-\frac {i e^{i \sin ^{-1}(c x)} g}{c f-\sqrt {c^2 f^2-g^2}}\right )}{d \left (c^2 f^2-g^2\right )^{3/2} \sqrt {d-c^2 d x^2}}-\frac {i g^2 \sqrt {1-c^2 x^2} \left (a+b \sin ^{-1}(c x)\right )^2 \log \left (1-\frac {i e^{i \sin ^{-1}(c x)} g}{c f+\sqrt {c^2 f^2-g^2}}\right )}{d \left (c^2 f^2-g^2\right )^{3/2} \sqrt {d-c^2 d x^2}}+\frac {2 b g^2 \sqrt {1-c^2 x^2} \left (a+b \sin ^{-1}(c x)\right ) \text {Li}_2\left (\frac {i e^{i \sin ^{-1}(c x)} g}{c f-\sqrt {c^2 f^2-g^2}}\right )}{d \left (c^2 f^2-g^2\right )^{3/2} \sqrt {d-c^2 d x^2}}-\frac {2 b g^2 \sqrt {1-c^2 x^2} \left (a+b \sin ^{-1}(c x)\right ) \text {Li}_2\left (\frac {i e^{i \sin ^{-1}(c x)} g}{c f+\sqrt {c^2 f^2-g^2}}\right )}{d \left (c^2 f^2-g^2\right )^{3/2} \sqrt {d-c^2 d x^2}}+\frac {\sqrt {1-c^2 x^2} \left (a+b \sin ^{-1}(c x)\right )^2 \tan \left (\frac {\pi }{4}+\frac {1}{2} \sin ^{-1}(c x)\right )}{2 d (c f+g) \sqrt {d-c^2 d x^2}}+\frac {\left (2 i b^2 \sqrt {1-c^2 x^2}\right ) \text {Subst}\left (\int \frac {\log (1-i x)}{x} \, dx,x,e^{i \sin ^{-1}(c x)}\right )}{d (c f-g) \sqrt {d-c^2 d x^2}}-\frac {\left (2 i b^2 \sqrt {1-c^2 x^2}\right ) \text {Subst}\left (\int \frac {\log (1-i x)}{x} \, dx,x,e^{-i \sin ^{-1}(c x)}\right )}{d (c f+g) \sqrt {d-c^2 d x^2}}-\frac {\left (2 i b^2 g^2 \sqrt {1-c^2 x^2}\right ) \text {Subst}\left (\int \frac {\text {Li}_2\left (\frac {i g x}{c f-\sqrt {c^2 f^2-g^2}}\right )}{x} \, dx,x,e^{i \sin ^{-1}(c x)}\right )}{d (-c f+g) (c f+g) \sqrt {c^2 f^2-g^2} \sqrt {d-c^2 d x^2}}+\frac {\left (2 i b^2 g^2 \sqrt {1-c^2 x^2}\right ) \text {Subst}\left (\int \frac {\text {Li}_2\left (\frac {i g x}{c f+\sqrt {c^2 f^2-g^2}}\right )}{x} \, dx,x,e^{i \sin ^{-1}(c x)}\right )}{d (-c f+g) (c f+g) \sqrt {c^2 f^2-g^2} \sqrt {d-c^2 d x^2}}\\ &=-\frac {i \sqrt {1-c^2 x^2} \left (a+b \sin ^{-1}(c x)\right )^2}{2 d (c f-g) \sqrt {d-c^2 d x^2}}+\frac {i \sqrt {1-c^2 x^2} \left (a+b \sin ^{-1}(c x)\right )^2}{2 d (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 )^2 \cot \left (\frac {\pi }{4}+\frac {1}{2} \sin ^{-1}(c x)\right )}{2 d (c f-g) \sqrt {d-c^2 d x^2}}+\frac {2 b \sqrt {1-c^2 x^2} \left (a+b \sin ^{-1}(c x)\right ) \log \left (1-i e^{-i \sin ^{-1}(c x)}\right )}{d (c f+g) \sqrt {d-c^2 d x^2}}+\frac {2 b \sqrt {1-c^2 x^2} \left (a+b \sin ^{-1}(c x)\right ) \log \left (1-i e^{i \sin ^{-1}(c x)}\right )}{d (c f-g) \sqrt {d-c^2 d x^2}}+\frac {i g^2 \sqrt {1-c^2 x^2} \left (a+b \sin ^{-1}(c x)\right )^2 \log \left (1-\frac {i e^{i \sin ^{-1}(c x)} g}{c f-\sqrt {c^2 f^2-g^2}}\right )}{d \left (c^2 f^2-g^2\right )^{3/2} \sqrt {d-c^2 d x^2}}-\frac {i g^2 \sqrt {1-c^2 x^2} \left (a+b \sin ^{-1}(c x)\right )^2 \log \left (1-\frac {i e^{i \sin ^{-1}(c x)} g}{c f+\sqrt {c^2 f^2-g^2}}\right )}{d \left (c^2 f^2-g^2\right )^{3/2} \sqrt {d-c^2 d x^2}}+\frac {2 i b^2 \sqrt {1-c^2 x^2} \text {Li}_2\left (i e^{-i \sin ^{-1}(c x)}\right )}{d (c f+g) \sqrt {d-c^2 d x^2}}-\frac {2 i b^2 \sqrt {1-c^2 x^2} \text {Li}_2\left (i e^{i \sin ^{-1}(c x)}\right )}{d (c f-g) \sqrt {d-c^2 d x^2}}+\frac {2 b g^2 \sqrt {1-c^2 x^2} \left (a+b \sin ^{-1}(c x)\right ) \text {Li}_2\left (\frac {i e^{i \sin ^{-1}(c x)} g}{c f-\sqrt {c^2 f^2-g^2}}\right )}{d \left (c^2 f^2-g^2\right )^{3/2} \sqrt {d-c^2 d x^2}}-\frac {2 b g^2 \sqrt {1-c^2 x^2} \left (a+b \sin ^{-1}(c x)\right ) \text {Li}_2\left (\frac {i e^{i \sin ^{-1}(c x)} g}{c f+\sqrt {c^2 f^2-g^2}}\right )}{d \left (c^2 f^2-g^2\right )^{3/2} \sqrt {d-c^2 d x^2}}+\frac {2 i b^2 g^2 \sqrt {1-c^2 x^2} \text {Li}_3\left (\frac {i e^{i \sin ^{-1}(c x)} g}{c f-\sqrt {c^2 f^2-g^2}}\right )}{d \left (c^2 f^2-g^2\right )^{3/2} \sqrt {d-c^2 d x^2}}-\frac {2 i b^2 g^2 \sqrt {1-c^2 x^2} \text {Li}_3\left (\frac {i e^{i \sin ^{-1}(c x)} g}{c f+\sqrt {c^2 f^2-g^2}}\right )}{d \left (c^2 f^2-g^2\right )^{3/2} \sqrt {d-c^2 d x^2}}+\frac {\sqrt {1-c^2 x^2} \left (a+b \sin ^{-1}(c x)\right )^2 \tan \left (\frac {\pi }{4}+\frac {1}{2} \sin ^{-1}(c x)\right )}{2 d (c f+g) \sqrt {d-c^2 d x^2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 3.41, size = 597, normalized size = 0.53 \begin {gather*} \frac {\sqrt {1-c^2 x^2} \left (\frac {-\left ((a+b \text {ArcSin}(c x)) \left (-i a+a \cot \left (\frac {1}{4} (\pi +2 \text {ArcSin}(c x))\right )+b \text {ArcSin}(c x) \left (-i+\cot \left (\frac {1}{4} (\pi +2 \text {ArcSin}(c x))\right )\right )-4 b \log \left (1+i e^{-i \text {ArcSin}(c x)}\right )\right )\right )+4 i b^2 \text {PolyLog}\left (2,-i e^{-i \text {ArcSin}(c x)}\right )}{c f-g}+\frac {2 i g^2 \left ((a+b \text {ArcSin}(c x))^2 \log \left (1+\frac {i e^{i \text {ArcSin}(c x)} g}{-c f+\sqrt {c^2 f^2-g^2}}\right )-(a+b \text {ArcSin}(c x))^2 \log \left (1-\frac {i e^{i \text {ArcSin}(c x)} g}{c f+\sqrt {c^2 f^2-g^2}}\right )-2 i b (a+b \text {ArcSin}(c x)) \text {PolyLog}\left (2,\frac {i e^{i \text {ArcSin}(c x)} g}{c f-\sqrt {c^2 f^2-g^2}}\right )+2 i b (a+b \text {ArcSin}(c x)) \text {PolyLog}\left (2,\frac {i e^{i \text {ArcSin}(c x)} g}{c f+\sqrt {c^2 f^2-g^2}}\right )+2 b^2 \text {PolyLog}\left (3,\frac {i e^{i \text {ArcSin}(c x)} g}{c f-\sqrt {c^2 f^2-g^2}}\right )-2 b^2 \text {PolyLog}\left (3,\frac {i e^{i \text {ArcSin}(c x)} g}{c f+\sqrt {c^2 f^2-g^2}}\right )\right )}{(c f-g) (c f+g) \sqrt {c^2 f^2-g^2}}+\frac {-4 i b^2 \text {PolyLog}\left (2,-i e^{i \text {ArcSin}(c x)}\right )+(a+b \text {ArcSin}(c x)) \left (-i a+4 b \log \left (1+i e^{i \text {ArcSin}(c x)}\right )+a \tan \left (\frac {1}{4} (\pi +2 \text {ArcSin}(c x))\right )+b \text {ArcSin}(c x) \left (-i+\tan \left (\frac {1}{4} (\pi +2 \text {ArcSin}(c x))\right )\right )\right )}{c f+g}\right )}{2 d \sqrt {d-c^2 d x^2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.00, size = 0, normalized size = 0.00 \[\int \frac {\left (a +b \arcsin \left (c x \right )\right )^{2}}{\left (g x +f \right ) \left (-c^{2} d \,x^{2}+d \right )^{\frac {3}{2}}}\, dx\]
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 {\left (a + b \operatorname {asin}{\left (c x \right )}\right )^{2}}{\left (- d \left (c x - 1\right ) \left (c x + 1\right )\right )^{\frac {3}{2}} \left (f + g x\right )}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: TypeError} \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 {{\left (a+b\,\mathrm {asin}\left (c\,x\right )\right )}^2}{\left (f+g\,x\right )\,{\left (d-c^2\,d\,x^2\right )}^{3/2}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________