Optimal. Leaf size=114 \[ 6 a b^2 x-\frac{3 b \sqrt{c+d x-1} \sqrt{c+d x+1} \left (a+b \cosh ^{-1}(c+d x)\right )^2}{d}+\frac{(c+d x) \left (a+b \cosh ^{-1}(c+d x)\right )^3}{d}-\frac{6 b^3 \sqrt{c+d x-1} \sqrt{c+d x+1}}{d}+\frac{6 b^3 (c+d x) \cosh ^{-1}(c+d x)}{d} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.184149, antiderivative size = 114, normalized size of antiderivative = 1., number of steps used = 6, number of rules used = 4, integrand size = 12, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.333, Rules used = {5864, 5654, 5718, 74} \[ 6 a b^2 x-\frac{3 b \sqrt{c+d x-1} \sqrt{c+d x+1} \left (a+b \cosh ^{-1}(c+d x)\right )^2}{d}+\frac{(c+d x) \left (a+b \cosh ^{-1}(c+d x)\right )^3}{d}-\frac{6 b^3 \sqrt{c+d x-1} \sqrt{c+d x+1}}{d}+\frac{6 b^3 (c+d x) \cosh ^{-1}(c+d x)}{d} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 5864
Rule 5654
Rule 5718
Rule 74
Rubi steps
\begin{align*} \int \left (a+b \cosh ^{-1}(c+d x)\right )^3 \, dx &=\frac{\operatorname{Subst}\left (\int \left (a+b \cosh ^{-1}(x)\right )^3 \, dx,x,c+d x\right )}{d}\\ &=\frac{(c+d x) \left (a+b \cosh ^{-1}(c+d x)\right )^3}{d}-\frac{(3 b) \operatorname{Subst}\left (\int \frac{x \left (a+b \cosh ^{-1}(x)\right )^2}{\sqrt{-1+x} \sqrt{1+x}} \, dx,x,c+d x\right )}{d}\\ &=-\frac{3 b \sqrt{-1+c+d x} \sqrt{1+c+d x} \left (a+b \cosh ^{-1}(c+d x)\right )^2}{d}+\frac{(c+d x) \left (a+b \cosh ^{-1}(c+d x)\right )^3}{d}+\frac{\left (6 b^2\right ) \operatorname{Subst}\left (\int \left (a+b \cosh ^{-1}(x)\right ) \, dx,x,c+d x\right )}{d}\\ &=6 a b^2 x-\frac{3 b \sqrt{-1+c+d x} \sqrt{1+c+d x} \left (a+b \cosh ^{-1}(c+d x)\right )^2}{d}+\frac{(c+d x) \left (a+b \cosh ^{-1}(c+d x)\right )^3}{d}+\frac{\left (6 b^3\right ) \operatorname{Subst}\left (\int \cosh ^{-1}(x) \, dx,x,c+d x\right )}{d}\\ &=6 a b^2 x+\frac{6 b^3 (c+d x) \cosh ^{-1}(c+d x)}{d}-\frac{3 b \sqrt{-1+c+d x} \sqrt{1+c+d x} \left (a+b \cosh ^{-1}(c+d x)\right )^2}{d}+\frac{(c+d x) \left (a+b \cosh ^{-1}(c+d x)\right )^3}{d}-\frac{\left (6 b^3\right ) \operatorname{Subst}\left (\int \frac{x}{\sqrt{-1+x} \sqrt{1+x}} \, dx,x,c+d x\right )}{d}\\ &=6 a b^2 x-\frac{6 b^3 \sqrt{-1+c+d x} \sqrt{1+c+d x}}{d}+\frac{6 b^3 (c+d x) \cosh ^{-1}(c+d x)}{d}-\frac{3 b \sqrt{-1+c+d x} \sqrt{1+c+d x} \left (a+b \cosh ^{-1}(c+d x)\right )^2}{d}+\frac{(c+d x) \left (a+b \cosh ^{-1}(c+d x)\right )^3}{d}\\ \end{align*}
Mathematica [A] time = 0.173148, size = 168, normalized size = 1.47 \[ \frac{a \left (a^2+6 b^2\right ) (c+d x)-3 b \left (a^2+2 b^2\right ) \sqrt{c+d x-1} \sqrt{c+d x+1}-3 b \cosh ^{-1}(c+d x) \left (a^2 (-(c+d x))+2 a b \sqrt{c+d x-1} \sqrt{c+d x+1}-2 b^2 (c+d x)\right )-3 b^2 \cosh ^{-1}(c+d x)^2 \left (b \sqrt{c+d x-1} \sqrt{c+d x+1}-a (c+d x)\right )+b^3 (c+d x) \cosh ^{-1}(c+d x)^3}{d} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.056, size = 180, normalized size = 1.6 \begin{align*}{\frac{1}{d} \left ({a}^{3} \left ( dx+c \right ) +{b}^{3} \left ( \left ({\rm arccosh} \left (dx+c\right ) \right ) ^{3} \left ( dx+c \right ) -3\, \left ({\rm arccosh} \left (dx+c\right ) \right ) ^{2}\sqrt{dx+c-1}\sqrt{dx+c+1}+6\, \left ( dx+c \right ){\rm arccosh} \left (dx+c\right )-6\,\sqrt{dx+c-1}\sqrt{dx+c+1} \right ) +3\,a{b}^{2} \left ( \left ({\rm arccosh} \left (dx+c\right ) \right ) ^{2} \left ( dx+c \right ) -2\,{\rm arccosh} \left (dx+c\right )\sqrt{dx+c-1}\sqrt{dx+c+1}+2\,dx+2\,c \right ) +3\,{a}^{2}b \left ( \left ( dx+c \right ){\rm arccosh} \left (dx+c\right )-\sqrt{dx+c-1}\sqrt{dx+c+1} \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.42965, size = 548, normalized size = 4.81 \begin{align*} \frac{{\left (b^{3} d x + b^{3} c\right )} \log \left (d x + c + \sqrt{d^{2} x^{2} + 2 \, c d x + c^{2} - 1}\right )^{3} +{\left (a^{3} + 6 \, a b^{2}\right )} d x + 3 \,{\left (a b^{2} d x + a b^{2} c - \sqrt{d^{2} x^{2} + 2 \, c d x + c^{2} - 1} b^{3}\right )} \log \left (d x + c + \sqrt{d^{2} x^{2} + 2 \, c d x + c^{2} - 1}\right )^{2} - 3 \,{\left (2 \, \sqrt{d^{2} x^{2} + 2 \, c d x + c^{2} - 1} a b^{2} -{\left (a^{2} b + 2 \, b^{3}\right )} d x -{\left (a^{2} b + 2 \, b^{3}\right )} c\right )} \log \left (d x + c + \sqrt{d^{2} x^{2} + 2 \, c d x + c^{2} - 1}\right ) - 3 \, \sqrt{d^{2} x^{2} + 2 \, c d x + c^{2} - 1}{\left (a^{2} b + 2 \, b^{3}\right )}}{d} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 1.16201, size = 282, normalized size = 2.47 \begin{align*} \begin{cases} a^{3} x + \frac{3 a^{2} b c \operatorname{acosh}{\left (c + d x \right )}}{d} + 3 a^{2} b x \operatorname{acosh}{\left (c + d x \right )} - \frac{3 a^{2} b \sqrt{c^{2} + 2 c d x + d^{2} x^{2} - 1}}{d} + \frac{3 a b^{2} c \operatorname{acosh}^{2}{\left (c + d x \right )}}{d} + 3 a b^{2} x \operatorname{acosh}^{2}{\left (c + d x \right )} + 6 a b^{2} x - \frac{6 a b^{2} \sqrt{c^{2} + 2 c d x + d^{2} x^{2} - 1} \operatorname{acosh}{\left (c + d x \right )}}{d} + \frac{b^{3} c \operatorname{acosh}^{3}{\left (c + d x \right )}}{d} + \frac{6 b^{3} c \operatorname{acosh}{\left (c + d x \right )}}{d} + b^{3} x \operatorname{acosh}^{3}{\left (c + d x \right )} + 6 b^{3} x \operatorname{acosh}{\left (c + d x \right )} - \frac{3 b^{3} \sqrt{c^{2} + 2 c d x + d^{2} x^{2} - 1} \operatorname{acosh}^{2}{\left (c + d x \right )}}{d} - \frac{6 b^{3} \sqrt{c^{2} + 2 c d x + d^{2} x^{2} - 1}}{d} & \text{for}\: d \neq 0 \\x \left (a + b \operatorname{acosh}{\left (c \right )}\right )^{3} & \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 (b \operatorname{arcosh}\left (d x + c\right ) + a\right )}^{3}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]