Optimal. Leaf size=57 \[ -\frac{2 b \sqrt{(c+d x)^2+1} \left (a+b \sinh ^{-1}(c+d x)\right )}{d}+\frac{(c+d x) \left (a+b \sinh ^{-1}(c+d x)\right )^2}{d}+2 b^2 x \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0701418, antiderivative size = 57, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 4, integrand size = 12, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.333, Rules used = {5863, 5653, 5717, 8} \[ -\frac{2 b \sqrt{(c+d x)^2+1} \left (a+b \sinh ^{-1}(c+d x)\right )}{d}+\frac{(c+d x) \left (a+b \sinh ^{-1}(c+d x)\right )^2}{d}+2 b^2 x \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 5863
Rule 5653
Rule 5717
Rule 8
Rubi steps
\begin{align*} \int \left (a+b \sinh ^{-1}(c+d x)\right )^2 \, dx &=\frac{\operatorname{Subst}\left (\int \left (a+b \sinh ^{-1}(x)\right )^2 \, dx,x,c+d x\right )}{d}\\ &=\frac{(c+d x) \left (a+b \sinh ^{-1}(c+d x)\right )^2}{d}-\frac{(2 b) \operatorname{Subst}\left (\int \frac{x \left (a+b \sinh ^{-1}(x)\right )}{\sqrt{1+x^2}} \, dx,x,c+d x\right )}{d}\\ &=-\frac{2 b \sqrt{1+(c+d x)^2} \left (a+b \sinh ^{-1}(c+d x)\right )}{d}+\frac{(c+d x) \left (a+b \sinh ^{-1}(c+d x)\right )^2}{d}+\frac{\left (2 b^2\right ) \operatorname{Subst}(\int 1 \, dx,x,c+d x)}{d}\\ &=2 b^2 x-\frac{2 b \sqrt{1+(c+d x)^2} \left (a+b \sinh ^{-1}(c+d x)\right )}{d}+\frac{(c+d x) \left (a+b \sinh ^{-1}(c+d x)\right )^2}{d}\\ \end{align*}
Mathematica [A] time = 0.0956592, size = 87, normalized size = 1.53 \[ \frac{\left (a^2+2 b^2\right ) (c+d x)-2 a b \sqrt{(c+d x)^2+1}+2 b \sinh ^{-1}(c+d x) \left (a c+a d x+b \left (-\sqrt{(c+d x)^2+1}\right )\right )+b^2 (c+d x) \sinh ^{-1}(c+d x)^2}{d} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.028, size = 90, normalized size = 1.6 \begin{align*}{\frac{1}{d} \left ( \left ( dx+c \right ){a}^{2}+{b}^{2} \left ( \left ({\it Arcsinh} \left ( dx+c \right ) \right ) ^{2} \left ( dx+c \right ) -2\,{\it Arcsinh} \left ( dx+c \right ) \sqrt{1+ \left ( dx+c \right ) ^{2}}+2\,dx+2\,c \right ) +2\,ab \left ( \left ( dx+c \right ){\it Arcsinh} \left ( dx+c \right ) -\sqrt{1+ \left ( dx+c \right ) ^{2}} \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 [B] time = 2.66711, size = 333, normalized size = 5.84 \begin{align*} \frac{{\left (a^{2} + 2 \, b^{2}\right )} d x +{\left (b^{2} d x + b^{2} c\right )} \log \left (d x + c + \sqrt{d^{2} x^{2} + 2 \, c d x + c^{2} + 1}\right )^{2} - 2 \, \sqrt{d^{2} x^{2} + 2 \, c d x + c^{2} + 1} a b + 2 \,{\left (a b d x + a b c - \sqrt{d^{2} x^{2} + 2 \, c d x + c^{2} + 1} b^{2}\right )} \log \left (d x + c + \sqrt{d^{2} x^{2} + 2 \, c d x + c^{2} + 1}\right )}{d} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 0.401433, size = 143, normalized size = 2.51 \begin{align*} \begin{cases} a^{2} x + \frac{2 a b c \operatorname{asinh}{\left (c + d x \right )}}{d} + 2 a b x \operatorname{asinh}{\left (c + d x \right )} - \frac{2 a b \sqrt{c^{2} + 2 c d x + d^{2} x^{2} + 1}}{d} + \frac{b^{2} c \operatorname{asinh}^{2}{\left (c + d x \right )}}{d} + b^{2} x \operatorname{asinh}^{2}{\left (c + d x \right )} + 2 b^{2} x - \frac{2 b^{2} \sqrt{c^{2} + 2 c d x + d^{2} x^{2} + 1} \operatorname{asinh}{\left (c + d x \right )}}{d} & \text{for}\: d \neq 0 \\x \left (a + b \operatorname{asinh}{\left (c \right )}\right )^{2} & \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{\left (b \operatorname{arsinh}\left (d x + c\right ) + a\right )}^{2}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]