Optimal. Leaf size=103 \[ \frac{e (c+d x)^2 \left (a+b \sinh ^{-1}(c+d x)\right )^2}{2 d}-\frac{b e \sqrt{(c+d x)^2+1} (c+d x) \left (a+b \sinh ^{-1}(c+d x)\right )}{2 d}+\frac{e \left (a+b \sinh ^{-1}(c+d x)\right )^2}{4 d}+\frac{b^2 e (c+d x)^2}{4 d} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.144862, antiderivative size = 103, normalized size of antiderivative = 1., number of steps used = 6, number of rules used = 6, integrand size = 21, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.286, Rules used = {5865, 12, 5661, 5758, 5675, 30} \[ \frac{e (c+d x)^2 \left (a+b \sinh ^{-1}(c+d x)\right )^2}{2 d}-\frac{b e \sqrt{(c+d x)^2+1} (c+d x) \left (a+b \sinh ^{-1}(c+d x)\right )}{2 d}+\frac{e \left (a+b \sinh ^{-1}(c+d x)\right )^2}{4 d}+\frac{b^2 e (c+d x)^2}{4 d} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 5865
Rule 12
Rule 5661
Rule 5758
Rule 5675
Rule 30
Rubi steps
\begin{align*} \int (c e+d e x) \left (a+b \sinh ^{-1}(c+d x)\right )^2 \, dx &=\frac{\operatorname{Subst}\left (\int e x \left (a+b \sinh ^{-1}(x)\right )^2 \, dx,x,c+d x\right )}{d}\\ &=\frac{e \operatorname{Subst}\left (\int x \left (a+b \sinh ^{-1}(x)\right )^2 \, dx,x,c+d x\right )}{d}\\ &=\frac{e (c+d x)^2 \left (a+b \sinh ^{-1}(c+d x)\right )^2}{2 d}-\frac{(b e) \operatorname{Subst}\left (\int \frac{x^2 \left (a+b \sinh ^{-1}(x)\right )}{\sqrt{1+x^2}} \, dx,x,c+d x\right )}{d}\\ &=-\frac{b e (c+d x) \sqrt{1+(c+d x)^2} \left (a+b \sinh ^{-1}(c+d x)\right )}{2 d}+\frac{e (c+d x)^2 \left (a+b \sinh ^{-1}(c+d x)\right )^2}{2 d}+\frac{(b e) \operatorname{Subst}\left (\int \frac{a+b \sinh ^{-1}(x)}{\sqrt{1+x^2}} \, dx,x,c+d x\right )}{2 d}+\frac{\left (b^2 e\right ) \operatorname{Subst}(\int x \, dx,x,c+d x)}{2 d}\\ &=\frac{b^2 e (c+d x)^2}{4 d}-\frac{b e (c+d x) \sqrt{1+(c+d x)^2} \left (a+b \sinh ^{-1}(c+d x)\right )}{2 d}+\frac{e \left (a+b \sinh ^{-1}(c+d x)\right )^2}{4 d}+\frac{e (c+d x)^2 \left (a+b \sinh ^{-1}(c+d x)\right )^2}{2 d}\\ \end{align*}
Mathematica [A] time = 0.177152, size = 120, normalized size = 1.17 \[ \frac{e \left (\left (2 a^2+b^2\right ) (c+d x)^2-2 a b \sqrt{(c+d x)^2+1} (c+d x)+2 b (c+d x) \sinh ^{-1}(c+d x) \left (2 a (c+d x)-b \sqrt{(c+d x)^2+1}\right )+2 a b \sinh ^{-1}(c+d x)+b^2 \left (2 (c+d x)^2+1\right ) \sinh ^{-1}(c+d x)^2\right )}{4 d} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.027, size = 135, normalized size = 1.3 \begin{align*}{\frac{1}{d} \left ({\frac{ \left ( dx+c \right ) ^{2}e{a}^{2}}{2}}+e{b}^{2} \left ({\frac{ \left ({\it Arcsinh} \left ( dx+c \right ) \right ) ^{2} \left ( 1+ \left ( dx+c \right ) ^{2} \right ) }{2}}-{\frac{{\it Arcsinh} \left ( dx+c \right ) \left ( dx+c \right ) }{2}\sqrt{1+ \left ( dx+c \right ) ^{2}}}-{\frac{ \left ({\it Arcsinh} \left ( dx+c \right ) \right ) ^{2}}{4}}+{\frac{ \left ( dx+c \right ) ^{2}}{4}}+{\frac{1}{4}} \right ) +2\,eab \left ( 1/2\,{\it Arcsinh} \left ( dx+c \right ) \left ( dx+c \right ) ^{2}-1/4\, \left ( dx+c \right ) \sqrt{1+ \left ( dx+c \right ) ^{2}}+1/4\,{\it Arcsinh} \left ( dx+c \right ) \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.96909, size = 533, normalized size = 5.17 \begin{align*} \frac{{\left (2 \, a^{2} + b^{2}\right )} d^{2} e x^{2} + 2 \,{\left (2 \, a^{2} + b^{2}\right )} c d e x +{\left (2 \, b^{2} d^{2} e x^{2} + 4 \, b^{2} c d e x +{\left (2 \, b^{2} c^{2} + b^{2}\right )} e\right )} \log \left (d x + c + \sqrt{d^{2} x^{2} + 2 \, c d x + c^{2} + 1}\right )^{2} + 2 \,{\left (2 \, a b d^{2} e x^{2} + 4 \, a b c d e x +{\left (2 \, a b c^{2} + a b\right )} e -{\left (b^{2} d e x + b^{2} c e\right )} \sqrt{d^{2} x^{2} + 2 \, c d x + c^{2} + 1}\right )} \log \left (d x + c + \sqrt{d^{2} x^{2} + 2 \, c d x + c^{2} + 1}\right ) - 2 \,{\left (a b d e x + a b c e\right )} \sqrt{d^{2} x^{2} + 2 \, c d x + c^{2} + 1}}{4 \, d} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 1.09358, size = 335, normalized size = 3.25 \begin{align*} \begin{cases} a^{2} c e x + \frac{a^{2} d e x^{2}}{2} + \frac{a b c^{2} e \operatorname{asinh}{\left (c + d x \right )}}{d} + 2 a b c e x \operatorname{asinh}{\left (c + d x \right )} - \frac{a b c e \sqrt{c^{2} + 2 c d x + d^{2} x^{2} + 1}}{2 d} + a b d e x^{2} \operatorname{asinh}{\left (c + d x \right )} - \frac{a b e x \sqrt{c^{2} + 2 c d x + d^{2} x^{2} + 1}}{2} + \frac{a b e \operatorname{asinh}{\left (c + d x \right )}}{2 d} + \frac{b^{2} c^{2} e \operatorname{asinh}^{2}{\left (c + d x \right )}}{2 d} + b^{2} c e x \operatorname{asinh}^{2}{\left (c + d x \right )} + \frac{b^{2} c e x}{2} - \frac{b^{2} c e \sqrt{c^{2} + 2 c d x + d^{2} x^{2} + 1} \operatorname{asinh}{\left (c + d x \right )}}{2 d} + \frac{b^{2} d e x^{2} \operatorname{asinh}^{2}{\left (c + d x \right )}}{2} + \frac{b^{2} d e x^{2}}{4} - \frac{b^{2} e x \sqrt{c^{2} + 2 c d x + d^{2} x^{2} + 1} \operatorname{asinh}{\left (c + d x \right )}}{2} + \frac{b^{2} e \operatorname{asinh}^{2}{\left (c + d x \right )}}{4 d} & \text{for}\: d \neq 0 \\c e 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 (d e x + c e\right )}{\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]