Optimal. Leaf size=107 \[ \frac{(a+b x) \sqrt{(a+b x)^2+1}}{4 b}+\frac{\sinh ^{-1}(a+b x)^3}{6 b}+\frac{(a+b x) \sqrt{(a+b x)^2+1} \sinh ^{-1}(a+b x)^2}{2 b}-\frac{(a+b x)^2 \sinh ^{-1}(a+b x)}{2 b}-\frac{\sinh ^{-1}(a+b x)}{4 b} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.118978, antiderivative size = 107, normalized size of antiderivative = 1., number of steps used = 6, number of rules used = 6, integrand size = 30, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.2, Rules used = {5867, 5682, 5675, 5661, 321, 215} \[ \frac{(a+b x) \sqrt{(a+b x)^2+1}}{4 b}+\frac{\sinh ^{-1}(a+b x)^3}{6 b}+\frac{(a+b x) \sqrt{(a+b x)^2+1} \sinh ^{-1}(a+b x)^2}{2 b}-\frac{(a+b x)^2 \sinh ^{-1}(a+b x)}{2 b}-\frac{\sinh ^{-1}(a+b x)}{4 b} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 5867
Rule 5682
Rule 5675
Rule 5661
Rule 321
Rule 215
Rubi steps
\begin{align*} \int \sqrt{1+a^2+2 a b x+b^2 x^2} \sinh ^{-1}(a+b x)^2 \, dx &=\frac{\operatorname{Subst}\left (\int \sqrt{1+x^2} \sinh ^{-1}(x)^2 \, dx,x,a+b x\right )}{b}\\ &=\frac{(a+b x) \sqrt{1+(a+b x)^2} \sinh ^{-1}(a+b x)^2}{2 b}+\frac{\operatorname{Subst}\left (\int \frac{\sinh ^{-1}(x)^2}{\sqrt{1+x^2}} \, dx,x,a+b x\right )}{2 b}-\frac{\operatorname{Subst}\left (\int x \sinh ^{-1}(x) \, dx,x,a+b x\right )}{b}\\ &=-\frac{(a+b x)^2 \sinh ^{-1}(a+b x)}{2 b}+\frac{(a+b x) \sqrt{1+(a+b x)^2} \sinh ^{-1}(a+b x)^2}{2 b}+\frac{\sinh ^{-1}(a+b x)^3}{6 b}+\frac{\operatorname{Subst}\left (\int \frac{x^2}{\sqrt{1+x^2}} \, dx,x,a+b x\right )}{2 b}\\ &=\frac{(a+b x) \sqrt{1+(a+b x)^2}}{4 b}-\frac{(a+b x)^2 \sinh ^{-1}(a+b x)}{2 b}+\frac{(a+b x) \sqrt{1+(a+b x)^2} \sinh ^{-1}(a+b x)^2}{2 b}+\frac{\sinh ^{-1}(a+b x)^3}{6 b}-\frac{\operatorname{Subst}\left (\int \frac{1}{\sqrt{1+x^2}} \, dx,x,a+b x\right )}{4 b}\\ &=\frac{(a+b x) \sqrt{1+(a+b x)^2}}{4 b}-\frac{\sinh ^{-1}(a+b x)}{4 b}-\frac{(a+b x)^2 \sinh ^{-1}(a+b x)}{2 b}+\frac{(a+b x) \sqrt{1+(a+b x)^2} \sinh ^{-1}(a+b x)^2}{2 b}+\frac{\sinh ^{-1}(a+b x)^3}{6 b}\\ \end{align*}
Mathematica [A] time = 0.0854566, size = 110, normalized size = 1.03 \[ \frac{3 (a+b x) \sqrt{a^2+2 a b x+b^2 x^2+1}+6 (a+b x) \sqrt{a^2+2 a b x+b^2 x^2+1} \sinh ^{-1}(a+b x)^2-3 \left (2 a^2+4 a b x+2 b^2 x^2+1\right ) \sinh ^{-1}(a+b x)+2 \sinh ^{-1}(a+b x)^3}{12 b} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.052, size = 167, normalized size = 1.6 \begin{align*}{\frac{1}{12\,b} \left ( 6\, \left ({\it Arcsinh} \left ( bx+a \right ) \right ) ^{2}\sqrt{{b}^{2}{x}^{2}+2\,xab+{a}^{2}+1}xb-6\,{\it Arcsinh} \left ( bx+a \right ){x}^{2}{b}^{2}+6\, \left ({\it Arcsinh} \left ( bx+a \right ) \right ) ^{2}\sqrt{{b}^{2}{x}^{2}+2\,xab+{a}^{2}+1}a-12\,{\it Arcsinh} \left ( bx+a \right ) xab+2\, \left ({\it Arcsinh} \left ( bx+a \right ) \right ) ^{3}-6\,{\it Arcsinh} \left ( bx+a \right ){a}^{2}+3\,\sqrt{{b}^{2}{x}^{2}+2\,xab+{a}^{2}+1}xb+3\,\sqrt{{b}^{2}{x}^{2}+2\,xab+{a}^{2}+1}a-3\,{\it Arcsinh} \left ( bx+a \right ) \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.6742, size = 401, normalized size = 3.75 \begin{align*} \frac{6 \, \sqrt{b^{2} x^{2} + 2 \, a b x + a^{2} + 1}{\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 \, \log \left (b x + a + \sqrt{b^{2} x^{2} + 2 \, a b x + a^{2} + 1}\right )^{3} - 3 \,{\left (2 \, b^{2} x^{2} + 4 \, a b x + 2 \, a^{2} + 1\right )} \log \left (b x + a + \sqrt{b^{2} x^{2} + 2 \, a b x + a^{2} + 1}\right ) + 3 \, \sqrt{b^{2} x^{2} + 2 \, a b x + a^{2} + 1}{\left (b x + a\right )}}{12 \, b} \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 \sqrt{a^{2} + 2 a b x + b^{2} x^{2} + 1} \operatorname{asinh}^{2}{\left (a + b x \right )}\, dx \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 \sqrt{b^{2} x^{2} + 2 \, a b x + a^{2} + 1} \operatorname{arsinh}\left (b x + a\right )^{2}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]