Optimal. Leaf size=76 \[ \frac{\left (1-2 a^2\right ) \sinh ^{-1}(a+b x)}{4 b^2}+\frac{3 a \sqrt{(a+b x)^2+1}}{4 b^2}+\frac{1}{2} x^2 \sinh ^{-1}(a+b x)-\frac{x \sqrt{(a+b x)^2+1}}{4 b} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0661435, antiderivative size = 76, normalized size of antiderivative = 1., number of steps used = 5, number of rules used = 5, integrand size = 8, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.625, Rules used = {5865, 5801, 743, 641, 215} \[ \frac{\left (1-2 a^2\right ) \sinh ^{-1}(a+b x)}{4 b^2}+\frac{3 a \sqrt{(a+b x)^2+1}}{4 b^2}+\frac{1}{2} x^2 \sinh ^{-1}(a+b x)-\frac{x \sqrt{(a+b x)^2+1}}{4 b} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 5865
Rule 5801
Rule 743
Rule 641
Rule 215
Rubi steps
\begin{align*} \int x \sinh ^{-1}(a+b x) \, dx &=\frac{\operatorname{Subst}\left (\int \left (-\frac{a}{b}+\frac{x}{b}\right ) \sinh ^{-1}(x) \, dx,x,a+b x\right )}{b}\\ &=\frac{1}{2} x^2 \sinh ^{-1}(a+b x)-\frac{1}{2} \operatorname{Subst}\left (\int \frac{\left (-\frac{a}{b}+\frac{x}{b}\right )^2}{\sqrt{1+x^2}} \, dx,x,a+b x\right )\\ &=-\frac{x \sqrt{1+(a+b x)^2}}{4 b}+\frac{1}{2} x^2 \sinh ^{-1}(a+b x)-\frac{1}{4} \operatorname{Subst}\left (\int \frac{-\frac{1-2 a^2}{b^2}-\frac{3 a x}{b^2}}{\sqrt{1+x^2}} \, dx,x,a+b x\right )\\ &=\frac{3 a \sqrt{1+(a+b x)^2}}{4 b^2}-\frac{x \sqrt{1+(a+b x)^2}}{4 b}+\frac{1}{2} x^2 \sinh ^{-1}(a+b x)+\frac{\left (1-2 a^2\right ) \operatorname{Subst}\left (\int \frac{1}{\sqrt{1+x^2}} \, dx,x,a+b x\right )}{4 b^2}\\ &=\frac{3 a \sqrt{1+(a+b x)^2}}{4 b^2}-\frac{x \sqrt{1+(a+b x)^2}}{4 b}+\frac{\left (1-2 a^2\right ) \sinh ^{-1}(a+b x)}{4 b^2}+\frac{1}{2} x^2 \sinh ^{-1}(a+b x)\\ \end{align*}
Mathematica [A] time = 0.0404693, size = 60, normalized size = 0.79 \[ \frac{\sqrt{a^2+2 a b x+b^2 x^2+1} (3 a-b x)+\left (-2 a^2+2 b^2 x^2+1\right ) \sinh ^{-1}(a+b x)}{4 b^2} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.004, size = 74, normalized size = 1. \begin{align*}{\frac{1}{{b}^{2}} \left ({\frac{{\it Arcsinh} \left ( bx+a \right ) \left ( bx+a \right ) ^{2}}{2}}-{\it Arcsinh} \left ( bx+a \right ) a \left ( bx+a \right ) -{\frac{bx+a}{4}\sqrt{1+ \left ( bx+a \right ) ^{2}}}+{\frac{{\it Arcsinh} \left ( bx+a \right ) }{4}}+a\sqrt{1+ \left ( bx+a \right ) ^{2}} \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.52007, size = 178, normalized size = 2.34 \begin{align*} \frac{{\left (2 \, b^{2} x^{2} - 2 \, a^{2} + 1\right )} \log \left (b x + a + \sqrt{b^{2} x^{2} + 2 \, a b x + a^{2} + 1}\right ) - \sqrt{b^{2} x^{2} + 2 \, a b x + a^{2} + 1}{\left (b x - 3 \, a\right )}}{4 \, b^{2}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 0.365054, size = 104, normalized size = 1.37 \begin{align*} \begin{cases} - \frac{a^{2} \operatorname{asinh}{\left (a + b x \right )}}{2 b^{2}} + \frac{3 a \sqrt{a^{2} + 2 a b x + b^{2} x^{2} + 1}}{4 b^{2}} + \frac{x^{2} \operatorname{asinh}{\left (a + b x \right )}}{2} - \frac{x \sqrt{a^{2} + 2 a b x + b^{2} x^{2} + 1}}{4 b} + \frac{\operatorname{asinh}{\left (a + b x \right )}}{4 b^{2}} & \text{for}\: b \neq 0 \\\frac{x^{2} \operatorname{asinh}{\left (a \right )}}{2} & \text{otherwise} \end{cases} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.29715, size = 150, normalized size = 1.97 \begin{align*} \frac{1}{2} \, x^{2} \log \left (b x + a + \sqrt{{\left (b x + a\right )}^{2} + 1}\right ) - \frac{1}{4} \,{\left (\sqrt{b^{2} x^{2} + 2 \, a b x + a^{2} + 1}{\left (\frac{x}{b^{2}} - \frac{3 \, a}{b^{3}}\right )} - \frac{{\left (2 \, a^{2} - 1\right )} \log \left (-a b -{\left (x{\left | b \right |} - \sqrt{b^{2} x^{2} + 2 \, a b x + a^{2} + 1}\right )}{\left | b \right |}\right )}{b^{2}{\left | b \right |}}\right )} b \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]