Optimal. Leaf size=92 \[ -\frac {b \sqrt {1+(a+b x)^2}}{2 \left (1+a^2\right ) x}-\frac {\sinh ^{-1}(a+b x)}{2 x^2}+\frac {a b^2 \tanh ^{-1}\left (\frac {1+a (a+b x)}{\sqrt {1+a^2} \sqrt {1+(a+b x)^2}}\right )}{2 \left (1+a^2\right )^{3/2}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.07, antiderivative size = 92, normalized size of antiderivative = 1.00, number of steps
used = 5, number of rules used = 5, integrand size = 10, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.500, Rules used = {5859, 5828,
745, 739, 212} \begin {gather*} \frac {a b^2 \tanh ^{-1}\left (\frac {a (a+b x)+1}{\sqrt {a^2+1} \sqrt {(a+b x)^2+1}}\right )}{2 \left (a^2+1\right )^{3/2}}-\frac {b \sqrt {(a+b x)^2+1}}{2 \left (a^2+1\right ) x}-\frac {\sinh ^{-1}(a+b x)}{2 x^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 212
Rule 739
Rule 745
Rule 5828
Rule 5859
Rubi steps
\begin {align*} \int \frac {\sinh ^{-1}(a+b x)}{x^3} \, dx &=\frac {\text {Subst}\left (\int \frac {\sinh ^{-1}(x)}{\left (-\frac {a}{b}+\frac {x}{b}\right )^3} \, dx,x,a+b x\right )}{b}\\ &=-\frac {\sinh ^{-1}(a+b x)}{2 x^2}+\frac {1}{2} \text {Subst}\left (\int \frac {1}{\left (-\frac {a}{b}+\frac {x}{b}\right )^2 \sqrt {1+x^2}} \, dx,x,a+b x\right )\\ &=-\frac {b \sqrt {1+(a+b x)^2}}{2 \left (1+a^2\right ) x}-\frac {\sinh ^{-1}(a+b x)}{2 x^2}-\frac {(a b) \text {Subst}\left (\int \frac {1}{\left (-\frac {a}{b}+\frac {x}{b}\right ) \sqrt {1+x^2}} \, dx,x,a+b x\right )}{2 \left (1+a^2\right )}\\ &=-\frac {b \sqrt {1+(a+b x)^2}}{2 \left (1+a^2\right ) x}-\frac {\sinh ^{-1}(a+b x)}{2 x^2}+\frac {(a b) \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 )}{2 \left (1+a^2\right )}\\ &=-\frac {b \sqrt {1+(a+b x)^2}}{2 \left (1+a^2\right ) x}-\frac {\sinh ^{-1}(a+b x)}{2 x^2}+\frac {a b^2 \tanh ^{-1}\left (\frac {1+a (a+b x)}{\sqrt {1+a^2} \sqrt {1+(a+b x)^2}}\right )}{2 \left (1+a^2\right )^{3/2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.12, size = 110, normalized size = 1.20 \begin {gather*} -\frac {\sinh ^{-1}(a+b x)+\frac {b x \left (\sqrt {1+a^2} \sqrt {1+a^2+2 a b x+b^2 x^2}+a b x \log (x)-a b x \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 )\right )}{\left (1+a^2\right )^{3/2}}}{2 x^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 2.08, size = 112, normalized size = 1.22
method | result | size |
derivativedivides | \(b^{2} \left (-\frac {\arcsinh \left (b x +a \right )}{2 b^{2} x^{2}}-\frac {\sqrt {b^{2} x^{2}+2 a b x +a^{2}+1}}{2 \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 )}{2 \left (a^{2}+1\right )^{\frac {3}{2}}}\right )\) | \(112\) |
default | \(b^{2} \left (-\frac {\arcsinh \left (b x +a \right )}{2 b^{2} x^{2}}-\frac {\sqrt {b^{2} x^{2}+2 a b x +a^{2}+1}}{2 \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 )}{2 \left (a^{2}+1\right )^{\frac {3}{2}}}\right )\) | \(112\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.26, size = 146, normalized size = 1.59 \begin {gather*} \frac {1}{2} \, {\left (\frac {a b \operatorname {arsinh}\left (\frac {2 \, a b x}{\sqrt {-4 \, a^{2} b^{2} + 4 \, {\left (a^{2} + 1\right )} b^{2}} {\left | x \right |}} + \frac {2 \, a^{2}}{\sqrt {-4 \, a^{2} b^{2} + 4 \, {\left (a^{2} + 1\right )} b^{2}} {\left | x \right |}} + \frac {2}{\sqrt {-4 \, a^{2} b^{2} + 4 \, {\left (a^{2} + 1\right )} b^{2}} {\left | x \right |}}\right )}{{\left (a^{2} + 1\right )}^{\frac {3}{2}}} - \frac {\sqrt {b^{2} x^{2} + 2 \, a b x + a^{2} + 1}}{{\left (a^{2} + 1\right )} x}\right )} b - \frac {\operatorname {arsinh}\left (b x + a\right )}{2 \, x^{2}} \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. 236 vs.
\(2 (78) = 156\).
time = 0.38, size = 236, normalized size = 2.57 \begin {gather*} \frac {\sqrt {a^{2} + 1} a b^{2} x^{2} \log \left (-\frac {a^{2} b x + a^{3} + \sqrt {b^{2} x^{2} + 2 \, a b x + a^{2} + 1} {\left (a^{2} + \sqrt {a^{2} + 1} a + 1\right )} + {\left (a b x + a^{2} + 1\right )} \sqrt {a^{2} + 1} + a}{x}\right ) - {\left (a^{2} + 1\right )} b^{2} x^{2} + {\left (a^{4} + 2 \, a^{2} + 1\right )} x^{2} \log \left (-b x - a + \sqrt {b^{2} x^{2} + 2 \, a b x + a^{2} + 1}\right ) - \sqrt {b^{2} x^{2} + 2 \, a b x + a^{2} + 1} {\left (a^{2} + 1\right )} b x - {\left (a^{4} - {\left (a^{4} + 2 \, a^{2} + 1\right )} x^{2} + 2 \, a^{2} + 1\right )} \log \left (b x + a + \sqrt {b^{2} x^{2} + 2 \, a b x + a^{2} + 1}\right )}{2 \, {\left (a^{4} + 2 \, a^{2} + 1\right )} x^{2}} \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 {asinh}{\left (a + b x \right )}}{x^{3}}\, 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. 199 vs.
\(2 (78) = 156\).
time = 0.46, size = 199, normalized size = 2.16 \begin {gather*} -\frac {1}{2} \, {\left (\frac {a b \log \left (\frac {{\left | -2 \, x {\left | b \right |} + 2 \, \sqrt {b^{2} x^{2} + 2 \, a b x + a^{2} + 1} - 2 \, \sqrt {a^{2} + 1} \right |}}{{\left | -2 \, x {\left | b \right |} + 2 \, \sqrt {b^{2} x^{2} + 2 \, a b x + a^{2} + 1} + 2 \, \sqrt {a^{2} + 1} \right |}}\right )}{{\left (a^{2} + 1\right )}^{\frac {3}{2}}} - \frac {2 \, {\left ({\left (x {\left | b \right |} - \sqrt {b^{2} x^{2} + 2 \, a b x + a^{2} + 1}\right )} a b + a^{2} {\left | b \right |} + {\left | b \right |}\right )}}{{\left ({\left (x {\left | b \right |} - \sqrt {b^{2} x^{2} + 2 \, a b x + a^{2} + 1}\right )}^{2} - a^{2} - 1\right )} {\left (a^{2} + 1\right )}}\right )} b - \frac {\log \left (b x + a + \sqrt {{\left (b x + a\right )}^{2} + 1}\right )}{2 \, x^{2}} \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 {asinh}\left (a+b\,x\right )}{x^3} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________