Optimal. Leaf size=215 \[ 2 d^2 x+\frac {4 e^2 x}{9 c^2}+\frac {1}{2} d e x^2+\frac {2 e^2 x^3}{27}-\frac {2 d^2 \sqrt {-1+c x} \sqrt {1+c x} \cosh ^{-1}(c x)}{c}-\frac {4 e^2 \sqrt {-1+c x} \sqrt {1+c x} \cosh ^{-1}(c x)}{9 c^3}-\frac {d e x \sqrt {-1+c x} \sqrt {1+c x} \cosh ^{-1}(c x)}{c}-\frac {2 e^2 x^2 \sqrt {-1+c x} \sqrt {1+c x} \cosh ^{-1}(c x)}{9 c}-\frac {d^3 \cosh ^{-1}(c x)^2}{3 e}-\frac {d e \cosh ^{-1}(c x)^2}{2 c^2}+\frac {(d+e x)^3 \cosh ^{-1}(c x)^2}{3 e} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.67, antiderivative size = 215, normalized size of antiderivative = 1.00, number of steps
used = 13, number of rules used = 7, integrand size = 14, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.500, Rules used = {5963, 5975,
5893, 5915, 8, 5939, 30} \begin {gather*} -\frac {4 e^2 \sqrt {c x-1} \sqrt {c x+1} \cosh ^{-1}(c x)}{9 c^3}-\frac {d e \cosh ^{-1}(c x)^2}{2 c^2}+\frac {4 e^2 x}{9 c^2}-\frac {d^3 \cosh ^{-1}(c x)^2}{3 e}-\frac {2 d^2 \sqrt {c x-1} \sqrt {c x+1} \cosh ^{-1}(c x)}{c}-\frac {d e x \sqrt {c x-1} \sqrt {c x+1} \cosh ^{-1}(c x)}{c}+\frac {\cosh ^{-1}(c x)^2 (d+e x)^3}{3 e}-\frac {2 e^2 x^2 \sqrt {c x-1} \sqrt {c x+1} \cosh ^{-1}(c x)}{9 c}+2 d^2 x+\frac {1}{2} d e x^2+\frac {2 e^2 x^3}{27} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 8
Rule 30
Rule 5893
Rule 5915
Rule 5939
Rule 5963
Rule 5975
Rubi steps
\begin {align*} \int (d+e x)^2 \cosh ^{-1}(c x)^2 \, dx &=\frac {(d+e x)^3 \cosh ^{-1}(c x)^2}{3 e}-\frac {(2 c) \int \frac {(d+e x)^3 \cosh ^{-1}(c x)}{\sqrt {-1+c x} \sqrt {1+c x}} \, dx}{3 e}\\ &=\frac {(d+e x)^3 \cosh ^{-1}(c x)^2}{3 e}-\frac {(2 c) \int \left (\frac {d^3 \cosh ^{-1}(c x)}{\sqrt {-1+c x} \sqrt {1+c x}}+\frac {3 d^2 e x \cosh ^{-1}(c x)}{\sqrt {-1+c x} \sqrt {1+c x}}+\frac {3 d e^2 x^2 \cosh ^{-1}(c x)}{\sqrt {-1+c x} \sqrt {1+c x}}+\frac {e^3 x^3 \cosh ^{-1}(c x)}{\sqrt {-1+c x} \sqrt {1+c x}}\right ) \, dx}{3 e}\\ &=\frac {(d+e x)^3 \cosh ^{-1}(c x)^2}{3 e}-\left (2 c d^2\right ) \int \frac {x \cosh ^{-1}(c x)}{\sqrt {-1+c x} \sqrt {1+c x}} \, dx-\frac {\left (2 c d^3\right ) \int \frac {\cosh ^{-1}(c x)}{\sqrt {-1+c x} \sqrt {1+c x}} \, dx}{3 e}-(2 c d e) \int \frac {x^2 \cosh ^{-1}(c x)}{\sqrt {-1+c x} \sqrt {1+c x}} \, dx-\frac {1}{3} \left (2 c e^2\right ) \int \frac {x^3 \cosh ^{-1}(c x)}{\sqrt {-1+c x} \sqrt {1+c x}} \, dx\\ &=-\frac {2 d^2 \sqrt {-1+c x} \sqrt {1+c x} \cosh ^{-1}(c x)}{c}-\frac {d e x \sqrt {-1+c x} \sqrt {1+c x} \cosh ^{-1}(c x)}{c}-\frac {2 e^2 x^2 \sqrt {-1+c x} \sqrt {1+c x} \cosh ^{-1}(c x)}{9 c}-\frac {d^3 \cosh ^{-1}(c x)^2}{3 e}+\frac {(d+e x)^3 \cosh ^{-1}(c x)^2}{3 e}+\left (2 d^2\right ) \int 1 \, dx+(d e) \int x \, dx-\frac {(d e) \int \frac {\cosh ^{-1}(c x)}{\sqrt {-1+c x} \sqrt {1+c x}} \, dx}{c}+\frac {1}{9} \left (2 e^2\right ) \int x^2 \, dx-\frac {\left (4 e^2\right ) \int \frac {x \cosh ^{-1}(c x)}{\sqrt {-1+c x} \sqrt {1+c x}} \, dx}{9 c}\\ &=2 d^2 x+\frac {1}{2} d e x^2+\frac {2 e^2 x^3}{27}-\frac {2 d^2 \sqrt {-1+c x} \sqrt {1+c x} \cosh ^{-1}(c x)}{c}-\frac {4 e^2 \sqrt {-1+c x} \sqrt {1+c x} \cosh ^{-1}(c x)}{9 c^3}-\frac {d e x \sqrt {-1+c x} \sqrt {1+c x} \cosh ^{-1}(c x)}{c}-\frac {2 e^2 x^2 \sqrt {-1+c x} \sqrt {1+c x} \cosh ^{-1}(c x)}{9 c}-\frac {d^3 \cosh ^{-1}(c x)^2}{3 e}-\frac {d e \cosh ^{-1}(c x)^2}{2 c^2}+\frac {(d+e x)^3 \cosh ^{-1}(c x)^2}{3 e}+\frac {\left (4 e^2\right ) \int 1 \, dx}{9 c^2}\\ &=2 d^2 x+\frac {4 e^2 x}{9 c^2}+\frac {1}{2} d e x^2+\frac {2 e^2 x^3}{27}-\frac {2 d^2 \sqrt {-1+c x} \sqrt {1+c x} \cosh ^{-1}(c x)}{c}-\frac {4 e^2 \sqrt {-1+c x} \sqrt {1+c x} \cosh ^{-1}(c x)}{9 c^3}-\frac {d e x \sqrt {-1+c x} \sqrt {1+c x} \cosh ^{-1}(c x)}{c}-\frac {2 e^2 x^2 \sqrt {-1+c x} \sqrt {1+c x} \cosh ^{-1}(c x)}{9 c}-\frac {d^3 \cosh ^{-1}(c x)^2}{3 e}-\frac {d e \cosh ^{-1}(c x)^2}{2 c^2}+\frac {(d+e x)^3 \cosh ^{-1}(c x)^2}{3 e}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.10, size = 131, normalized size = 0.61 \begin {gather*} \frac {c x \left (24 e^2+c^2 \left (108 d^2+27 d e x+4 e^2 x^2\right )\right )-6 \sqrt {-1+c x} \sqrt {1+c x} \left (4 e^2+c^2 \left (18 d^2+9 d e x+2 e^2 x^2\right )\right ) \cosh ^{-1}(c x)+9 \left (-3 c d e+2 c^3 x \left (3 d^2+3 d e x+e^2 x^2\right )\right ) \cosh ^{-1}(c x)^2}{54 c^3} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 180.00, size = 0, normalized size = 0.00 \[\int \left (e x +d \right )^{2} \mathrm {arccosh}\left (c x \right )^{2}\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.35, size = 291, normalized size = 1.35 \begin {gather*} \frac {27 \, c^{3} d x^{2} \cosh \left (1\right ) + 108 \, c^{3} d^{2} x + 4 \, {\left (c^{3} x^{3} + 6 \, c x\right )} \cosh \left (1\right )^{2} + 9 \, {\left (2 \, c^{3} x^{3} \cosh \left (1\right )^{2} + 2 \, c^{3} x^{3} \sinh \left (1\right )^{2} + 6 \, c^{3} d^{2} x + 3 \, {\left (2 \, c^{3} d x^{2} - c d\right )} \cosh \left (1\right ) + {\left (4 \, c^{3} x^{3} \cosh \left (1\right ) + 6 \, c^{3} d x^{2} - 3 \, c d\right )} \sinh \left (1\right )\right )} \log \left (c x + \sqrt {c^{2} x^{2} - 1}\right )^{2} + 4 \, {\left (c^{3} x^{3} + 6 \, c x\right )} \sinh \left (1\right )^{2} - 6 \, {\left (9 \, c^{2} d x \cosh \left (1\right ) + 18 \, c^{2} d^{2} + 2 \, {\left (c^{2} x^{2} + 2\right )} \cosh \left (1\right )^{2} + 2 \, {\left (c^{2} x^{2} + 2\right )} \sinh \left (1\right )^{2} + {\left (9 \, c^{2} d x + 4 \, {\left (c^{2} x^{2} + 2\right )} \cosh \left (1\right )\right )} \sinh \left (1\right )\right )} \sqrt {c^{2} x^{2} - 1} \log \left (c x + \sqrt {c^{2} x^{2} - 1}\right ) + {\left (27 \, c^{3} d x^{2} + 8 \, {\left (c^{3} x^{3} + 6 \, c x\right )} \cosh \left (1\right )\right )} \sinh \left (1\right )}{54 \, c^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.25, size = 223, normalized size = 1.04 \begin {gather*} \begin {cases} d^{2} x \operatorname {acosh}^{2}{\left (c x \right )} + 2 d^{2} x + d e x^{2} \operatorname {acosh}^{2}{\left (c x \right )} + \frac {d e x^{2}}{2} + \frac {e^{2} x^{3} \operatorname {acosh}^{2}{\left (c x \right )}}{3} + \frac {2 e^{2} x^{3}}{27} - \frac {2 d^{2} \sqrt {c^{2} x^{2} - 1} \operatorname {acosh}{\left (c x \right )}}{c} - \frac {d e x \sqrt {c^{2} x^{2} - 1} \operatorname {acosh}{\left (c x \right )}}{c} - \frac {2 e^{2} x^{2} \sqrt {c^{2} x^{2} - 1} \operatorname {acosh}{\left (c x \right )}}{9 c} - \frac {d e \operatorname {acosh}^{2}{\left (c x \right )}}{2 c^{2}} + \frac {4 e^{2} x}{9 c^{2}} - \frac {4 e^{2} \sqrt {c^{2} x^{2} - 1} \operatorname {acosh}{\left (c x \right )}}{9 c^{3}} & \text {for}\: c \neq 0 \\- \frac {\pi ^{2} \left (d^{2} x + d e x^{2} + \frac {e^{2} x^{3}}{3}\right )}{4} & \text {otherwise} \end {cases} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: TypeError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int {\mathrm {acosh}\left (c\,x\right )}^2\,{\left (d+e\,x\right )}^2 \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________