Optimal. Leaf size=68 \[ \frac{e (c+d x)^2 \left (a+b \sinh ^{-1}(c+d x)\right )}{2 d}-\frac{b e \sqrt{(c+d x)^2+1} (c+d x)}{4 d}+\frac{b e \sinh ^{-1}(c+d x)}{4 d} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0387322, antiderivative size = 68, normalized size of antiderivative = 1., number of steps used = 5, number of rules used = 5, integrand size = 19, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.263, Rules used = {5865, 12, 5661, 321, 215} \[ \frac{e (c+d x)^2 \left (a+b \sinh ^{-1}(c+d x)\right )}{2 d}-\frac{b e \sqrt{(c+d x)^2+1} (c+d x)}{4 d}+\frac{b e \sinh ^{-1}(c+d x)}{4 d} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 5865
Rule 12
Rule 5661
Rule 321
Rule 215
Rubi steps
\begin{align*} \int (c e+d e x) \left (a+b \sinh ^{-1}(c+d x)\right ) \, dx &=\frac{\operatorname{Subst}\left (\int e x \left (a+b \sinh ^{-1}(x)\right ) \, dx,x,c+d x\right )}{d}\\ &=\frac{e \operatorname{Subst}\left (\int x \left (a+b \sinh ^{-1}(x)\right ) \, dx,x,c+d x\right )}{d}\\ &=\frac{e (c+d x)^2 \left (a+b \sinh ^{-1}(c+d x)\right )}{2 d}-\frac{(b e) \operatorname{Subst}\left (\int \frac{x^2}{\sqrt{1+x^2}} \, dx,x,c+d x\right )}{2 d}\\ &=-\frac{b e (c+d x) \sqrt{1+(c+d x)^2}}{4 d}+\frac{e (c+d x)^2 \left (a+b \sinh ^{-1}(c+d x)\right )}{2 d}+\frac{(b e) \operatorname{Subst}\left (\int \frac{1}{\sqrt{1+x^2}} \, dx,x,c+d x\right )}{4 d}\\ &=-\frac{b e (c+d x) \sqrt{1+(c+d x)^2}}{4 d}+\frac{b e \sinh ^{-1}(c+d x)}{4 d}+\frac{e (c+d x)^2 \left (a+b \sinh ^{-1}(c+d x)\right )}{2 d}\\ \end{align*}
Mathematica [A] time = 0.0619275, size = 57, normalized size = 0.84 \[ \frac{e \left (2 (c+d x)^2 \left (a+b \sinh ^{-1}(c+d x)\right )-b \sqrt{(c+d x)^2+1} (c+d x)+b \sinh ^{-1}(c+d x)\right )}{4 d} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.004, size = 62, normalized size = 0.9 \begin{align*}{\frac{1}{d} \left ({\frac{ \left ( dx+c \right ) ^{2}ea}{2}}+eb \left ({\frac{{\it Arcsinh} \left ( dx+c \right ) \left ( dx+c \right ) ^{2}}{2}}-{\frac{dx+c}{4}\sqrt{1+ \left ( dx+c \right ) ^{2}}}+{\frac{{\it Arcsinh} \left ( dx+c \right ) }{4}} \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 [A] time = 2.40071, size = 257, normalized size = 3.78 \begin{align*} \frac{2 \, a d^{2} e x^{2} + 4 \, a c d e x +{\left (2 \, b d^{2} e x^{2} + 4 \, b c d e x +{\left (2 \, b c^{2} + b\right )} e\right )} \log \left (d x + c + \sqrt{d^{2} x^{2} + 2 \, c d x + c^{2} + 1}\right ) -{\left (b d e x + 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 = 0.437205, size = 148, normalized size = 2.18 \begin{align*} \begin{cases} a c e x + \frac{a d e x^{2}}{2} + \frac{b c^{2} e \operatorname{asinh}{\left (c + d x \right )}}{2 d} + b c e x \operatorname{asinh}{\left (c + d x \right )} - \frac{b c e \sqrt{c^{2} + 2 c d x + d^{2} x^{2} + 1}}{4 d} + \frac{b d e x^{2} \operatorname{asinh}{\left (c + d x \right )}}{2} - \frac{b e x \sqrt{c^{2} + 2 c d x + d^{2} x^{2} + 1}}{4} + \frac{b e \operatorname{asinh}{\left (c + d x \right )}}{4 d} & \text{for}\: d \neq 0 \\c e x \left (a + b \operatorname{asinh}{\left (c \right )}\right ) & \text{otherwise} \end{cases} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] time = 1.96356, size = 331, normalized size = 4.87 \begin{align*} \frac{1}{4} \,{\left (2 \, a d x^{2} - 4 \,{\left (d{\left (\frac{c \log \left ({\left | -c d -{\left (x{\left | d \right |} - \sqrt{d^{2} x^{2} + 2 \, c d x + c^{2} + 1}\right )}{\left | d \right |} \right |}\right )}{d{\left | d \right |}} + \frac{\sqrt{d^{2} x^{2} + 2 \, c d x + c^{2} + 1}}{d^{2}}\right )} - x \log \left (d x + c + \sqrt{d^{2} x^{2} + 2 \, c d x + c^{2} + 1}\right )\right )} b c +{\left (2 \, x^{2} \log \left (d x + c + \sqrt{d^{2} x^{2} + 2 \, c d x + c^{2} + 1}\right ) -{\left (\sqrt{d^{2} x^{2} + 2 \, c d x + c^{2} + 1}{\left (\frac{x}{d^{2}} - \frac{3 \, c}{d^{3}}\right )} - \frac{{\left (2 \, c^{2} - 1\right )} \log \left ({\left | -c d -{\left (x{\left | d \right |} - \sqrt{d^{2} x^{2} + 2 \, c d x + c^{2} + 1}\right )}{\left | d \right |} \right |}\right )}{d^{2}{\left | d \right |}}\right )} d\right )} b d + 4 \, a c x\right )} e \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]