Optimal. Leaf size=89 \[ \sqrt{a^2+2 a b x+b^2 x^2+1}-\sqrt{a^2+1} \tanh ^{-1}\left (\frac{a^2+a b x+1}{\sqrt{a^2+1} \sqrt{a^2+2 a b x+b^2 x^2+1}}\right )+a \sinh ^{-1}(a+b x)+a \log (x)+b x \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.120651, antiderivative size = 89, normalized size of antiderivative = 1., number of steps used = 9, number of rules used = 8, integrand size = 12, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.667, Rules used = {5907, 14, 734, 843, 619, 215, 724, 206} \[ \sqrt{a^2+2 a b x+b^2 x^2+1}-\sqrt{a^2+1} \tanh ^{-1}\left (\frac{a^2+a b x+1}{\sqrt{a^2+1} \sqrt{a^2+2 a b x+b^2 x^2+1}}\right )+a \sinh ^{-1}(a+b x)+a \log (x)+b x \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 5907
Rule 14
Rule 734
Rule 843
Rule 619
Rule 215
Rule 724
Rule 206
Rubi steps
\begin{align*} \int \frac{e^{\sinh ^{-1}(a+b x)}}{x} \, dx &=\int \frac{a+b x+\sqrt{1+(a+b x)^2}}{x} \, dx\\ &=\int \left (b+\frac{a}{x}+\frac{\sqrt{1+a^2+2 a b x+b^2 x^2}}{x}\right ) \, dx\\ &=b x+a \log (x)+\int \frac{\sqrt{1+a^2+2 a b x+b^2 x^2}}{x} \, dx\\ &=b x+\sqrt{1+a^2+2 a b x+b^2 x^2}+a \log (x)-\frac{1}{2} \int \frac{-2 \left (1+a^2\right )-2 a b x}{x \sqrt{1+a^2+2 a b x+b^2 x^2}} \, dx\\ &=b x+\sqrt{1+a^2+2 a b x+b^2 x^2}+a \log (x)-\left (-1-a^2\right ) \int \frac{1}{x \sqrt{1+a^2+2 a b x+b^2 x^2}} \, dx+(a b) \int \frac{1}{\sqrt{1+a^2+2 a b x+b^2 x^2}} \, dx\\ &=b x+\sqrt{1+a^2+2 a b x+b^2 x^2}+a \log (x)-\left (2 \left (1+a^2\right )\right ) \operatorname{Subst}\left (\int \frac{1}{4 \left (1+a^2\right )-x^2} \, dx,x,\frac{2 \left (1+a^2\right )+2 a b x}{\sqrt{1+a^2+2 a b x+b^2 x^2}}\right )+\frac{a \operatorname{Subst}\left (\int \frac{1}{\sqrt{1+\frac{x^2}{4 b^2}}} \, dx,x,2 a b+2 b^2 x\right )}{2 b}\\ &=b x+\sqrt{1+a^2+2 a b x+b^2 x^2}+a \sinh ^{-1}(a+b x)-\sqrt{1+a^2} \tanh ^{-1}\left (\frac{1+a^2+a b x}{\sqrt{1+a^2} \sqrt{1+a^2+2 a b x+b^2 x^2}}\right )+a \log (x)\\ \end{align*}
Mathematica [A] time = 0.0740409, size = 99, normalized size = 1.11 \[ \sqrt{a^2+2 a b x+b^2 x^2+1}-\sqrt{a^2+1} \log \left (\sqrt{a^2+1} \sqrt{a^2+2 a b x+b^2 x^2+1}+a^2+a b x+1\right )+\left (\sqrt{a^2+1}+a\right ) \log (x)+a \sinh ^{-1}(a+b x)+b x \]
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.004, size = 126, normalized size = 1.4 \begin{align*} \sqrt{{b}^{2}{x}^{2}+2\,xab+{a}^{2}+1}+{ab\ln \left ({({b}^{2}x+ab){\frac{1}{\sqrt{{b}^{2}}}}}+\sqrt{{b}^{2}{x}^{2}+2\,xab+{a}^{2}+1} \right ){\frac{1}{\sqrt{{b}^{2}}}}}-\sqrt{{a}^{2}+1}\ln \left ({\frac{1}{x} \left ( 2\,{a}^{2}+2+2\,xab+2\,\sqrt{{a}^{2}+1}\sqrt{{b}^{2}{x}^{2}+2\,xab+{a}^{2}+1} \right ) } \right ) +bx+a\ln \left ( x \right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 2.62354, size = 335, normalized size = 3.76 \begin{align*} b x - a \log \left (-b x - a + \sqrt{b^{2} x^{2} + 2 \, a b x + a^{2} + 1}\right ) + a \log \left (x\right ) + \sqrt{a^{2} + 1} \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 ) + \sqrt{b^{2} x^{2} + 2 \, a b x + a^{2} + 1} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{a + b x + \sqrt{a^{2} + 2 a b x + b^{2} x^{2} + 1}}{x}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: NotImplementedError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]