Optimal. Leaf size=144 \[ -\frac {b \sqrt {1-(a+b x)^2}}{6 \left (1-a^2\right ) x^2}-\frac {a b^2 \sqrt {1-(a+b x)^2}}{2 \left (1-a^2\right )^2 x}-\frac {\text {ArcSin}(a+b x)}{3 x^3}-\frac {\left (1+2 a^2\right ) b^3 \tanh ^{-1}\left (\frac {1-a (a+b x)}{\sqrt {1-a^2} \sqrt {1-(a+b x)^2}}\right )}{6 \left (1-a^2\right )^{5/2}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.12, antiderivative size = 144, normalized size of antiderivative = 1.00, number of steps
used = 6, number of rules used = 6, integrand size = 10, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.600, Rules used = {4889, 4827,
759, 821, 739, 212} \begin {gather*} -\frac {\left (2 a^2+1\right ) b^3 \tanh ^{-1}\left (\frac {1-a (a+b x)}{\sqrt {1-a^2} \sqrt {1-(a+b x)^2}}\right )}{6 \left (1-a^2\right )^{5/2}}-\frac {a b^2 \sqrt {1-(a+b x)^2}}{2 \left (1-a^2\right )^2 x}-\frac {b \sqrt {1-(a+b x)^2}}{6 \left (1-a^2\right ) x^2}-\frac {\text {ArcSin}(a+b x)}{3 x^3} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 212
Rule 739
Rule 759
Rule 821
Rule 4827
Rule 4889
Rubi steps
\begin {align*} \int \frac {\sin ^{-1}(a+b x)}{x^4} \, dx &=\frac {\text {Subst}\left (\int \frac {\sin ^{-1}(x)}{\left (-\frac {a}{b}+\frac {x}{b}\right )^4} \, dx,x,a+b x\right )}{b}\\ &=-\frac {\sin ^{-1}(a+b x)}{3 x^3}+\frac {1}{3} \text {Subst}\left (\int \frac {1}{\left (-\frac {a}{b}+\frac {x}{b}\right )^3 \sqrt {1-x^2}} \, dx,x,a+b x\right )\\ &=-\frac {b \sqrt {1-(a+b x)^2}}{6 \left (1-a^2\right ) x^2}-\frac {\sin ^{-1}(a+b x)}{3 x^3}+\frac {b^2 \text {Subst}\left (\int \frac {\frac {2 a}{b}+\frac {x}{b}}{\left (-\frac {a}{b}+\frac {x}{b}\right )^2 \sqrt {1-x^2}} \, dx,x,a+b x\right )}{6 \left (1-a^2\right )}\\ &=-\frac {b \sqrt {1-(a+b x)^2}}{6 \left (1-a^2\right ) x^2}-\frac {a b^2 \sqrt {1-(a+b x)^2}}{2 \left (1-a^2\right )^2 x}-\frac {\sin ^{-1}(a+b x)}{3 x^3}+\frac {\left (\left (1+2 a^2\right ) b^2\right ) \text {Subst}\left (\int \frac {1}{\left (-\frac {a}{b}+\frac {x}{b}\right ) \sqrt {1-x^2}} \, dx,x,a+b x\right )}{6 \left (1-a^2\right )^2}\\ &=-\frac {b \sqrt {1-(a+b x)^2}}{6 \left (1-a^2\right ) x^2}-\frac {a b^2 \sqrt {1-(a+b x)^2}}{2 \left (1-a^2\right )^2 x}-\frac {\sin ^{-1}(a+b x)}{3 x^3}-\frac {\left (\left (1+2 a^2\right ) b^2\right ) \text {Subst}\left (\int \frac {1}{\frac {1}{b^2}-\frac {a^2}{b^2}-x^2} \, dx,x,\frac {\frac {1}{b}-\frac {a (a+b x)}{b}}{\sqrt {1-(a+b x)^2}}\right )}{6 \left (1-a^2\right )^2}\\ &=-\frac {b \sqrt {1-(a+b x)^2}}{6 \left (1-a^2\right ) x^2}-\frac {a b^2 \sqrt {1-(a+b x)^2}}{2 \left (1-a^2\right )^2 x}-\frac {\sin ^{-1}(a+b x)}{3 x^3}-\frac {\left (1+2 a^2\right ) b^3 \tanh ^{-1}\left (\frac {1-a (a+b x)}{\sqrt {1-a^2} \sqrt {1-(a+b x)^2}}\right )}{6 \left (1-a^2\right )^{5/2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.15, size = 166, normalized size = 1.15 \begin {gather*} \frac {\sqrt {1-a^2} b x \left (-1+a^2-3 a b x\right ) \sqrt {1-a^2-2 a b x-b^2 x^2}-2 \left (1-a^2\right )^{5/2} \text {ArcSin}(a+b x)+\left (1+2 a^2\right ) b^3 x^3 \log (x)-\left (1+2 a^2\right ) b^3 x^3 \log \left (1-a^2-a b x+\sqrt {1-a^2} \sqrt {1-a^2-2 a b x-b^2 x^2}\right )}{6 \left (1-a^2\right )^{5/2} x^3} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.01, size = 240, normalized size = 1.67
method | result | size |
derivativedivides | \(b^{3} \left (-\frac {\arcsin \left (b x +a \right )}{3 b^{3} x^{3}}-\frac {\sqrt {-b^{2} x^{2}-2 a b x -a^{2}+1}}{6 \left (-a^{2}+1\right ) b^{2} x^{2}}+\frac {a \left (-\frac {\sqrt {-b^{2} x^{2}-2 a b x -a^{2}+1}}{\left (-a^{2}+1\right ) b x}-\frac {a \ln \left (\frac {-2 a^{2}+2-2 a b x +2 \sqrt {-a^{2}+1}\, \sqrt {-b^{2} x^{2}-2 a b x -a^{2}+1}}{b x}\right )}{\left (-a^{2}+1\right )^{\frac {3}{2}}}\right )}{-2 a^{2}+2}-\frac {\ln \left (\frac {-2 a^{2}+2-2 a b x +2 \sqrt {-a^{2}+1}\, \sqrt {-b^{2} x^{2}-2 a b x -a^{2}+1}}{b x}\right )}{6 \left (-a^{2}+1\right )^{\frac {3}{2}}}\right )\) | \(240\) |
default | \(b^{3} \left (-\frac {\arcsin \left (b x +a \right )}{3 b^{3} x^{3}}-\frac {\sqrt {-b^{2} x^{2}-2 a b x -a^{2}+1}}{6 \left (-a^{2}+1\right ) b^{2} x^{2}}+\frac {a \left (-\frac {\sqrt {-b^{2} x^{2}-2 a b x -a^{2}+1}}{\left (-a^{2}+1\right ) b x}-\frac {a \ln \left (\frac {-2 a^{2}+2-2 a b x +2 \sqrt {-a^{2}+1}\, \sqrt {-b^{2} x^{2}-2 a b x -a^{2}+1}}{b x}\right )}{\left (-a^{2}+1\right )^{\frac {3}{2}}}\right )}{-2 a^{2}+2}-\frac {\ln \left (\frac {-2 a^{2}+2-2 a b x +2 \sqrt {-a^{2}+1}\, \sqrt {-b^{2} x^{2}-2 a b x -a^{2}+1}}{b x}\right )}{6 \left (-a^{2}+1\right )^{\frac {3}{2}}}\right )\) | \(240\) |
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 [A]
time = 3.45, size = 404, normalized size = 2.81 \begin {gather*} \left [-\frac {{\left (2 \, a^{2} + 1\right )} \sqrt {-a^{2} + 1} b^{3} x^{3} \log \left (\frac {{\left (2 \, a^{2} - 1\right )} b^{2} x^{2} + 2 \, a^{4} + 4 \, {\left (a^{3} - a\right )} b x + 2 \, \sqrt {-b^{2} x^{2} - 2 \, a b x - a^{2} + 1} {\left (a b x + a^{2} - 1\right )} \sqrt {-a^{2} + 1} - 4 \, a^{2} + 2}{x^{2}}\right ) + 4 \, {\left (a^{6} - 3 \, a^{4} + 3 \, a^{2} - 1\right )} \arcsin \left (b x + a\right ) + 2 \, {\left (3 \, {\left (a^{3} - a\right )} b^{2} x^{2} - {\left (a^{4} - 2 \, a^{2} + 1\right )} b x\right )} \sqrt {-b^{2} x^{2} - 2 \, a b x - a^{2} + 1}}{12 \, {\left (a^{6} - 3 \, a^{4} + 3 \, a^{2} - 1\right )} x^{3}}, \frac {{\left (2 \, a^{2} + 1\right )} \sqrt {a^{2} - 1} b^{3} x^{3} \arctan \left (\frac {\sqrt {-b^{2} x^{2} - 2 \, a b x - a^{2} + 1} {\left (a b x + a^{2} - 1\right )} \sqrt {a^{2} - 1}}{{\left (a^{2} - 1\right )} b^{2} x^{2} + a^{4} + 2 \, {\left (a^{3} - a\right )} b x - 2 \, a^{2} + 1}\right ) - 2 \, {\left (a^{6} - 3 \, a^{4} + 3 \, a^{2} - 1\right )} \arcsin \left (b x + a\right ) - {\left (3 \, {\left (a^{3} - a\right )} b^{2} x^{2} - {\left (a^{4} - 2 \, a^{2} + 1\right )} b x\right )} \sqrt {-b^{2} x^{2} - 2 \, a b x - a^{2} + 1}}{6 \, {\left (a^{6} - 3 \, a^{4} + 3 \, a^{2} - 1\right )} x^{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 {\operatorname {asin}{\left (a + b x \right )}}{x^{4}}\, 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. 557 vs.
\(2 (122) = 244\).
time = 0.44, size = 557, normalized size = 3.87 \begin {gather*} \frac {1}{3} \, b {\left (\frac {{\left (2 \, a^{2} b^{3} + b^{3}\right )} \arctan \left (\frac {\frac {{\left (\sqrt {-b^{2} x^{2} - 2 \, a b x - a^{2} + 1} {\left | b \right |} + b\right )} a}{b^{2} x + a b} - 1}{\sqrt {a^{2} - 1}}\right )}{{\left (a^{4} {\left | b \right |} - 2 \, a^{2} {\left | b \right |} + {\left | b \right |}\right )} \sqrt {a^{2} - 1}} - \frac {\frac {4 \, {\left (\sqrt {-b^{2} x^{2} - 2 \, a b x - a^{2} + 1} {\left | b \right |} + b\right )}^{2} a^{4} b^{3}}{{\left (b^{2} x + a b\right )}^{2}} + 4 \, a^{4} b^{3} - \frac {11 \, {\left (\sqrt {-b^{2} x^{2} - 2 \, a b x - a^{2} + 1} {\left | b \right |} + b\right )} a^{3} b^{3}}{b^{2} x + a b} - \frac {5 \, {\left (\sqrt {-b^{2} x^{2} - 2 \, a b x - a^{2} + 1} {\left | b \right |} + b\right )}^{3} a^{3} b^{3}}{{\left (b^{2} x + a b\right )}^{3}} + \frac {7 \, {\left (\sqrt {-b^{2} x^{2} - 2 \, a b x - a^{2} + 1} {\left | b \right |} + b\right )}^{2} a^{2} b^{3}}{{\left (b^{2} x + a b\right )}^{2}} - a^{2} b^{3} + \frac {2 \, {\left (\sqrt {-b^{2} x^{2} - 2 \, a b x - a^{2} + 1} {\left | b \right |} + b\right )} a b^{3}}{b^{2} x + a b} + \frac {2 \, {\left (\sqrt {-b^{2} x^{2} - 2 \, a b x - a^{2} + 1} {\left | b \right |} + b\right )}^{3} a b^{3}}{{\left (b^{2} x + a b\right )}^{3}} - \frac {2 \, {\left (\sqrt {-b^{2} x^{2} - 2 \, a b x - a^{2} + 1} {\left | b \right |} + b\right )}^{2} b^{3}}{{\left (b^{2} x + a b\right )}^{2}}}{{\left (a^{6} {\left | b \right |} - 2 \, a^{4} {\left | b \right |} + a^{2} {\left | b \right |}\right )} {\left (\frac {{\left (\sqrt {-b^{2} x^{2} - 2 \, a b x - a^{2} + 1} {\left | b \right |} + b\right )}^{2} a}{{\left (b^{2} x + a b\right )}^{2}} + a - \frac {2 \, {\left (\sqrt {-b^{2} x^{2} - 2 \, a b x - a^{2} + 1} {\left | b \right |} + b\right )}}{b^{2} x + a b}\right )}^{2}}\right )} - \frac {\arcsin \left (b x + a\right )}{3 \, x^{3}} \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 {\mathrm {asin}\left (a+b\,x\right )}{x^4} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________