Optimal. Leaf size=144 \[ \frac {\left (g+c^2 f x\right ) (a+b \text {ArcSin}(c x))}{c^2 d \sqrt {d-c^2 d x^2}}+\frac {b (c f+g) \sqrt {1-c^2 x^2} \log (1-c x)}{2 c^2 d \sqrt {d-c^2 d x^2}}+\frac {b (c f-g) \sqrt {1-c^2 x^2} \log (1+c x)}{2 c^2 d \sqrt {d-c^2 d x^2}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.13, antiderivative size = 144, normalized size of antiderivative = 1.00, number of steps
used = 6, number of rules used = 6, integrand size = 29, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.207, Rules used = {4861, 651,
4845, 12, 647, 31} \begin {gather*} \frac {\left (c^2 f x+g\right ) (a+b \text {ArcSin}(c x))}{c^2 d \sqrt {d-c^2 d x^2}}+\frac {b \sqrt {1-c^2 x^2} (c f+g) \log (1-c x)}{2 c^2 d \sqrt {d-c^2 d x^2}}+\frac {b \sqrt {1-c^2 x^2} (c f-g) \log (c x+1)}{2 c^2 d \sqrt {d-c^2 d x^2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 31
Rule 647
Rule 651
Rule 4845
Rule 4861
Rubi steps
\begin {align*} \int \frac {(f+g x) \left (a+b \sin ^{-1}(c x)\right )}{\left (d-c^2 d x^2\right )^{3/2}} \, dx &=\frac {\sqrt {1-c^2 x^2} \int \frac {(f+g x) \left (a+b \sin ^{-1}(c x)\right )}{\left (1-c^2 x^2\right )^{3/2}} \, dx}{d \sqrt {d-c^2 d x^2}}\\ &=\frac {\left (g+c^2 f x\right ) \left (a+b \sin ^{-1}(c x)\right )}{c^2 d \sqrt {d-c^2 d x^2}}-\frac {\left (b c \sqrt {1-c^2 x^2}\right ) \int \frac {g+c^2 f x}{c^2 \left (1-c^2 x^2\right )} \, dx}{d \sqrt {d-c^2 d x^2}}\\ &=\frac {\left (g+c^2 f x\right ) \left (a+b \sin ^{-1}(c x)\right )}{c^2 d \sqrt {d-c^2 d x^2}}-\frac {\left (b \sqrt {1-c^2 x^2}\right ) \int \frac {g+c^2 f x}{1-c^2 x^2} \, dx}{c d \sqrt {d-c^2 d x^2}}\\ &=\frac {\left (g+c^2 f x\right ) \left (a+b \sin ^{-1}(c x)\right )}{c^2 d \sqrt {d-c^2 d x^2}}-\frac {\left (b (c f-g) \sqrt {1-c^2 x^2}\right ) \int \frac {1}{-c-c^2 x} \, dx}{2 d \sqrt {d-c^2 d x^2}}-\frac {\left (b (c f+g) \sqrt {1-c^2 x^2}\right ) \int \frac {1}{c-c^2 x} \, dx}{2 d \sqrt {d-c^2 d x^2}}\\ &=\frac {\left (g+c^2 f x\right ) \left (a+b \sin ^{-1}(c x)\right )}{c^2 d \sqrt {d-c^2 d x^2}}+\frac {b (c f+g) \sqrt {1-c^2 x^2} \log (1-c x)}{2 c^2 d \sqrt {d-c^2 d x^2}}+\frac {b (c f-g) \sqrt {1-c^2 x^2} \log (1+c x)}{2 c^2 d \sqrt {d-c^2 d x^2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.37, size = 135, normalized size = 0.94 \begin {gather*} \frac {\sqrt {1-c^2 x^2} \left ((c f-g) \left (-\left ((a+b \text {ArcSin}(c x)) \cot \left (\frac {1}{4} (\pi +2 \text {ArcSin}(c x))\right )\right )+2 b \log \left (\sin \left (\frac {1}{4} (\pi +2 \text {ArcSin}(c x))\right )\right )\right )+(c f+g) \left (2 b \log \left (\cos \left (\frac {1}{4} (\pi +2 \text {ArcSin}(c x))\right )\right )+(a+b \text {ArcSin}(c x)) \tan \left (\frac {1}{4} (\pi +2 \text {ArcSin}(c x))\right )\right )\right )}{2 c^2 d \sqrt {d-c^2 d x^2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] Result contains complex when optimal does not.
time = 0.49, size = 444, normalized size = 3.08
method | result | size |
default | \(a \left (\frac {g}{c^{2} d \sqrt {-c^{2} d \,x^{2}+d}}+\frac {f x}{d \sqrt {-c^{2} d \,x^{2}+d}}\right )+\frac {i b \sqrt {-c^{2} x^{2}+1}\, \sqrt {-d \left (c^{2} x^{2}-1\right )}\, f \arcsin \left (c x \right )}{c \,d^{2} \left (c^{2} x^{2}-1\right )}-\frac {b \sqrt {-d \left (c^{2} x^{2}-1\right )}\, \arcsin \left (c x \right ) x f}{d^{2} \left (c^{2} x^{2}-1\right )}-\frac {b \sqrt {-d \left (c^{2} x^{2}-1\right )}\, \arcsin \left (c x \right ) g}{c^{2} d^{2} \left (c^{2} x^{2}-1\right )}-\frac {b \sqrt {-c^{2} x^{2}+1}\, \sqrt {-d \left (c^{2} x^{2}-1\right )}\, \ln \left (i c x +\sqrt {-c^{2} x^{2}+1}+i\right ) f}{c \,d^{2} \left (c^{2} x^{2}-1\right )}+\frac {b \sqrt {-c^{2} x^{2}+1}\, \sqrt {-d \left (c^{2} x^{2}-1\right )}\, \ln \left (i c x +\sqrt {-c^{2} x^{2}+1}+i\right ) g}{c^{2} d^{2} \left (c^{2} x^{2}-1\right )}-\frac {b \sqrt {-c^{2} x^{2}+1}\, \sqrt {-d \left (c^{2} x^{2}-1\right )}\, \ln \left (i c x +\sqrt {-c^{2} x^{2}+1}-i\right ) f}{c \,d^{2} \left (c^{2} x^{2}-1\right )}-\frac {b \sqrt {-c^{2} x^{2}+1}\, \sqrt {-d \left (c^{2} x^{2}-1\right )}\, \ln \left (i c x +\sqrt {-c^{2} x^{2}+1}-i\right ) g}{c^{2} d^{2} \left (c^{2} x^{2}-1\right )}\) | \(444\) |
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 ) \left (f + g x\right )}{\left (- d \left (c x - 1\right ) \left (c x + 1\right )\right )^{\frac {3}{2}}}\, 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.01 \begin {gather*} \int \frac {\left (f+g\,x\right )\,\left (a+b\,\mathrm {asin}\left (c\,x\right )\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]
________________________________________________________________________________________