Optimal. Leaf size=57 \[ -\frac {\sinh ^{-1}(a+b x)}{x}-\frac {b \tanh ^{-1}\left (\frac {1+a (a+b x)}{\sqrt {1+a^2} \sqrt {1+(a+b x)^2}}\right )}{\sqrt {1+a^2}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.06, antiderivative size = 57, normalized size of antiderivative = 1.00, number of steps
used = 4, number of rules used = 4, integrand size = 10, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.400, Rules used = {5859, 5828,
739, 212} \begin {gather*} -\frac {b \tanh ^{-1}\left (\frac {a (a+b x)+1}{\sqrt {a^2+1} \sqrt {(a+b x)^2+1}}\right )}{\sqrt {a^2+1}}-\frac {\sinh ^{-1}(a+b x)}{x} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 212
Rule 739
Rule 5828
Rule 5859
Rubi steps
\begin {align*} \int \frac {\sinh ^{-1}(a+b x)}{x^2} \, dx &=\frac {\text {Subst}\left (\int \frac {\sinh ^{-1}(x)}{\left (-\frac {a}{b}+\frac {x}{b}\right )^2} \, dx,x,a+b x\right )}{b}\\ &=-\frac {\sinh ^{-1}(a+b x)}{x}+\text {Subst}\left (\int \frac {1}{\left (-\frac {a}{b}+\frac {x}{b}\right ) \sqrt {1+x^2}} \, dx,x,a+b x\right )\\ &=-\frac {\sinh ^{-1}(a+b x)}{x}-\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 )\\ &=-\frac {\sinh ^{-1}(a+b x)}{x}-\frac {b \tanh ^{-1}\left (\frac {b \left (\frac {1}{b}+\frac {a (a+b x)}{b}\right )}{\sqrt {1+a^2} \sqrt {1+(a+b x)^2}}\right )}{\sqrt {1+a^2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.03, size = 57, normalized size = 1.00 \begin {gather*} -\frac {\sinh ^{-1}(a+b x)}{x}-\frac {b \tanh ^{-1}\left (\frac {1+a^2+a b x}{\sqrt {1+a^2} \sqrt {1+(a+b x)^2}}\right )}{\sqrt {1+a^2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 2.81, size = 75, normalized size = 1.32
method | result | size |
derivativedivides | \(b \left (-\frac {\arcsinh \left (b x +a \right )}{b x}-\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 )}{\sqrt {a^{2}+1}}\right )\) | \(75\) |
default | \(b \left (-\frac {\arcsinh \left (b x +a \right )}{b x}-\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 )}{\sqrt {a^{2}+1}}\right )\) | \(75\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] Leaf count of result is larger than twice the leaf count of optimal. 111 vs.
\(2 (51) = 102\).
time = 0.26, size = 111, normalized size = 1.95 \begin {gather*} -\frac {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 )}{\sqrt {a^{2} + 1}} - \frac {\operatorname {arsinh}\left (b x + a\right )}{x} \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. 167 vs.
\(2 (51) = 102\).
time = 0.38, size = 167, normalized size = 2.93 \begin {gather*} \frac {\sqrt {a^{2} + 1} b x \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 )} x \log \left (-b x - a + \sqrt {b^{2} x^{2} + 2 \, a b x + a^{2} + 1}\right ) - {\left (a^{2} - {\left (a^{2} + 1\right )} x + 1\right )} \log \left (b x + a + \sqrt {b^{2} x^{2} + 2 \, a b x + a^{2} + 1}\right )}{{\left (a^{2} + 1\right )} x} \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^{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. 110 vs.
\(2 (51) = 102\).
time = 0.45, size = 110, normalized size = 1.93 \begin {gather*} \frac {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 )}{\sqrt {a^{2} + 1}} - \frac {\log \left (b x + a + \sqrt {{\left (b x + a\right )}^{2} + 1}\right )}{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.02 \begin {gather*} \int \frac {\mathrm {asinh}\left (a+b\,x\right )}{x^2} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________