Optimal. Leaf size=124 \[ \frac{(d+e x)^3 \left (a+b \sinh ^{-1}(c x)\right )}{3 e}-\frac{b \sqrt{c^2 x^2+1} \left (4 \left (4 c^2 d^2-e^2\right )+5 c^2 d e x\right )}{18 c^3}-\frac{b d \left (2 d^2-\frac{3 e^2}{c^2}\right ) \sinh ^{-1}(c x)}{6 e}-\frac{b \sqrt{c^2 x^2+1} (d+e x)^2}{9 c} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0957302, antiderivative size = 124, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 4, integrand size = 16, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.25, Rules used = {5801, 743, 780, 215} \[ \frac{(d+e x)^3 \left (a+b \sinh ^{-1}(c x)\right )}{3 e}-\frac{b \sqrt{c^2 x^2+1} \left (4 \left (4 c^2 d^2-e^2\right )+5 c^2 d e x\right )}{18 c^3}-\frac{b d \left (2 d^2-\frac{3 e^2}{c^2}\right ) \sinh ^{-1}(c x)}{6 e}-\frac{b \sqrt{c^2 x^2+1} (d+e x)^2}{9 c} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 5801
Rule 743
Rule 780
Rule 215
Rubi steps
\begin{align*} \int (d+e x)^2 \left (a+b \sinh ^{-1}(c x)\right ) \, dx &=\frac{(d+e x)^3 \left (a+b \sinh ^{-1}(c x)\right )}{3 e}-\frac{(b c) \int \frac{(d+e x)^3}{\sqrt{1+c^2 x^2}} \, dx}{3 e}\\ &=-\frac{b (d+e x)^2 \sqrt{1+c^2 x^2}}{9 c}+\frac{(d+e x)^3 \left (a+b \sinh ^{-1}(c x)\right )}{3 e}-\frac{b \int \frac{(d+e x) \left (3 c^2 d^2-2 e^2+5 c^2 d e x\right )}{\sqrt{1+c^2 x^2}} \, dx}{9 c e}\\ &=-\frac{b (d+e x)^2 \sqrt{1+c^2 x^2}}{9 c}-\frac{b \left (4 \left (4 c^2 d^2-e^2\right )+5 c^2 d e x\right ) \sqrt{1+c^2 x^2}}{18 c^3}+\frac{(d+e x)^3 \left (a+b \sinh ^{-1}(c x)\right )}{3 e}-\frac{1}{6} \left (b d \left (\frac{2 c d^2}{e}-\frac{3 e}{c}\right )\right ) \int \frac{1}{\sqrt{1+c^2 x^2}} \, dx\\ &=-\frac{b (d+e x)^2 \sqrt{1+c^2 x^2}}{9 c}-\frac{b \left (4 \left (4 c^2 d^2-e^2\right )+5 c^2 d e x\right ) \sqrt{1+c^2 x^2}}{18 c^3}-\frac{b d \left (2 d^2-\frac{3 e^2}{c^2}\right ) \sinh ^{-1}(c x)}{6 e}+\frac{(d+e x)^3 \left (a+b \sinh ^{-1}(c x)\right )}{3 e}\\ \end{align*}
Mathematica [A] time = 0.0854894, size = 121, normalized size = 0.98 \[ \frac{6 a c^3 x \left (3 d^2+3 d e x+e^2 x^2\right )-b \sqrt{c^2 x^2+1} \left (c^2 \left (18 d^2+9 d e x+2 e^2 x^2\right )-4 e^2\right )+3 b c \sinh ^{-1}(c x) \left (6 c^2 d^2 x+3 d \left (2 c^2 e x^2+e\right )+2 c^2 e^2 x^3\right )}{18 c^3} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.005, size = 189, normalized size = 1.5 \begin{align*}{\frac{1}{c} \left ({\frac{ \left ( cex+cd \right ) ^{3}a}{3\,{c}^{2}e}}+{\frac{b}{{c}^{2}} \left ({\frac{{e}^{2}{\it Arcsinh} \left ( cx \right ){c}^{3}{x}^{3}}{3}}+e{\it Arcsinh} \left ( cx \right ){c}^{3}{x}^{2}d+{\it Arcsinh} \left ( cx \right ){c}^{3}x{d}^{2}+{\frac{{c}^{3}{d}^{3}{\it Arcsinh} \left ( cx \right ) }{3\,e}}-{\frac{1}{3\,e} \left ({e}^{3} \left ({\frac{{c}^{2}{x}^{2}}{3}\sqrt{{c}^{2}{x}^{2}+1}}-{\frac{2}{3}\sqrt{{c}^{2}{x}^{2}+1}} \right ) +3\,cd{e}^{2} \left ( 1/2\,cx\sqrt{{c}^{2}{x}^{2}+1}-1/2\,{\it Arcsinh} \left ( cx \right ) \right ) +3\,{c}^{2}{d}^{2}e\sqrt{{c}^{2}{x}^{2}+1}+{c}^{3}{d}^{3}{\it Arcsinh} \left ( cx \right ) \right ) } \right ) } \right ) } \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.05731, size = 219, normalized size = 1.77 \begin{align*} \frac{1}{3} \, a e^{2} x^{3} + a d e x^{2} + \frac{1}{2} \,{\left (2 \, x^{2} \operatorname{arsinh}\left (c x\right ) - c{\left (\frac{\sqrt{c^{2} x^{2} + 1} x}{c^{2}} - \frac{\operatorname{arsinh}\left (\frac{c^{2} x}{\sqrt{c^{2}}}\right )}{\sqrt{c^{2}} c^{2}}\right )}\right )} b d e + \frac{1}{9} \,{\left (3 \, x^{3} \operatorname{arsinh}\left (c x\right ) - c{\left (\frac{\sqrt{c^{2} x^{2} + 1} x^{2}}{c^{2}} - \frac{2 \, \sqrt{c^{2} x^{2} + 1}}{c^{4}}\right )}\right )} b e^{2} + a d^{2} x + \frac{{\left (c x \operatorname{arsinh}\left (c x\right ) - \sqrt{c^{2} x^{2} + 1}\right )} b d^{2}}{c} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 2.54437, size = 324, normalized size = 2.61 \begin{align*} \frac{6 \, a c^{3} e^{2} x^{3} + 18 \, a c^{3} d e x^{2} + 18 \, a c^{3} d^{2} x + 3 \,{\left (2 \, b c^{3} e^{2} x^{3} + 6 \, b c^{3} d e x^{2} + 6 \, b c^{3} d^{2} x + 3 \, b c d e\right )} \log \left (c x + \sqrt{c^{2} x^{2} + 1}\right ) -{\left (2 \, b c^{2} e^{2} x^{2} + 9 \, b c^{2} d e x + 18 \, b c^{2} d^{2} - 4 \, b e^{2}\right )} \sqrt{c^{2} x^{2} + 1}}{18 \, c^{3}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 0.963745, size = 190, normalized size = 1.53 \begin{align*} \begin{cases} a d^{2} x + a d e x^{2} + \frac{a e^{2} x^{3}}{3} + b d^{2} x \operatorname{asinh}{\left (c x \right )} + b d e x^{2} \operatorname{asinh}{\left (c x \right )} + \frac{b e^{2} x^{3} \operatorname{asinh}{\left (c x \right )}}{3} - \frac{b d^{2} \sqrt{c^{2} x^{2} + 1}}{c} - \frac{b d e x \sqrt{c^{2} x^{2} + 1}}{2 c} - \frac{b e^{2} x^{2} \sqrt{c^{2} x^{2} + 1}}{9 c} + \frac{b d e \operatorname{asinh}{\left (c x \right )}}{2 c^{2}} + \frac{2 b e^{2} \sqrt{c^{2} x^{2} + 1}}{9 c^{3}} & \text{for}\: c \neq 0 \\a \left (d^{2} x + d e x^{2} + \frac{e^{2} x^{3}}{3}\right ) & \text{otherwise} \end{cases} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.56095, size = 265, normalized size = 2.14 \begin{align*}{\left (x \log \left (c x + \sqrt{c^{2} x^{2} + 1}\right ) - \frac{\sqrt{c^{2} x^{2} + 1}}{c}\right )} b d^{2} + a d^{2} x + \frac{1}{9} \,{\left (3 \, a x^{3} +{\left (3 \, x^{3} \log \left (c x + \sqrt{c^{2} x^{2} + 1}\right ) - \frac{{\left (c^{2} x^{2} + 1\right )}^{\frac{3}{2}} - 3 \, \sqrt{c^{2} x^{2} + 1}}{c^{3}}\right )} b\right )} e^{2} + \frac{1}{2} \,{\left (2 \, a d x^{2} +{\left (2 \, x^{2} \log \left (c x + \sqrt{c^{2} x^{2} + 1}\right ) - c{\left (\frac{\sqrt{c^{2} x^{2} + 1} x}{c^{2}} + \frac{\log \left ({\left | -x{\left | c \right |} + \sqrt{c^{2} x^{2} + 1} \right |}\right )}{c^{2}{\left | c \right |}}\right )}\right )} b d\right )} e \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]