Optimal. Leaf size=45 \[ \frac{(a+b x) \sinh ^{-1}(a+b x)^2}{b}-\frac{2 \sqrt{(a+b x)^2+1} \sinh ^{-1}(a+b x)}{b}+2 x \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0506684, antiderivative size = 45, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 4, integrand size = 8, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.5, Rules used = {5863, 5653, 5717, 8} \[ \frac{(a+b x) \sinh ^{-1}(a+b x)^2}{b}-\frac{2 \sqrt{(a+b x)^2+1} \sinh ^{-1}(a+b x)}{b}+2 x \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 5863
Rule 5653
Rule 5717
Rule 8
Rubi steps
\begin{align*} \int \sinh ^{-1}(a+b x)^2 \, dx &=\frac{\operatorname{Subst}\left (\int \sinh ^{-1}(x)^2 \, dx,x,a+b x\right )}{b}\\ &=\frac{(a+b x) \sinh ^{-1}(a+b x)^2}{b}-\frac{2 \operatorname{Subst}\left (\int \frac{x \sinh ^{-1}(x)}{\sqrt{1+x^2}} \, dx,x,a+b x\right )}{b}\\ &=-\frac{2 \sqrt{1+(a+b x)^2} \sinh ^{-1}(a+b x)}{b}+\frac{(a+b x) \sinh ^{-1}(a+b x)^2}{b}+\frac{2 \operatorname{Subst}(\int 1 \, dx,x,a+b x)}{b}\\ &=2 x-\frac{2 \sqrt{1+(a+b x)^2} \sinh ^{-1}(a+b x)}{b}+\frac{(a+b x) \sinh ^{-1}(a+b x)^2}{b}\\ \end{align*}
Mathematica [A] time = 0.0217076, size = 47, normalized size = 1.04 \[ \frac{2 (a+b x)+(a+b x) \sinh ^{-1}(a+b x)^2-2 \sqrt{(a+b x)^2+1} \sinh ^{-1}(a+b x)}{b} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.027, size = 46, normalized size = 1. \begin{align*}{\frac{1}{b} \left ( \left ({\it Arcsinh} \left ( bx+a \right ) \right ) ^{2} \left ( bx+a \right ) -2\,{\it Arcsinh} \left ( bx+a \right ) \sqrt{1+ \left ( bx+a \right ) ^{2}}+2\,bx+2\,a \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 [B] time = 2.42553, size = 217, normalized size = 4.82 \begin{align*} \frac{{\left (b x + a\right )} \log \left (b x + a + \sqrt{b^{2} x^{2} + 2 \, a b x + a^{2} + 1}\right )^{2} + 2 \, b x - 2 \, \sqrt{b^{2} x^{2} + 2 \, a b x + a^{2} + 1} \log \left (b x + a + \sqrt{b^{2} x^{2} + 2 \, a b x + a^{2} + 1}\right )}{b} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 0.262953, size = 63, normalized size = 1.4 \begin{align*} \begin{cases} \frac{a \operatorname{asinh}^{2}{\left (a + b x \right )}}{b} + x \operatorname{asinh}^{2}{\left (a + b x \right )} + 2 x - \frac{2 \sqrt{a^{2} + 2 a b x + b^{2} x^{2} + 1} \operatorname{asinh}{\left (a + b x \right )}}{b} & \text{for}\: b \neq 0 \\x \operatorname{asinh}^{2}{\left (a \right )} & \text{otherwise} \end{cases} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \operatorname{arsinh}\left (b x + a\right )^{2}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]