Optimal. Leaf size=64 \[ -\frac {2 b \tan ^{-1}\left (\frac {\sqrt {1-a} \sqrt {a+b x+1}}{\sqrt {a+1} \sqrt {a+b x-1}}\right )}{\sqrt {1-a^2}}-\frac {\cosh ^{-1}(a+b x)}{x} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.08, antiderivative size = 64, 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 = {5866, 5802, 93, 205} \[ -\frac {2 b \tan ^{-1}\left (\frac {\sqrt {1-a} \sqrt {a+b x+1}}{\sqrt {a+1} \sqrt {a+b x-1}}\right )}{\sqrt {1-a^2}}-\frac {\cosh ^{-1}(a+b x)}{x} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 93
Rule 205
Rule 5802
Rule 5866
Rubi steps
\begin {align*} \int \frac {\cosh ^{-1}(a+b x)}{x^2} \, dx &=\frac {\operatorname {Subst}\left (\int \frac {\cosh ^{-1}(x)}{\left (-\frac {a}{b}+\frac {x}{b}\right )^2} \, dx,x,a+b x\right )}{b}\\ &=-\frac {\cosh ^{-1}(a+b x)}{x}+\operatorname {Subst}\left (\int \frac {1}{\sqrt {-1+x} \sqrt {1+x} \left (-\frac {a}{b}+\frac {x}{b}\right )} \, dx,x,a+b x\right )\\ &=-\frac {\cosh ^{-1}(a+b x)}{x}+2 \operatorname {Subst}\left (\int \frac {1}{-\frac {1}{b}-\frac {a}{b}-\left (\frac {1}{b}-\frac {a}{b}\right ) x^2} \, dx,x,\frac {\sqrt {1+a+b x}}{\sqrt {-1+a+b x}}\right )\\ &=-\frac {\cosh ^{-1}(a+b x)}{x}-\frac {2 b \tan ^{-1}\left (\frac {\sqrt {1-a} \sqrt {1+a+b x}}{\sqrt {1+a} \sqrt {-1+a+b x}}\right )}{\sqrt {1-a^2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] time = 0.12, size = 83, normalized size = 1.30 \[ -\frac {\cosh ^{-1}(a+b x)}{x}-\frac {i b \log \left (\frac {2 \left (\sqrt {a+b x-1} \sqrt {a+b x+1}+\frac {i \left (a^2+a b x-1\right )}{\sqrt {1-a^2}}\right )}{b x}\right )}{\sqrt {1-a^2}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 0.69, size = 322, normalized size = 5.03 \[ \left [\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}, \frac {2 \, \sqrt {-a^{2} + 1} b x \arctan \left (-\frac {\sqrt {-a^{2} + 1} b x - \sqrt {b^{2} x^{2} + 2 \, a b x + a^{2} - 1} \sqrt {-a^{2} + 1}}{a^{2} - 1}\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}\right ] \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.40, size = 73, normalized size = 1.14 \[ \frac {2 \, b \arctan \left (-\frac {x {\left | b \right |} - \sqrt {b^{2} x^{2} + 2 \, a b x + a^{2} - 1}}{\sqrt {-a^{2} + 1}}\right )}{\sqrt {-a^{2} + 1}} - \frac {\log \left (b x + a + \sqrt {{\left (b x + a\right )}^{2} - 1}\right )}{x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.02, size = 97, normalized size = 1.52 \[ -\frac {\mathrm {arccosh}\left (b x +a \right )}{x}-\frac {b \sqrt {b x +a -1}\, \sqrt {b x +a +1}\, \sqrt {a^{2}-1}\, \ln \left (\frac {2 \sqrt {a^{2}-1}\, \sqrt {\left (b x +a \right )^{2}-1}+2 a \left (b x +a \right )-2}{b x}\right )}{\sqrt {\left (b x +a \right )^{2}-1}\, \left (a -1\right ) \left (1+a \right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F(-2)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Exception raised: ValueError} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.02 \[ \int \frac {\mathrm {acosh}\left (a+b\,x\right )}{x^2} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\operatorname {acosh}{\left (a + b x \right )}}{x^{2}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________