Optimal. Leaf size=97 \[ \frac{(d+e x)^2 \left (a+b \sinh ^{-1}(c x)\right )}{2 e}-\frac{b \left (2 d^2-\frac{e^2}{c^2}\right ) \sinh ^{-1}(c x)}{4 e}-\frac{b \sqrt{c^2 x^2+1} (d+e x)}{4 c}-\frac{3 b d \sqrt{c^2 x^2+1}}{4 c} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0521902, antiderivative size = 97, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 4, integrand size = 14, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.286, Rules used = {5801, 743, 641, 215} \[ \frac{(d+e x)^2 \left (a+b \sinh ^{-1}(c x)\right )}{2 e}-\frac{b \left (2 d^2-\frac{e^2}{c^2}\right ) \sinh ^{-1}(c x)}{4 e}-\frac{b \sqrt{c^2 x^2+1} (d+e x)}{4 c}-\frac{3 b d \sqrt{c^2 x^2+1}}{4 c} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 5801
Rule 743
Rule 641
Rule 215
Rubi steps
\begin{align*} \int (d+e x) \left (a+b \sinh ^{-1}(c x)\right ) \, dx &=\frac{(d+e x)^2 \left (a+b \sinh ^{-1}(c x)\right )}{2 e}-\frac{(b c) \int \frac{(d+e x)^2}{\sqrt{1+c^2 x^2}} \, dx}{2 e}\\ &=-\frac{b (d+e x) \sqrt{1+c^2 x^2}}{4 c}+\frac{(d+e x)^2 \left (a+b \sinh ^{-1}(c x)\right )}{2 e}-\frac{b \int \frac{2 c^2 d^2-e^2+3 c^2 d e x}{\sqrt{1+c^2 x^2}} \, dx}{4 c e}\\ &=-\frac{3 b d \sqrt{1+c^2 x^2}}{4 c}-\frac{b (d+e x) \sqrt{1+c^2 x^2}}{4 c}+\frac{(d+e x)^2 \left (a+b \sinh ^{-1}(c x)\right )}{2 e}-\frac{1}{4} \left (b \left (\frac{2 c d^2}{e}-\frac{e}{c}\right )\right ) \int \frac{1}{\sqrt{1+c^2 x^2}} \, dx\\ &=-\frac{3 b d \sqrt{1+c^2 x^2}}{4 c}-\frac{b (d+e x) \sqrt{1+c^2 x^2}}{4 c}-\frac{b \left (2 d^2-\frac{e^2}{c^2}\right ) \sinh ^{-1}(c x)}{4 e}+\frac{(d+e x)^2 \left (a+b \sinh ^{-1}(c x)\right )}{2 e}\\ \end{align*}
Mathematica [A] time = 0.0391368, size = 91, normalized size = 0.94 \[ a d x+\frac{1}{2} a e x^2-\frac{b d \sqrt{c^2 x^2+1}}{c}-\frac{b e x \sqrt{c^2 x^2+1}}{4 c}+\frac{b e \sinh ^{-1}(c x)}{4 c^2}+b d x \sinh ^{-1}(c x)+\frac{1}{2} b e x^2 \sinh ^{-1}(c x) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.006, size = 96, normalized size = 1. \begin{align*}{\frac{1}{c} \left ({\frac{a}{c} \left ({\frac{{x}^{2}{c}^{2}e}{2}}+{c}^{2}dx \right ) }+{\frac{b}{c} \left ({\frac{{\it Arcsinh} \left ( cx \right ){c}^{2}{x}^{2}e}{2}}+{\it Arcsinh} \left ( cx \right ){c}^{2}xd-{\frac{e}{2} \left ({\frac{cx}{2}\sqrt{{c}^{2}{x}^{2}+1}}-{\frac{{\it Arcsinh} \left ( cx \right ) }{2}} \right ) }-cd\sqrt{{c}^{2}{x}^{2}+1} \right ) } \right ) } \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.07767, size = 127, normalized size = 1.31 \begin{align*} \frac{1}{2} \, a e x^{2} + \frac{1}{4} \,{\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 e + a d x + \frac{{\left (c x \operatorname{arsinh}\left (c x\right ) - \sqrt{c^{2} x^{2} + 1}\right )} b d}{c} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 2.37408, size = 197, normalized size = 2.03 \begin{align*} \frac{2 \, a c^{2} e x^{2} + 4 \, a c^{2} d x +{\left (2 \, b c^{2} e x^{2} + 4 \, b c^{2} d x + b e\right )} \log \left (c x + \sqrt{c^{2} x^{2} + 1}\right ) -{\left (b c e x + 4 \, b c d\right )} \sqrt{c^{2} x^{2} + 1}}{4 \, c^{2}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 0.403193, size = 99, normalized size = 1.02 \begin{align*} \begin{cases} a d x + \frac{a e x^{2}}{2} + b d x \operatorname{asinh}{\left (c x \right )} + \frac{b e x^{2} \operatorname{asinh}{\left (c x \right )}}{2} - \frac{b d \sqrt{c^{2} x^{2} + 1}}{c} - \frac{b e x \sqrt{c^{2} x^{2} + 1}}{4 c} + \frac{b e \operatorname{asinh}{\left (c x \right )}}{4 c^{2}} & \text{for}\: c \neq 0 \\a \left (d x + \frac{e x^{2}}{2}\right ) & \text{otherwise} \end{cases} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.58733, size = 169, normalized size = 1.74 \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 + a d x + \frac{1}{4} \,{\left (2 \, a 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\right )} e \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]