Optimal. Leaf size=61 \[ -\frac {(a+b x)^2}{4 b}+\frac {(a+b x) \sqrt {1+(a+b x)^2} \sinh ^{-1}(a+b x)}{2 b}+\frac {\sinh ^{-1}(a+b x)^2}{4 b} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.05, antiderivative size = 61, normalized size of antiderivative = 1.00, number of steps
used = 4, number of rules used = 4, integrand size = 28, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.143, Rules used = {5860, 5785,
5783, 30} \begin {gather*} -\frac {(a+b x)^2}{4 b}+\frac {\sqrt {(a+b x)^2+1} (a+b x) \sinh ^{-1}(a+b x)}{2 b}+\frac {\sinh ^{-1}(a+b x)^2}{4 b} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 30
Rule 5783
Rule 5785
Rule 5860
Rubi steps
\begin {align*} \int \sqrt {1+a^2+2 a b x+b^2 x^2} \sinh ^{-1}(a+b x) \, dx &=\frac {\text {Subst}\left (\int \sqrt {1+x^2} \sinh ^{-1}(x) \, dx,x,a+b x\right )}{b}\\ &=\frac {(a+b x) \sqrt {1+(a+b x)^2} \sinh ^{-1}(a+b x)}{2 b}-\frac {\text {Subst}(\int x \, dx,x,a+b x)}{2 b}+\frac {\text {Subst}\left (\int \frac {\sinh ^{-1}(x)}{\sqrt {1+x^2}} \, dx,x,a+b x\right )}{2 b}\\ &=-\frac {(a+b x)^2}{4 b}+\frac {(a+b x) \sqrt {1+(a+b x)^2} \sinh ^{-1}(a+b x)}{2 b}+\frac {\sinh ^{-1}(a+b x)^2}{4 b}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.04, size = 61, normalized size = 1.00 \begin {gather*} \frac {-b x (2 a+b x)+2 (a+b x) \sqrt {1+a^2+2 a b x+b^2 x^2} \sinh ^{-1}(a+b x)+\sinh ^{-1}(a+b x)^2}{4 b} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 3.51, size = 91, normalized size = 1.49
method | result | size |
default | \(\frac {2 \arcsinh \left (b x +a \right ) \sqrt {b^{2} x^{2}+2 a b x +a^{2}+1}\, b x -b^{2} x^{2}+2 \arcsinh \left (b x +a \right ) \sqrt {b^{2} x^{2}+2 a b x +a^{2}+1}\, a -2 a b x +\arcsinh \left (b x +a \right )^{2}-a^{2}-1}{4 b}\) | \(91\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] Leaf count of result is larger than twice the leaf count of optimal. 238 vs.
\(2 (53) = 106\).
time = 0.29, size = 238, normalized size = 3.90 \begin {gather*} -\frac {1}{4} \, {\left (x^{2} + \frac {2 \, a x}{b} + \frac {2 \, \operatorname {arsinh}\left (b x + a\right ) \operatorname {arsinh}\left (\frac {2 \, {\left (b^{2} x + a b\right )}}{\sqrt {-4 \, a^{2} b^{2} + 4 \, {\left (a^{2} + 1\right )} b^{2}}}\right )}{b^{2}} - \frac {\operatorname {arsinh}\left (\frac {2 \, {\left (b^{2} x + a b\right )}}{\sqrt {-4 \, a^{2} b^{2} + 4 \, {\left (a^{2} + 1\right )} b^{2}}}\right )^{2}}{b^{2}}\right )} b - \frac {1}{2} \, {\left (\frac {a^{2} \operatorname {arsinh}\left (\frac {2 \, {\left (b^{2} x + a b\right )}}{\sqrt {-4 \, a^{2} b^{2} + 4 \, {\left (a^{2} + 1\right )} b^{2}}}\right )}{b} - \sqrt {b^{2} x^{2} + 2 \, a b x + a^{2} + 1} x - \frac {{\left (a^{2} + 1\right )} \operatorname {arsinh}\left (\frac {2 \, {\left (b^{2} x + a b\right )}}{\sqrt {-4 \, a^{2} b^{2} + 4 \, {\left (a^{2} + 1\right )} b^{2}}}\right )}{b} - \frac {\sqrt {b^{2} x^{2} + 2 \, a b x + a^{2} + 1} a}{b}\right )} \operatorname {arsinh}\left (b x + a\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.38, size = 98, normalized size = 1.61 \begin {gather*} -\frac {b^{2} x^{2} + 2 \, a b x - 2 \, \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 ) - \log \left (b x + a + \sqrt {b^{2} x^{2} + 2 \, a b x + a^{2} + 1}\right )^{2}}{4 \, b} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \sqrt {a^{2} + 2 a b x + b^{2} x^{2} + 1} \operatorname {asinh}{\left (a + b x \right )}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.02 \begin {gather*} \int \mathrm {asinh}\left (a+b\,x\right )\,\sqrt {a^2+2\,a\,b\,x+b^2\,x^2+1} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________