Optimal. Leaf size=85 \[ -\frac {a+b \text {ArcSin}(c x)}{e (d+e x)}+\frac {b c \text {ArcTan}\left (\frac {e+c^2 d x}{\sqrt {c^2 d^2-e^2} \sqrt {1-c^2 x^2}}\right )}{e \sqrt {c^2 d^2-e^2}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.04, antiderivative size = 85, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 3, integrand size = 16, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.188, Rules used = {4827, 739, 210}
\begin {gather*} \frac {b c \text {ArcTan}\left (\frac {c^2 d x+e}{\sqrt {1-c^2 x^2} \sqrt {c^2 d^2-e^2}}\right )}{e \sqrt {c^2 d^2-e^2}}-\frac {a+b \text {ArcSin}(c x)}{e (d+e x)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 210
Rule 739
Rule 4827
Rubi steps
\begin {align*} \int \frac {a+b \sin ^{-1}(c x)}{(d+e x)^2} \, dx &=-\frac {a+b \sin ^{-1}(c x)}{e (d+e x)}+\frac {(b c) \int \frac {1}{(d+e x) \sqrt {1-c^2 x^2}} \, dx}{e}\\ &=-\frac {a+b \sin ^{-1}(c x)}{e (d+e x)}-\frac {(b c) \text {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}\\ &=-\frac {a+b \sin ^{-1}(c x)}{e (d+e x)}+\frac {b c \tan ^{-1}\left (\frac {e+c^2 d x}{\sqrt {c^2 d^2-e^2} \sqrt {1-c^2 x^2}}\right )}{e \sqrt {c^2 d^2-e^2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.10, size = 83, normalized size = 0.98 \begin {gather*} \frac {-\frac {a+b \text {ArcSin}(c x)}{d+e x}+\frac {b c \text {ArcTan}\left (\frac {e+c^2 d x}{\sqrt {c^2 d^2-e^2} \sqrt {1-c^2 x^2}}\right )}{\sqrt {c^2 d^2-e^2}}}{e} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(200\) vs.
\(2(81)=162\).
time = 0.82, size = 201, normalized size = 2.36
method | result | size |
derivativedivides | \(\frac {-\frac {a \,c^{2}}{\left (c e x +d c \right ) e}-\frac {b \,c^{2} \arcsin \left (c x \right )}{\left (c e x +d c \right ) e}-\frac {b \,c^{2} \ln \left (\frac {-\frac {2 \left (c^{2} d^{2}-e^{2}\right )}{e^{2}}+\frac {2 d c \left (c x +\frac {d c}{e}\right )}{e}+2 \sqrt {-\frac {c^{2} d^{2}-e^{2}}{e^{2}}}\, \sqrt {-\left (c x +\frac {d c}{e}\right )^{2}+\frac {2 d c \left (c x +\frac {d c}{e}\right )}{e}-\frac {c^{2} d^{2}-e^{2}}{e^{2}}}}{c x +\frac {d c}{e}}\right )}{e^{2} \sqrt {-\frac {c^{2} d^{2}-e^{2}}{e^{2}}}}}{c}\) | \(201\) |
default | \(\frac {-\frac {a \,c^{2}}{\left (c e x +d c \right ) e}-\frac {b \,c^{2} \arcsin \left (c x \right )}{\left (c e x +d c \right ) e}-\frac {b \,c^{2} \ln \left (\frac {-\frac {2 \left (c^{2} d^{2}-e^{2}\right )}{e^{2}}+\frac {2 d c \left (c x +\frac {d c}{e}\right )}{e}+2 \sqrt {-\frac {c^{2} d^{2}-e^{2}}{e^{2}}}\, \sqrt {-\left (c x +\frac {d c}{e}\right )^{2}+\frac {2 d c \left (c x +\frac {d c}{e}\right )}{e}-\frac {c^{2} d^{2}-e^{2}}{e^{2}}}}{c x +\frac {d c}{e}}\right )}{e^{2} \sqrt {-\frac {c^{2} d^{2}-e^{2}}{e^{2}}}}}{c}\) | \(201\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: ValueError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 166 vs.
\(2 (77) = 154\).
time = 2.48, size = 359, normalized size = 4.22 \begin {gather*} \left [-\frac {2 \, a c^{2} d^{2} + \sqrt {-c^{2} d^{2} + e^{2}} {\left (b c x e + b c d\right )} \log \left (\frac {2 \, c^{4} d^{2} x^{2} + 2 \, c^{2} d x e - c^{2} d^{2} - 2 \, \sqrt {-c^{2} d^{2} + e^{2}} {\left (c^{2} d x + e\right )} \sqrt {-c^{2} x^{2} + 1} - {\left (c^{2} x^{2} - 2\right )} e^{2}}{x^{2} e^{2} + 2 \, d x e + d^{2}}\right ) + 2 \, {\left (b c^{2} d^{2} - b e^{2}\right )} \arcsin \left (c x\right ) - 2 \, a e^{2}}{2 \, {\left (c^{2} d^{2} x e^{2} + c^{2} d^{3} e - x e^{4} - d e^{3}\right )}}, -\frac {a c^{2} d^{2} - \sqrt {c^{2} d^{2} - e^{2}} {\left (b c x e + b c d\right )} \arctan \left (-\frac {\sqrt {c^{2} d^{2} - e^{2}} {\left (c^{2} d x + e\right )} \sqrt {-c^{2} x^{2} + 1}}{c^{4} d^{2} x^{2} - c^{2} d^{2} - {\left (c^{2} x^{2} - 1\right )} e^{2}}\right ) + {\left (b c^{2} d^{2} - b e^{2}\right )} \arcsin \left (c x\right ) - a e^{2}}{c^{2} d^{2} x e^{2} + c^{2} d^{3} e - x e^{4} - d e^{3}}\right ] \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 + e x\right )^{2}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] Leaf count of result is larger than twice the leaf count of optimal. 200 vs.
\(2 (79) = 158\).
time = 0.39, size = 200, normalized size = 2.35 \begin {gather*} -\frac {b e^{2} {\left (\frac {2 \, c^{2} \arctan \left (\frac {\frac {c d e {\left (\sqrt {-\frac {{\left (e x + d\right )}^{2} {\left (c - \frac {c d}{e x + d}\right )}^{2}}{e^{2}} + 1} - 1\right )}}{{\left (e x + d\right )} {\left (c - \frac {c d}{e x + d}\right )}} - e}{\sqrt {c^{2} d^{2} - e^{2}}}\right )}{\sqrt {c^{2} d^{2} - e^{2}} e^{3}} + \frac {c^{2} \arcsin \left (-\frac {c {\left (d - \frac {\frac {{\left (e x + d\right )} {\left (c - \frac {c d}{e x + d}\right )} e}{c} + d e}{e}\right )}}{e}\right )}{{\left ({\left (e x + d\right )} {\left (c - \frac {c d}{e x + d}\right )} + c d\right )} e^{3}}\right )}}{c} - \frac {a}{{\left (e x + d\right )} e} \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 {a+b\,\mathrm {asin}\left (c\,x\right )}{{\left (d+e\,x\right )}^2} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________