Optimal. Leaf size=150 \[ \frac{e^2 (c+d x)^3 \left (a+b \cosh ^{-1}(c+d x)\right )^2}{3 d}-\frac{2 b e^2 \sqrt{c+d x-1} \sqrt{c+d x+1} (c+d x)^2 \left (a+b \cosh ^{-1}(c+d x)\right )}{9 d}-\frac{4 b e^2 \sqrt{c+d x-1} \sqrt{c+d x+1} \left (a+b \cosh ^{-1}(c+d x)\right )}{9 d}+\frac{2 b^2 e^2 (c+d x)^3}{27 d}+\frac{4}{9} b^2 e^2 x \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.323398, antiderivative size = 150, normalized size of antiderivative = 1., number of steps used = 7, number of rules used = 7, integrand size = 23, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.304, Rules used = {5866, 12, 5662, 5759, 5718, 8, 30} \[ \frac{e^2 (c+d x)^3 \left (a+b \cosh ^{-1}(c+d x)\right )^2}{3 d}-\frac{2 b e^2 \sqrt{c+d x-1} \sqrt{c+d x+1} (c+d x)^2 \left (a+b \cosh ^{-1}(c+d x)\right )}{9 d}-\frac{4 b e^2 \sqrt{c+d x-1} \sqrt{c+d x+1} \left (a+b \cosh ^{-1}(c+d x)\right )}{9 d}+\frac{2 b^2 e^2 (c+d x)^3}{27 d}+\frac{4}{9} b^2 e^2 x \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 5866
Rule 12
Rule 5662
Rule 5759
Rule 5718
Rule 8
Rule 30
Rubi steps
\begin{align*} \int (c e+d e x)^2 \left (a+b \cosh ^{-1}(c+d x)\right )^2 \, dx &=\frac{\operatorname{Subst}\left (\int e^2 x^2 \left (a+b \cosh ^{-1}(x)\right )^2 \, dx,x,c+d x\right )}{d}\\ &=\frac{e^2 \operatorname{Subst}\left (\int x^2 \left (a+b \cosh ^{-1}(x)\right )^2 \, dx,x,c+d x\right )}{d}\\ &=\frac{e^2 (c+d x)^3 \left (a+b \cosh ^{-1}(c+d x)\right )^2}{3 d}-\frac{\left (2 b e^2\right ) \operatorname{Subst}\left (\int \frac{x^3 \left (a+b \cosh ^{-1}(x)\right )}{\sqrt{-1+x} \sqrt{1+x}} \, dx,x,c+d x\right )}{3 d}\\ &=-\frac{2 b e^2 \sqrt{-1+c+d x} (c+d x)^2 \sqrt{1+c+d x} \left (a+b \cosh ^{-1}(c+d x)\right )}{9 d}+\frac{e^2 (c+d x)^3 \left (a+b \cosh ^{-1}(c+d x)\right )^2}{3 d}-\frac{\left (4 b e^2\right ) \operatorname{Subst}\left (\int \frac{x \left (a+b \cosh ^{-1}(x)\right )}{\sqrt{-1+x} \sqrt{1+x}} \, dx,x,c+d x\right )}{9 d}+\frac{\left (2 b^2 e^2\right ) \operatorname{Subst}\left (\int x^2 \, dx,x,c+d x\right )}{9 d}\\ &=\frac{2 b^2 e^2 (c+d x)^3}{27 d}-\frac{4 b e^2 \sqrt{-1+c+d x} \sqrt{1+c+d x} \left (a+b \cosh ^{-1}(c+d x)\right )}{9 d}-\frac{2 b e^2 \sqrt{-1+c+d x} (c+d x)^2 \sqrt{1+c+d x} \left (a+b \cosh ^{-1}(c+d x)\right )}{9 d}+\frac{e^2 (c+d x)^3 \left (a+b \cosh ^{-1}(c+d x)\right )^2}{3 d}+\frac{\left (4 b^2 e^2\right ) \operatorname{Subst}(\int 1 \, dx,x,c+d x)}{9 d}\\ &=\frac{4}{9} b^2 e^2 x+\frac{2 b^2 e^2 (c+d x)^3}{27 d}-\frac{4 b e^2 \sqrt{-1+c+d x} \sqrt{1+c+d x} \left (a+b \cosh ^{-1}(c+d x)\right )}{9 d}-\frac{2 b e^2 \sqrt{-1+c+d x} (c+d x)^2 \sqrt{1+c+d x} \left (a+b \cosh ^{-1}(c+d x)\right )}{9 d}+\frac{e^2 (c+d x)^3 \left (a+b \cosh ^{-1}(c+d x)\right )^2}{3 d}\\ \end{align*}
Mathematica [A] time = 0.227183, size = 168, normalized size = 1.12 \[ \frac{e^2 \left (\left (9 a^2+2 b^2\right ) (c+d x)^3+6 a b \sqrt{c+d x-1} \sqrt{c+d x+1} \left (-(c+d x)^2-2\right )+6 b \cosh ^{-1}(c+d x) \left (3 a (c+d x)^3-b \sqrt{c+d x-1} \sqrt{c+d x+1} (c+d x)^2-2 b \sqrt{c+d x-1} \sqrt{c+d x+1}\right )+12 b^2 (c+d x)+9 b^2 (c+d x)^3 \cosh ^{-1}(c+d x)^2\right )}{27 d} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.038, size = 202, normalized size = 1.4 \begin{align*}{\frac{1}{d} \left ({\frac{ \left ( dx+c \right ) ^{3}{e}^{2}{a}^{2}}{3}}+{e}^{2}{b}^{2} \left ({\frac{ \left ({\rm arccosh} \left (dx+c\right ) \right ) ^{2} \left ( dx+c-1 \right ) \left ( dx+c+1 \right ) \left ( dx+c \right ) }{3}}+{\frac{ \left ({\rm arccosh} \left (dx+c\right ) \right ) ^{2} \left ( dx+c \right ) }{3}}-{\frac{2\,{\rm arccosh} \left (dx+c\right ) \left ( dx+c \right ) ^{2}}{9}\sqrt{dx+c-1}\sqrt{dx+c+1}}-{\frac{4\,{\rm arccosh} \left (dx+c\right )}{9}\sqrt{dx+c-1}\sqrt{dx+c+1}}+{\frac{ \left ( 2\,dx+2\,c-2 \right ) \left ( dx+c+1 \right ) \left ( dx+c \right ) }{27}}+{\frac{14\,dx}{27}}+{\frac{14\,c}{27}} \right ) +2\,{e}^{2}ab \left ( 1/3\,{\rm arccosh} \left (dx+c\right ) \left ( dx+c \right ) ^{3}-1/9\,\sqrt{dx+c-1}\sqrt{dx+c+1} \left ( \left ( dx+c \right ) ^{2}+2 \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.34188, size = 767, normalized size = 5.11 \begin{align*} \frac{{\left (9 \, a^{2} + 2 \, b^{2}\right )} d^{3} e^{2} x^{3} + 3 \,{\left (9 \, a^{2} + 2 \, b^{2}\right )} c d^{2} e^{2} x^{2} + 3 \,{\left ({\left (9 \, a^{2} + 2 \, b^{2}\right )} c^{2} + 4 \, b^{2}\right )} d e^{2} x + 9 \,{\left (b^{2} d^{3} e^{2} x^{3} + 3 \, b^{2} c d^{2} e^{2} x^{2} + 3 \, b^{2} c^{2} d e^{2} x + b^{2} c^{3} e^{2}\right )} \log \left (d x + c + \sqrt{d^{2} x^{2} + 2 \, c d x + c^{2} - 1}\right )^{2} + 6 \,{\left (3 \, a b d^{3} e^{2} x^{3} + 9 \, a b c d^{2} e^{2} x^{2} + 9 \, a b c^{2} d e^{2} x + 3 \, a b c^{3} e^{2} -{\left (b^{2} d^{2} e^{2} x^{2} + 2 \, b^{2} c d e^{2} x +{\left (b^{2} c^{2} + 2 \, b^{2}\right )} e^{2}\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 ) - 6 \,{\left (a b d^{2} e^{2} x^{2} + 2 \, a b c d e^{2} x +{\left (a b c^{2} + 2 \, a b\right )} e^{2}\right )} \sqrt{d^{2} x^{2} + 2 \, c d x + c^{2} - 1}}{27 \, d} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 2.66837, size = 610, normalized size = 4.07 \begin{align*} \begin{cases} a^{2} c^{2} e^{2} x + a^{2} c d e^{2} x^{2} + \frac{a^{2} d^{2} e^{2} x^{3}}{3} + \frac{2 a b c^{3} e^{2} \operatorname{acosh}{\left (c + d x \right )}}{3 d} + 2 a b c^{2} e^{2} x \operatorname{acosh}{\left (c + d x \right )} - \frac{2 a b c^{2} e^{2} \sqrt{c^{2} + 2 c d x + d^{2} x^{2} - 1}}{9 d} + 2 a b c d e^{2} x^{2} \operatorname{acosh}{\left (c + d x \right )} - \frac{4 a b c e^{2} x \sqrt{c^{2} + 2 c d x + d^{2} x^{2} - 1}}{9} + \frac{2 a b d^{2} e^{2} x^{3} \operatorname{acosh}{\left (c + d x \right )}}{3} - \frac{2 a b d e^{2} x^{2} \sqrt{c^{2} + 2 c d x + d^{2} x^{2} - 1}}{9} - \frac{4 a b e^{2} \sqrt{c^{2} + 2 c d x + d^{2} x^{2} - 1}}{9 d} + \frac{b^{2} c^{3} e^{2} \operatorname{acosh}^{2}{\left (c + d x \right )}}{3 d} + b^{2} c^{2} e^{2} x \operatorname{acosh}^{2}{\left (c + d x \right )} + \frac{2 b^{2} c^{2} e^{2} x}{9} - \frac{2 b^{2} c^{2} e^{2} \sqrt{c^{2} + 2 c d x + d^{2} x^{2} - 1} \operatorname{acosh}{\left (c + d x \right )}}{9 d} + b^{2} c d e^{2} x^{2} \operatorname{acosh}^{2}{\left (c + d x \right )} + \frac{2 b^{2} c d e^{2} x^{2}}{9} - \frac{4 b^{2} c e^{2} x \sqrt{c^{2} + 2 c d x + d^{2} x^{2} - 1} \operatorname{acosh}{\left (c + d x \right )}}{9} + \frac{b^{2} d^{2} e^{2} x^{3} \operatorname{acosh}^{2}{\left (c + d x \right )}}{3} + \frac{2 b^{2} d^{2} e^{2} x^{3}}{27} - \frac{2 b^{2} d e^{2} x^{2} \sqrt{c^{2} + 2 c d x + d^{2} x^{2} - 1} \operatorname{acosh}{\left (c + d x \right )}}{9} + \frac{4 b^{2} e^{2} x}{9} - \frac{4 b^{2} e^{2} \sqrt{c^{2} + 2 c d x + d^{2} x^{2} - 1} \operatorname{acosh}{\left (c + d x \right )}}{9 d} & \text{for}\: d \neq 0 \\c^{2} e^{2} x \left (a + b \operatorname{acosh}{\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 )}^{2}{\left (b \operatorname{arcosh}\left (d x + c\right ) + a\right )}^{2}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]